Closed auaaaa closed 6 months ago
2023-12-7
latest版本安装失败
Version: '5.7.44' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
2023-12-27T02:55:05.318408Z 3 [Note] Access denied for user 'prestashop_1jy1t'@'%' to database 'prestashop'
2023-12-27T02:55:05.333074Z 4 [Note] Access denied for user 'prestashop_1jy1t'@'%' to database 'prestashop'
2023-12-27T02:55:05.337936Z 5 [Note] Access denied for user 'prestashop_1jy1t'@'%' to database 'prestashop'
2023-12-27T02:55:05.370728Z 6 [Note] Access denied for user 'prestashop_1jy1t'@'%' to database 'prestashop'
2023-12-27T02:55:05.372106Z 7 [Note] Access denied for user 'prestashop_1jy1t'@'%' to database 'prestashop'
2023-12-27T02:55:05.392272Z 8 [Note] Access denied for user 'prestashop_1jy1t'@'%' to database 'prestashop'
2023-12-27T02:55:08.185946Z 9 [Note] Access denied for user 'prestashop_1jy1t'@'%' to database 'prestashop'
2023-12-27T02:55:08.344154Z 11 [Note] Access denied for user 'prestashop_1jy1t'@'%' to database 'prestashop
lose env: DB_NAME=${W9_ID}
域名访问成功,删除域名后IP无法访问。
域名访问成功,删除域名后IP无法访问。
How to modify URL by manual?
If your IP / port (or domain) change between two executions of your container, you will need to modify this option: PS_HANDLE_DYNAMIC_DOMAIN
root@ec9d94976343:/var/www/html# php bin/console prestashop:config get PS_LANG_DEFAULT
[OK] PS_LANG_DEFAULT=1
root@ec9d94976343:/var/www/html# php bin/console prestashop:config get PS_SHOP_DOMAIN
[OK] PS_SHOP_DOMAIN=prestashop.test2.websoft9.cn
root@ec9d94976343:/var/www/html# php bin/console prestashop:config set PS_SHOP_DOMAIN --value=8.217.128.137
[OK] PS_SHOP_DOMAIN=8.217.128.137
root@ec9d94976343:/var/www/html# php bin/console prestashop:config set PS_SHOP_DOMAIN --value=8.217.128.137:9001
[OK] PS_SHOP_DOMAIN=8.217.128.137:9001
can not access by ip or ip:port
Install by domain, you can access by domain and ip:port(auto go to domain).
set PS_SHOP_DOMAIN=ip:port,you also can access by domain and ip:port(auto go to domain).
two question:
solved:
modify url by: console > Shop Parameters > SEO & URLs > Set shop URL
域名访问失败
删除域名失败
![QQ图片20231205103244](https://github.com/Websoft9/docker-library/assets/117525450/5fa78013-70da-470f-9026-e437298f6c19)