YunoHost-Apps / my_webapp_ynh

Custom Web app with SFTP access
GNU General Public License v3.0
48 stars 42 forks source link

Lost PHP-FRP settings when changing the app URL #99

Open Jaxom99 opened 1 year ago

Jaxom99 commented 1 year ago

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

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 :smiley_cat: