10up / twentysixteenreact

Twenty Sixteen theme as an isomorphic React.js application using NodeifyWP.
93 stars 20 forks source link

Problem with docker-compose #8

Closed diegovilarinho closed 7 years ago

diegovilarinho commented 7 years ago

Hi, first of all I apologize for my English, I'm Brazilian and I'm not fluent in English.

I have a problem while running docker-compose up. The process flows well until you get here:

db_1 | Version: '5.7.17' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)

At that point the process stops and does not continue. It does not go on and does not generate error, it just hangs. Could you help me with that?

I found your template very interesting and would like to congratulate the initiative.

Thanks in advance for your attention and help.

Here is the transcript of the process in my terminal:

$ docker-compose up
Building wordpress
Step 1 : FROM virusvn/docker-centos-v8js:nginx-php-fpm
 ---> 9704e5c360ce
Step 2 : RUN yum clean all
 ---> Using cache
 ---> cf1708bcd571
Step 3 : RUN yum install -y php-mysqli vim
 ---> Using cache
 ---> a1e8766a385c
Step 4 : RUN cd /tmp   && curl -LO http://wordpress.org/latest.tar.gz
 ---> Using cache
 ---> 02e02c2b3849
Step 5 : COPY start.sh /usr/local/bin/
 ---> Using cache
 ---> cb2cd1021a5d
Step 6 : COPY nginx/wordpress.conf /etc/nginx/conf.d
 ---> Using cache
 ---> fd6d5639ce29
Step 7 : RUN rm /etc/nginx/conf.d/default.conf
 ---> Using cache
 ---> 6c000a91ca80
Step 8 : RUN chmod +x /usr/local/bin/start.sh
 ---> Using cache
 ---> b1862ff0b9da
Step 9 : RUN curl -L -o /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
 ---> Using cache
 ---> 3c0b957eeb01
Step 10 : RUN chmod +x /usr/local/bin/phpunit
 ---> Using cache
 ---> 9bee7dcf77c9
Step 11 : RUN cd /tmp   && curl -L -O https://launchpad.net/libmemcached/1.0/1.0.16/+download/libmemcached-1.0.16.tar.gz   && tar -xvf libmemcached-1.0.16.tar.gz   && cd libmem*   && bash configure --disable-memcached-sasl   && make   && make install
 ---> Using cache
 ---> 428f73d0ba16
Step 12 : RUN cd /tmp   && git clone https://github.com/php-memcached-dev/php-memcached   && cd php-memcached   && git checkout php7   && phpize   && ./configure --disable-memcached-sasl   && make   && make install
 ---> Using cache
 ---> b343d923050e
Step 13 : RUN bash -c "echo extension=memcached.so > /etc/php.d/memcached.ini"
 ---> Using cache
 ---> 1035f1c99c8d
Step 14 : RUN curl -L -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
 ---> Using cache
 ---> 1f2b1e9322c3
Step 15 : RUN chmod +x /usr/local/bin/wp
 ---> Using cache
 ---> 638eef47cb9f
Step 16 : CMD start.sh
 ---> Using cache
 ---> ddd824c8a1ea
Successfully built ddd824c8a1ea
twentysixteenreact_memcached_1 is up-to-date
twentysixteenreact_db_1 is up-to-date
twentysixteenreact_wordpress_1 is up-to-date
Attaching to twentysixteenreact_memcached_1, twentysixteenreact_db_1, twentysixteenreact_wordpress_1
wordpress_1  | Installing WordPress
wordpress_1  | Starting nginx...
wordpress_1  | Starting php...
db_1         | 2016-12-16T14:20:52.082204Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
db_1         | 2016-12-16T14:20:52.106534Z 0 [Note] mysqld (mysqld 5.7.17) starting as process 1 ...
db_1         | 2016-12-16T14:20:52.137266Z 0 [Warning] Setting lower_case_table_names=2 because file system for /var/lib/mysql/ is case insensitive
db_1         | 2016-12-16T14:20:52.148896Z 0 [Note] InnoDB: PUNCH HOLE support available
db_1         | 2016-12-16T14:20:52.149013Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
db_1         | 2016-12-16T14:20:52.149278Z 0 [Note] InnoDB: Uses event mutexes
db_1         | 2016-12-16T14:20:52.149314Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
db_1         | 2016-12-16T14:20:52.149323Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
db_1         | 2016-12-16T14:20:52.149344Z 0 [Note] InnoDB: Using Linux native AIO
db_1         | 2016-12-16T14:20:52.165630Z 0 [Note] InnoDB: Number of pools: 1
db_1         | 2016-12-16T14:20:52.177876Z 0 [Note] InnoDB: Using CPU crc32 instructions
db_1         | 2016-12-16T14:20:52.207868Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
db_1         | 2016-12-16T14:20:52.309415Z 0 [Note] InnoDB: Completed initialization of buffer pool
db_1         | 2016-12-16T14:20:52.704669Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
db_1         | 2016-12-16T14:20:52.930684Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
db_1         | 2016-12-16T14:20:52.970380Z 0 [Note] InnoDB: Log scan progressed past the checkpoint lsn 12168279
db_1         | 2016-12-16T14:20:52.970840Z 0 [Note] InnoDB: Doing recovery: scanned up to log sequence number 12168288
db_1         | 2016-12-16T14:20:52.972247Z 0 [Note] InnoDB: Doing recovery: scanned up to log sequence number 12168288
db_1         | 2016-12-16T14:20:52.972896Z 0 [Note] InnoDB: Database was not shutdown normally!
db_1         | 2016-12-16T14:20:52.973009Z 0 [Note] InnoDB: Starting crash recovery.
db_1         | 2016-12-16T14:20:53.981990Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
db_1         | 2016-12-16T14:20:53.986869Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
db_1         | 2016-12-16T14:20:54.001549Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
db_1         | 2016-12-16T14:20:54.877699Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
db_1         | 2016-12-16T14:20:54.926263Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
db_1         | 2016-12-16T14:20:54.926353Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
db_1         | 2016-12-16T14:20:54.927419Z 0 [Note] InnoDB: Waiting for purge to start
db_1         | 2016-12-16T14:20:54.989277Z 0 [Note] InnoDB: 5.7.17 started; log sequence number 12168288
db_1         | 2016-12-16T14:20:55.000530Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db_1         | 2016-12-16T14:20:55.000716Z 0 [Note] Plugin 'FEDERATED' is disabled.
db_1         | 2016-12-16T14:20:56.762716Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
db_1         | 2016-12-16T14:20:56.793544Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
db_1         | 2016-12-16T14:20:56.795911Z 0 [Note] IPv6 is available.
db_1         | 2016-12-16T14:20:56.796941Z 0 [Note]   - '::' resolves to '::';
db_1         | 2016-12-16T14:20:56.807772Z 0 [Note] Server socket created on IP: '::'.
db_1         | 2016-12-16T14:20:56.925332Z 0 [Note] InnoDB: Buffer pool(s) load completed at 161216 14:20:56
db_1         | 2016-12-16T14:20:57.036390Z 0 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1         | 2016-12-16T14:20:57.045224Z 0 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
db_1         | 2016-12-16T14:20:57.299109Z 0 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
db_1         | 2016-12-16T14:20:58.370977Z 0 [Note] Event Scheduler: Loaded 0 events
db_1         | 2016-12-16T14:20:58.371507Z 0 [Note] Executing 'SELECT * FROM INFORMATION_SCHEMA.TABLES;' to get a list of tables using the deprecated partition engine. You may use the startup option '--disable-partition-engine-check' to skip this check. 
db_1         | 2016-12-16T14:20:58.371560Z 0 [Note] Beginning of list of non-natively partitioned tables
db_1         | 2016-12-16T14:20:59.904785Z 0 [Note] End of list of non-natively partitioned tables
db_1         | 2016-12-16T14:20:59.909390Z 0 [Note] mysqld: ready for connections.
db_1         | Version: '5.7.17'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
tlovett1 commented 7 years ago

Can you try again? We rebuilt the docker setup.

tlovett1 commented 7 years ago

Also, we pushed the image to Docker hub so you wont need to run the build anymore.

diegovilarinho commented 7 years ago

as well?

tlovett1 commented 7 years ago

Not sure what that means