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

"500" Internal Server Error when trying to access config pannel from webadmin #97

Open
obrenckle opened this issue Nov 22, 2022 · 6 comments

Comments

@obrenckle
Copy link

Describe the bug

After installing the app (successfully, I think), when I try to access the app config pannel from yunohost webadmin, I get an error message :
Erreur: "500" Internal Server Error
Action: "GET" /yunohost/api/apps/my_webapp/config-panel?full&locale=fr
Message d'erreur :
Config panel question 'fpm_free_footprint' should be initialized with a value during install or upgrade.

Context

  • Hardware: Other ARM board (Olimex lime2)
  • YunoHost version: 11.0.10.2 (stable)
  • I have access to my server: Through SSH, through the webadmin and direct access via keyboard / screen
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: yunohost installed on top of armbian, because there was no armbian 11 image at the time
  • Using, or trying to install package version/branch: 1.0~ynh11

Steps to reproduce

  1. Go to webadmin
  2. Go to Application / My_Webapp_label
  3. Click on Config pannel
  4. Get error message

Expected behavior

I expect access to a config pannel (to modify php / sql settings maybe ?)

Logs

Erreur: "500" Internal Server Error
Action: "GET" /yunohost/api/apps/my_webapp/config-panel?full&locale=fr
Message d'erreur :
Config panel question 'fpm_free_footprint' should be initialized with a value during install or upgrade.

@tituspijean
Copy link
Member

Thank you for your report! I think this is an oversight in the install script. To confirm this, can you run the following command and try the config panel again? sudo yunohost app upgrade my_webapp -F

@obrenckle
Copy link
Author

Yes, that fixed it, I have access to the config panel, thank you !

@blindi0815
Copy link

So I know this is closed but I just wanted to add that you have to enter the command

sudo yunohost app upgrade my_webapp -F

for every instance of the webapp you are using. So you have to do:

sudo yunohost app upgrade my_webapp__2 -F, sudo yunohost app upgrade my_webapp__3 -F and so on.

@tituspijean tituspijean reopened this Nov 27, 2022
@tituspijean
Copy link
Member

(It was kind of assumed that the app ID needs to be adjusted for each app, but you note is welcome. 😀)

I'm keeping this issue open while we fix the install script.

@biphasic
Copy link

ran into the same issue, thanks for the note!

@selfhoster1312
Copy link

sudo yunohost app upgrade my_webapp -F fixed it for me too, thanks. Probably useless to mention but just in case, problem also happens with PHP disabled on the my_webapp settings.

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

5 participants