[SOLVED] Nexcloud Pi updates aren'y working, read only filesystem

The Basics

  • Nextcloud Server version:
    • Nextcloud Hub 26 Winter (33.0.2)
  • Operating system and version:
    • NextcloudPi v1.57.1 - installed using SD card image, all versions of webservers, etc left as default
  • Is this the first time you’ve seen this error?:
    • Yes (this is the first time I’ve attempted to update)
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • SD card image on Raspbery Pi4
  • Are you using CloudfIare, mod_security, or similar?
    • No

Summary of the issue you are facing:

Updates aren’t working for me (I’m currently on ncp v1.57.1 and Nextcloud Hub 26 Winter, trying to update. However using nc-update through the panel (accessed by my.ip.address:4443) returns:

[ nc-update ] (Mon Jul 27 16:37:27 UTC 2026)
Downloading updates
Performing updates
Cannot load Zend OPcache - it was already loaded
cp: cannot create regular file '/usr/local/etc/library.sh': Read-only file system

and nc-update-nextcloud (leaving version number set as 0) returns:

nc-update-nextcloud write error

Also, trying to set the autoupdate to Active seems to get similar errors (seemingly related to not having write access where required). I don’t understand why it thinks this is a read only filesystem. I originally installed this system early this year following the instructions here, I’ve not intentionally done anything non standard with setting up the filesystems.

You may setup your ssh cli access for further investigations.
Some examples (lxc test server on proxmox):

georg@heka:\~> ssh pi@ncp-ct100 
pi@ncp-ct100's password:  
Last login: Thu Jul 23 14:21:27 2026 from fd44:*********************
**NextCloudPi LXC Container** 
    🌐   Provided by: **community-scripts ORG | GitHub: https://github.com/community-scripts/ProxmoxVE** 

    🖥   OS: **Debian GNU/Linux - Version: 12** 
    🏠   Hostname: **ncp-ct100** 
    💡   IP Address: **192.168.2.58** 
**pi@ncp-ct100**:**\~**$ sudo apt update 
\[sudo\] password for pi:  
Get:1 http://security.debian.org trixie-security InRelease \[43.4 kB\] 
Hit:2 http://deb.debian.org/debian trixie InRelease                                                              
Get:3 http://deb.debian.org/debian trixie-updates InRelease \[47.3 kB\]                                            
Hit:4 https://packages.sury.org/php trixie InRelease                                       
Fetched 90.7 kB in 0s (617 kB/s) 
All packages are up to date.
**pi@ncp-ct100**:**\~**$ php -v 
PHP 8.3.32 (cli) (built: Jul  8 2026 19:10:51) (NTS) 
Copyright (c) The PHP Group 
Zend Engine v4.3.32, Copyright (c) Zend Technologies 
    with Zend OPcache v8.3.32, Copyright (c), by Zend Technologies 
**pi@ncp-ct100**:**\~**$

I do have ssh cli setup already, and sudo apt update and upgrade work fine. It’s trying to run the ncp and nc updates that don’t work. Is there a command line command equivalent to running nc-update or nc-update-nextcloud from the panel?

Of course there are:

i@ncp-ct100:~$ ncp-
ncp-backup                     ncp-config                     ncp-report                     ncp-test-updates
ncp-check-nc-version           ncp-dist-upgrade               ncp-restore                    ncp-update
ncp-check-updates              ncp-notify-unattended-upgrade  ncp-scan                       ncp-update-nc
ncp-check-version              ncp-notify-update              ncp-scan-auto                  
pi@ncp-ct100:~$ ncp-

ncp-update to update to ncp 1.58 this update should be offered at your login screen and announced running sudo ncp-config.

Your update path should be:
ncp 1.57.x → 1.5
ncp-dist-upgrade debian bookworm → debian trixie
check your php version it should be 8.3 always

ncp-update-nc 0

will get you the latest nc server 33.x

(php8.5 nc34.x are not available just now - work in progress)

Great, thanks, should the ncp update commands (e.g. ncp-update-nc 0) be run with sudo privileges?

Yes.
(+ 10 signs)

Thank you, yes that worked. Incidentally, when I tried sudo ncp-config first, then it offered to upgrade to 1.58, but then failed the same way as doing it through the panel did. However running the commands below in sequence (rebooting between each one to make sure each was fully installed) did work:

sudo ncp-update
sudo ncp-dist-upgrade
sudo ncp-update-nc 0