Websoft9 / websoft9

Applications self-hosting platform for running open source, web-based linux Panel of lite PaaS
https://www.websoft9.com
Other
2.04k stars 314 forks source link

cannot access background for [prestashop] #514

Closed jxtpro closed 4 weeks ago

jxtpro commented 2 months ago

部署prestashop成功后,访问出现500

Deployment method

脚本部署 wget -O install.sh https://websoft9.github.io/websoft9/install/install.sh && bash install.sh

System Environment

Application Version 通过脚本安装,是默认版本

OS Ubuntu24.04

Cloud PlatForm 本地

Bug reports

Bug Context

部署成功后, 访问:http://localhost:9003/admin, 跳转:http://localhost/admin/index.php?controller=AdminLogin&token=64c4e14cad954d4373b7d97aeaa041f8 页面 500 Internal Server Error openresty

# bug error
(paste here) 

# service status 
正常

# error logs
root@xujie-system:/var/lib/docker/volumes/xshop_mr21v_prestashop/_data# docker logs -f xshop_mr21v

* Checking if xshop_mr21v-mysql is available...

* Waiting for confirmation of MySQL service startup

* Checking if xshop_mr21v-mysql is available...

* Waiting for confirmation of MySQL service startup

* Checking if xshop_mr21v-mysql is available...

* DB server xshop_mr21v-mysql is available, let's continue !

* Setting up install lock file...

* Reapplying PrestaShop files for enabled volumes ...

* Copying files from tmp directory ...

* No pre-install script found, let's continue...

* Installing PrestaShop, this may take a while ...

* Launching the installer script...
PHP Warning:  Attempt to read property "theme_name" on null in /var/www/html/var/cache/prod/ContainerP4cnfrG/appAppKernelProdContainer.php on line 2870
-- Installation successful! --

* Removing install folder...

* No post-install script found, let's continue...

* Setup completed, removing lock file...

* Almost ! Starting web server now

* No init script found, let's continue...
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.9. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.9. Set the 'ServerName' directive globally to suppress this message
[Thu Jul 18 07:53:01.583045 2024] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.59 (Debian) configured -- resuming normal operations
[Thu Jul 18 07:53:01.583066 2024] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
172.18.0.1 - - [18/Jul/2024:07:53:08 +0000] "GET /admin HTTP/1.1" 301 578 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
172.18.0.1 - - [18/Jul/2024:07:53:08 +0000] "GET /admin/ HTTP/1.1" 302 1312 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
172.18.0.1 - - [18/Jul/2024:07:54:00 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [18/Jul/2024:08:22:19 +0000] "GET /admin/ HTTP/1.1" 302 1313 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
172.18.0.1 - - [18/Jul/2024:08:23:11 +0000] "-" 408 0 "-" "-"

Bug Screenshot

4363026485