Forum archive
Turnkey Prestashop (Proxmox) unable to upgrade or install themes.
Hi. Some Prestashop 1.7.6.5 modules, such as one-click upgrade, return '500 server error' and any theme install from zip returns '500 internal' and prevents further access to themes page. Is this due to Proxmox default of running unprivileged container? I tried to restart privileged, but then the container fails to load apache process.
journalctl snippet:
Oct 13 05:46:15 test-shop systemd[259]: mariadb.service: Failed to set up mount namespacing: Permission denied
Oct 13 05:46:15 test-shop systemd[259]: mariadb.service: Failed at step NAMESPACE spawning /usr/bin/install: Permission denied
Oct 13 05:46:15 test-shop systemd[1]: mariadb.service: Control process exited, code=exited, status=226/NAMESPACE
Oct 13 05:46:15 test-shop systemd[1]: mariadb.service: Failed with result 'exit-code'.
Oct 13 05:46:15 test-shop systemd[1]: Failed to start MariaDB 10.3.22 database server.
Oct 13 05:46:15 test-shop systemd[258]: stunnel4@shellinabox.service: Failed to set up mount namespacing: Permission denied
Oct 13 05:46:15 test-shop systemd[257]: apache2.service: Failed to set up mount namespacing: Permission denied
Oct 13 05:46:15 test-shop systemd[257]: apache2.service: Failed at step NAMESPACE spawning /usr/sbin/apachectl: Permission denied
Oct 13 05:46:15 test-shop systemd[258]: stunnel4@shellinabox.service: Failed at step NAMESPACE spawning /usr/bin/stunnel4: Permission denied
Oct 13 05:46:15 test-shop systemd[1]: apache2.service: Control process exited, code=exited, status=226/NAMESPACE
Oct 13 05:46:15 test-shop systemd[1]: apache2.service: Failed with result 'exit-code'.
Oct 13 05:46:15 test-shop systemd[1]: Failed to start The Apache HTTP Server.
Oct 13 05:46:15 test-shop systemd[256]: stunnel4@webmin.service: Failed to set up mount namespacing: Permission denied
Oct 13 05:46:15 test-shop systemd[256]: stunnel4@webmin.service: Failed at step NAMESPACE spawning /usr/bin/stunnel4: Permission denied
Oct 13 05:46:15 test-shop systemd[1]: stunnel4@shellinabox.service: Control process exited, code=exited, status=226/NAMESPACE
Oct 13 05:46:15 test-shop systemd[1]: stunnel4@shellinabox.service: Failed with result 'exit-code'.
Oct 13 05:46:15 test-shop systemd[1]: Failed to start Universal SSL tunnel for network daemons (shellinabox).
Oct 13 05:46:15 test-shop systemd[1]: Dependency failed for Shell In A Box Daemon (aka WebShell).
Oct 13 05:46:15 test-shop systemd[1]: shellinabox.service: Job shellinabox.service/start failed with result 'dependency'.
Oct 13 05:46:15 test-shop systemd[1]: stunnel4@webmin.service: Control process exited, code=exited, status=226/NAMESPACE
Oct 13 05:46:15 test-shop systemd[1]: stunnel4@webmin.service: Failed with result 'exit-code'.
Oct 13 05:46:15 test-shop systemd[1]: Failed to start Universal SSL tunnel for network daemons (webmin).
You're most welcome and thanks for posting back to confirm.
I've opened an issue on our tracker so we can tweak the permissions for next release. Although as I noted in the issue, regarding your theme issue, if you unpacked the zip file as root, then that may be an unrelated issue (IIRC we include the "one-click upgrade" though).