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

/dev unreadable leads to blank page and upgrade error #23297

Closed
Blackclaws opened this issue Mar 16, 2016 · 3 comments
Closed

/dev unreadable leads to blank page and upgrade error #23297

Blackclaws opened this issue Mar 16, 2016 · 3 comments

Comments

@Blackclaws
Copy link

Steps to reproduce

  1. Install Owncloud 9.0
  2. Revoke read and execute access to /dev folder for the http user
  3. Owncloud only yields a blank page
  4. Install Owncloud 8.2.3
  5. Revoke read and execute access to /dev folder for the http user
  6. Owncloud only yields a blank page
  7. On upgrade to Owncloud 9.0 via occ upgrade you get "Cannot open source device" exception

Expected behaviour

An error message telling what is wrong or just a warning saying that /dev/urandom is unavailable. This used to happen with older versions.

For the upgrade I would have expected a more verbose error message. "Cannot open source device" as it comes from mcrypt doesn't give you a lot of information.

Actual behaviour

You get a blank page or a non verbose error message. In actuality the system crashes somewhere during the retrieval of CryptoWrapper from the DepedencyInjection System

Server configuration

Operating system: Arch Linux

Web server: Nginx + PHP-FPM

Database: MariaDB

PHP version: 7.0.4

ownCloud version: (see ownCloud admin page) 8.2.3/9.0

Updated from an older ownCloud or fresh install: Updated

Where did you install ownCloud from: Arch repositories / Zip files => Same behaviour

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

Integrity checker has been disabled. Integrity cannot be verified.
List of activated apps:
Calendar/Contacts

(Without the database password, passwordsalt and secret)
$CONFIG = array (
'instanceid' => 'ocz1hq1sawaa',
'trusted_domains' =>
array (
redacted
),
'datadirectory' => '/usr/share/webapps/owncloud/data',
'overwrite.cli.url' => 'redacted',
'dbtype' => 'mysql',
'version' => '9.0.0.19',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'installed' => true,
'theme' => '',
'loglevel' => 0,
'maintenance' => false,
'trashbin_retention_obligation' => 'auto',
'forcessl' => true,

**Are you using encryption:**no

@DeepDiver1975
Copy link
Member

You get a blank page or a non verbose error message. In actuality the system crashes somewhere during the retrieval of CryptoWrapper from the DepedencyInjection System

anything in the logs?

@DeepDiver1975 DeepDiver1975 added this to the backlog milestone Mar 17, 2016
@PVince81
Copy link
Contributor

Fixed with #26075 where the exception is printed directly without template in case some base stuff like logger could not be inited yet.

@lock
Copy link

lock bot commented Aug 3, 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 3, 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

4 participants