{"action":"closed","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/21335","labels_url":"https://api.github.com/repos/owncloud/core/issues/21335/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/21335/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/21335/events","html_url":"https://github.com/owncloud/core/issues/21335","id":123508012,"number":21335,"title":"PHP Fatal error:  Call to undefined function OC\\Security\\random_int()","user":{"login":"ryno83","id":11739049,"avatar_url":"https://avatars.githubusercontent.com/u/11739049?v=3","gravatar_id":"","url":"https://api.github.com/users/ryno83","html_url":"https://github.com/ryno83","followers_url":"https://api.github.com/users/ryno83/followers","following_url":"https://api.github.com/users/ryno83/following{/other_user}","gists_url":"https://api.github.com/users/ryno83/gists{/gist_id}","starred_url":"https://api.github.com/users/ryno83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryno83/subscriptions","organizations_url":"https://api.github.com/users/ryno83/orgs","repos_url":"https://api.github.com/users/ryno83/repos","events_url":"https://api.github.com/users/ryno83/events{/privacy}","received_events_url":"https://api.github.com/users/ryno83/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-22T16:02:02Z","updated_at":"2015-12-22T16:38:24Z","closed_at":"2015-12-22T16:38:24Z","body":"### Steps to reproduce\r\n1. After git pull --rebase on my dev install\r\n2. Console command: php occ upgrade (All occ command I tried throw this error)\r\n3. White page on web frontend\r\n\r\n### Expected behaviour\r\nShould work I guess\r\n\r\n### Actual behaviour\r\n````\r\nPHP Fatal error:  Call to undefined function OC\\Security\\random_int() in /data/www/owncloud/core/lib/private/security/securerandom.php on line 80\r\nPHP Stack trace:\r\nPHP   1. {main}() /data/www/owncloud/core/occ:0\r\nPHP   2. require_once() /data/www/owncloud/core/occ:11\r\nPHP   3. OC\\Console\\Application->run() /data/www/owncloud/core/console.php:79\r\nPHP   4. Symfony\\Component\\Console\\Application->run() /data/www/owncloud/core/lib/private/console/application.php:110\r\nPHP   5. OC\\Log\\ErrorHandler->onShutdown() /data/www/owncloud/core/lib/private/log/errorhandler.php:0\r\nPHP   6. OC\\Log->critical() /data/www/owncloud/core/lib/private/log/errorhandler.php:64\r\nPHP   7. OC\\Log->log() /data/www/owncloud/core/lib/private/log.php:118\r\nPHP   8. call_user_func:{/data/www/owncloud/core/lib/private/log.php:254}() /data/www/owncloud/core/lib/private/log.php:254\r\nPHP   9. OC_Log_Owncloud::write() /data/www/owncloud/core/lib/private/log.php:254\r\nPHP  10. OC\\AppFramework\\Http\\Request->getId() /data/www/owncloud/core/lib/private/log/owncloud.php:81\r\nPHP  11. OC\\Security\\SecureRandom->generate() /data/www/owncloud/core/lib/private/appframework/http/request.php:468\r\n````\r\n\r\n### Server configuration\r\n**Operating system**:`debian8 jessie \r\n\r\n**Web server:**apache 2.4\r\n\r\n**Database:**mysql\r\n\r\n**PHP version:**5.6\r\n\r\n**ownCloud version:**  php occ --version: 9.0 pre alpha\r\n\r\n**Updated from an older ownCloud or fresh install:** git pull --rebase\r\n\r\n**List of activated apps:**\r\n\r\n```\r\n  - dav: 0.1.2\r\n  - files: 1.3.0\r\n  - files_sharing: 0.8.1\r\n  - files_trashbin: 0.8.0\r\n  - files_versions: 1.2.0\r\n  - firstrunwizard: 1.1\r\n  - provisioning_api: 0.4.0\r\n  - user_ldap: 0.8.0\r\n\r\n```\r\n\r\n**The content of config/config.php:**\r\n\r\n```\r\n$CONFIG = array (\r\n  'instanceid' => ***',\r\n  'passwordsalt' => '***',\r\n  'secret' => '***',\r\n  'trusted_domains' =>\r\n  array (\r\n    0 => 'owncloud.mydomain.com\r\n  ),\r\n  'datadirectory' => '/data/www/owncloud/core/data',\r\n  'overwrite.cli.url' => 'https://owncloud.mydomain.com/core',\r\n  'dbtype' => 'mysql',\r\n  'version' => '9.0.0.2',\r\n  'dbname' => 'oc_dbname',\r\n  'dbhost' => 'mysql-server',\r\n  'dbtableprefix' => 'oc_',\r\n  'dbuser' => 'oc_dbuser',\r\n  'dbpassword' => '***',\r\n  'logtimezone' => 'America/Toronto',\r\n  'installed' => true,\r\n  'ldapIgnoreNamingRules' => false,\r\n  'memcache.local' => '\\OC\\Memcache\\APCu',\r\n  'theme' => '',\r\n  'maintenance' => false,\r\n  'ldapUserCleanupInterval' => 20,\r\n  'loglevel' => 0,\r\n  'enable_avatars' => true,\r\n  'allow_user_to_change_display_name' => true,\r\n  'debug' => true,\r\n  'trashbin_retention_obligation' => 'auto, auto',\r\n);\r\nDEFINE('DEBUG', true);\r\n\r\n```\r\n\r\n**Are you using external storage, if yes which one:** No\r\n\r\n**Are you using encryption:** no\r\n\r\n**Are you using an external user-backend, if yes which one:** ActiveDirectory"}}