-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Share and login bookmarks broken after update to 14.03 #11845
Comments
GitMate.io thinks possibly related issues are #6277 (Broken instance after Update), #3918 (share dialog broken), #11637 (No upload to shared folder possible after update to 14.0.1 (S3 primary storage)), #5909 (Update broken on PGSQL), and #3001 (Bug after Update from NC10 to NC11: Sharing with users breaks ). |
The pretty url "feature" (which enables index.php-less urls) is normally automatically activated in nextcloud (through .htaccess), so something must have changed not allowing pretty urls anymore, so your links don't work now. |
mod_rewrite is enabled. What I noticed is that 14.02 reminded me that Referrer-Policy" HTTP header is not set to "no-referrer", "no-referrer-when-downgrade", "strict-origin" or "strict-origin-when-cross-origin". I modified the .htaccess file and the warning was gone, but after upgrading to 14.03 it reappeared. It thus seems as if the .htaccess file was modified or overwritten during the update process? My knowledge of apache is pretty basic, but looking through the current .htaccess file I noticed that there is only one section containing rewrite rules and in there all but the last rewrite rule appear to be conditional on a DAV client and none of them seem relevant to my issue. The relevant section of the file is below. What should the correct rewrite rule for enabling pretty urls look like?
|
It's normal, that nextcloud overwrites the .htaccess on updates... you could try to let it regenerate the .htaccess with |
I did, which gave me this error: |
Steps to reproduce
Expected behaviour
Login page or shared file/folder should show
Actual behaviour
Page not found
Server configuration
Operating system: Ubuntu 16.04 LTS
Web server: Apache
Database: MariaDB
PHP version: 7
Nextcloud version: (see Nextcloud admin page) 14.03
Updated from an older Nextcloud/ownCloud or fresh install: 14.02 -> 14.03
Where did you install Nextcloud from: Updater
It appears that relative paths have changed: the bookmark stored links to "https://my.server.de/login", now it is "https://my.server.de/index.php/login". Same for shares: "https://my.server.de/s/2kLWXc9QkXtDGFX" is now broken, "https://my.server.de/index.php/s/2kLWXc9QkXtDGFX" works.
The text was updated successfully, but these errors were encountered: