Repository navigation
Closed
Description
Steps to reproduce
- Update via package manager
- Go to site click start upgrade button
- Update completes successfully
- login page is blank. Cannot login.
Expected behaviour
login page displays, apps and clients work.
Actual behaviour
blank page is displayed, no apps or clients work.
Server configuration
Operating system: Linux Mint 13
Web server: Apache2
Database: MySQL
PHP version: 5.4.37-1+deb.sury.org~precise+1
ownCloud version: 8.0
Updated from an older ownCloud or fresh install: upgraded from 7.0.4
List of activated apps:
Enabled:
- activity
- external
- files
- files_epubviewer
- files_external
- files_mv
- files_opds
- files_pdfviewer
- files_sharing
- files_texteditor
- files_trashbin
- files_versions
- files_videoviewer
- firstrunwizard
- gallery
- news
- templateeditor
- updater
The content of config/config.php:
<?php
$CONFIG = array (
'instanceid' => 'occ5a70f5eb8',
'passwordsalt' =>
'datadirectory' => '/var/www/owncloud/data',
'dbtype' => 'mysql',
'version' => '8.0.0.7',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'owncloud',
'dbpassword' =>
'installed' => true,
'maxZipInputSize' => 0,
'allowZipDownload' => true,
'loglevel' => '2',
'logtimezone' => 'America/Chicago',
'log_rotate_size' => 104857600,
'forcessl' => true,
'theme' => '',
'maintenance' => false,
'trusted_domains' =>
array (
0 => 'kashmir.vanelli.net',
1 => 'kashmir.vanelli.net',
2 => '192.168.1.253',
),
'mail_from_address' => '*****',
'mail_smtpmode' => 'smtp',
'mail_domain' => '******',
'mail_smtphost' => '********',
'mail_smtpport' => '25',
'secret' =>
'appcodechecker' => false,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\Image',
1 => 'OC\\Preview\\MP3',
2 => 'OC\\Preview\\TXT',
3 => 'OC\\Preview\\MarkDown',
4 => 'OC\\Preview\\Epub',
5 => 'OC\\Preview\\PDF',
6 => 'OC\\Preview\\OpenDocument',
7 => 'OC\\Preview\\StarOffice',
8 => 'OC\\Preview\\MSOfficeDoc',
9 => 'OC\\Preview\\MSOffice2003',
10 => 'OC\\Preview\\MSOffice2007',
),
);
Are you using external storage, if yes which one: smb/sftp/GoogleDrive
Are you using encryption: no
Client configuration
**Browser:**Friefox/Chrome
**Operating system:**Windows/Linux Mint 13/Linux Mint 17
Logs
Web server error log
[Sun Feb 08 07:35:10 2015] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.37-1+deb.sury.org~precise+1 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
[Sun Feb 08 13:45:31 2015] [error] [client 192.168.1.253] client denied by server configuration: /var/www/owncloud/data/htaccesstest.txt
[Mon Feb 09 19:41:11 2015] [error] [client 192.168.1.22] script '/var/www/owncloud/remote.php' not found or unable to stat
[Mon Feb 09 19:41:53 2015] [notice] caught SIGTERM, shutting down
[Mon Feb 09 19:41:54 2015] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.37-1+deb.sury.org~precise+1 mod_ssl/2.2.22 OpenSSL/1.0.1 configured -- resuming normal operations
[Mon Feb 09 19:51:20 2015] [error] [client 192.168.1.253] File does not exist: /var/www/favicon.ico
[Mon Feb 09 19:52:27 2015] [error] [client 192.168.1.22] File does not exist: /var/www/favicon.ico
ownCloud log (data/owncloud.log)
{"reqId":"a86a06179114c9b759d973eab75f7505","remoteAddr":"192.168.1.253","app":"index","message":"Exception: {\"Message\":\"\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/app.php(77): OC_App::loadApp('activity')\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/util.php(75): OC_App::loadApps(Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(762): OC_Util::setupFS()\\n#3 \\\/var\\\/www\\\/owncloud\\\/index.php(36): OC::handleRequest()\\n#4 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/app.php\",\"Line\":96}","level":4,"time":"2015-02-09T19:47:00-06:00"}
{"reqId":"aa3cc4adff9b193e35ce443eb91bceca","remoteAddr":"192.168.1.253","app":"index","message":"Exception: {\"Message\":\"js file not found: script:js\\\/chosen\\\/chosen.jquery.min serverroot:\\\/var\\\/www\\\/owncloud\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(155): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(106): OC_TemplateLayout::findJavascriptFiles(Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(118): OC_TemplateLayout->__construct('guest', '')\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/base.php(103): OC_Template->fetchPage()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(197): OC\\\\Template\\\\Base->printPage()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/util.php(827): OC_Template::printGuestPage('', 'login', Array)\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(866): OC_Util::displayLoginPage(Array, Array)\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(821): OC::handleLogin()\\n#8 \\\/var\\\/www\\\/owncloud\\\/index.php(36): OC::handleRequest()\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/resourcelocator.php\",\"Line\":46}","level":4,"time":"2015-02-09T19:51:20-06:00"}
{"reqId":"aa3cc4adff9b193e35ce443eb91bceca","remoteAddr":"192.168.1.253","app":"PHP","message":"js file not found: script:js\/chosen\/chosen.jquery.min serverroot:\/var\/www\/owncloud at \/var\/www\/owncloud\/lib\/private\/template\/resourcelocator.php#46","level":3,"time":"2015-02-09T19:51:20-06:00"}
{"reqId":"ea04b3c16b9102c45a001a4fa6954193","remoteAddr":"192.168.1.253","app":"index","message":"Exception: {\"Message\":\"js file not found: script:js\\\/chosen\\\/chosen.jquery.min serverroot:\\\/var\\\/www\\\/owncloud\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(155): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(106): OC_TemplateLayout::findJavascriptFiles(Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(118): OC_TemplateLayout->__construct('guest', '')\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/base.php(103): OC_Template->fetchPage()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(197): OC\\\\Template\\\\Base->printPage()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/util.php(827): OC_Template::printGuestPage('', 'login', Array)\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(866): OC_Util::displayLoginPage(Array, Array)\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(821): OC::handleLogin()\\n#8 \\\/var\\\/www\\\/owncloud\\\/index.php(36): OC::handleRequest()\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/resourcelocator.php\",\"Line\":46}","level":4,"time":"2015-02-09T19:51:36-06:00"}
{"reqId":"ea04b3c16b9102c45a001a4fa6954193","remoteAddr":"192.168.1.253","app":"PHP","message":"js file not found: script:js\/chosen\/chosen.jquery.min serverroot:\/var\/www\/owncloud at \/var\/www\/owncloud\/lib\/private\/template\/resourcelocator.php#46","level":3,"time":"2015-02-09T19:51:36-06:00"}
{"reqId":"e64e0f3c9fcde20728f8f92a03d51173","remoteAddr":"192.168.1.253","app":"index","message":"Exception: {\"Message\":\"js file not found: script:js\\\/chosen\\\/chosen.jquery.min serverroot:\\\/var\\\/www\\\/owncloud\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(155): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(106): OC_TemplateLayout::findJavascriptFiles(Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(118): OC_TemplateLayout->__construct('guest', '')\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/base.php(103): OC_Template->fetchPage()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(197): OC\\\\Template\\\\Base->printPage()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/util.php(827): OC_Template::printGuestPage('', 'login', Array)\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(866): OC_Util::displayLoginPage(Array, Array)\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(821): OC::handleLogin()\\n#8 \\\/var\\\/www\\\/owncloud\\\/index.php(36): OC::handleRequest()\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/resourcelocator.php\",\"Line\":46}","level":4,"time":"2015-02-09T19:51:37-06:00"}
{"reqId":"e64e0f3c9fcde20728f8f92a03d51173","remoteAddr":"192.168.1.253","app":"PHP","message":"js file not found: script:js\/chosen\/chosen.jquery.min serverroot:\/var\/www\/owncloud at \/var\/www\/owncloud\/lib\/private\/template\/resourcelocator.php#46","level":3,"time":"2015-02-09T19:51:37-06:00"}
{"reqId":"8930e42feaf0621db9b82131c20ecaf8","remoteAddr":"192.168.1.253","app":"index","message":"Exception: {\"Message\":\"js file not found: script:js\\\/chosen\\\/chosen.jquery.min serverroot:\\\/var\\\/www\\\/owncloud\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(155): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(106): OC_TemplateLayout::findJavascriptFiles(Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(118): OC_TemplateLayout->__construct('guest', '')\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/base.php(103): OC_Template->fetchPage()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(197): OC\\\\Template\\\\Base->printPage()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/util.php(827): OC_Template::printGuestPage('', 'login', Array)\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(866): OC_Util::displayLoginPage(Array, Array)\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(821): OC::handleLogin()\\n#8 \\\/var\\\/www\\\/owncloud\\\/index.php(36): OC::handleRequest()\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/resourcelocator.php\",\"Line\":46}","level":4,"time":"2015-02-09T19:52:13-06:00"}
{"reqId":"8930e42feaf0621db9b82131c20ecaf8","remoteAddr":"192.168.1.253","app":"PHP","message":"js file not found: script:js\/chosen\/chosen.jquery.min serverroot:\/var\/www\/owncloud at \/var\/www\/owncloud\/lib\/private\/template\/resourcelocator.php#46","level":3,"time":"2015-02-09T19:52:13-06:00"}
{"reqId":"6328488ed384d850fa68fe0df82a581d","remoteAddr":"192.168.1.22","app":"index","message":"Exception: {\"Message\":\"js file not found: script:js\\\/chosen\\\/chosen.jquery.min serverroot:\\\/var\\\/www\\\/owncloud\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(155): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(106): OC_TemplateLayout::findJavascriptFiles(Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(118): OC_TemplateLayout->__construct('guest', '')\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/base.php(103): OC_Template->fetchPage()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(197): OC\\\\Template\\\\Base->printPage()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/util.php(827): OC_Template::printGuestPage('', 'login', Array)\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(866): OC_Util::displayLoginPage(Array, Array)\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(821): OC::handleLogin()\\n#8 \\\/var\\\/www\\\/owncloud\\\/index.php(36): OC::handleRequest()\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/resourcelocator.php\",\"Line\":46}","level":4,"time":"2015-02-09T19:52:27-06:00"}
{"reqId":"6328488ed384d850fa68fe0df82a581d","remoteAddr":"192.168.1.22","app":"PHP","message":"js file not found: script:js\/chosen\/chosen.jquery.min serverroot:\/var\/www\/owncloud at \/var\/www\/owncloud\/lib\/private\/template\/resourcelocator.php#46","level":3,"time":"2015-02-09T19:52:27-06:00"}
{"reqId":"90e159c731ba6df830f0a04d1d0e6278","remoteAddr":"192.168.1.253","app":"index","message":"Exception: {\"Message\":\"js file not found: script:js\\\/chosen\\\/chosen.jquery.min serverroot:\\\/var\\\/www\\\/owncloud\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(155): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(106): OC_TemplateLayout::findJavascriptFiles(Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(118): OC_TemplateLayout->__construct('guest', '')\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/base.php(103): OC_Template->fetchPage()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(197): OC\\\\Template\\\\Base->printPage()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/util.php(827): OC_Template::printGuestPage('', 'login', Array)\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(866): OC_Util::displayLoginPage(Array, Array)\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(821): OC::handleLogin()\\n#8 \\\/var\\\/www\\\/owncloud\\\/index.php(36): OC::handleRequest()\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/resourcelocator.php\",\"Line\":46}","level":4,"time":"2015-02-09T19:55:25-06:00"}
{"reqId":"90e159c731ba6df830f0a04d1d0e6278","remoteAddr":"192.168.1.253","app":"PHP","message":"js file not found: script:js\/chosen\/chosen.jquery.min serverroot:\/var\/www\/owncloud at \/var\/www\/owncloud\/lib\/private\/template\/resourcelocator.php#46","level":3,"time":"2015-02-09T19:55:25-06:00"}
{"reqId":"b14691bf48ab752e387b81cb0b69876b","remoteAddr":"192.168.1.253","app":"index","message":"Exception: {\"Message\":\"js file not found: script:js\\\/chosen\\\/chosen.jquery.min serverroot:\\\/var\\\/www\\\/owncloud\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(155): OC\\\\Template\\\\ResourceLocator->find(Array)\\n#1 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/templatelayout.php(106): OC_TemplateLayout::findJavascriptFiles(Array)\\n#2 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(118): OC_TemplateLayout->__construct('guest', '')\\n#3 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/base.php(103): OC_Template->fetchPage()\\n#4 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template.php(197): OC\\\\Template\\\\Base->printPage()\\n#5 \\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/util.php(827): OC_Template::printGuestPage('', 'login', Array)\\n#6 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(866): OC_Util::displayLoginPage(Array, Array)\\n#7 \\\/var\\\/www\\\/owncloud\\\/lib\\\/base.php(821): OC::handleLogin()\\n#8 \\\/var\\\/www\\\/owncloud\\\/index.php(36): OC::handleRequest()\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/owncloud\\\/lib\\\/private\\\/template\\\/resourcelocator.php\",\"Line\":46}","level":4,"time":"2015-02-09T20:03:05-06:00"}
{"reqId":"b14691bf48ab752e387b81cb0b69876b","remoteAddr":"192.168.1.253","app":"PHP","message":"js file not found: script:js\/chosen\/chosen.jquery.min serverroot:\/var\/www\/owncloud at \/var\/www\/owncloud\/lib\/private\/template\/resourcelocator.php#46","level":3,"time":"2015-02-09T20:03:05-06:00"}
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
Metadata
Metadata
Assignees
Labels
No labels
Activity
karlitschek commentedon Feb 10, 2015
@jnweiger Can you have a look please?
DeepDiver1975 commentedon Feb 10, 2015
This is most probably caused by apps which have not yet been undated by the devs to work with oc8.
Please disable all apps and enable them step by step to detect the failing one.
Sorry for the trouble.
nicoh88 commentedon Feb 10, 2015
The calendar was the failing one.
DeepDiver1975 commentedon Feb 10, 2015
case closed - we will work on the update route as described in #14026
cyablo commentedon Feb 10, 2015
I have removed all 3rd Party Apps and still my OC is broken:
cyablo commentedon Feb 10, 2015
Ive done it clean, purged everything instead data and config and reinstalled. Working now, thank you.
buzzra commentedon Feb 10, 2015
@RealRancor ,
Thanks, I am just getting to this again. From the occ command, how do I tell which apps are 3rd party? I am going to disable the ones I know for sure, but I want to make sure I get them all. After I disable them, do I need to restart the web server, or just re-load the sign-in page in the browser?
Thanks
buzz
buzzra commentedon Feb 10, 2015
I have disabled:
files_opds
files_epubviewer
files_mv
news
and am able to log in again. I will re-enable one by one and report which one causes problems.
buzz
buzzra commentedon Feb 10, 2015
@RealRancor
It was the files_mv app.
Thanks for all the help!
See my comment on #14026 . Disabling all 3rd party apps for an upgrade, is NOT very user/admin/enterprise friendly. I understand the reason for it, but it needs to be stated as the recommended upgrade scenario. Currently, the documentation gives the false impression that you can simply upgrade from the distro package manager and everything will just work.
Thanks again for all your work on ownCloud.
buzz
P.S. I will create that feature request :-)
Blisk commentedon Feb 13, 2015
I am trying to disable calendar, because I have blank page too after update from version 7 to 8.
but I get this error.
./occ app:disable calendar
PHP Parse error: syntax error, unexpected '[' in /var/www/html/owncloud/lib/base.php on line 849
Blisk commentedon Feb 13, 2015
no, I updated php to 5.4
baurmatt commentedon Mar 11, 2015
Just deleting contact/calender app work for me. Thanks! :)
siax84 commentedon Mar 11, 2015
yes same here, luckily :)
Keelan commentedon Mar 13, 2015
What is the quickest way to get back the calendars, i also after hitting the big upgrade button have lost everything the update was "successful" but now i am given a blank page only. What is the easiest way to roll back to v7 i have backups.
shusain commentedon Mar 21, 2015
Thanks to everyone who stumbled through this before me. I also had to disable the contacts and calendar, if these are third party I'd totally forgotten I even installed them, might be good if the update process would let you know you have 3rd party apps added in and that you should switch them off or you increase the likelihood of a failed upgrade. I realize this is in the upgrade documentation but wasn't aware I actually had added anything in (should have guessed though I always start poking buttons and turning knobs when I get something new).
Aresinho commentedon Mar 27, 2015
I had to change occ permissions to 777
Then disable contacts and calendar app for it to work
So for people having the same problem as I did:
sudo chmod 777 occ./occ app:disable calendar./occ app:disable contactsfrenzis commentedon Apr 4, 2015
@Aresinho
Better