Tweaked startup script + automatic update

The Basics

Summary of the issue you are facing:

Version
Nextcloud Hub 26 Winter (33.0.0)

Update
A new version is available: Nextcloud 33.0.3
1 app has no compatible version for this Nextcloud version available.

Apps missing compatible version
Nextcloud All-in-One

Steps to replicate it:

  1. So, in an attempt to always be able to run the latest Nextcloud instance, I tweaked the startcommand provided in https://hub.docker.com/r/nextcloud/all-in-one and GitHub - nextcloud/all-in-one: šŸ“¦ The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance. Ā· GitHub (under 3). Assuming that whenever a new mastercontainer becomes available, it will be pulled before docker starts.

  2. cat ~/bin/start_nc.sh

    #!/bin/bash
    # For Linux and without a web server or reverse proxy already in place:
    cNCc="$( sudo docker ps -a | grep aio-mastercontainer | cut -f 1 -d ' ' )"
    sudo docker stop $(docker ps -a -q)
    #sudo docker stop ${cNCc}
    sudo docker rm ${cNCc}
    #sudo docker rm $(docker ps -a -q)
    sudo docker pull ghcr.io/nextcloud-releases/all-in-one:latest
    sudo docker run --env NEXTCLOUD_MOUNT="/cloud_folder/" \
    --env NEXTCLOUD_DATADIR="/cloud_folder" \
    --init --sig-proxy=false --name nextcloud-aio-mastercontainer \
    --restart always --publish 80:80 --publish 8080:8080 --publish 8443:8443 \
    --security-opt label:disable \
    --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
    --volume /var/run/docker.sock:/var/run/docker.sock:ro \
    -d ghcr.io/nextcloud-releases/all-in-one:latest
    
  3. After this startup, I can go to the AIO page on my http://[IP_ADDRESS_HERE]:8080/containers and start the containers

  4. It looks as if there is no update in the all-in-one release where my AIO instance does detect a new version should be available…

Expected Finding

I assume that an AIO instance will only report a new version is available, when it is also installable - that is when a new AIO mastercontainer is available for download.

For now, I think the only way to resolve this, is to wait until a new mastercontainer is published?

Hi there. Did you update to 33 via these instructions?

As far as I know, the 33 / Winter release isn’t available directly from AIO
If you follow that guide again, it should pull the newer Nextcloud release into AIO

Or, alternatively. if you wait a little, I believe then next Master container update will have the latest Nextcloud release.

:stuck_out_tongue: Busted, indeed I wanted the 33.0.0 to test the alternative installation route provided in that post where that release was announced, which succeeded.

So, are you also stating that I only see the update because Nextcloud intance does not sense it was installed using AIO (because it was upgraded in the container instead of via a new mastercontainer)?

The NC updater is seeing it, but there is no compatible AIO release to pull it in.

you can either run the above instructions again manually to pull in 33.0.3, or the next (AIO latest) update should pull it in with all the AIO tweaks.

I will wait for now, but I think even before I saw - in my faint recall - that I saw this situation before, there is an update, but AIO was mentioned under ā€œApps missing compatible versionā€

Hi everyone, see https://github.com/nextcloud/all-in-one/issues/7622#issuecomment-4351483773

Thanks for all your hard work on this. I also saw a branch to make NC33 available in AIO which is still work in progress I suppose.

It is already available in AIOs beta channel as mentioned in the link I’ve sent.