CSRF check failed after upgrade to 9.1

Steps to reproduce

  1. did an upgrade from latest 9.0.x version to 9.1 via apt-get update && apt-get upgrade → no errors
  2. run occ upgrade → no errors
  3. disabled maintenance mode

Actual behaviour
when trying to login via web-page it shows: Access forbidden (Zugriff verboten) CSRF check failed.
windows clients also can not connect to owncloud server

Server configuration
server based on vmware image provided from owncloud and regularly updated/upgraded to latest version.
Operating system: ubuntu

Maybe related to:

thanks, disabling files_sharing via occ worked. I can login to owncloud.

But, I am using this feature quite often to share links. How can I get this functionality back?

The issue has been reported at the bugtracker as you can see above. You can subscribe to that issue to get informed if a solution is provided there.

thanks for the quick support!

I had the same problem. Clients were not able to log in but I was allowed to log in as adminstrator and I disabled the file sharing app from the admin panel. Now my clients can log in but can’t share the files of course. I hope you fix this soon because file sharing is one of the key reasons we use OC…

Please also post your details in the ticket, the more clues the better :slight_smile:

As this is a known bug and everything is currently discussed in File Sharing stack overflow, memory issue, crash, CSRF issue on 9.1.0 · Issue #25557 · owncloud/core · GitHub i’m closing here. Please follow the discussion there until a solution/fix is provided there.

If disabling the files_sharing app doesn’t work (people have also reported that at the link) revert to your backup before you have upgraded to oC 9.1.0 for now.