gallery icon indicating copy to clipboard operation
gallery copied to clipboard

Problem while reading or parsing the configuration file. Config location:

Open tonyblue2 opened this issue 5 years ago • 0 comments

Steps to reproduce

  1. Installed and long time used nextcloud 16.0.7.1
  2. activated app gallery
  3. After clicking to the gallery-app-symbol nothing happens. In the log I see the message "Problem while reading or parsing the configuration file. Config location: /"

Expected behaviour

I should see the gallery

Actual behaviour

nothing happens

Server configuration detail

Operating system: Linux 5.3.13-1-pve #1 SMP PVE 5.3.13-1 (Thu, 05 Dec 2019 07:18:14 +0100) x86_64

Webserver: Apache/2.4.29 (Ubuntu) (apache2handler)

Database: mysql 10.1.43

PHP version:

7.2.24-0ubuntu0.18.04.1 Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, apc, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, intl, json, exif, msgpack, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, memcached, Zend OPcache

Nextcloud version: 16.0.7 - 16.0.7.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

Array ( )

List of activated apps
Enabled:
 - accessibility: 1.2.0
 - activity: 2.9.1
 - admin_audit: 1.6.0
 - calendar: 1.7.1
 - cloud_federation_api: 0.2.0
 - comments: 1.6.0
 - contacts: 3.1.6
 - dav: 1.9.2
 - federatedfilesharing: 1.6.0
 - federation: 1.6.0
 - files: 1.11.0
 - files_external: 1.7.0
 - files_markdown: 2.1.0
 - files_pdfviewer: 1.5.0
 - files_rightclick: 0.15.1
 - files_sharing: 1.8.0
 - files_texteditor: 2.8.0
 - files_trashbin: 1.6.0
 - files_versions: 1.9.0
 - files_videoplayer: 1.5.0
 - firstrunwizard: 2.5.0
 - gallery: 18.3.0
 - issuetemplate: 0.6.0
 - logreader: 2.1.0
 - lookup_server_connector: 1.4.0
 - mail: 0.17.0
 - nextcloud_announcements: 1.5.0
 - notes: 3.1.1
 - notifications: 2.4.1
 - oauth2: 1.4.2
 - password_policy: 1.6.0
 - privacy: 1.0.0
 - provisioning_api: 1.6.0
 - recommendations: 0.4.0
 - richdocuments: 3.5.0
 - serverinfo: 1.6.0
 - sharebymail: 1.6.0
 - spreed: 6.0.4
 - support: 1.0.0
 - survey_client: 1.4.0
 - systemtags: 1.6.0
 - theming: 1.7.0
 - twofactor_backupcodes: 1.5.0
 - updatenotification: 1.6.0
 - viewer: 1.2.0
 - workflowengine: 1.6.0
Disabled:
 - encryption
 - user_ldap

Configuration (config/config.php)
{
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "16.0.7.1",
    "installed": true,
    "maintenance": false,
    "theme": "",
    "trusted_domains": [
        "localhost",
        "192.168.4.201",
        "firstcloud.dynvpn.de",
        "192.168.4.200"
    ],
    "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
    "loglevel": 0,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "25",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trashbin_retention_obligation": 30,
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "updatechecker": false,
    "overwrite.cli.url": "http:\/\/firstcloud.dyndns.de",
    "logtimezone": "Europe\/Berlin",
    "debug": true,
    "enabledPreviewProviders": {
        "0": "OC\\Preview\\PNG",
        "1": "OC\\Preview\\JPEG",
        "2": "OC\\Preview\\GIF",
        "11": "OC\\Preview\\Illustrator",
        "12": "OC\\Preview\\Postscript",
        "13": "OC\\Preview\\Photoshop",
        "14": "OC\\Preview\\TIFF"
    },
    "memcache.local": "\\OC\\Memcache\\APCu",
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "default_language": "de",
    "mysql.utf8mb4": true,
    "updater.release.channel": "production",
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "app_install_overwrite": [
        "calendar"
    ]
}

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption:

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0

Operating system: Win64

Logs

Web server error log

Nextcloud log
{"reqId":"U5uEdlUiVo98rXyc4HNo","level":3,"time":"2020-01-07T12:01:16+01:00","remoteAddr":"188.193.128.15","user":"gerhard","app":"gallery","method":"GET","url":"\/index.php\/apps\/gallery\/config?","message":"Exception: Problem while reading or parsing the configuration file","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko\/20100101 Firefox\/71.0","version":"16.0.7.1"}
{"reqId":"U5uEdlUiVo98rXyc4HNo","level":4,"time":"2020-01-07T12:01:16+01:00","remoteAddr":"188.193.128.15","user":"gerhard","app":"gallery","method":"GET","url":"\/index.php\/apps\/gallery\/config?","message":"Problem while reading or parsing the configuration file. Config location: \/","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko\/20100101 Firefox\/71.0","version":"16.0.7.1"}
{"reqId":"KVOZ24ZzV4fomjYpLWTG","level":3,"time":"2020-01-07T12:01:16+01:00","remoteAddr":"188.193.128.15","user":"gerhard","app":"gallery","method":"GET","url":"\/index.php\/apps\/gallery\/files\/list?location=&mediatypes=image%2Fpng%3Bimage%2Fjpeg%3Bimage%2Fgif%3Bimage%2Ftiff%3Bapplication%2Fx-photoshop%3Bapplication%2Fillustrator%3Bapplication%2Fpostscript&features=%5Bobject%20Object%5D&etag","message":"Exception: Problem while reading or parsing the configuration file","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko\/20100101 Firefox\/71.0","version":"16.0.7.1"}
{"reqId":"KVOZ24ZzV4fomjYpLWTG","level":4,"time":"2020-01-07T12:01:16+01:00","remoteAddr":"188.193.128.15","user":"gerhard","app":"gallery","method":"GET","url":"\/index.php\/apps\/gallery\/files\/list?location=&mediatypes=image%2Fpng%3Bimage%2Fjpeg%3Bimage%2Fgif%3Bimage%2Ftiff%3Bapplication%2Fx-photoshop%3Bapplication%2Fillustrator%3Bapplication%2Fpostscript&features=%5Bobject%20Object%5D&etag","message":"Problem while reading or parsing the configuration file. Config location: \/","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko\/20100101 Firefox\/71.0","version":"16.0.7.1"}
Browser log

tonyblue2 avatar Jan 07 '20 11:01 tonyblue2