guzzilar / docker-opencart

2 stars 4 forks source link

No such file or directory #4

Open hpapagaj opened 3 years ago

hpapagaj commented 3 years ago

For some reason I get some errors when I am trying to run docker-compose:

WARNING: Image for service opencart1564 was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating 1564_opencart1564_db_1 ... done
Creating 1564_opencart1564_1    ... done
Attaching to 1564_opencart1564_db_1, 1564_opencart1564_1
opencart1564_db_1  | 2020-11-30 15:39:22+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.22-1debian10 started.
opencart1564_db_1  | 2020-11-30 15:39:23+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
opencart1564_db_1  | 2020-11-30 15:39:23+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.22-1debian10 started.
opencart1564_db_1  | 2020-11-30 15:39:23+00:00 [Note] [Entrypoint]: Initializing database files
opencart1564_db_1  | 2020-11-30T15:39:23.591434Z 0 [System] [MY-013169] [Server] /usr/sbin/mysqld (mysqld 8.0.22) initializing of server in progress as process 42
opencart1564_db_1  | 2020-11-30T15:39:23.618077Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
opencart1564_1     | wait-for-it.sh: waiting 15 seconds for opencart1564_db:3306
opencart1564_db_1  | 2020-11-30T15:39:24.479711Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
opencart1564_db_1  | 2020-11-30T15:39:27.402146Z 6 [Warning] [MY-010453] [Server] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
opencart1564_db_1  | 2020-11-30 15:39:32+00:00 [Note] [Entrypoint]: Database files initialized
opencart1564_db_1  | 2020-11-30 15:39:32+00:00 [Note] [Entrypoint]: Starting temporary server
opencart1564_db_1  | 2020-11-30T15:39:32.951082Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.22) starting as process 87
opencart1564_db_1  | 2020-11-30T15:39:32.982526Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
opencart1564_db_1  | 2020-11-30T15:39:33.473831Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
opencart1564_db_1  | 2020-11-30T15:39:33.835376Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock
opencart1564_db_1  | 2020-11-30T15:39:34.095776Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
opencart1564_db_1  | 2020-11-30T15:39:34.096915Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
opencart1564_db_1  | 2020-11-30T15:39:34.101186Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
opencart1564_db_1  | 2020-11-30T15:39:34.153099Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.22'  socket: '/var/run/mysqld/mysqld.sock'  port: 0  MySQL Community Server - GPL.
opencart1564_db_1  | 2020-11-30 15:39:34+00:00 [Note] [Entrypoint]: Temporary server started.
opencart1564_db_1  | Warning: Unable to load '/usr/share/zoneinfo/iso3166.tab' as time zone. Skipping it.
opencart1564_db_1  | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
opencart1564_1     | wait-for-it.sh: timeout occurred after waiting 15 seconds for opencart1564_db:3306
opencart1564_1     | rm: cannot remove './_build': No such file or directory
opencart1564_1     |   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
opencart1564_1     |                                  Dload  Upload   Total   Spent    Left  Speed
100 8272k    0 8272k    0     0  3452k      0 --:--:--  0:00:02 --:--:-- 3455k
opencart1564_1     | FAILED!: mysqli::mysqli(): (HY000/2002): Connection refused
opencart1564_1     | [Mon Nov 30 15:39:42.152829 2020] [core:warn] [pid 57] AH00111: Config variable ${APACHE_RUN_DIR} is not defined
opencart1564_1     | apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot
1564_opencart1564_1 exited with code 1
opencart1564_db_1  | Warning: Unable to load '/usr/share/zoneinfo/zone.tab' as time zone. Skipping it.
opencart1564_db_1  | Warning: Unable to load '/usr/share/zoneinfo/zone1970.tab' as time zone. Skipping it.
opencart1564_db_1  | 2020-11-30 15:39:45+00:00 [Note] [Entrypoint]: Creating database opencart1564_db
opencart1564_db_1  |
opencart1564_db_1  | 2020-11-30 15:39:45+00:00 [Note] [Entrypoint]: Stopping temporary server
opencart1564_db_1  | 2020-11-30T15:39:45.473524Z 11 [System] [MY-013172] [Server] Received SHUTDOWN from user root. Shutting down mysqld (Version: 8.0.22).
opencart1564_db_1  | 2020-11-30T15:39:46.518514Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.22)  MySQL Community Server - GPL.
opencart1564_db_1  | 2020-11-30 15:39:47+00:00 [Note] [Entrypoint]: Temporary server stopped
opencart1564_db_1  |
opencart1564_db_1  | 2020-11-30 15:39:47+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.
opencart1564_db_1  |
opencart1564_db_1  | 2020-11-30T15:39:47.925733Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.22) starting as process 1
opencart1564_db_1  | 2020-11-30T15:39:47.946167Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
opencart1564_db_1  | 2020-11-30T15:39:48.544231Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
opencart1564_db_1  | 2020-11-30T15:39:48.800598Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
opencart1564_db_1  | 2020-11-30T15:39:48.907949Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
opencart1564_db_1  | 2020-11-30T15:39:48.908440Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
opencart1564_db_1  | 2020-11-30T15:39:48.912092Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
opencart1564_db_1  | 2020-11-30T15:39:48.952640Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.22'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
^CGracefully stopping... (press Ctrl+C again to force)
Stopping 1564_opencart1564_db_1 ... done

Then I tried to run again the exact command:

madrian@ubuntu:~/tmp/docker-opencart$ sudo docker-compose -f ./src/1.5.6.4/docker-compose.yml up
Starting 1564_opencart1564_db_1 ... done
Starting 1564_opencart1564_1    ... done
Attaching to 1564_opencart1564_db_1, 1564_opencart1564_1
opencart1564_db_1  | 2020-11-30 15:43:09+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.22-1debian10 started.
opencart1564_db_1  | 2020-11-30 15:43:10+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
opencart1564_db_1  | 2020-11-30 15:43:10+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.22-1debian10 started.
opencart1564_1     | wait-for-it.sh: waiting 15 seconds for opencart1564_db:3306
opencart1564_db_1  | 2020-11-30T15:43:11.164877Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.22) starting as process 1
opencart1564_db_1  | 2020-11-30T15:43:11.187621Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
opencart1564_db_1  | 2020-11-30T15:43:11.504208Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
opencart1564_db_1  | 2020-11-30T15:43:11.766619Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
opencart1564_db_1  | 2020-11-30T15:43:11.893302Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
opencart1564_db_1  | 2020-11-30T15:43:11.893709Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
opencart1564_db_1  | 2020-11-30T15:43:11.899558Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.
opencart1564_db_1  | 2020-11-30T15:43:11.996109Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.22'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.
opencart1564_1     | wait-for-it.sh: opencart1564_db:3306 is available after 1 seconds
opencart1564_1     | ./wait-for-it.sh: line 158: /var/www/html/opencart-1.5.6.4-install.sh: No such file or directory
1564_opencart1564_1 exited with code 127

Any idea what causes the error?

ChMindden commented 1 year ago

2023 and the issue stills alive