Nextcloudpi server reached "end of life"

Hi,
I’m running a well working nextcloud instance on an odroid NC2 using NextcloudPi. However, recently I got messages in my android client that the server reached “end of life”. I’m on version 23.0.6.1, which is in fact end of life by now (according to Maintenance and Release Schedule · nextcloud/server Wiki · GitHub).

But I was under the impression that updates of nextcloudpi also update the nextcloud server version. Is that correct? NextcloudPi is version 1.51.1 right now. Shouldn’t it come with a newer nextcloud?

NextcloudPi diagnostics
NextcloudPi version  v1.51.1                                                                                                                                                                                       
NextcloudPi image    NextCloudPi_03-09-19                                                                                                                                                                          
OS                   Debian GNU/Linux 11. 4.14.150-odroidxu4 (armv7l)                                                                                                                                              
automount            yes                                                                                                                                                                                           
USB devices          sda                                                                                                                                                                                           
datadir              /media/myCloudDrive/ncdata                                                                                                                                                                    
data in SD           no                                                                                                                                                                                            
data filesystem      btrfs                                                                                                                                                                                         
data disk usage      1.2T/1.9T                                                                                                                                                                                     
rootfs usage         7.4G/15G                                                                                                                                                                                      
swapfile             /dev/zram2                                                                                                                                                                                    
dbdir                /media/USBdrive/ncdatabase                                                                                                                                                                    
Nextcloud check      ok                                                                                                                                                                                            
Nextcloud version    23.0.6.1                                                                                                                                                                                      
HTTPD service        up                                                                                                                                                                                            
PHP service          up                                                                                                                                                                                            MariaDB service      up                                                                                                                                                                                            Redis service        up                                                                                                                                                                                            HPB service          up                                                                                                                                                                                            Postfix service      up                                                                                                                                                                                            Internet check       ok                                                                                                                                                                                            Public IPv4          ***REMOVED SENSITIVE VALUE***                                                                                                                                                                 Public IPv6          ***REMOVED SENSITIVE VALUE***                                                                                                                                                                 
Port 80              open                                                                                                                                                                                          Port 443             open                                                                                                                                                                                          IP                   ***REMOVED SENSITIVE VALUE***                                                                                                                                                                 Gateway              ***REMOVED SENSITIVE VALUE***                                                                                                                                                                 Interface            enx001e0632bfac                                                                                                                                                                               Certificates         ***REMOVED SENSITIVE VALUE***                                                                                                                                                                 NAT loopback         no                                                                                                                                                                                            Uptime               23:51           
                                                                                                                                                                                                                                                                                                                                                                                                 ```    
Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "1": "192.168.0.192",
            "2": "nextcloudpi.local",
            "3": "nextcloudpi",
            "": "nextcloudpi",
            "14": "nextcloudpi"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/nextcloudpi\/",
        "dbtype": "mysql",
        "version": "23.0.6.1",
        "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***"
        },
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "maintenance": false,
        "logfile": "\/media\/myCloudDrive\/ncdata\/nextcloud.log",
        "loglevel": "2",
        "log_type": "file",
        "theme": "",
        "mail_smtpsecure": "tls",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "jpeg_quality": "60",
        "data-fingerprint": "293bfa2a3f9e1506bc4074ad9d40529b",
        "has_rebuilt_cache": true,
        "htaccess.RewriteBase": "\/",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "tempdirectory": "\/media\/myCloudDrive\/ncdata\/tmp"
    }
}
Database logs
                                                                                                                                                                                                                   
tail: cannot open '/var/log/mysql/*.log' for reading: No such file or directory                                                                                                                                    
                                                                                                                                                                                                                   

Is something wrong with my installation. Should I somehow manually update my nextcloud server?

In Nextcloudpi there are four different update apps included.

  1. unattended upgrades for the OS.
  2. Updates for ncp.
  3. nc-upade-nextcloud for updating Nextcloud
  4. nc-updates-nc-apps for the apps of nextcloud.

All four thing can be done manually or automated.
I think you only aktivated the updates for ncp. Or something went wrong.
Nevertheless, you can update Nextcloud in the WebUI (IP:4443). Please make updates before everything and update always one major version after another.

I have activated all the automatic updates as I understand, see

What I did not do yet is manually updating, see

because so far it seemed to do the updates (you can see the setting is still 14.0.1; I never changed that.).
But I guess I will set this now to 0 as suggested and see what happens.
Thank you for your answer

I have tried now manually updating but without success:

I have set version to Version 0 as suggested by webUI. I got no log output in webUI and a red dot next to the invocation button.
Via `journalctl -f I got:

Apr 12 17:30:43 nextcloudpi sudo[417]: pam_unix(sudo:session): session closed for user root
Apr 12 17:30:45 nextcloudpi sudo[655]:    basti : TTY=pts/0 ; PWD=/home/basti ; USER=root ; COMMAND=/bin/journalctl -f
Apr 12 17:30:45 nextcloudpi sudo[655]: pam_unix(sudo:session): session opened for user root(uid=0) by basti(uid=1001)
Apr 12 17:30:56 nextcloudpi sudo[658]: www-data : PWD=/var/www/ncp-web ; USER=root ; COMMAND=/home/www/ncp-launcher.sh nc-update-nextcloud
Apr 12 17:30:56 nextcloudpi sudo[658]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=33)
Apr 12 17:30:56 nextcloudpi sudo[676]:     root : PWD=/var/www/ncp-web ; USER=www-data ; COMMAND=/usr/bin/php /var/www/nextcloud/occ status
Apr 12 17:30:56 nextcloudpi sudo[676]: pam_unix(sudo:session): session opened for user www-data(uid=33) by (uid=0)
Apr 12 17:30:57 nextcloudpi sudo[676]: pam_unix(sudo:session): session closed for user www-data
Apr 12 17:30:58 nextcloudpi sudo[741]:     root : PWD=/var/www/ncp-web ; USER=www-data ; COMMAND=/usr/bin/php /var/www/nextcloud/occ status
Apr 12 17:30:58 nextcloudpi sudo[741]: pam_unix(sudo:session): session opened for user www-data(uid=33) by (uid=0)
Apr 12 17:30:59 nextcloudpi sudo[741]: pam_unix(sudo:session): session closed for user www-data
Apr 12 17:30:59 nextcloudpi sudo[749]:     root : PWD=/var/www ; USER=www-data ; COMMAND=/usr/bin/php -r include("/var/www/nextcloud/config/config.php"); echo($CONFIG["datadirectory"]);
Apr 12 17:30:59 nextcloudpi sudo[749]: pam_unix(sudo:session): session opened for user www-data(uid=33) by (uid=0)
Apr 12 17:30:59 nextcloudpi sudo[749]: pam_unix(sudo:session): session closed for user www-data
Apr 12 17:30:59 nextcloudpi sudo[752]:     root : PWD=/var/www ; USER=www-data ; COMMAND=/usr/bin/php /var/www/nextcloud/occ status
Apr 12 17:30:59 nextcloudpi sudo[752]: pam_unix(sudo:session): session opened for user www-data(uid=33) by (uid=0)
Apr 12 17:31:00 nextcloudpi sudo[752]: pam_unix(sudo:session): session closed for user www-data
Apr 12 17:31:00 nextcloudpi sudo[761]:     root : PWD=/var/www ; USER=www-data ; COMMAND=/usr/bin/php /var/www/nextcloud/occ status
Apr 12 17:31:00 nextcloudpi sudo[761]: pam_unix(sudo:session): session opened for user www-data(uid=33) by (uid=0)
Apr 12 17:31:00 nextcloudpi sudo[761]: pam_unix(sudo:session): session closed for user www-data
Apr 12 17:31:01 nextcloudpi sudo[658]: pam_unix(sudo:session): session closed for user root

I’m also able to run

 sudo ncp-check-nc-version 
Found update from 23.0.6.1 to 25.0.5. Already notified

but I don’t know how to update

you have to update every major version separatly. So please update from 23.x.x to 24.x.x (always the latest) until you reach the current one 25.0.5

@REAPERSbattlecry, sorry I forgot to mention, I did try to update to the next major version (as it is also suggested by the cli tool) but with the same result. It did not work.

After that I found out that one reason why things don’t work correctly is that

df -h
/dev/zram0       49M   48M     0 100% /var/log

and when that is full operations fail with /usr/local/etc/library.sh: line 321: echo: write error: No space left on device.
Disabling ramlogs solves my update issues and I am running now NC24. I’ll open a new thread about the ramlogs issue.
Thank you @REAPERSbattlecry

1 Like