owncloud / core

:cloud: ownCloud web server core (Files, DAV, etc.)
https://owncloud.com
GNU Affero General Public License v3.0
8.37k stars 2.06k forks source link

File Download from shared link in OC 8.2.1 ends with "Internal server error" #20918

Closed root555 closed 8 years ago

root555 commented 8 years ago

Steps to reproduce

  1. share a file and set the password in OC web gui.
  2. Copy the file url to the clipboard.
  3. Open a new browser tab.
  4. Insert the url from clipboard into the URL line and open it.
  5. Enter the password specified in step 1.
  6. If the shared file was an image, the preview is loaded with a download button below.
  7. Click on the download button.

    Expected behaviour

The shared file should be downloaded.

Actual behaviour

Internal Server Error The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log.

Technical details Remote Address: *** Request ID: oRH2KkXExi/M3jeBVfUq

Server configuration

Operating system: Raspbian GNU/Linux 7 (wheezy)

Web server: Apache/2.2.22 (Debian)

Database: mysql Ver 14.14 Distrib 5.5.46, for debian-linux-gnu (armv7l) using readline 6.2

PHP version: PHP 5.4.45-0+deb7u2 (cli) (built: Oct 27 2015 23:22:07) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

ownCloud version: (see ownCloud admin page) ownCloud 8.2.1 (stable)

Updated from an older ownCloud or fresh install: Updated

List of activated apps:

Enabled:

The content of config/config.php:

root@jkraspi:/var/www/owncloud# sudo -u www-data php occ config:list system { "system": { "instanceid": "ocbw2hojm1xr", "passwordsalt": "_REMOVED SENSITIVE VALUE_", "secret": "_REMOVED SENSITIVE VALUE_", "trusted_domains": [ "_REMOVED SENSITIVE VALUE" ], "datadirectory": "\/var\/www\/owncloud\/data", "dbtype": "mysql", "version": "8.2.1.4", "dbname": "owncloud", "dbhost": "localhost", "dbtableprefix": "oc", "dbuser": "_REMOVED SENSITIVE VALUE_", "dbpassword": "_REMOVED SENSITIVE VALUE_", "installed": true, "forcessl": true, "forceSSLforSubdomains": true, "theme": "", "maintenance": false, "loglevel": 2 } }

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

Are you using encryption: No

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

LDAP configuration (delete this part if not used)

On ownCloud 7+ with access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

The command returns: [InvalidArgumentException] There are no commands defined in the "ldap" namespace.

Client configuration

Firefox on Windows 7 Enterprise x64 Safari on iPhone6+ with iOS 9.1

Logs

Web server error log

184.78.14.9 - - [03/Dec/2015:11:01:54 +0100] "GET /owncloud/index.php/s/OVlKXLC0JlXzLfW/download HTTP/1.1" 500 2845 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/css/styles.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 414 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/css/header.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 414 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/css/mobile.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 413 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/css/icons.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 414 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/css/fonts.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 413 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/css/apps.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 414 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/css/fixes.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/css/jquery-ui-fixes.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/css/multiselect.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/vendor/jquery-ui/themes/base/jquery-ui.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/css/tooltip.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/css/share.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/files_versions/css/versions.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/firstrunwizard/css/colorbox.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/files_videoviewer/css/style.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/files_videoviewer/css/mediaelementplayer.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/firstrunwizard/css/firstrunwizard.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/gallery/css/slideshow.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/gallery/css/gallerybutton.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/css/jquery.ocdialog.css?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/vendor/jquery-migrate/jquery-migrate.min.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/vendor/jquery/jquery.min.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 277 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/vendor/jquery-ui/ui/jquery-ui.custom.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 277 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/vendor/underscore/underscore.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/vendor/moment/min/moment-with-locales.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 277 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/vendor/bootstrap/js/tooltip.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 277 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/vendor/handlebars/handlebars.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 277 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/vendor/blueimp-md5/js/md5.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/vendor/backbone/backbone.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 278 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/placeholders.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/compatibility.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/jquery.ocdialog.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/js.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/oc-dialogs.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/l10n.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/octemplate.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/eventsource.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/oc-requesttoken.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 274 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/search/js/search.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/config.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/apps.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/mimetype.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/mimetypelist.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/placeholder.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/vendor/snapjs/dist/latest/snap.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/oc-backbone.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 274 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/jquery.avatar.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/avatar.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/shareconfigmodel.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/sharedialogshareelistview.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/sharedialogexpirationview.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/sharedialoglinkshareview.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/shareitemmodel.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/sharedialogresharerinfoview.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/sharedialogview.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/files_pdfviewer/js/previewplugin.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/files_videoviewer/js/viewer.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/js/share.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/firstrunwizard/js/firstrunwizard.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/firstrunwizard/js/jquery.colorbox.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/gallery/js/vendor/bigshot/bigshot-compressed.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 278 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/gallery/js/vendor/image-scale/image-scale.min.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 277 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/gallery/js/vendor/dompurify/src/purify.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 277 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/gallery/js/slideshowcontrols.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/gallery/js/galleryfileaction.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/gallery/js/slideshow.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/gallery/js/slideshowzoomablepreview.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 276 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/vendor/backbone/backbone.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 278 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/apps/gallery/js/gallerybutton.js?v=6a515596fd15176f4f1b785f6c90101c HTTP/1.1" 304 275 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/img/logo-icon.svg HTTP/1.1" 304 215 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/core/img/breadcrumb.svg HTTP/1.1" 304 215 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:01:56 +0100] "GET /owncloud/index.php/apps/gallery/config?extramediatypes=1 HTTP/1.1" 412 828 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - - [03/Dec/2015:11:02:08 +0100] "POST /owncloud/index.php/heartbeat HTTP/1.1" 200 1083 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"
184.78.14.9 - jarek [03/Dec/2015:11:02:11 +0100] "PROPFIND /owncloud/remote.php/webdav/ HTTP/1.1" 207 2724 "-" "Mozilla/5.0 (Windows) mirall/2.0.2"

ownCloud log (data/owncloud.log)

{"reqId":"oRH2KkXExi\/M3jeBVfUq","remoteAddr":"184.78.14.9","app":"index","message":"Exception: {\"Exception\":\"Doctrine\\\\DBAL\\\\Exception\\\\InvalidFieldNameException\",\"Message\":\"An exception occurred while executing 'INSERT INTO `oc_activity` (`app`, `subject`, `subjectparams`, `message`, `messageparams`, `file`, `link`, `user`, `affecteduser`, `timestamp`, `priority`, `type`, `object_type`, `object_id`) VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\\\"files_sharing\\\", \\\"public_shared_file_downloaded\\\", \\\"[\\\\\\\"\\\\\\\\\\\\\\\/Photos\\\\\\\\\\\\\\\/NASA\\\\\\\\\\\\\\\/New Horizons\\\\\\\\\\\\\\\/Europa rising above Jupiter.jpg\\\\\\\"]\\\", \\\"\\\", \\\"[]\\\", \\\"\\\\\\\/Photos\\\\\\\/NASA\\\\\\\/New Horizons\\\\\\\/Europa rising above Jupiter.jpg\\\", \\\"\\\", null, \\\"jarek\\\", 1449136711, 30, \\\"public_links\\\", \\\"\\\", 0]:\\n\\nSQLSTATE[42S22]: Column not found: 1054 Unknown column 'object_type' in 'field list'\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/doctrine\\\/dbal\\\/lib\\\/Doctrine\\\/DBAL\\\/DBALException.php(116): Doctrine\\\\DBAL\\\\Driver\\\\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\\\\DBAL\\\\Driver\\\\PDOException))\\n#1 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/doctrine\\\/dbal\\\/lib\\\/Doctrine\\\/DBAL\\\/Connection.php(996): Doctrine\\\\DBAL\\\\DBALException::driverExceptionDuringQuery(Object(Doctrine\\\\DBAL\\\\Driver\\\\PDOMySql\\\\Driver), Object(Doctrine\\\\DBAL\\\\Driver\\\\PDOException), 'INSERT INTO `oc...', Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/db\\\/connection.php(203): Doctrine\\\\DBAL\\\\Connection->executeUpdate('INSERT INTO `oc...', Array, Array)\\n#3 \\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/doctrine\\\/dbal\\\/lib\\\/Doctrine\\\/DBAL\\\/Query\\\/QueryBuilder.php(208): OC\\\\DB\\\\Connection->executeUpdate('INSERT INTO `*P...', Array, Array)\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/db\\\/querybuilder\\\/querybuilder.php(121): Doctrine\\\\DBAL\\\\Query\\\\QueryBuilder->execute()\\n#5 \\\/var\\\/www\\\/owncloud\\\/apps\\\/activity\\\/lib\\\/data.php(126): OC\\\\DB\\\\QueryBuilder\\\\QueryBuilder->execute()\\n#6 \\\/var\\\/www\\\/owncloud\\\/apps\\\/activity\\\/lib\\\/consumer.php(74): OCA\\\\Activity\\\\Data->send(Object(OC\\\\Activity\\\\Event))\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/activitymanager.php(188): OCA\\\\Activity\\\\Consumer->receive(Object(OC\\\\Activity\\\\Event))\\n#8 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/activitymanager.php(215): OC\\\\ActivityManager->publish(Object(OC\\\\Activity\\\\Event))\\n#9 \\\/var\\\/www\\\/owncloud\\\/apps\\\/files_sharing\\\/lib\\\/controllers\\\/sharecontroller.php(288): OC\\\\ActivityManager->publishActivity('files_sharing', 'public_shared_f...', Array, '', Array, '\\\/Photos\\\/NASA\\\/Ne...', '', 'jarek', 'public_links', 30)\\n#10 [internal function]: OCA\\\\Files_Sharing\\\\Controllers\\\\ShareController->downloadShare('OVlKXLC0JlXzLfW', NULL, '', '')\\n#11 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/appframework\\\/http\\\/dispatcher.php(159): call_user_func_array(Array, Array)\\n#12 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/appframework\\\/http\\\/dispatcher.php(89): OC\\\\AppFramework\\\\Http\\\\Dispatcher->executeController(Object(OCA\\\\Files_Sharing\\\\Controllers\\\\ShareController), 'downloadShare')\\n#13 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/appframework\\\/app.php(108): OC\\\\AppFramework\\\\Http\\\\Dispatcher->dispatch(Object(OCA\\\\Files_Sharing\\\\Controllers\\\\ShareController), 'downloadShare')\\n#14 \\\/var\\\/www\\\/owncloud\\\/lib\\\/public\\\/appframework\\\/app.php(134): OC\\\\AppFramework\\\\App::main('ShareController', 'downloadShare', Object(OC\\\\AppFramework\\\\DependencyInjection\\\\DIContainer))\\n#15 \\\/var\\\/www\\\/owncloud\\\/core\\\/routes.php(124): OCP\\\\AppFramework\\\\App->dispatch('ShareController', 'downloadShare')\\n#16 [internal function]: OC\\\\Route\\\\Router->{closure}(Array)\\n#17 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/route\\\/router.php(282): call_user_func(Object(Closure), Array)\\n#18 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(851): OC\\\\Route\\\\Router->match('\\\/s\\\/OVlKXLC0JlXz...')\\n#19 \\\/var\\\/www\\\/owncloud\\\/index.php(39): OC::handleRequest()\\n#20 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/3rdparty\\\/doctrine\\\/dbal\\\/lib\\\/Doctrine\\\/DBAL\\\/Driver\\\/AbstractMySQLDriver.php\",\"Line\":71}","level":3,"time":"2015-12-03T09:58:31+00:00"}

Browser log

ghost commented 8 years ago

@root555 Seems you havn't done a correct upgrade in the past. Dup of https://github.com/owncloud/activity/issues/435, https://github.com/owncloud/activity/issues/419, https://github.com/owncloud/activity/issues/428 and some more.

See https://github.com/owncloud/activity/issues/419#issuecomment-149830559 how to correctly upgrade.

root555 commented 8 years ago

OK, thank you for the quick response and sorry for the duplicate but I haven't found anything suitable before opening this issue.

root555 commented 8 years ago

A fresh installation of the same version indeed solved the problem. Thank you.

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.