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

[BUG] Error: This app cannot be enabled because it makes the server unstable #425

Closed
1 task done
MadWentzThere opened this issue Apr 8, 2024 · 15 comments
Closed
1 task done

Comments

@MadWentzThere
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Cannot enable Talk app on Nextcloud

Expected Behavior

Talk should enable

Steps To Reproduce

Click on Apps
Scroll/Find "Talk"
Click Download and Enable

Environment

- OS:
- How docker service was installed:

CPU architecture

x86-64

Docker creation

Unraid App Page

Container logs

{"reqId":"HsIXGNlVuoIVP5Sr9mNy","level":3,"time":"2024-04-08T18:49:51+00:00","remoteAddr":"172.18.0.1","user":"--","app":"no app in context","method":"GET","url":"/ocs/v2.php/cloud/user","message":"Could not decrypt or decode encrypted session data","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/5.2.5","version":"28.0.4.1","exception":{"Exception":"Exception","Message":"HMAC does not match.","Code":0,"Trace":[{"file":"/app/www/public/lib/private/Security/Crypto.php","line":119,"function":"decryptWithoutSecret","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":90,"function":"decrypt","class":"OC\\Security\\Crypto","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/www/public/lib/private/Session/CryptoSessionData.php","line":67,"function":"initializeSession","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/private/Session/CryptoWrapper.php","line":112,"function":"__construct","class":"OC\\Session\\CryptoSessionData","type":"->"},{"file":"/app/www/public/lib/base.php","line":449,"function":"wrapSession","class":"OC\\Session\\CryptoWrapper","type":"->"},{"file":"/app/www/public/lib/base.php","line":705,"function":"initSession","class":"OC","type":"::"},{"file":"/app/www/public/lib/base.php","line":1200,"function":"init","class":"OC","type":"::"},{"file":"/app/www/public/ocs/v1.php","line":31,"args":["/app/www/public/lib/base.php"],"function":"require_once"},{"file":"/app/www/public/ocs/v2.php","line":23,"args":["/app/www/public/ocs/v1.php"],"function":"require_once"}],"File":"/app/www/public/lib/private/Security/Crypto.php","Line":158,"message":"Could not decrypt or decode encrypted session data","exception":[],"CustomMessage":"Could not decrypt or decode encrypted session data"},"id":"66144260bf2e5"}
Copy link

github-actions bot commented Apr 8, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@aptalca
Copy link
Member

aptalca commented Apr 8, 2024

It's an upstream issue tracked there

@alexbelgium
Copy link

Hi, relevant PR upstream that should fix it : nextcloud/server#44939

@alexbelgium
Copy link

Actually according to nextcloud/server#44685 the solution is on the configuration of nginx, so the correction should be made here (haven't found out yet how)

alexbelgium added a commit to alexbelgium/docker-nextcloud that referenced this issue May 1, 2024
@alexbelgium
Copy link

Actually, solution is simply to disable fastcgi_param front_controller_active true in

fastcgi_param front_controller_active true; # Enable pretty urls

@dansity
Copy link

dansity commented May 3, 2024

Actually, solution is simply to disable fastcgi_param front_controller_active true in

Do I need to do anything other than commenting this out? I have done it and restarted the docker. Still the same for me but now it is asking for the password before giving the same error.

@279308
Copy link

279308 commented May 5, 2024

Actually, solution is simply to disable fastcgi_param front_controller_active true in

Do I need to do anything other than commenting this out? I have done it and restarted the docker. Still the same for me but now it is asking for the password before giving the same error.

you need to change it in

fastcgi_param front_controller_active true false

@dansity
Copy link

dansity commented May 6, 2024

thank you, it should have been obvious. However the issue is still present to me even after setting it to false and restarting the docker.

edit: what worked for me is I went to the mysql database in adminer and changed the value in the oc_appconfig table from no to yes for the app I wanted.

@yzx1208
Copy link

yzx1208 commented May 6, 2024

thank you, it should have been obvious. However the issue is still present to me even after setting it to false and restarting the docker.

edit: what worked for me is I went to the mysql database in adminer and changed the value in the oc_appconfig table from no to yes for the app I wanted.

how to ?

@Raphty
Copy link

Raphty commented May 6, 2024

@yzx1208 adminer is a tool with which you can fairly easily navigate through databases
https://hub.docker.com/_/adminer/

you connect to the database where you have you nextcloud tables and then open up the table list look for oc_appconfig and then navigate through the entries.

be careful! if you don't know what you are doing better don't!

@JYNXWARE
Copy link

Actually, solution is simply to disable fastcgi_param front_controller_active true in

fastcgi_param front_controller_active true; # Enable pretty urls

I found this worked for me. Just edit default.conf, not the .sample file

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@alexbelgium
Copy link

PR is opened and waiting

@kesselb
Copy link

kesselb commented Jun 27, 2024

Some of those "This app cannot be enabled..." cases should be fixed by nextcloud/server#45765 which was released with 29.0.3.

@LinuxServer-CI
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@LinuxServer-CI LinuxServer-CI closed this as not planned Won't fix, can't repro, duplicate, stale Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

10 participants