-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[11.0.3 -> 12.0.3] Upgrade emptied .htaccess #6889
Comments
UPDATE To make my installation work, I had to copy the contents of the
and running the code integrity check again, the warnings disappeared. So obviously the code integrity check expects exactly this file: Expected .htaccess file
The |
So, after upgrading, the .htaccess was totally empty, no content? Before you modified it? |
No, see "Actual behaviour":
Below there is the file. I.e. it was not empty and I posted the contents of the file there. This was the exact state of the file after upgrading. |
OK, got it, thanks for clarifying. @LukasReschke might it be similar or related to the cert bundle file creation issue we sometimes saw? |
See also: nextcloud/documentation#7046 Signed-off-by: SpamReceiver <spam-receiver@web.de>
Steps to reproduce
confg.php
, runocc upgrade
) exactly as it is in the documentation/apps/files
(i.e. a list of all files in that folder).htaccess
file of my old install (11.0.3) everything worked normally again, but I get code integrity warnings...occ
command to update the.htaccess
manually afterwards. It leaves the file untouched, no matter what I write into itExpected behaviour
Properly generate the
.htaccess
file, which basically was the.htaccess
file from this repository concatenated with:this
So it looks like:
this
Actual behaviour
.htaccess
file looks like this (whole file! it starts with the comment, rendering the installation unusable):Server configuration
Operating system: Debian GNU/Linux 8.9 (jessie) (32 bit)
Web server: Apache/2.4.10 (Debian) (Server built: Sep 20 2017 05:53:48)
Database: mysql Ver 14.14 Distrib 5.6.38, for Linux (i686) using EditLine wrapper
PHP version: PHP 5.6.30-0+deb8u1 (cli) (built: Feb 8 2017 09:49:20)
Nextcloud version: 12.0.3
Updated from an older Nextcloud/ownCloud or fresh install: Upgrade from 11.0.3
Where did you install Nextcloud from: Got the zip from the official page if that's the question?
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: none
Are you using encryption: yes
Are you using an external user-backend, if yes which one: none
Client configuration
Browser: Both Firefox and Chromium
Operating system: Ubuntu 17.04
Logs
No logs applicable since there was no error message.
The text was updated successfully, but these errors were encountered: