Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update oc 9.1.5. to owncloud 10.0.0rc4 with encryption enabled breaks login page #27744

Closed
JKawohl opened this issue Apr 25, 2017 · 9 comments
Closed

Comments

@JKawohl
Copy link
Contributor

JKawohl commented Apr 25, 2017

Steps to reproduce

1.Fresh install of 9.1.5
2.enable encryption as shown on doc.owncloud.org
3.update to 10.0.0rc4 as recommended with tarball
4. Try to login again.

Expected behaviour

Update should work

Actual behaviour

Internal Server error.

Stacktrace:

{"reqId":"1zeW5QLmBAZtKZiXyKJD","level":3,"time":"2017-04-25T11:23:26+00:00","remoteAddr":"192.168.188.7","user":"root","app":"index","method":"GET","url":"/owncloud/index.php/apps/files/","message":"Exception: {"Exception":"OCP\Files\NotFoundException","Message":"","Code":0,"Trace":"
#0 /var/www/owncloud/apps/files/lib/Controller/ViewController.php(135): OC_Helper::getStorageInfo('/', false)
#1 /var/www/owncloud/apps/files/lib/Controller/ViewController.php(206): OCA\Files\Controller\ViewController->getStorageInfo()
#2 [internal function]: OCA\Files\Controller\ViewController->index('', '', NULL)
#3 /var/www/owncloud/lib/private/AppFramework/Http/Dispatcher.php(159): call_user_func_array(Array, Array)
#4 /var/www/owncloud/lib/private/AppFramework/Http/Dispatcher.php(89): OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Files\Controller\ViewController), 'index')
#5 /var/www/owncloud/lib/private/AppFramework/App.php(98): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Files\Controller\ViewController), 'index')
#6 /var/www/owncloud/lib/private/AppFramework/Routing/RouteActionHandler.php(46): OC\AppFramework\App::main('ViewController', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
#7 [internal function]: OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
#8 /var/www/owncloud/lib/private/Route/Router.php(299): call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
#9 /var/www/owncloud/lib/base.php(909): OC\Route\Router->match('/apps/files/')
#10 /var/www/owncloud/index.php(49): OC::handleRequest()
#11 {main}","File":"/var/www/owncloud/lib/private/legacy/helper.php","Line":570}"}

config.php
$CONFIG = array (
'instanceid' => 'oc8rup519vcs',
'passwordsalt' => 'bla',
'secret' => 'bla',
'trusted_domains' =>
array (
0 => '192.168.181.47',
),
'datadirectory' => '/var/www/owncloud/data',
'overwrite.cli.url' => 'http://192.168.181.47/owncloud',
'dbtype' => 'mysql',
'version' => '10.0.0.10',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_root',
'dbpassword' => 'bla',
'logtimezone' => 'UTC',
'installed' => true,
'maintenance' => false,
'loglevel' => 2,
);

@JKawohl
Copy link
Contributor Author

JKawohl commented Apr 25, 2017

hmm interestingly, when i clicked the "back" button in my browser i was logged in (allthough i logged me out before the update) and could do normal operations.
When i then log out and then login again everything seems to work normal

@PVince81
Copy link
Contributor

Was this all with a single browser tab ? Or did you have an existing tab already opened on the same instance while running the update ?

I updated my own personal instance from 9.1.5 RC2 to 10.0.0 RC4 and it went correctly, with encryption enabled.

@JKawohl
Copy link
Contributor Author

JKawohl commented Apr 25, 2017

Yes this was all in one single browser tab i kept it open during the update. I also turned off apache during the update and back on when the update went through.

@JKawohl
Copy link
Contributor Author

JKawohl commented Apr 25, 2017

I reproduced this several times now.
Please let me know if you need additional information.

Browser is chrome

@PVince81
Copy link
Contributor

@kawohl can you expand your test steps to say exactly what you did: what browser tab open where, did you update within the browser or occ upgrade, etc

@JKawohl
Copy link
Contributor Author

JKawohl commented Apr 26, 2017

@PVince81
Here are the steps. I can demonstrate you also in person tomorrow.

Steps:

  1. Fresh Install 9.1.5 (no ssl configured)
  2. Activate server encryption in gui
  3. Enable default encryption module
  4. Logout
  5. Enable maintenance mode
  6. Stop apache2
  7. Manual upgrade via occ upgrade
  8. Disable maintenance mode
  9. Start apache
    10.Reload page
    11.Encounter internal server error
    12.Click back button in browser (chrome)
    13.Wohoo: you are logged in .

@PVince81
Copy link
Contributor

What happens if you clear the cookies after logging out ? Could help find out whether it's session-related, as in "session not closed properly"

@ownclouders
Copy link
Contributor

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

@lock
Copy link

lock bot commented Aug 1, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants