-
-
Notifications
You must be signed in to change notification settings - Fork 622
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
nginx error when updated to 3.4.0+ #2946
Comments
Hey,
And update the nginx.conf server block to:
2. Add required capabilities to your docker-compose.yml:
3. Alternatively it could be related to docker volume permissions. For that, before starting the container, ensure the mounted volumes have correct permissions:
4. As a last resort, you can run the container as root by adding to docker-compose.yml:
The first option (using port 8080) is generally recommended as it's more secure. If none of these work could you share your docker-compose file? |
With that said, let me do a quick rebuild of the docker image to set port 8080 as default. That way this should be working out of the box. You are the 2nd reaching out today :D |
Port 8080 is now the default port and the permissions should work without any issues |
Hi, |
Do you have any other logs in storage/logs? |
I have quite the same log as @PGostek Here is my docker-compose file : ` networks: volumes: services: leantime:
` |
Thanks. Can you update the ports: section to be
We updated the default port inside the docker container to 8080 to avoid permission issues when not running as root. |
Hi, |
Try updating to 3.4.2 and see if that changes anything. Can you also share nginx logs as well as leantime logs (var/www/html/storage/logs) |
Not sure if that is the issue but we also don't have a sessions folder the way it is defined in your docker-compose file. |
Could you try once more with the latest version 3.4.3 / latest ? |
Yes, it works now with 3.4.3. I just have to use 8080 port as expected. Thanks. |
Great, thanks for the update! |
What is your set up?
Self Hosted Server - Synology DSM + Docker
Version
3.4.0
Describe the issue
The docker container does not work any more after upgrading Leantime to 3.4.0 or higher. Downgrading to 3.3.3 solves the problem.
Logs from container attached.
Reproduction steps
1.Install leantime 3.4.0+ on the docker @ synology DSM
2.
3.
...
Error Logs (LEANTIMEFOLDER/storage/logs)
`
The text was updated successfully, but these errors were encountered: