Prestashop - это приложение, которое требует времени для инициализации, главным образом из-за инициализации базы данных.
При добавлении переменной среды NAMI_DEBUG=true
в контейнер вы должны увидеть некоторые сообщения после INFO Configuring PrestaShop...
. Эти сообщения имеют уровень TRACE
, поэтому они не отображаются по умолчанию, но, включив отладку, вы должны увидеть что-то вроде:
prestashop_1 | prestas INFO Configuring PrestaShop...
prestashop_1 | php TRACE [runProgram] Executing: /opt/bitnami/php/bin/php install/index_cli.php,--db_user=bn_prestashop,--db_password=,--db_server=mariadb:3306,--db_name=bitnami_prestashop,--domain=localhost,--firstname=Bitnami,--lastname=User,--password=bitnami1,--email=user@example.com,--timezone=PST8PDT,--country=us,--language=en,--newsletter=0
prestashop_1 | mysql-c TRACE [execute] Executing: mysql -N -P 3306 -hmariadb -Dbitnami_prestashop -ubn_prestashop -e UPDATE ps_configuration SET value='1' WHERE name='PS_REWRITING_SETTINGS';
prestashop_1 | mysql-c TRACE [execute] Result: {"code":0,"stdout":"","stderr":""}
prestashop_1 | mysql-c TRACE [execute] Executing: mysql -N -P 3306 -hmariadb -Dbitnami_prestashop -ubn_prestashop -e UPDATE ps_configuration SET value='1' WHERE name='PS_SMARTY_CACHE';
prestashop_1 | mysql-c TRACE [execute] Result: {"code":0,"stdout":"","stderr":""}
prestashop_1 | mysql-c TRACE [execute] Executing: mysql -N -P 3306 -hmariadb -Dbitnami_prestashop -ubn_prestashop -e UPDATE ps_configuration SET value='0' WHERE name='PS_SMARTY_FORCE_COMPILE';
prestashop_1 | mysql-c TRACE [execute] Result: {"code":0,"stdout":"","stderr":""}
prestashop_1 | mysql-c TRACE [execute] Executing: mysql -N -P 3306 -hmariadb -Dbitnami_prestashop -ubn_prestashop -e INSERT INTO ps_configuration (name, value) VALUES ('PS_CSS_THEME_CACHE', '1');
prestashop_1 | mysql-c TRACE [execute] Result: {"code":0,"stdout":"","stderr":""}
prestashop_1 | mysql-c TRACE [execute] Executing: mysql -N -P 3306 -hmariadb -Dbitnami_prestashop -ubn_prestashop -e INSERT INTO ps_configuration (name, value) VALUES ('PS_JS_THEME_CACHE', '1');
prestashop_1 | mysql-c TRACE [execute] Result: {"code":0,"stdout":"","stderr":""}
prestashop_1 | mysql-c TRACE [execute] Executing: mysql -N -P 3306 -hmariadb -Dbitnami_prestashop -ubn_prestashop -e INSERT INTO ps_configuration (name, value) VALUES ('PS_HTML_THEME_COMPRESSION', '1');
prestashop_1 | mysql-c TRACE [execute] Result: {"code":0,"stdout":"","stderr":""}
prestashop_1 | mysql-c TRACE [execute] Executing: mysql -N -P 3306 -hmariadb -Dbitnami_prestashop -ubn_prestashop -e INSERT INTO ps_configuration (name, value) VALUES ('PS_JS_HTML_THEME_COMPRESSION', '1');
prestashop_1 | mysql-c TRACE [execute] Result: {"code":0,"stdout":"","stderr":""}
prestashop_1 | mysql-c TRACE [execute] Executing: mysql -N -P 3306 -hmariadb -Dbitnami_prestashop -ubn_prestashop -e INSERT INTO ps_configuration (name, value) VALUES ('PS_HTACCESS_CACHE_CONTROL', '1');
prestashop_1 | mysql-c TRACE [execute] Result: {"code":0,"stdout":"","stderr":""}
prestashop_1 | prestas TRACE [prepareDataToPersist] Preparing /opt/bitnami/prestashop to persist in /bitnami/prestashop
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/administration/backups
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/administration/import
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/cache
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/var/cache
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/app/config
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/var/logs
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/img
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/mails
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/config
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/modules
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/override
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/themes
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/translations
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/upload
prestashop_1 | prestas TRACE [configurePermissions] File to chown: /opt/bitnami/prestashop/download
prestashop_1 | apache TRACE [runProgram] Executing: /opt/bitnami/apache/bin/apachectl graceful
prestashop_1 | prestas INFO
prestashop_1 | prestas INFO ########################################################################
prestashop_1 | prestas INFO Installation parameters for prestashop:
prestashop_1 | prestas INFO First Name: Bitnami
prestashop_1 | prestas INFO Last Name: User
prestashop_1 | prestas INFO Email: user@example.com
prestashop_1 | prestas INFO Password: **********
prestashop_1 | prestas INFO Shop Name: PrestaShop
prestashop_1 | prestas INFO Admin URL: http://localhost/administration
prestashop_1 | prestas INFO (Passwords are not shown for security reasons)
prestashop_1 | prestas INFO ########################################################################
prestashop_1 | prestas INFO
prestashop_1 | nami INFO prestashop successfully initialized
Обратите внимание на сообщения TRACE
перед следующим INFO
.
Когда я говорю, что приложению нужно время для инициализации, я говорю о 7/10 минутах, но если вы установите WEBSITES_CONTAINER_START_TIME_LIMIT
на 30 минут, это не должно быть проблемой. Можете ли вы попробовать увеличить отладку, установив переменную окружения NAMI_DEBUG=true
в контейнер?