(I've submitted this issue to bugs.archlinux.org, too, but I think this is only arm specific, as it worked flawless with the server at work, using x86_64 archlinux ...)
After updating php from 7.1.1 to 7.1.2 and restarting php-fpm and nginx the following error occurred and owncloud won't start (log from nginx's error.log):
$this->bbcode_second_pass_code('', '2017/02/15 10:16:26 [error] 21589#21589: *557 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Exception: Could not gather sufficient random data in /usr/share/webapps/owncloud/lib/private/Security/SecureRandom.php:80
Stack trace:
#0 /usr/share/webapps/owncloud/lib/private/Security/SecureRandom.php(80): random_int(0, 63)
#1 /usr/share/webapps/owncloud/lib/private/Security/Crypto.php(94): OC\Security\SecureRandom->generate(16)
#2 /usr/share/webapps/owncloud/lib/private/Session/CryptoSessionData.php(162): OC\Security\Crypto->encrypt('{"LAST_ACTIVITY...', 'yQU2DBdBseipjD7...')
#3 /usr/share/webapps/owncloud/lib/private/Session/CryptoSessionData.php(66): OC\Session\CryptoSessionData->close()
#4 [internal function]: OC\Session\CryptoSessionData->__destruct()
#5 {main}
thrown in /usr/share/webapps/owncloud/lib/private/Security/SecureRandom.php on line 80" while reading upstream, client: 217.240.103.192, server: example.com, request: "PROPFIND /remote.php/webdav/ HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "example.com"')
Restarting php-fpm and nginx won't help. Switching back to 7.1.1-1 solved the issue.
Additional info:
* system: odroid-xu3 (armv7)
* kernel: linux-odroid-xu3 3.10.104-6
* php 7.1.2-1
* nginx 1.10.3-2
* owncloud 9.1.3-2
Steps to reproduce:
1. install & config owncloud and nginx
2. install php
3. profit from the error.
Is anyone else having this issue?