-
-
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
white screen if webserver has no read access to config.php #180
Comments
I will test this tomorrow. |
in IRC @BernhardPosselt told me this is standard behaviour of PHP if something goes really wrong. So maybe there is nothing we can do about it, but if there is it'd be great. Since nothing is logged in the owncloud.log nor in the apache error.log and if no php log is defined or the user doesn't have access to it then it is really hard to track down the first time. So even if there is nothing we can do about it a note in the docs would be nice. |
remove the read right as well. my apache runs as www-data. |
ah .. reproducible now :) I will try to fix this. |
I did write "..make sure that config.php is neither readable nor writable ..." :) |
Sorry. I haven't red that :( |
* when the config file is not writable there is a error message shown * same happens now if the config file is not readable * fixes #180
Fix is in #185 |
* when the config file is not writable there is a error message shown * same happens now if the config file is not readable * fixes #180
Steps to reproduce
Expected behaviour
Nextcloud should complain that it has no access to the config.php
Actual behaviour
no data is returned. the browser page is completely white and there is no html source returned.
Server configuration
Operating system:
Ubuntu
Web server:
Apache
Database:
MySQL
PHP version:
7
Nextcloud version: (see Nextcloud admin page)
9
Updated from an older Nextcloud/ownCloud or fresh install:
update from OC 8.2.5
Where did you install Nextcloud from:
manual install from zip file
List of activated apps:
Enabled:
Disabled:
The content of config/config.php:
{
"system": {
"instanceid": "oc80d864d4c2",
"passwordsalt": "_REMOVED SENSITIVE VALUE",
"datadirectory": "/mnt/data/oc_data",
"dbtype": "mysql",
"version": "9.0.50.0",
"dbname": "oc",
"dbhost": "localhost",
"dbtableprefix": "oc",
"dbuser": "_REMOVED SENSITIVE VALUE",
"dbpassword": "_REMOVED SENSITIVE VALUE",
"installed": true,
"logfile": "/home/oc/logs/owncloud.log",
"forcessl": false,
"theme": "",
"maintenance": false,
"trusted_domains": [
""_REMOVED SENSITIVE VALUE"",
],
"share_folder": "/Shared",
"loglevel": "1",
"secret": "_REMOVED SENSITIVE VALUE",
"mail_from_address": ""_REMOVED SENSITIVE VALUE"",
"mail_smtpmode": "php",
"mail_domain": ""_REMOVED SENSITIVE VALUE"",
"asset-pipeline.enabled": false,
"filesystem_check_changes": 0,
"trashbin_retention_obligation": "auto"
}
}
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
Client configuration
Browser:
Firefox
Operating system:
Linux
The text was updated successfully, but these errors were encountered: