Update 15.0.5 to 15.0.6 Fails

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2):15.05
Operating system and version (eg, Ubuntu 17.04):Ubuntu 18.4
Apache or nginx version (eg, Apache 2.4.25): Nginx
PHP version (eg, 7.1):

The issue you are facing:Update fails with what looks like a permissions error, the data directroy is on an SMB share and has been since V13 without this issue.
The share mounts fine I can read write mkdir,rmdir and such from the console.
The updater checks write permissions and contiunes all the way to moving files and fails with could not rename /media/cloud/blablabla to /usr/share/nginx/nextcloud/updater/…/ if I retry update it just gives same error for different file ‘hence blablabla’

Is this the first time you’ve seen this error? (Y/N):Y

Steps to replicate it:

  1. Start update from web

The output of your Nextcloud log in Admin > Logging:

{"reqId":"yZODgDcw74EEqIejYzW2","level":3,"time":"2019-04-05T08:11:41+00:00","remoteAddr":"192.168.7.252","user":"Micheal","app":"files_antivirus","method":"PUT","url":"\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","message":{"Exception":"RuntimeException","Message":"The antivirus executable could not be found at \/usr\/bin\/clamscan","Code":0,"Trace":[{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/files_antivirus\/lib\/Scanner\/ScannerFactory.php","line":58,"function":"__construct","class":"OCA\\Files_Antivirus\\Scanner\\Local","type":"->","args":[{"__class__":"OCA\\Files_Antivirus\\AppConfig"},{"__class__":"OC\\AppFramework\\Logger"},{"__class__":"OCA\\Files_Antivirus\\StatusFactory"}]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/files_antivirus\/lib\/AvirWrapper.php","line":107,"function":"getScanner","class":"OCA\\Files_Antivirus\\Scanner\\ScannerFactory","type":"->","args":[]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/files_antivirus\/lib\/AvirWrapper.php","line":92,"function":"wrapSteam","class":"OCA\\Files_Antivirus\\AvirWrapper","type":"->","args":["uploads\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195.ocTransferId832129369.part",null]},{"file":"\/usr\/share\/nginx\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php","line":630,"function":"writeStream","class":"OCA\\Files_Antivirus\\AvirWrapper","type":"->","args":["uploads\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195.ocTransferId832129369.part",null,null]},{"file":"\/usr\/share\/nginx\/nextcloud\/lib\/private\/Files\/Storage\/Wrapper\/Wrapper.php","line":630,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["uploads\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195.ocTransferId832129369.part",null,null]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/File.php","line":182,"function":"writeStream","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["uploads\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195.ocTransferId832129369.part",null]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/lib\/Connector\/Sabre\/Directory.php","line":156,"function":"put","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->","args":[null]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/lib\/Upload\/UploadFolder.php","line":39,"function":"createFile","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->","args":["0000000000000000-0000000001583195",null]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":1096,"function":"createFile","class":"OCA\\DAV\\Upload\\UploadFolder","type":"->","args":["0000000000000000-0000000001583195",null]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php","line":525,"function":"createFile","class":"Sabre\\DAV\\Server","type":"->","args":["uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195",null,null]},{"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->","args":[{"absoluteUrl":"https:\/\/vault.finane.eu\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php","line":105,"function":"call_user_func_array","args":[[{"__class__":"Sabre\\DAV\\CorePlugin"},"httpPut"],[{"absoluteUrl":"https:\/\/vault.finane.eu\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":479,"function":"emit","class":"Sabre\\Event\\EventEmitter","type":"->","args":["method:PUT",[{"absoluteUrl":"https:\/\/vault.finane.eu\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]]},{"file":"\/usr\/share\/nginx\/nextcloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php","line":254,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->","args":[{"absoluteUrl":"https:\/\/vault.finane.eu\/remote.php\/dav\/uploads\/Micheal\/92d9c6982730939f9aed6adac334019b\/0000000000000000-0000000001583195","__class__":"Sabre\\HTTP\\Request"},{"__class__":"Sabre\\HTTP\\Response"}]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/lib\/Server.php","line":301,"function":"exec","class":"Sabre\\DAV\\Server","type":"->","args":[]},{"file":"\/usr\/share\/nginx\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->","args":[]},{"file":"\/usr\/share\/nginx\/nextcloud\/remote.php","line":163,"args":["\/usr\/share\/nginx\/nextcloud\/apps\/dav\/appinfo\/v2\/remote.php"],"function":"require_once"}],"File":"\/usr\/share\/nginx\/nextcloud\/apps\/files_antivirus\/lib\/Scanner\/Local.php","Line":43,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Android) ownCloud-android\/3.6.0 RC3","version":"15.0.5.3"}
{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/usr\/bin\/clamscan","userAgent":"--","version":"15.0.5.3"}
{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/usr\/bin\/clamscan","userAgent":"--","version":"15.0.5.3"}
{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/usr\/bin\/clamscan","userAgent":"--","version":"15.0.5.3"}
{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/usr\/bin\/clamscan","userAgent":"--","version":"15.0.5.3"}
{"reqId":"fP4emEJt6ZyNvQSFXyoy","level":4,"time":"2019-04-05T08:15:02+00:00","remoteAddr":"","user":"--","app":"files_antivirus","method":"","url":"--","message":"OCA\\Files_Antivirus\\BackgroundJob\\BackgroundScanner::run, exception: The antivirus executable could not be found at \/
PASTE HERE

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

PASTE HERE
```<?php
$CONFIG = array (
  'instanceid' => '*********',
  'passwordsalt' => '****************',
  'secret' => '*****************',
  'trusted_domains' => 
  array (
    0 => 'gh.fj.fg',
  ),
  'datadirectory' => '/media/cloud',
  'overwrite.cli.url' => 'https://gh.fj.fg',
  'dbtype' => 'mysql',
  'version' => '15.0.5.3',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => '*****',
  'dbpassword' => '********',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'memcache.locking' => '\\OC\\Memcache\\Redis',

  'maintenance' => true,
  'theme' => '',
  'loglevel' => 2,
  'updater.release.channel' => 'stable',
  'updater.secret' => '***************************',


The output of your Apache/nginx/system log in `/var/log/____`:

PASTE HERE

2019/04/05 09:38:41 [error] 1953#1953: *9974 FastCGI sent in stderr: "PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/.htaccess,/usr/share/nginx/nextcloud/updater/../.htaccess): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/.user.ini,/usr/share/nginx/nextcloud/updater/../.user.ini): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/.drone.yml,/usr/share/nginx/nextcloud/updater/../3rdparty/.drone.yml): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/autoload.php,/usr/share/nginx/nextcloud/updater/../3rdparty/autoload.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/composer.json,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/composer.json): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/LICENSE.md,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/LICENSE.md): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/NOTICE.md,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/NOTICE.md): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Acm/AcmClient.php,/usr/sh
2019/04/05 09:38:41 [error] 1953#1953: *9974 FastCGI sent in stderr: "/Api/AbstractModel.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Api/ApiProvider.php,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/src/Api/ApiProvider.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Api/DocModel.php,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/src/Api/DocModel.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/JsonRpcErrorParser.php,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/JsonRpcErrorParser.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning:  rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/RestJsonErrorParser.php,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/Re
2019/04/05 09:38:41 [error] 1953#1953: *9974 FastCGI sent in stderr: "xtcloud/3rdparty/aws/aws-sdk-php/src/Api/Parser/Crc32ValidatingParser.php,/usr/share/nginx/nextcloud/updater/../3rdparty/aws/aws-sdk-php/src/Api/Parser/Crc32ValidatingParser.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "POST /updater/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu", referrer: "https://vault.finane.eu/updater/"
2019/04/05 09:39:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 09:39:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 09:44:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 09:44:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 09:49:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 09:49:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 09:54:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 09:54:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 09:59:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 09:59:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 10:04:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 10:04:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 10:09:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 10:09:19 [error] 1953#1953: *9884 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 10:14:19 [error] 1953#1953: *10260 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 10:14:19 [error] 1953#1953: *10260 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 10:19:19 [error] 1953#1953: *10260 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 10:19:19 [error] 1953#1953: *10260 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 10:24:19 [error] 1953#1953: *10260 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"
2019/04/05 10:24:19 [error] 1953#1953: *10260 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "vault.finane.eu"

Sorry I have no idea what to do with that or if it has anything to do with updating as the server works perfect and has updated without this issue all the way to 15.0.5 thanks.

if you can, try to update via cli - I had way less problems with updating since doing the ‘less fancy stuff’ :slight_smile:

if you need help on how to update via command line (in my case ubuntu 18.04 as well), let me know.

Thanks victorbw I have done that before and will need to scrub up on that again, thanks for the offer I will certainly hit you up if I get stuck much appreciated.:slight_smile: I’m just hoping for a time where updating becomes less of a hassle, I have built Nextcloud from scratch about 4 times from Snap to Ubuntu 18.4 VM for various reasons like mistakes I made there are so many conflicting guides out there that it’s hard to know what is the best setup so I will stick with nginx for now and wait for 16 and do CLI again thank you :slight_smile:

It basically says “we need more logs”. :slight_smile: Please search for the php error log.

Sometime, when upgrading the OS … the /media Directory will change its permission.
/media should be (because it’s the path of your data path) of permission: 0770

Hi thanks for clarifying :slight_smile: here is what I found /var/log/nginx/error.log

2019/04/05 12:27:10 [error] 1953#1953: *9878 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192, server: , request: “GET /status.php HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock”, host: “”
2019/04/05 12:27:17 [error] 1953#1953: *9880 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.7.252, server: , request: “PROPFIND /remote.php/dav/files/Micheal/ HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock”, host: “”
2019/04/05 12:27:42 [error] 1953#1953: *9882 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.7.252, server: , request: “GET /status.php HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock”, host: “vault.finane.eu”
2019/04/05 17:30:30 [crit] 1953#1953: *13286 SSL_do_handshake() failed (SSL: error:1420918C:SSL routines:tls_early_post_process_client_hello:version too low) while SSL handshaking, client: 216.218.206.68, server: 0.0.0.0:443
2019/04/05 18:55:36 [crit] 1939#1939: *2 connect() to unix:/run/php/php7.2-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.7.252, server: , request: “GET /status.php HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock:”, host: “”
2019/04/05 18:55:38 [crit] 1939#1939: *4 connect() to unix:/run/php/php7.2-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.7.252, server: vault.finane.eu, request: “GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock:”, host: “vault.finane.eu”
2019/04/05 18:57:53 [error] 1939#1939: *10 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: “POST /updater/index.php HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock”, host: “vault.finane.eu”, referrer: “/updater/”
2019/04/05 19:00:39 [error] 1939#1939: *102 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: “POST /updater/index.php HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock”, host: “vault.finane.eu”, referrer: “htt//vault.finane.eu/updater/”
2019/04/05 19:04:17 [error] 1939#1939: *171 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: “POST /updater/index.php HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock”, host: “vault.finane.eu”, referrer: “htt//vault.finane.eu/updater/”
2019/04/05 19:07:18 [error] 1939#1939: *336 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: “POST /updater/index.php HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock”, host: “vault.finane.eu”, referrer: “htt://vault.finane.eu/updater/”
2019/04/05 19:07:58 [error] 1939#1939: *336 FastCGI sent in stderr: "PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/.htaccess,/usr/share/nginx/nextcloud/updater/…/.htaccess): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/.user.ini,/usr/share/nginx/nextcloud/updater/…/.user.ini): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/.drone.yml,/usr/share/nginx/nextcloud/updater/…/3rdparty/.drone.yml): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/autoload.php,/usr/share/nginx/nextcloud/updater/…/3rdparty/autoload.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/composer.json,/usr/share/nginx/nextcloud/updater/…/3rdparty/aws/aws-sdk-php/composer.json): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/LICENSE.md,/usr/share/nginx/nextcloud/updater/…/3rdparty/aws/aws-sdk-php/LICENSE.md): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/NOTICE.md,/usr/share/nginx/nextcloud/updater/…/3rdparty/aws/aws-sdk-php/NOTICE.md): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Acm/AcmClient.php,/usr/sha
2019/04/05 19:07:58 [error] 1939#1939: *336 FastCGI sent in stderr: "/Api/AbstractModel.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Api/ApiProvider.php,/usr/share/nginx/nextcloud/updater/…/3rdparty/aws/aws-sdk-php/src/Api/ApiProvider.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php,/usr/share/nginx/nextcloud/updater/…/3rdparty/aws/aws-sdk-php/src/Api/DateTimeResult.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Api/DocModel.php,/usr/share/nginx/nextcloud/updater/…/3rdparty/aws/aws-sdk-php/src/Api/DocModel.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php,/usr/share/nginx/nextcloud/updater/…/3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/JsonRpcErrorParser.php,/usr/share/nginx/nextcloud/updater/…/3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/JsonRpcErrorParser.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005
PHP message: PHP Warning: rename(/media/cloud/updater-och0h5jx8ajs/downloads/nextcloud/3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/RestJsonErrorParser.php,/usr/share/nginx/nextcloud/updater/…/3rdparty/aws/aws-sdk-php/src/Api/ErrorParser/Res
2019/04/05 19:07:58 [error] 1939#1939: *336 FastCGI sent in stderr: “xtcloud/3rdparty/aws/aws-sdk-php/src/Api/Parser/Crc32ValidatingParser.php,/usr/share/nginx/nextcloud/updater/…/3rdparty/aws/aws-sdk-php/src/Api/Parser/Crc32ValidatingParser.php): Operation not permitted in /usr/share/nginx/nextcloud/updater/index.php on line 1005” while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: “POST /updater/index.php HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock:”, host: “vault.finane.eu”, referrer: “htt://vault.finane.eu/updater/”
2019/04/05 19:09:16 [error] 1939#1939: *45 FastCGI sent in stderr: “PHP message: PHP Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
PHP message: PHP Fatal error: Unknown: Failed opening required ‘/usr/share/nginx/nextcloud/ocs/v2.php’ (include_path=’.:/usr/share/php’) in Unknown on line 0” while reading response header from upstream, client: 192.168.7.252, server: vault.finane.eu, request: “GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock:”, host: “vault.finane.eu”

Thanks for the reply but didn’t work.