Ive then tried using the CLI update method, and CDed into “/snap/nextcloud/current” folder.
Then ran the “sudo -u www-data php ./occ upgrade” command.
The command state that “php: command not found”, so ive changed directory into php folder under the current folder.
This gave me the same error code.
I would like to provide more logfiles, but im fairly new to Linux, and not really sure there is any logfiles, since the upgrade isnt breaking at nay point?
Thx for the reply, but i dont have an /var/www folder.
Ive tried different commands at the /snap/nextcloud/current folder now, but cant seem to get it working
sudo -u www-data /snap/nextcloud/curren t/bin/php /snap/nextcloud/current/bin/occ upgrade
/snap/nextcloud/current/bin/php: error while loading shared libraries: libmcrypt .so.4: cannot open shared object file: No such file or directory