Skip to content

Fail to run - Windows 10 #2

Description

@Johnogram

The container fails to run. The web server seems to be active, but returns 503 error. Terminal dump below


C:\Users\defin\Documents\docker-wordpress-master
λ docker-compose up
Creating dockerwordpressmaster_db_1 ...
Creating dockerwordpressmaster_db_1 ... done
Creating dockerwordpressmaster_wp_1 ...
Creating dockerwordpressmaster_pma_1 ...
Creating dockerwordpressmaster_wp_1
Creating dockerwordpressmaster_pma_1 ... done
Attaching to dockerwordpressmaster_db_1, dockerwordpressmaster_wp_1, dockerwordpressmaster_pma_1
db_1 | Initializing database
db_1 | 2017-11-28 15:09:24 140317615544192 [ERROR] InnoDB: preallocating 12582912 bytes for file ./ibdata1 failed with error 22
db_1 | 2017-11-28 15:09:24 140317615544192 [ERROR] InnoDB: Could not set the file size of './ibdata1'. Probably out of disk space
db_1 | 2017-11-28 15:09:24 140317615544192 [ERROR] InnoDB: Database creation was aborted with error Generic error. You may need to delete the ibdata1 file before trying to start up again.
wp_1 | WordPress not found in /var/www/html - copying now...
wp_1 | WARNING: /var/www/html is not empty - press Ctrl+C now if this is an error!
wp_1 | + ls -A
wp_1 | wp-content
wp_1 | + sleep 10
db_1 | 2017-11-28 15:09:25 140317615544192 [ERROR] Plugin 'InnoDB' init function returned error.
db_1 | 2017-11-28 15:09:25 140317615544192 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
db_1 | 2017-11-28 15:09:25 140317615544192 [ERROR] Unknown/unsupported storage engine: InnoDB
db_1 | 2017-11-28 15:09:25 140317615544192 [ERROR] Aborting
db_1 |
db_1 |
db_1 | Installation of system tables failed! Examine the logs in
db_1 | /var/lib/mysql/ for more information.
db_1 |
db_1 | The problem could be conflicting information in an external
db_1 | my.cnf files. You can ignore these by doing:
db_1 |
db_1 | shell> /usr/bin/mysql_install_db --defaults-file=~/.my.cnf
db_1 |
db_1 | You can also try to start the mysqld daemon with:
db_1 |
db_1 | shell> /usr/sbin/mysqld --skip-grant --general-log &
db_1 |
db_1 | and use the command line tool /usr/bin/mysql
db_1 | to connect to the mysql database and look at the grant tables:
db_1 |
db_1 | shell> /usr/bin/mysql -u root mysql
db_1 | mysql> show tables;
db_1 |
db_1 | Try 'mysqld --help' if you have problems with paths. Using
db_1 | --general-log gives you a log in /var/lib/mysql/ that may be helpful.
db_1 |
db_1 | The latest information about mysql_install_db is available at
db_1 | https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
db_1 | MariaDB is hosted on launchpad; You can find the latest source and
db_1 | email lists at http://launchpad.net/maria
db_1 |
db_1 | Please check all of the above before submitting a bug report
db_1 | at http://mariadb.org/jira
db_1 |
pma_1 | 2017-11-28 15:09:25,690 CRIT Supervisor running as root (no user in config file)
pma_1 | 2017-11-28 15:09:25,691 WARN Included extra file "/etc/supervisor.d/nginx.ini" during parsing
pma_1 | 2017-11-28 15:09:25,691 WARN Included extra file "/etc/supervisor.d/php.ini" during parsing
pma_1 | 2017-11-28 15:09:25,701 INFO RPC interface 'supervisor' initialized
pma_1 | 2017-11-28 15:09:25,701 CRIT Server 'unix_http_server' running without any HTTP authentication checking
pma_1 | 2017-11-28 15:09:25,701 INFO supervisord started with pid 1
dockerwordpressmaster_db_1 exited with code 1
pma_1 | 2017-11-28 15:09:26,703 INFO spawned: 'php-fpm' with pid 20
pma_1 | 2017-11-28 15:09:26,704 INFO spawned: 'nginx' with pid 21
pma_1 | 2017-11-28 15:09:27,725 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
pma_1 | 2017-11-28 15:09:27,726 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
wp_1 | Complete! WordPress has been successfully copied to /var/www/html
wp_1 |
wp_1 | Warning: mysqli::mysqli(): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | Warning: mysqli::mysqli(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wp_1 |
wp_1 | Warning: mysqli::mysqli(): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | Warning: mysqli::mysqli(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wp_1 |
wp_1 | Warning: mysqli::mysqli(): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | Warning: mysqli::mysqli(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wp_1 |
wp_1 | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wp_1 |
wp_1 | Warning: mysqli::mysqli(): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | Warning: mysqli::mysqli(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | Warning: mysqli::mysqli(): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | Warning: mysqli::mysqli(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wp_1 |
wp_1 | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wp_1 |
wp_1 | Warning: mysqli::mysqli(): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | Warning: mysqli::mysqli(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | Warning: mysqli::mysqli(): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | Warning: mysqli::mysqli(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wp_1 |
wp_1 | Warning: mysqli::mysqli(): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | Warning: mysqli::mysqli(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wp_1 |
wp_1 | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wp_1 |
wp_1 | Warning: mysqli::mysqli(): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | Warning: mysqli::mysqli(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | MySQL Connection Error: (2002) php_network_getaddresses: getaddrinfo failed: Name or service not known
wp_1 |
wp_1 | Warning: mysqli::mysqli(): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
wp_1 |
wp_1 | Warning: mysqli::mysqli(): (HY000/2002): php_network_getaddresses: getaddrinfo failed: Name or service not known in - on line 22
dockerwordpressmaster_wp_1 exited with code 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions