NCP - Cannot determine NCP version and cannot perform an update

Support intro

No version information availabe for nextcoudpi.
Also the ncp-update fais.

Nextcloud version (eg, 12.0.2): -unknown-
Operating system and version (eg, Ubuntu 17.04): Raspbian GNU/Linux 10 (buster)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.38 (Raspbian)
PHP version (eg, 7.1): PHP 7.3.14-1~deb10u1

The issue you are facing:
No nextcloudpi version is shown, wheter in the admin web page, nor when running ncp-report.
Also ncp-update is not working.
Please take a look at the log outputs below for detailed information.

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

Steps to replicate it:

  1. Call ´sudo ncp-update´

The output of /usr/local/etc/ncp.cfg

{
  "nextcloud_version": "18.0.1",
  "php_version": "7.3",
  "release": "buster"
}

The output of ncp-report:

NextCloudPi diagnostics

NextCloudPi version
distribution         Raspbian GNU/Linux 10 \n \l
automount            yes
USB devices          sda sdb sdc 
datadir              /mnt/raid5/cloud
data in SD           no
data filesystem      ext2/ext3
data disk usage      184M/7.3T
rootfs usage         2.3G/29G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    17.0.2.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
Postfix service      up
internet check       ok
port check 80        open
port check 443       open
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
uptime               2days

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "11": "2001:871:21e:e72d:310c:5e92:d552:af09",
            "1": "10.0.0.253",
            "5": "nextcloudpi.local",
            "7": "nextcloudpi",
            "8": "nextcloudpi.lan",
            "3": "davidjulia.pii.at",
            "2": "davidjulia.pii.at",
            "12": "davidjulia.pii.at"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "17.0.2.1",
        "overwrite.cli.url": "https:\/\/davidjulia.pii.at\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/mnt\/raid5\/cloud\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "loglevel": "2",
        "log_type": "file",
        "maintenance": false,
        "logfile": "\/mnt\/raid5\/cloud\/nextcloud.log",
        "htaccess.RewriteBase": "\/"
    }
}

HTTPd logs

[Wed Mar 04 13:20:57.202121 2020] [authz_host:error] [pid 20657:tid 2839421984] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:20:57.785449 2020] [authz_host:error] [pid 20657:tid 2839421984] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:21:01.590552 2020] [authz_host:error] [pid 20657:tid 2814227488] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:21:36.382408 2020] [authz_host:error] [pid 20657:tid 2814227488] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:21:36.382962 2020] [authz_host:error] [pid 20657:tid 2839421984] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Wed Mar 04 13:21:36.386559 2020] [authz_host:error] [pid 20657:tid 2847814688] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /img/green-circle.svg failed, reason: unable to get the remote host name, referer: https://davidjulia.pii.at:4443/css/ncp.css
[Wed Mar 04 13:21:36.475924 2020] [authz_host:error] [pid 20657:tid 2839421984] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Wed Mar 04 13:21:36.476219 2020] [authz_host:error] [pid 20657:tid 2839421984] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:21:36.574419 2020] [authz_host:error] [pid 20657:tid 2839421984] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:21:43.143254 2020] [authz_host:error] [pid 20657:tid 2755421216] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:21:43.310824 2020] [authz_host:error] [pid 20657:tid 2839421984] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:21:47.793157 2020] [authz_host:error] [pid 20657:tid 2755421216] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:21:47.840426 2020] [authz_host:error] [pid 20657:tid 2755421216] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:35:01.683852 2020] [authz_host:error] [pid 20657:tid 2755421216] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Wed Mar 04 13:35:01.776947 2020] [authz_host:error] [pid 20657:tid 2755421216] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Wed Mar 04 13:35:01.777272 2020] [authz_host:error] [pid 20657:tid 2755421216] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:35:01.867413 2020] [authz_host:error] [pid 20657:tid 2755421216] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:35:02.109376 2020] [proxy_fcgi:error] [pid 20657:tid 2755421216] [client 10.0.0.11:54742] AH01071: Got error 'PHP message: PHP Notice:  Undefined index: app in /var/www/ncp-web/index.php on line 238PHP message: PHP Notice:  Undefined index: app in /var/www/ncp-web/index.php on line 244'
[Wed Mar 04 13:35:02.608137 2020] [authz_host:error] [pid 20657:tid 2755421216] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Wed Mar 04 13:35:02.726616 2020] [authz_host:error] [pid 20657:tid 2814227488] [client 10.0.0.11:54742] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name

Nextcloud logs

{"reqId":"L4WA4uTvGXo637Y51tre","level":3,"time":"2020-02-07T09:45:01+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":{"Exception":"Exception","Message":"Not installed","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":646,"function":"checkInstalled","class":"OC","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1078,"function":"init","class":"OC","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/cron.php","line":41,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/base.php","Line":277,"CustomMessage":"--"},"userAgent":"--","version":"17.0.2.1"}
{"reqId":"Xlgp27z4LzTxMreKZb5VoQAAAwA","level":3,"time":"2020-02-27T20:43:08+00:00","remoteAddr":"10.0.0.21","user":"--","app":"core","method":"GET","url":"\/index.php\/apps\/files\/api\/v1\/recent","message":{"Exception":"Doctrine\\DBAL\\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":420,"function":"connect","class":"OC\\DB\\Connection","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":380,"function":"getDatabasePlatformVersion","class":"Doctrine\\DBAL\\Connection","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":324,"function":"detectDatabasePlatform","class":"Doctrine\\DBAL\\Connection","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/Connection.php","line":683,"function":"getDatabasePlatform","class":"Doctrine\\DBAL\\Connection","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/DB\/Connection.php","line":151,"function":"setTransactionIsolation","class":"Doctrine\\DBAL\\Connection","type":"->","args":[2]},{"file":"\/var\/www\/nextcloud\/3rdparty\/doctrine\/dbal\/lib\/Doctrine\/DBAL\/DriverManager.php","line":195,"function":"__construct","class":"OC\\DB\\Connection","type":"->","args":[{"adapter":"OC\\DB\\AdapterMySQL","charset":"utf8mb4","driver":"pdo_mysql","wrapperClass":"OC\\DB\\Connection","driverOptions":{"1005":true},"user":"ncadmin","password":"6UKp6NS6cAksd8YSMhgcBjWjGbJ+c4bUoy7AfrGcSAE=","host":"localhost","dbname":"nextcloud","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8mb4_bin","charset":"utf8mb4","row_format":"compressed","tablePrefix":"oc_"}},{"__class__":"Doctrine\\DBAL\\Driver\\PDOMySql\\Driver"},{"__class__":"Doctrine\\DBAL\\Configuration"},{"__class__":"Doctrine\\Common\\EventManager"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/DB\/ConnectionFactory.php","line":156,"function":"getConnection","class":"Doctrine\\DBAL\\DriverManager","type":"::","args":[{"adapter":"OC\\DB\\AdapterMySQL","charset":"utf8mb4","driver":"pdo_mysql","wrapperClass":"OC\\DB\\Connection","driverOptions":{"1005":true},"user":"ncadmin","password":"6UKp6NS6cAksd8YSMhgcBjWjGbJ+c4bUoy7AfrGcSAE=","host":"localhost","dbname":"nextcloud","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8mb4_bin","charset":"utf8mb4","row_format":"compressed","tablePrefix":"oc_"}},{"__class__":"Doctrine\\DBAL\\Configuration"},{"__class__":"Doctrine\\Common\\EventManager"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":635,"function":"getConnection","class":"OC\\DB\\ConnectionFactory","type":"->","args":["mysql",{"user":"ncadmin","password":"6UKp6NS6cAksd8YSMhgcBjWjGbJ+c4bUoy7AfrGcSAE=","host":"localhost","dbname":"nextcloud","tablePrefix":"oc_","sqlite.journal_mode":"WAL","defaultTableOptions":{"collate":"utf8mb4_bin","charset":"utf8mb4","row_format":"compressed","tablePrefix":"oc_"}}]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OCP\\IDBConnection"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":161,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCP\\IDBConnection"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":114,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["DatabaseConnection"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":1554,"function":"query","class":"OC\\ServerContainer","type":"->","args":["DatabaseConnection"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":362,"function":"getDatabaseConnection","class":"OC\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Authentication\\Token\\DefaultTokenMapper"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":69,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Authentication\\Token\\DefaultTokenMapper",true]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":99,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"name":"OC\\Authentication\\Token\\DefaultTokenProvider","__class__":"ReflectionClass"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":114,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Authentication\\Token\\DefaultTokenProvider"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":145,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Authentication\\Token\\DefaultTokenProvider",true]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":69,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Authentication\\Token\\DefaultTokenProvider",true]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":99,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"name":"OC\\Authentication\\Token\\Manager","__class__":"ReflectionClass"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":114,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Authentication\\Token\\Manager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":145,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OC\\Authentication\\Token\\Manager",true]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":161,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Authentication\\Token\\Manager"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":114,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\Authentication\\Token\\IProvider"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":374,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\Authentication\\Token\\IProvider"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\User\\Session"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":161,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\User\\Session"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":114,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["UserSession"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":1430,"function":"query","class":"OC\\ServerContainer","type":"->","args":["UserSession"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":688,"function":"getUserSession","class":"OC\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["OC\\App\\AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/Utility\/SimpleContainer.php","line":161,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OC\\App\\AppManager"]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":114,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":1725,"function":"query","class":"OC\\ServerContainer","type":"->","args":["AppManager"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":346,"function":"getAppManager","class":"OC\\Server","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":114,"function":"getEnabledApps","class":"OC_App","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":640,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"\/var\/www\/nextcloud\/lib\/base.php","line":1078,"function":"init","class":"OC","type":"::","args":[]},{"file":"\/var\/www\/nextcloud\/index.php","line":40,"args":["\/var\/www\/nextcloud\/lib\/base.php"],"function":"require_once"}],"File":"\/var\/www\/nextcloud\/lib\/private\/DB\/Connection.php","Line":64,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.122 Safari\/537.36","version":"17.0.2.1"}
{"reqId":"Xlgp27z4LzTxMreKZb5VoQAAAwA","level":3,"time":"2020-02-27T20:43:09+00:00","remoteAddr":"10.0.0.21","user":"--","app":"core","method":"GET","url":"\/index.php\/apps\/files\/api\/v1\/recent","message":{"Exception":"RedisException","Message":"read error on connection","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","line":54,"function":"get","class":"Redis","type":"->","args":["c2fb465b98742fb40ec76297ca0cc72d\/core.appinfo\/var\/www\/nextcloud\/apps\/federation\/appinfo\/info.xml1576745234"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/InfoParser.php","line":57,"function":"get","class":"OC\\Memcache\\Redis","type":"->","args":["\/var\/www\/nextcloud\/apps\/federation\/appinfo\/info.xml1576745234"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/App\/AppManager.php","line":466,"function":"parse","class":"OC\\App\\InfoParser","type":"->","args":["\/var\/www\/nextcloud\/apps\/federation\/appinfo\/info.xml"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":555,"function":"getAppInfo","class":"OC\\App\\AppManager","type":"->","args":["federation",false,null]},{"file":"\/var\/www\/nextcloud\/lib\/private\/AppFramework\/App.php","line":66,"function":"getAppInfo","class":"OC_App","type":"::","args":["federation"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":240,"function":"buildAppNamespace","class":"OC\\AppFramework\\App","type":"::","args":["federation"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/app.php","line":120,"function":"registerAutoloading","class":"OC_App","type":"::","args":["federation","\/var\/www\/nextcloud\/apps\/federation"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/util.php","line":196,"function":"loadApps","class":"OC_App","type":"::","args":[["filesystem"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Filesystem.php","line":266,"function":"setupFS","class":"OC_Util","type":"::","args":[""]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":291,"function":"getMountManager","class":"OC\\Files\\Filesystem","type":"::","args":[null]},{"file":"\/var\/www\/nextcloud\/3rdparty\/pimple\/pimple\/src\/Pimple\/Container.php","line":118,"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/ServerContainer.php","line":120,"function":"offsetGet","class":"Pimple\\Container","type":"->","args":["RootFolder"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Server.php","line":313,"function":"query","class":"OC\\ServerContainer","type":"->","args":["RootFolder"]},{"function":"OC\\{closure}","class":"OC\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/LazyRoot.php","line":61,"function":"call_user_func","args":[{"__class__":"Closure"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/LazyRoot.php","line":141,"function":"__call","class":"OC\\Files\\Node\\LazyRoot","type":"->","args":["get",["appdata_oc57uevz9lic\/js\/core"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/AppData\/AppData.php","line":140,"function":"get","class":"OC\\Files\\Node\\LazyRoot","type":"->","args":["appdata_oc57uevz9lic\/js\/core"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/JSCombiner.php","line":94,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->","args":["core"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/JSResourceLocator.php","line":114,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["\/var\/www\/nextcloud","core\/js\/merged-template-prepend.json","core"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/JSResourceLocator.php","line":70,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["\/var\/www\/nextcloud","core\/js\/merged-template-prepend.json"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/ResourceLocator.php","line":78,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["js\/merged-template-prepend"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/TemplateLayout.php","line":341,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core\/js\/dist\/main","js\/merged-template-prepend","search\/js\/search","core\/l10n\/en","search\/l10n\/en","search\/js\/searchprovider","js\/files\/fileinfo","js\/files\/client"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/TemplateLayout.php","line":169,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core\/js\/dist\/main","js\/merged-template-prepend","search\/js\/search","core\/l10n\/en","search\/l10n\/en","search\/js\/searchprovider","js\/files\/fileinfo","js\/files\/client"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/template.php","line":183,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["error",""]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/Base.php","line":131,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/template.php","line":332,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/index.php","line":69,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[{"__class__":"Doctrine\\DBAL\\DBALException"},500]}],"File":"\/var\/www\/nextcloud\/lib\/private\/Memcache\/Redis.php","Line":54,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.122 Safari\/537.36","version":"17.0.2.1"}

Output of the ncp-update command:

Downloading updates
Performing updates
/usr/local/etc/library.sh: line 263: [: v0: integer expression expected
/usr/local/etc/library.sh: line 265: [: v0: integer expression expected
/usr/local/etc/library.sh: line 267: [: v0: integer expression expected
/usr/local/etc/library.sh: line 263: [: v0: integer expression expected
/usr/local/etc/library.sh: line 265: [: v0: integer expression expected
/usr/local/etc/library.sh: line 267: [: v0: integer expression expected
/usr/local/etc/library.sh: line 263: [: v0: integer expression expected
/usr/local/etc/library.sh: line 265: [: v0: integer expression expected
/usr/local/etc/library.sh: line 267: [: v0: integer expression expected
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Cannot load Zend OPcache - it was already loaded
Config value jpeg_quality for app preview set to 60
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Failed to enable unit: Unit file haveged.service does not exist.

Seen this one somewhere before…

Think you can just create the version file, if it doesnt exist.

sudo nano /usr/local/etc/ncp-version

My current up-to-date contains: v1.21.0
Add any lower version,as for example v1.17.0 and it should update, when running ncp-update again.

Thank you for your fast response - that worked for me :slightly_smiling_face: