Struggeling with updates

  • OK, on my OMV some docker iMages are working. But iam struggeling with updates of single containers.

    F.E. Nextcloud with Maria and Swag is working well.

    The images are from linuxserver.io and the Instalation goes well with the How-To from here.

    Each time i have to upgrade the containers im not very happy.

    For the last i did it with watchtower, but now linuxserver.io did not support this metod anymore..

    Any one to push me the right way.....

  • on my OMV some docker iMages are working

    How are you running docker?

    With the compose plugin?


    In other words, how did you launched it?

    But iam struggeling with updates of single containers.

    F.E. Nextcloud with Maria and Swag is working well.

    Those containers run together in the same stack.

    The best way is to bring down the stack, pull the images and recreate.


    The way depends on the answer of the previous question.

    Any one to push me the right way.....

    Same previous answer need.

  • thx Soma


    i think withe the Plugin ??

    My OMV is running for a while, System/Plugins says openmediavault-compose 6.11.3 is installed.

    But Services/Compose/Settings says docker-compose-plugin 2.24.5-1~debian.11~bullseye.


    I tried to ckeck my installation this way but my Containers section looks different as there are shown there.



    and not :


    https://forum.openmediavault.org/wsc/index.php?attachment/30168-42-png/

  • You showed compose plugin and portainer.

    What is needed is to know on which one you launched the STACK.


    If:

    On portainer, on the side menu, you have (IIRC) "STACKS". Click it and show what it's there.

    I don't use it anymore so, I can't show you nothing.


    The way to update the whole STACK (again IIRC) was to select "recreate/duplicate" and checking the box that says "Always pull latest images"

    Or something of that sort.



    If:

    On compose plugin, on the side menu "files", click it and show what it's there.

    In my case, my STACK (file) is (no surprise) nextcloud and that's where I control it:



    The STACK has the services included: nextcloud, mariadb or nextclouddb and swag

    To update the complete STACK (on compose) I just highlight that file and use the buttons on the ribbon, 1st PULL then UP.


    Nothing more to it.


    Only remark is that if you access OMV via WAN, you will have problems since the SWAG will be killed, breaking the connection.

    It has to be done with LAN connection ONLY. (or via wireguard)

  • I did not use portainer until now. (should i ??)
    I did my NC install with a compose file called docker-compose.yml

    As i understand i have to "move" this copletly yml to single files under Services/compose/files ??

    am i right ?

  • As i understand i have to "move" this copletly yml to single files under Services/compose/files ??

    am i right ?

    You can create a single STACK on compose plugin and you will gain the control from there., even on the individual services.

    No need to split the above in various files since it will break the "internal communication" between them.


    The question now is, how did you launched it in the very beginning?

    If you used it via CLI by creating a "docker-compose.yml" with the above code, then you need to go to the folder where you have it and bring it down BEFORE doing anything further.


    This will stop the STACK (don't worry, your DATA/CONFIGs are safe)

    cd /<path-where-the-YML-is>/ If you followed macom guide verbatim, it should be inside the USER id 1000 home.



    docker-compose down


    Then, on compose plugin, you create (symbol + "add) a file named nextcloud (for eg), paste the exact code above inside the "file box" and save.


      


    Accept the changes, highlight nextcloud and then just click button UP.


     

    The STACK will be launched as it was before since there's no changes on the YML.


    To control the full STACK, you go to Files.

    To control individual services, you go to Services:



    There it is.

  • check

    Did it this way, all services (NC) is running as before. Some is still strange.



    Why the Status is n/a ?

    Maybe its the wrong image from ghrc.io/linuxserver/

    On the linuxserevr docs there is now lscr.io /linuxserevr/nextcloud:latest

    nextcloud - LinuxServer.io

    Which is right ?Or how to fix this?


    The next one is how to update this ?

    As u told, Services and pull one, that is ALL to update without make any changes ?

  • Which is right ?Or how to fix this?

    If image shows current, its the latest already.

    If shows available, means there's an update.

    Some shows n/a. This is something OMV can't fix. There's an explanation somewhere on the forum.


    The next one is how to update this ?

    To update a single service, go to services->compose->services and highlight the one you want.

    On the buttons, click pull and then up.

    Service will be recreated with latest image.


    If you want to update a complete STACK, do the same as above but on the files page.


    After it's done and running, clean the old images on the files page by clicking prune button (scissors symbol) and select images

  • tomspatz

    Added the Label resolved
  • Now i check the n/a issue

    Even if it says n/a, you can still update in the same way.

    You just don't have a visual knowing that there's an image update.


    When I find the topic, I'll post it here

  • I've already found it ;)


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!