maintenance never ends on my environment, had to send it to a background process to be able to start Xibo.
How can I debug it?
I had a problem, which i was able to solve, but i’ll just share it here just in case i should do something
I followed the regular guide to update using containers, which already did to update from 1.8.1.
After all the steps, I couldn’t start xibo CMS,
After some troubleshooting:
- container inspection with
docker exec -it xibodockermaster_cms-web_1 bash
docker exec -it xibodockermaster_cms-db_1 bash
peeking on shared directory,
running queries against database
everything led to the container not invoking the web server (entrypoint.sh should have a log to the shared directories by the way), it seems than the line that invokes maintenance on entrypoint.sh is expected to finish.
cd /var/www/cms su -s /bin/bash -c 'cd /var/www/cms && /usr/bin/php bin/run.php 1' www-data
It didn’t so I just added an & to all lines from there to the web server startup line.
I’m not sure if this should be done, or there is something wrong on my environment.