You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I ran in a bug recently : just after installing the app on a domain, I decided to move it to another domainb+subdomain. The operation was successful and the index.html file was indeed served at the new URL. BUT the php-fpm part did not follow through : My setting was with php8.0-fpm, and the moved app tried to use php7.4-fpm as a default. As it is not installed on my setup (only 7.0 and 7.3) the .php pages were in 503 error.
Context
Hardware: Proxmox VM on a dedicated server
YunoHost version: 11.0.10.2
I have access to my server: Through SSH and the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
Using, or trying to install package version/branch: stable
If upgrading, current package version: N/A
Steps to reproduce
Install the webapp through webadmin, with php settings other than 7.4.
Check that the setting is indeed recorded in the app's settings.yaml and in the php config.
change url and path (through webadmin)
see that 503 error
Check that the file /etc/nginx/conf.d/maindomain.tld.d/my_webapp.conf has the line fastcgi_pass unix:/var/run/php/php7.4-fpm-my_webapp.sock;
Expected behavior
PHP settings should be kept when moving the app.
Manual Fix
I changed the .conf file' line back to 8.0 and everything went well !
Hello dear maintainers,
Describe the bug
I think I ran in a bug recently : just after installing the app on a domain, I decided to move it to another domainb+subdomain. The operation was successful and the index.html file was indeed served at the new URL.
BUT the php-fpm part did not follow through : My setting was with php8.0-fpm, and the moved app tried to use php7.4-fpm as a default. As it is not installed on my setup (only 7.0 and 7.3) the .php pages were in 503 error.
Context
Steps to reproduce
/etc/nginx/conf.d/maindomain.tld.d/my_webapp.conf
has the linefastcgi_pass unix:/var/run/php/php7.4-fpm-my_webapp.sock;
Expected behavior
PHP settings should be kept when moving the app.
Manual Fix
I changed the .conf file' line back to 8.0 and everything went well !
Logs
Thanks for your help and your time, it's no rush : have a nice end of the year 😺
The text was updated successfully, but these errors were encountered: