Nextcloud Nightmare re Update Spent 2 Weeks trying to fix nextcloud

Hello Guys
I have been trying for several weeks to fix my Nextcloud reading and reading the docs but i have failed :frowning_with_open_mouth:
So i would really appreciate some help please. I have the offical LS Nextcloud Docker Compase file.
I have it running on Portainer and all has been fine until there was some update 4 to 6 weeks ago whic caught NC out due to compatibility i think.
Advice was to rollback to a previous version and after that i have lost total access.
Database Log

    container_name: nextcloud
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
      - /srv/dev-disk-by-uuid-1b21b65f-12ef-4592-9f0f-38b5369e1b7f/appdata/nextcloud/config:/config
      - /srv/dev-disk-by-uuid-1b21b65f-12ef-4592-9f0f-38b5369e1b7f/appdata/nextcloud/data:/data
      - 449:443
    restart: unless-stopped
    image: mariadb:10.5
    restart: always
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
      - /srv/dev-disk-by-uuid-1b21b65f-12ef-4592-9f0f-38b5369e1b7f/appdata/nextcloud/db:/var/lib/mysql
      - MYSQL_ROOT_PASSWORD=redacted
      - MYSQL_PASSWORD=redacted
      - MYSQL_DATABASE=redacted
      - MYSQL_USER=redacted```

Docs used to try to fix

Just keep getting a 404 error on local ip address or local domain.
Just need to know what i am doing wrong

So looking at  /config/www/nextcloud/config/config.php  it shows

 BUT IN /config/www/nextcloud/version.php it shows 
```$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,
  'owncloud' => 
  array (
    '10.11' => true,```

How can i rectify this so they match and then upgrade correctly ?

If it is not possible is there any way i can back up my db and use it on a new install ?

Hi @OsoPolar - Sounds like a challenging situation.

First thing I would do though is check if the containers are even running.

Second thing is your nextcloud.log.

Third is your web server log. I don’t recall the LinuxServer web server setup at the moment.

Since you’re using a third-party Nextcloud image (LS) you might also try their forum: