Hi!
First at all, thanks for the great tutorials!
Last year i set up my Nextcloud with Letsencrypt in Docker on my OMV4 installation.
Everything works great! Including OnlyOffice integration.
Now i have the problem that my Nextcloud and the Letsencrypt-cert works while normal use of Nextcloud. (After my OMV4-PC was not used for 1-2 month i powered on my OMV4 again, and i think the LE-certificate was renewed automatically)
I can use my NC-installation, but i tried to update my Nextcloud by using webupdater (NC à Admin àsettings à overview) and it failed with the following error:
End-of-NC.error.log:
Bash: error.log
2019/02/05 12:26:24 [error] 311#311: *622 FastCGI sent in stderr: "PHP message: {"reqId":"FMbIm2LlzoEOLGDPk44i","level":3,"time":"2019-02-05T11:26:24+00:00","remoteAddr":"172.20.0.3","user":"test_user","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"count(): Parameter must be an array or an object that implements Countable at \/config\/www\/nextcloud\/apps\/onlyoffice\/lib\/appconfig.php#477","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/72.0.3626.81 Safari\/537.36","version":"14.0.3.0"}" while reading response header from upstream, client: 172.20.0.3, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "domain_changed_for_log.dynvpn.de:443"
2019/02/05 12:26:24 [error] 311#311: *622 FastCGI sent in stderr: "PHP message: {"reqId":"FMbIm2LlzoEOLGDPk44i","level":3,"time":"2019-02-05T11:26:24+00:00","remoteAddr":"172.20.0.3","user":"test_user","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"fopen(\/data\/nextcloud.log): failed to open stream: Permission denied at \/config\/www\/nextcloud\/lib\/private\/Log\/File.php#136","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/72.0.3626.81 Safari\/537.36","version":"14.0.3.0"}" while reading upstream, client: 172.20.0.3, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "domain_changed_for_log.dynvpn.de:443"
2019/02/05 12:26:31 [error] 311#311: *654 FastCGI sent in stderr: "PHP message: {"reqId":"VEGKWRkCrhzjSMCjDkZU","level":3,"time":"2019-02-05T11:26:31+00:00","remoteAddr":"172.20.0.3","user":"test_user","app":"index","method":"GET","url":"\/index.php\/settings\/admin\/overview","message":{"Exception":"TypeError","Message":"Argument 1 passed to GuzzleHttp\\Exception\\RequestException::create() must be an instance of GuzzleHttp\\Message\\RequestInterface, instance of GuzzleHttp\\Psr7\\Request given, called in \/config\/www\/nextcloud\/3rdparty\/guzzlehttp\/guzzle\/src\/Middleware.php on line 65","Code":0,"Trace":[{"file":"\/config\/www\/nextcloud\/3rdparty\/guzzlehttp\/guzzle\/src\/Middleware.php","line":65,"function":"create","class":"GuzzleHttp\\Exception\\RequestException","type":"::","args":[{"__class__":"GuzzleHttp\\Psr7\\Request"},"*** sensitive parameter replaced ***"]},{"file":"\/config\/www\/nextcloud\/3rdparty\/guzzlehttp\/promises\/src\/Promise.php","line":203,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parame" while reading response header from upstream, client: 172.20.0.3, server: _, request: "GET /index.php/settings/admin/overview HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "domain_changed_for_log.dynvpn.de:443"
2019/02/05 12:26:32 [error] 311#311: *664 FastCGI sent in stderr: "PHP message: {"reqId":"EJqG40W7eViKlyhtFnfm","level":3,"time":"2019-02-05T11:26:32+00:00","remoteAddr":"172.20.0.3","user":"test_user","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"count(): Parameter must be an array or an object that implements Countable at \/config\/www\/nextcloud\/apps\/onlyoffice\/lib\/appconfig.php#477","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/72.0.3626.81 Safari\/537.36","version":"14.0.3.0"}" while reading response header from upstream, client: 172.20.0.3, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "domain_changed_for_log.dynvpn.de:443"
2019/02/05 12:26:32 [error] 311#311: *664 FastCGI sent in stderr: "PHP message: {"reqId":"EJqG40W7eViKlyhtFnfm","level":3,"time":"2019-02-05T11:26:32+00:00","remoteAddr":"172.20.0.3","user":"test_user","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"fopen(\/data\/nextcloud.log): failed to open stream: Permission denied at \/config\/www\/nextcloud\/lib\/private\/Log\/File.php#136","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/72.0.3626.81 Safari\/537.36","version":"14.0.3.0"}" while reading upstream, client: 172.20.0.3, server: _, request: "GET /index.php/apps/files/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "domain_changed_for_log.dynvpn.de:443"
Someone had this error or knows how to resolve?
Best regards,
Christian