docker
docker copied to clipboard
Issue with initial db migration
I am trying to install eramba on docker runing on a synology nas. I opted for Http setup. No change to the config file and yml script.
After the installation the 4 container are installed as follows:
ONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES f200f580d98e ghcr.io/eramba/eramba:latest "/docker-cron-entryp…" 15 minutes ago Up 15 minutes 80/tcp cron e56825f882cc ghcr.io/eramba/eramba:latest "/docker-entrypoint.…" 16 minutes ago Up 13 minutes 80/tcp, 0.0.0.0:8080->8080/tcp eramba 9b51b904d081 mysql:8.0.28-oracle "docker-entrypoint.s…" 16 minutes ago Up 16 minutes 3306/tcp, 33060/tcp mysql
There is an issue with the eramba container. The database migration freeze:
Failed to connect to the database, exiting... Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///var/www/eramba/composer.phar/vendor/symfony/console/Command/DumpCompletionCommand.php:48 Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///var/www/eramba/composer.phar/vendor/symfony/console/Command/DumpCompletionCommand.php:56 Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///var/www/eramba/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:875 Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///var/www/eramba/composer.phar/src/Composer/Autoload/AutoloadGenerator.php:880
App\Console\Installer::postInstall Welcome to Eramba installation procedure! Skipped overwriting
config/app_local.php
file No Security.salt placeholder to replace. sending incremental file list emails/.gitkeep
sent 888 bytes received 49 bytes 1,874.00 bytes/sec total size is 0 speedup is 0.00 sending incremental file list .gitkeep
sent 214 bytes received 37 bytes 502.00 bytes/sec total size is 0 speedup is 0.00 Using connection: default
Waiting for database... Connection to Mysql could not be established: SQLSTATE[HY000] [2002] Connection refused Using connection: default
Database appears to be empty. Running structural migrations.
== 20170222204044 Initial: migrating
Can you please help ?