-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible issue with docker installation #51
Comments
Are you trying to run and install via docker compose or by using the docker image? |
Compose |
This particular error isn't really fatal. It's just NextJS complaining about missing sharp library. You can install it via Can you try navigating to |
That error is triggered by loading the install page. But nothing happens when I go there- I see what appears to be a static page with non clickable text "install" |
I did some testing, and I think this is triggered by wrong db settings. On the install page, the first thing the backend does it to check if there's valid connection to database. Looks like the mysql library isn't throwing an error in case db settings are completely incorrect, and thus MMDL's UI doesn't move forward. Did you make any changes to the docker-compose.yml? |
Only to change the port. I also tested with the docker sample env file (unmodified) |
I am guessing 3306 port was already in use, so you had to change the port binding? In your Delete this
And replace it with:
We are exposing the port 3306 to other docker containers, but not the host, so there should be no conflict and the MMDL container should be able to reach the mysql container. |
Closed by mistake |
I did not change 3306, but I tried exposing it anyway: no luck! |
I have pushed some changes to the repo, and I tested it in a fresh machine and it seems to be working. My guess is something is wrong with the db settings, but we can't put our finger on the "what". If possible, try the following:
Let's see if it runs out of the box. |
I doubt the CalDav account addition will work without install. Tables need to be created in the db for it to function. Are you using it locally? Can you see any errors in the console log? If you're seeing 404 in the console logs, the front end probably can't talk to the backend api. If you're using the app with a domain name, or using port other than 3000, You'll need to change the value of NEXT_PUBLIC_BASE_URL variable in docker compose to your URL |
OK, I had to change the values from localhost to my physical LAN IP address. But now I cannot create a user- I make it through user creation, but when trying to log in I always get "invalid password" |
I identified the problem with logging in, and I have pushed a fix. Please use git pull and run docker-compose up now, and see if it works. You won't be able to login with the user that you have created, unless you reset the password. To reset the password, you'll need to set the SMTP settings, as it needs to send an OTP to your email. If you don't want to bother with that, I recommend that you nuke the mysql container that was created, so it deletes the installed db tables. I think everything should work now. Thanks for your patience |
thanks! It's all up and running now. |
Great! Will close this issue for now. If you face other problems, you can reopen it. |
Originally posted by @AeliusSaionji in #12 (comment)
The text was updated successfully, but these errors were encountered: