Comments (16)
I did not change 3306, but I tried exposing it anyway: no luck!
from manage-my-damn-life-nextjs.
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
from manage-my-damn-life-nextjs.
thanks! It's all up and running now.
from manage-my-damn-life-nextjs.
Are you trying to run and install via docker compose or by using the docker image?
from manage-my-damn-life-nextjs.
Compose
from manage-my-damn-life-nextjs.
| Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
This particular error isn't really fatal. It's just NextJS complaining about missing sharp library. You can install it via
npm i sharp
Can you try navigating to localhost:3000/install
, and see if the installation process finishes?
from manage-my-damn-life-nextjs.
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"
from manage-my-damn-life-nextjs.
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?
from manage-my-damn-life-nextjs.
Only to change the port. I also tested with the docker sample env file (unmodified)
from manage-my-damn-life-nextjs.
I am guessing 3306 port was already in use, so you had to change the port binding?
In your docker-compose.yml
, in services 'db', try changing the ports
directive to expose
.
Delete this
ports:
- "3306:3306"
And replace it with:
expose:
- 3306
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.
from manage-my-damn-life-nextjs.
Closed by mistake
from manage-my-damn-life-nextjs.
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:
- Remove your docker-compose file
rm docker-compose.yml
- Pull new changes to the repo
git pull
- Copy docker sample docker-compose file.
cp docker-compose.yml.sample docker-compose.yml
- Run
docker-compose up
Let's see if it runs out of the box.
from manage-my-damn-life-nextjs.
This is what I see at the install page.
The base page seems to be working without having gone through any install, though, I'll try to set up my caldav account
from manage-my-damn-life-nextjs.
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
from manage-my-damn-life-nextjs.
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"
from manage-my-damn-life-nextjs.
Great! Will close this issue for now. If you face other problems, you can reopen it.
from manage-my-damn-life-nextjs.
Related Issues (20)
- Self Signed Certificates are rejected automatically HOT 7
- DB tables doesn't exist HOT 7
- Valid CalDAV URL HOT 2
- Time format is not consistent HOT 1
- Show week numbers
- Possibility to move event to anothet calendar
- "All day event" selector memory
- Quick view for event
- Pre-filled event
- Word wrap if there is space
- Theming HOT 1
- Sync automatically after action
- Show list of calendars
- Quick Add flashes window
- webhook - notification - gotify
- Hit "enter" to login.
- Possibility to show / hide specific calendars in a caldav on the go. HOT 1
- Not really and issue HOT 4
- client does not support authentication protocol requested by server, consider upgrading mysql client HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manage-my-damn-life-nextjs.