Nextcloud Truenas -occ update error

Can’t upgrade Nextcloud using command line…Attached is a screenshot of the shell with error.

Try sudo -u www-data php occ and make sure you are on the Nextcloud webroot directory

This is the result everytime I run the command

Which version are you running currently?


So, the message tells you it is not possible to update from v25 to v27 directly.

v25 → v26 → v27


Download the next major version, not the latest one.

1 Like