Hi, I am trying to get a local version of Xibo running on my machine so that I can work on extending/integrating. I followed all the instructions (per https://github.com/xibosignage/xibo-cms) and ran docker-compose up --build -d, yielding an output of:
Successfully built f20745f5e3b2
Successfully tagged xibo-cms_web:latest
xibo-cms_db_1 is up-to-date
xibo-cms_quickchart_1 is up-to-date
xibo-cms_web_1 is up-to-date
xibo-cms_xmr_1 is up-to-date
xibo-cms_swagger_1 is up-to-date
But nothing happens afterword? How do I access the application?
MySQL Connection Details:
Username: root
Password: root
DB: cms
Host: db
XMR Connection Details:
Host: xmr
CMS Port: 50001
Player Port: 9505
Starting Webserver
Waiting for MySQL to start - max 300 seconds
MySQL started
Updating settings.php
ERROR 1146 (42S02) at line 1: Table 'cms.setting' doesn't exist
New install
Provisioning Database
Phinx by CakePHP - https://phinx.org. 0.9.2
using config file .varwwwcmsphinx.php
using config parser php
using migration paths
- /var/www/cms/db/migrations
warning no environment specified, defaulting to: production
using adapter mysql
using database cms
....
....
....
All Done. Took 8.0991s
Configuring Database Settings
Setting up Maintenance
Starting webserver
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.18.0.6. Set the 'ServerName' directive globally to suppress this message
Itâll be on your local machine, port 81. If youâre running Docker on a Mac, then you may need to forward ports in the VM that Docker uses to be able to access those.
@alex
Okay getting desperate, started from scratch (Virtualbox Ubuntu VM with bridged mode OFF) with
version 1.8.13 as per the github link
With the default settings I get an EADDINUSE error for port 80. I went into the docker-compose.yml file and changed:
Now it builds with docker-compose and everything seems fine. But navigating to localhost (in Ubuntu VM) port 82 does not work. It says the site may be temporarily busy âUnable to Connectâ on firefox
@dan@alex
I really appreciate your help on this, thank you.
Weâre using this particular version because itâs more barebones for the functionality we want to extend. But the result of docker ps is:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
2f7c8b413831 xibocms_web "/entrypoint.sh" 2 hours ago Up 8 seconds 80/tcp, 0.0.0.0:82->82/tcp xibocms_web_1
10e6e4747754 swaggerapi/swagger-ui:latest "sh /usr/share/nginxâŚ" 4 hours ago Up 7 seconds 80/tcp, 0.0.0.0:8080->8080/tcp xibocms_swagger_1
13e7e76d6306 mysql:5.6 "docker-entrypoint.sâŚ" 7 hours ago Up 10 seconds 0.0.0.0:3315->3306/tcp xibocms_db_1
7a5d5389bbd5 xibosignage/xibo-xmr:latest "/entrypoint.sh" 7 hours ago Up 9 seconds 0.0.0.0:9505->9505/tcp, 50001/tcp xibocms_xmr_1
15aa2714273a ianw/quickchart "yarn start" 7 hours ago Up 7 seconds 3400/tcp xibocms_quickchart_1
Ive not built a fresh 1.8 dev environment for several years now, so I canât be 100% sure that what is there will work out the box.
You might need to exec into your web container and make sure everything looks good inside there docker exec -it xibocms_web_1 sh
Or it might be a PHP error (although I think youâd except to see a 500 rather than a network error when accessing). However to rule that out you could put error_reporting / display_errors at the top of web/index.php
Ah!
ports:
- "82:82"
This is mapping âinside portâ to âoutside portâ. The inside port is 80, not 82.