Hi People,
I installed Xibo using this tutorial:
https://xibo.org.uk/docs/setup/xibo-2-1-0-with-docker-on-ubuntu-18-04
and when and reboot Ubuntu Xibo does not start automatically I have to start the container automatically using the following command
root@sarxibo01:~# cd /opt/xibo/
root@sarxibo01:/opt/xibo# docker-compose up -d
Starting xibo_cms-db_1 … done
Starting xibo_cms-xmr_1 … done
Starting xibo_cms-web_1 … done
Is there an option to start it automatically?
Thanks
Best regards
Hi @ricardsm, In our case (same installation guide) Xibo takes a few minutes but finally starts.
I found a good solution, as I was having the same issue. Follow the following steps:
-
Log in and then give yourself root permissions (I do this as sudo -s)
-
Make sure Docker itself is starting automatically. If you want to have Ubuntu control this, you can run the command systemctl enable docker
-
Run the command nano /etc/rc.local
-
Paste or type the following:
#!/bin/sh -e
cd /opt/xibo
docker-compose up -d
exit 0
- Run the command chmod +x /etc/rc.local
You should now be able to restart your server and your Xibo containers should load without issue.
system
Closed
4
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.