to upgrade from 22.2.04 (i think) to 22.2.10.
then i tried:
sudo -u www-data php /var/www/nextcloud/occ
but i got this error message:
This version of Nextcloud is not compatible with > PHP 8.0. You are currently running 8.2.7.#
i’m not sure if i need to run the occ upgrade after every nextcloud upgrade, or only when i’m at the last current version.
but when i ran
sudo -u www-data php /var/www/nextcloud/updater/updater.phar
again, i got this:
Steps that will be executed:
[] Check for expected files
[] Check for write permissions
[] Create backup
[] Downloading
[] Verify integrity
[] Extracting
[] Enable maintenance mode
[] Replace entry points
[] Delete old files
[] Move new files in place
[] Done
Continue update? [y/N] n
so basically update version and current version are the same.
not working for me…
i’m on nc 22.2.10…
i think it runs php7.4 or so…
i tried your sed script:
╰─# sed -i ‘s/>= 80200/>= 80300/’ /var/www/nextcloud/lib/versioncheck.php
and then
sudo -u www-data php /var/www/nextcloud/updater/updater.phar
also tried
╰─# sed -i 's/>= 70000/>= 80300/' /var/www/nextcloud/lib/versioncheck.php
ah, not exactly error message, only occ update just said wrong php version, and updater.phar asked if i want to upgrade but is the same version i have already…
anyways, i can’t show you an error message, because i decided to purge and start from scratch…
actually i’m doing that right now…
i can come back to you and tell you how that went, if you’re interested…
i hope i purged everything relevant and start with a new nextcloud without any problems…
thank you for the effort, though…