{"action":"opened","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/24426","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/24426/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/24426/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/24426/events","html_url":"https://github.com/owncloud/core/issues/24426","id":152866083,"number":24426,"title":"Upgrade to 9.0.2.2 leads to Internal Server Error","user":{"login":"bonanza123","id":3331227,"avatar_url":"https://avatars.githubusercontent.com/u/3331227?v=3","gravatar_id":"","url":"https://api.github.com/users/bonanza123","html_url":"https://github.com/bonanza123","followers_url":"https://api.github.com/users/bonanza123/followers","following_url":"https://api.github.com/users/bonanza123/following{/other_user}","gists_url":"https://api.github.com/users/bonanza123/gists{/gist_id}","starred_url":"https://api.github.com/users/bonanza123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonanza123/subscriptions","organizations_url":"https://api.github.com/users/bonanza123/orgs","repos_url":"https://api.github.com/users/bonanza123/repos","events_url":"https://api.github.com/users/bonanza123/events{/privacy}","received_events_url":"https://api.github.com/users/bonanza123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-03T20:24:41Z","updated_at":"2016-05-03T20:24:41Z","closed_at":null,"body":"**Steps to reproduce**\r\n1. Logging in from website\r\n\r\n**Expected behaviour**\r\nNormal screen after login should appear (seeing the data etc)\r\n\r\n**Actual behaviour**\r\nError after login:\r\n```\r\nInternal Server Error\r\nThe server encountered an internal error and was unable to complete your request.\r\nPlease contact the server administrator if this error reappears multiple times, please include the technical details below in your report.\r\nMore details can be found in the server log.\r\nTechnical details\r\n    Remote Address: yyy.xxx.yyy.xxx\r\n    Request ID: 01rh8/w8DAWYVV4XKhyg\r\n```\r\n\r\n**Server configuration**\r\nOperating system: Debian Jessie 8.4\r\nWeb server: Apache/2.4.10\r\nDatabase: mysql  Ver 15.1 Distrib 10.0.23-MariaDB\r\nPHP version: PHP 5.6.20-0+deb8u1\r\nownCloud version (see ownCloud admin page): 9.0.2.2 (from config.php as weblogin doesnt work)\r\nUpdated from an older ownCloud or fresh install: from 9.0\r\nownCloud log (data/owncloud.log):\r\n\r\nSpecial configuration (external storage, external authentication, reverse proxy, server-side-encryption):\r\nNo server-side encryption.\r\n\r\nThere are several errors in /var/www/owncloud/data/owncloud.log like this one (IPs blanked):\r\n```\r\n{\"reqId\":\"oJZ8JSOK0rRZSJaI5rsV\",\"remoteAddr\":\"xxx.xxx.xxx.xxx\",\"app\":\"index\",\"message\":\"Exception: {\\\"Exception\\\":\\\"Exception\\\",\\\"Message\\\":\\\"The requested uri(\\\\\\/apps\\\\\\/files\\\\\\/) cannot be processed by the script '\\\\\\/owncloud\\\\\\/index.php')\\\",\\\"Code\\\":0,\\\"Trace\\\":\\\"#0 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/base.php(837): OC\\\\\\\\AppFramework\\\\\\\\Http\\\\\\\\Request->getRawPathInfo()\\\\n#1 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/index.php(39): OC::handleRequest()\\\\n#2 {main}\\\",\\\"File\\\":\\\"\\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/http\\\\\\/request.php\\\",\\\"Line\\\":624}\",\"level\":3,\"time\":\"2016-05-03T21:33:46+02:00\",\"method\":\"GET\",\"url\":\"\\/apps\\/files\\/\",\"user\":\"root\"}\r\n{\"reqId\":\"U4uToMnS2E+YKYvJMfYz\",\"remoteAddr\":\"xxx.xxx.xxx.xxx\",\"app\":\"index\",\"message\":\"Exception: {\\\"Exception\\\":\\\"Exception\\\",\\\"Message\\\":\\\"The requested uri(\\\\\\/apps\\\\\\/files\\.svg) cannot be processed by the script '\\\\\\/owncloud\\\\\\/index.php')\\\",\\\"Car\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/base.php(837): OC\\\\\\\\AppFramework\\\\\\\\Http\\\\\\n#1 \\\\\\/var\\\\\\/www\\\\\\/owncloud\\\\\\/index.php(39): OC::handleRequest()\\\\n#r\\\\\\/www\\\\\\/owncloud\\\\\\/lib\\\\\\/private\\\\\\/appframework\\\\\\/http\\\\\\/request.:3,\"time\":\"2016-05-03T21:33:49+02:00\",\"method\":\"GET\",\"url\":\"\\/apps\\/files\\\"user\":\"root\"}\r\n```\r\n\r\n/etc/apache2/sites-enabled/000-default.conf\r\n```\r\n<VirtualHost *:80>\r\nServerName MYDOMAIN.com\r\nServerAlias MYDOMAIN-ALIAS.com\r\n\r\nRewriteEngine On\r\nRewriteCond %{HTTPS} off\r\nRewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}\r\n\r\n</VirtualHost>\r\n```\r\n\r\n/etc/apache2/sites-enabled/default-ssl.conf\r\n```\r\n<IfModule mod_ssl.c>\r\n        <VirtualHost *:443>\r\n                ServerAdmin webmaster@localhost\r\n                SSLProxyEngine on         \r\n                ServerName MYDOMAIN.com\r\n                ServerAlias MYDOMAIN-ALIAS.com\r\n\r\n                <Directory /var/www/owncloud/>\r\n                        Options +FollowSymlinks\r\n                        AllowOverride All\r\n                        <IfModule mod_dav.c>\r\n                                Dav off\r\n                        </IfModule>\r\n                        SetEnv HOME /var/www/owncloud\r\n                        SetEnv HTTP_HOME /var/www/owncloud\r\n                </Directory>\r\n\r\n\r\n                <IfModule mod_headers.c>\r\n                        Header always set Strict-Transport-Security \"max-age=15768000; includeSubDomains; preload\"\r\n                </IfModule>\r\n\r\n                DocumentRoot /var/www/owncloud\r\n\r\n                ErrorLog ${APACHE_LOG_DIR}/error.log\r\n                CustomLog ${APACHE_LOG_DIR}/access.log combined\r\n\r\n                SSLEngine on\r\n\r\n                SSLCertificateFile /etc/letsencrypt/live/MYDOMAIN/fullchain.pem\r\n                SSLCertificateKeyFile /etc/letsencrypt/live/MYDOMAIN/privkey.pem\r\n\r\n                SSLHonorCipherOrder on\r\n                SSLCompression          off\r\n                SSLProtocol all -SSLv2 -SSLv3 -TLSv1\r\n                SSLCipherSuite \"ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!3DES:!MD5:!PSK\"\r\n\r\n        </VirtualHost>\r\n\r\n</IfModule>\r\n```\r\n\r\nThe owncloud update was triggered by the upgrade of this bunch of packages today: \r\n/var/log/apt/history.log\r\n```\r\nStart-Date: 2016-05-03  14:21:03\r\nCommandline: apt-get upgrade\r\nUpgrade: apt:amd64 (1.0.9.8.2, 1.0.9.8.3), multiarch-support:amd64 (2.19-18+deb8u3, 2.19-18+deb8u4), linux-image-3.16.0-4-amd64:amd64 (3.16.7-ckt20-1+deb8u4, 3.16.7-ckt25-2), librsvg2-2:amd64 (2.40.5-1, 2.40.5-1+deb8u1), libssl1.0.0:amd64 (1.0.1k-3+deb8u4, 1.0.1k-3+deb8u5), apt-transport-https:amd64 (1.0.9.8.2, 1.0.9.8.3), libpam0g:amd64 (1.1.8-3.1+deb8u1, 1.1.8-3.1+deb8u1+b1), libsane-common:amd64 (1.0.24-8, 1.0.24-8+deb8u1), owncloud:amd64 (9.0.0-1.1, 9.0.2-1.1), libgif4:amd64 (4.1.6-11, 4.1.6-11+deb8u1), apt-utils:amd64 (1.0.9.8.2, 1.0.9.8.3), tzdata-java:amd64 (2015g-0+deb8u1, 2016d-0+deb8u1), libc-dev-bin:amd64 (2.19-18+deb8u3, 2.19-18+deb8u4), libc-bin:amd64 (2.19-18+deb8u3, 2.19-18+deb8u4), libc6:amd64 (2.19-18+deb8u3, 2.19-18+deb8u4), ruby:amd64 (2.1.5+deb8u1, 2.1.5+deb8u2), libglib2.0-0:amd64 (2.42.1-1, 2.42.1-1+b1), libglib2.0-dev:amd64 (2.42.1-1, 2.42.1-1+b1), libapt-inst1.5:amd64 (1.0.9.8.2, 1.0.9.8.3), libgtk2.0-bin:amd64 (2.24.25-3, 2.24.25-3+deb8u1), libgtk2.0-common:amd64 (2.24.25-3, 2.24.25-3+deb8u1), owncloud-deps-php5:amd64 (9.0.0-1.1, 9.0.2-1.1), udev:amd64 (215-17+deb8u3, 215-17+deb8u4), base-files:amd64 (8+deb8u3, 8+deb8u4), gir1.2-gtk-2.0:amd64 (2.24.25-3, 2.24.25-3+deb8u1), gnupg:amd64 (1.4.18-7, 1.4.18-7+deb8u1), initramfs-tools:amd64 (0.120, 0.120+deb8u1), libcairo-gobject2:amd64 (1.14.0-2.1, 1.14.0-2.1+deb8u1), libpam-modules:amd64 (1.1.8-3.1+deb8u1, 1.1.8-3.1+deb8u1+b1), libsndfile1:amd64 (1.0.25-9.1, 1.0.25-9.1+deb8u1), libcairo2:amd64 (1.14.0-2.1, 1.14.0-2.1+deb8u1), libudev1:amd64 (215-17+deb8u3, 215-17+deb8u4), libsane:amd64 (1.0.24-8, 1.0.24-8+deb8u1), imagemagick-6.q16:amd64 (6.8.9.9-5, 6.8.9.9-5+deb8u1), nettle-dev:amd64 (2.7.1-5, 2.7.1-5+deb8u1), nodejs:amd64 (5.9.0-1nodesource1~jessie1, 5.11.0-1nodesource1~jessie1), libssl-dev:amd64 (1.0.1k-3+deb8u4, 1.0.1k-3+deb8u5), libapt-pkg4.12:amd64 (1.0.9.8.2, 1.0.9.8.3), libpcre3-dev:amd64 (8.35-3.3+deb8u2, 8.35-3.3+deb8u4), libhogweed2:amd64 (2.7.1-5, 2.7.1-5+deb8u1), librsvg2-common:amd64 (2.40.5-1, 2.40.5-1+deb8u1), systemd-sysv:amd64 (215-17+deb8u3, 215-17+deb8u4), libgtk2.0-0:amd64 (2.24.25-3, 2.24.25-3+deb8u1), libcairo2-dev:amd64 (1.14.0-2.1, 1.14.0-2.1+deb8u1), imagemagick:amd64 (6.8.9.9-5, 6.8.9.9-5+deb8u1), libsane-dev:amd64 (1.0.24-8, 1.0.24-8+deb8u1), systemd:amd64 (215-17+deb8u3, 215-17+deb8u4), gpgv:amd64 (1.4.18-7, 1.4.18-7+deb8u1), libpcrecpp0:amd64 (8.35-3.3+deb8u2, 8.35-3.3+deb8u4), libnettle4:amd64 (2.7.1-5, 2.7.1-5+deb8u1), libpam-modules-bin:amd64 (1.1.8-3.1+deb8u1, 1.1.8-3.1+deb8u1+b1), libmagickwand-6.q16-2:amd64 (6.8.9.9-5, 6.8.9.9-5+deb8u1), tzdata:amd64 (2015g-0+deb8u1, 2016d-0+deb8u1), openssl:amd64 (1.0.1k-3+deb8u4, 1.0.1k-3+deb8u5), libglib2.0-bin:amd64 (2.42.1-1, 2.42.1-1+b1), imagemagick-common:amd64 (6.8.9.9-5, 6.8.9.9-5+deb8u1), libsystemd0:amd64 (215-17+deb8u3, 215-17+deb8u4), linux-libc-dev:amd64 (3.16.7-ckt20-1+deb8u4, 3.16.7-ckt25-2), libpcre3:amd64 (8.35-3.3+deb8u2, 8.35-3.3+deb8u4), libmagickcore-6.q16-2:amd64 (6.8.9.9-5, 6.8.9.9-5+deb8u1), libgtk2.0-dev:amd64 (2.24.25-3, 2.24.25-3+deb8u1), locales:amd64 (2.19-18+deb8u3, 2.19-18+deb8u4), libcairo-script-interpreter2:amd64 (1.14.0-2.1, 1.14.0-2.1+deb8u1), libc6-dev:amd64 (2.19-18+deb8u3, 2.19-18+deb8u4), owncloud-files:amd64 (9.0.0-1.1, 9.0.2-1.1)\r\nEnd-Date: 2016-05-03  14:23:46\r\n```\r\n\r\nconfig.php\r\n```\r\n<?php\r\n$CONFIG = array (\r\n  'instanceid' => 'abc',\r\n  'passwordsalt' => 'abc',\r\n  'secret' => 'abc',\r\n  'trusted_domains' => \r\n  array (\r\n    0 => 'MYDOMAIN.com',\r\n  ),\r\n  'datadirectory' => '/var/www/owncloud/data',\r\n  'overwrite.cli.url' => 'https://MYDOMAIN.com/owncloud',\r\n  'dbtype' => 'mysql',\r\n  'version' => '9.0.2.2',\r\n  'dbname' => 'oc-db',\r\n  'dbhost' => 'localhost',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => 'oc_root',\r\n  'dbpassword' => 'abc',\r\n  'logtimezone' => 'Europe/Berlin',\r\n  'installed' => true,\r\n  'memcache.local' => '\\\\OC\\\\Memcache\\\\APCu',\r\n  'preview_libreoffice_path' => '/usr/bin/libreoffice',\r\n  'loglevel' => 2,\r\n  'logfile' => '/var/www/owncloud/data/owncloud.log',\r\n  'appstore.experimental.enabled' => true,\r\n  'maintenance' => false,\r\n  'updatechecker' => false,\r\n  'blacklisted_files' => \r\n  array (\r\n    0 => '._*',\r\n    1 => '.DS_Store',\r\n    2 => '.DS_STORE',\r\n    3 => '.ds_store',\r\n    4 => '*.log',\r\n    5 => '*.bbl',\r\n    6 => '*.out',\r\n    7 => '*.blg',\r\n    8 => '*.aux',\r\n    9 => '*.toc',\r\n    10 => '*.synctex.gz',\r\n    11 => '*.synctex',\r\n    12 => '*.lof',\r\n    13 => '*.lot',\r\n    14 => '*.bit',\r\n    15 => '*.idx',\r\n    16 => '*.glo',\r\n    17 => '*.ilg',\r\n    18 => '*.out',\r\n  ),\r\n);\r\n```"}}