Skip to content

white screen if webserver has no read access to config.php #180

@adsworth

Description

@adsworth

Steps to reproduce

  1. make sure that config.php is neither readable nor writable by Nextcloud.

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:

  • activity: 2.2.1
  • admin_audit: 1.0.0
  • bookmarks: 0.7
  • calendar: 1.2.2
  • comments: 0.2
  • contacts: 1.3.1.0
  • dav: 0.1.6
  • federatedfilesharing: 0.1.0
  • federation: 0.0.4
  • files: 1.4.4
  • files_pdfviewer: 0.8.1
  • files_sharing: 0.9.1
  • files_texteditor: 2.1
  • files_trashbin: 0.8.0
  • files_versions: 1.2.0
  • files_videoplayer: 0.9.8
  • firstrunwizard: 1.1
  • gallery: 14.5.0
  • notifications: 0.2.3
  • provisioning_api: 0.4.1
  • systemtags: 0.2
  • templateeditor: 0.1
  • updatenotification: 0.1.0
    Disabled:
  • encryption
  • external
  • files_external
  • user_external
  • user_ldap

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions