Owncloud is not working anymore after connecting to Dropbox via App


#1

Steps to reproduce

  1. Run server
  2. Install dropbox app
  3. Connect to dropbox (it shows connected)
  4. Go to files

Expected behaviour

When loading the files page, I would expect to see all files and the connected dropbox folder.

Actual behaviour

It's just showing procress bar and never loads the files overview page. I have to remove the dropbox config to get ownCloud working again.

Log error:

{"reqId":"j4DvIih5o8kyU1a90r0u","level":3,"time":"2018-01-29T15:50:31+00:00","remoteAddr":"X.X.X.X","user":"XXX","app":"PHP","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav","message":"syntax error, unexpected '->' (T_OBJECT_OPERATOR) at \/var\/www\/owncloud\/apps\/files_external_dropbox\/vendor\/tightenco\/collect\/src\/Illuminate\/Support\/Collection.php#154"}

Server configuration

Operating system: Debian 8

Web server: Apche2

Database: MariaDB

PHP version: 5.6.33

ownCloud version: 10.0.5.4

Updated from an older ownCloud or fresh install: fresh install

Where did you install ownCloud from: Sources from ownCLoud

Signing status (ownCloud 9.0 and above):

No errors

The content of config/config.php:

{
    "system": {
        "updatechecker": false,
        "instanceid": "ocvts164a8vn",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***",
            "192.168.1.182"
        ],
        "datadirectory": "\/media\/usb-hdd\/owncloud-jessie\/data",
        "overwrite.cli.url": "https:\/\/ewolf.webhop.me\/owncloud",
        "dbtype": "mysql",
        "version": "10.0.5.4",
        "dbname": "owncloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtpport": "587",
        "mail_smtpsecure": "tls",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 3
    }
}

List of activated apps:

Enabled:
  - activity: 2.3.6
  - comments: 0.3.0
  - configreport: 0.1.1
  - dav: 0.3.2
  - federatedfilesharing: 0.3.1
  - federation: 0.1.0
  - files: 1.5.1
  - files_external: 0.7.1
  - files_external_dropbox: 1.0.0
  - files_pdfviewer: 0.8.2
  - files_sharing: 0.10.1
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - files_videoplayer: 0.9.8
  - firstrunwizard: 1.1
  - market: 0.2.3
  - notifications: 0.3.2
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - templateeditor: 0.2
  - updatenotification: 0.2.1
Disabled:
  - encryption
  - external
  - theme-example
  - user_external

Are you using external storage, if yes which one: Dropbox

Are you using encryption: No

Are you using an external user-backend, if yes which one: No

Client configuration

Browser: Firefox

Operating system: WIndows 10

Logs

ownCloud log (data/owncloud.log)

{"reqId":"j4DvIih5o8kyU1a90r0u","level":3,"time":"2018-01-29T15:50:31+00:00","remoteAddr":"217.249.221.121","user":"Erik","app":"PHP","method":"PROPFIND","url":"\/owncloud\/remote.php\/webdav","message":"syntax error, unexpected '->' (T_OBJECT_OPERATOR) at \/var\/www\/owncloud\/apps\/files_external_dropbox\/vendor\/tightenco\/collect\/src\/Illuminate\/Support\/Collection.php#154"}

#2

It seems that there is a problem with the dropbox app and php 5.6. You might want to update your php version to 7, or disable the dropbox app until the problem is fixed.


#3

Depends if the problem will be fixed one day. Is it a known issue or is it tracked?


#4

I think https://github.com/owncloud/files_external_dropbox/pull/15 is the PR fixing the problem.
I guess the release is blocked due to some additional problems found, so I'm not sure when the app will be released