I have downloaded the xibo docker version 2.0.1 (xibosignage/xibo-cms:release-2.0.1) and I have a remote mysql version 8.0.16 which I clustered with innodb. When I run “docker-compose -f cms_remote-mysql.yml up -d” it works. But I get this message on cms page “The CMS is temporarily off-line as an upgrade is in progress. Please check with your system administrator for updates or refresh your page in a few minutes.”
And in docker-compose logs for cms-web_1 I have these message:
Attaching to xibo-docker_cms-web_1, xibo-docker_cms-xmr_1 cms-web_1 | MySQL started
cms-web_1 | Updating settings.php
cms-web_1 | ERROR 1049 (42000): Unknown database ‘xibo’ cms-web_1 | New install
cms-web_1 | Provisioning Database
cms-web_1 | Phinx by CakePHP - https://phinx.org. 0.9.2
cms-web_1 |
cms-web_1 | using config file .varwwwcmsphinx.php
cms-web_1 | using config parser php
cms-web_1 | using migration paths
cms-web_1 | - /var/www/cms/db/migrations
cms-web_1 | warning no environment specified, defaulting to: production cms-web_1 | using adapter mysql
cms-web_1 | using database xibo
cms-web_1 |
cms-web_1 | == 20180130073838 InstallMigration: migrating
cms-web_1 |
cms-web_1 |
cms-web_1 | [PDOException]
cms-web_1 | SQLSTATE[22001]: String data, right truncated: 1406 Data too long for colum cms-web_1 | n ‘title’ at row 38
cms-web_1 |
cms-web_1 |
cms-web_1 | migrate [-c|–configuration CONFIGURATION] [-p|–parser PARSER] [-e|–environment ENVIRONMENT] [-t|–target TARGET] [-d|–date DATE] [-x|–dry-run] cms-web_1 |
cms-web_1 | Configuring Database Settings
cms-web_1 | Setting up Maintenance
cms-web_1 | Protected Maintenance
cms-web_1 | Importing ca-certs
cms-web_1 | cp: can’t stat ‘/var/www/cms/ca-certs/.pem’: No such file or directory cms-web_1 | cp: can’t stat '/var/www/cms/ca-certs/.crt’: No such file or directory cms-web_1 | WARNING: ca-certificates.crt does not contain exactly one certificate or CRL: skipping cms-web_1 | Configuring Maintenance
cms-web_1 | Removing web/install/index.php from production container cms-web_1 | Starting cron
cms-web_1 | Starting webserver
it connects to db, it creates xibo datebase but it doesnt work as it seems the error of migration is the problem.
Any idea what should I do?