Closed ac2323 closed 4 months ago
@ac2323 what's your docker version?
@ac2323 what's your docker version?
Docker version 25.0.3, build 4debf41
Noticed this error as well:
A server is already running. Check /app/tmp/pids/server.pid
I was able to resolve this by searching for that server.pid file and removing all copies of it. Docuseal was then able to launch correctly.
Reopening since the issue persists after a reboot. The server.pid file gets recreated and Docuseal will not start until those files are removed. Furthermore, updating the docker image yields the same error as my original post and there is no server.pid file to delete.
@ac2323 which version of docuseal docker image are you using, also on what is your docker host OS?
@ac2323 which version of docuseal docker image are you using, also on what is your docker host OS?
Using the latest (1.4.5). OS is Ubuntu 22.04.4 LXC
@ac2323 looks like /dev/null is not available on LXC - but it should work with docker
I have other containers working just fine.
I was able to restore to a previous backup running Docuseal 1.4.2 which requires deleting those 2 server.pid files.
In the latest 1.4.5 we use /dev/null as server pid file - and looks like it's causing issues in LXC (/dev/null is not available on LXC). Afaik there are no easy ways to disable PID file - /dev/null was the only solution @ac2323
Confirmed that this is limited to 1.4.5 as I was able to launch 1.4.4 just fine
@ac2323 to fix it on LXC and an 1.4.5 version use -e PIDFILE=/tmp/server.pid in order to write pid file into tmp folder instead of /dev/null
Can you point me in the right direction? How do I accomplish this?
use -e PIDFILE=/tmp/server.pid in order to write pid file into tmp folder instead of /dev/null
@econcepcion yep, correct
I am lost. Do I add this to the compose file?
@econcepcion yep: - PIDFILE=/tmp/server.pid
I added this... - PIDFILE=/tmp/server.pid
I am sure I have not added it correctly, cause it is not working.
@econcepcion did you try --force-recreate
Just tried --force-recreate but still getting this error.
ERROR: for app Container "59b55cdd4dd5" is unhealthy. ERROR: Encountered errors while bringing up the project.
@econcepcion looks like now that's a new error that is not related to /dev/null
oh ok. Thanks for the help. You are a Legend.
I updated my Docker Docuseal image recently and noticed that it doesn't start. I'm on an Ubuntu LXC 22.04.4 Below is the error log:
Any ideas?