[details=“Support intro”]
The Basics
- Nextcloud Server version (e.g., 29.x.x):
30.0.8
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04
- Web server and version (e.g, Apache 2.4.25):
2.4.62
- PHP version (e.g, 8.3):
8.3.6
- Is this the first time you’ve seen this error? (Yes / No):
yes
- When did this problem seem to first start?
at latest
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
native
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
no
Summary of the issue you are facing:
Errormessage “This operation is forbidden”.
I have installed App “Terms of service” version 4.3.0. The accept button is greyed out in Edge, but not in Chrome.
Steps to replicate it (hint: details matter!):
- Share a link
- Open the link for the first time so “Terms of service” will appear
- You cannot accept the terms because the button is greyed out and errormessage on the top right “This operation is forbidden”
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
{"reqId":"YMtoEqWTGcITlpl5FEY6","level":3,"time":"2025-03-31T06:07:08+00:00","remoteAddr":"212.185.39.107","user":"--","app":"index","method":"PUT","url":"/index.php/apps/text/public/session/2 066531/create","message":"Exception thrown: OCP\\Files\\NotPermittedException","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0","version":"30.0.6.2","exception":{"Exception":"OCP\\Files\\NotPermittedException","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/text/lib/Service/ApiService.php","line":294,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/var/www/nextcloud/apps/text/lib/Service/ApiService.php","line":135,"function":"loadContent","class":"OCA\\Text\\Service\\ApiService","type":"->"},{"file":"/var/www/nextcloud/apps/text/lib/Controller/PublicSessionController.php","line":68,"function":"create","class":"OCA\\Text\\Service\\ApiService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":208,"function":"create","class":"OCA\\Text\\Controller\\PublicSessionController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1003,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Files/Node/File.php","Line":39,"message":"","exception":{},"CustomMessage":"Exception thrown: OCP\\Files\\NotPermittedException"}}
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
Errormessages always given, disfunctional in Edge browser.
Thank you.