Any new app installation is failing with "Server request failed" error
During the troubleshooting process, it was discovered that the error log located at [PHANTOM_HOME]/var/log/nginx/error.log contained the following entry:
2024/08/02 14:47:58 [crit] 696027#696027: *2588 open() "/opt/phantom/var/tmp/nginx/client_body/0000000013" failed (13: Permission denied), client: xx.xx.xx.xx, server: _, request: "POST /app_install HTTP/2.0", host: "xx.xx.xx.xx:8443", referrer: "https://xx.xx.xx.xx:8443/apps/"
The error message indicates that permission issues were preventing access to the file /opt/phantom/var/tmp/nginx/client_body/0000000013. The root cause was identified as files under /opt/phantom/var/tmp being owned by a user other than 'phantom', resulting in permission denials during the app installation process.
To resolve the issue, the following steps were taken:
find /opt/phantom ! -user phantom
find /opt/phantom ! -group phantom
chown -R phantom:phantom /opt/phantom/var/tmp/
This step ensures that all files within /opt/phantom/var/tmp are correctly owned by the 'phantom' user and group, which should resolve the permission issues and allow successful app installations.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
29-Sep-2026
|
Initial Release |