Hi siamsqure, I managed to figure out the version conflict. I saw this comment from user "vset" and figured out the problem is version statements inside the /config/www/nextcloud/version.php file
Like I said here:
according to my /config/www/nextcloud/config/config.php file, it says Nextcloud 'version' => '25.0.3.2'
according to my /config/www/nextcloud/version.php file, it says Nextcloud $OC_Version = array(26,0,2,1);
You need to edit your version.php to say it is 25.0.3
So what I did was:
stop nextcloud container
edit the container Repository to point to "lscr.io/linuxserver/nextcloud:version-25.0.4" and apply
stop nextcloud container again
back up the text inside config/www/nextcloud/version.php, then open version.php in nano
change from:
<?php
$OC_Version = array(26,0,2,1);
$OC_VersionString = '26.0.2';
$OC_Edition = '';
$OC_Channel = 'stable';
$OC_VersionCanBeUpgradedFrom = array (
'nextcloud' =>
array (
'25.0' => true,
'26.0' => true,
change to:
<?php
$OC_Version = array(25,0,3,2);
$OC_VersionString = '25.0.3';
$OC_Edition = '';
$OC_Channel = 'stable';
$OC_VersionCanBeUpgradedFrom = array (
'nextcloud' =>
array (
'24.0' => true,
'25.0' => true,
save the modified version.php
Start nextcloud container
open a terminal and then run "docker exec -it nextcloud updater.phar"
Now you can follow the directions here and keep updating each Major version
stop nextcloud container
edit the container Repository to point to "lscr.io/linuxserver/nextcloud:version-26.0.2" and apply
open a terminal and then run "docker exec -it nextcloud updater.phar"
eventually you'll hit the version 27.0.0 of nextcloud container where updater.phar is removed. and you won't have to manually update anymore, everything is done within the container. Just make sure you run the log after installing ver 27.0.0