Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Jaxom99 opened this issue Dec 22, 2022 · 0 comments
Open

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

Jaxom99 opened this issue Dec 22, 2022 · 0 comments

Comments

@Jaxom99
Copy link

Jaxom99 commented Dec 22, 2022

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

  • 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 !

Logs

Thanks for your help and your time, it's no rush : have a nice end of the year 😺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant