Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Upgrading to Ubuntu 22 - Recreating containers

Scheduled Pinned Locked Moved Support
ubuntuupgrade
6 Posts 2 Posters 199 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • benborgesB Offline
    benborgesB Offline
    benborges
    wrote on last edited by girish
    #1

    So on Friday I launched an upgrade process to move from Ubuntu 20 to Ubuntu 22.
    I followed the doc here https://docs.cloudron.io/guides/upgrade-ubuntu-22/

    And everything appears to be going as planned, but the recreating containers script part is running since Friday and is still not over, progress is still ongoing, I see little dot on my terminal displaying fine every few seconds but I have no idea what this script is doing, there is nothing that indicate containers are being regenerated, the box is literally doing nothing but printing dots on my terminal.

    I'm worried of interrupting the process, I don't know where I am in the process.

    I obviously have full backups and snapshot ready, so I can go back anytime but if I can get this done and finished, I'd rather stay on Ubuntu 22.

    Any hint, is it normal that this container cgroup v2 recreation is taking.....Days & Nights ?

    I had perhaps some 40 containers running, some bigger than others, but nothing out of the ordinary.

    Does it matter for this recreation ?

    box.log output this every few minutes, so I'm thinking the recreation is ongoing and when it's done it should start the platform following the script directive...

    Friday night, saturday, night, sunday, night, Monday morning and it's still printing dots...

    2022-09-12T06:53:23.963Z box:locker Lock unreleased platform_start                                                     
    
    

    BenB

    benborgesB girishG 2 Replies Last reply
    1
  • benborgesB Offline
    benborgesB Offline
    benborges
    replied to benborges on last edited by
    #2

    I went and stopped the process, started it all over again but this time I managed to catch that there is a problem with the script right at the beginning, I can't have the log file because I reverted back to my snapshot of Ubuntu 20

    But the error is about docker network not being able to get an IP fro the box network and when it try it fails but then continue with the "recreation" of containers as if the previous step had worked properly ?

    BenB

    girishG 1 Reply Last reply
    1
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to benborges on last edited by
    #3

    @benborges It shouldn't take so long to recreate containers. Maybe 3-5 minutes, but that's about it.

    Do you have the logs in /home/yellowtent/platformdata/logs/box.log ? Usually, it will have an indication of why things are stuck.

    1 Reply Last reply
    1
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to benborges on last edited by
    #4

    @benborges said in Upgrading to Ubuntu 22 - Recreating containers:

    box.log output this every few minutes

    the message is displayed to indicate that box code itself is running but something is causing the platform to not start/initialization is not completed. Do you have the logs of above these lines? There will be a docker run xxx failing most likely.

    benborgesB 1 Reply Last reply
    1
  • benborgesB Offline
    benborgesB Offline
    benborges
    replied to girish on last edited by
    #5

    When I realized I had been waiting for nothing for 4 days I reverted back to snapshot, so now I'm on Ubuntu 20 and I can't find anything.

    but it's very clear that the process was going on for ever, without even the docker running (even tho the service was active and loaded)

    BenB

    girishG 1 Reply Last reply
    1
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to benborges on last edited by
    #6

    @benborges Ah ok. Maybe you can wait for 7.3. Please update to that and try to update again and we can debug further. There are some cgroup v2 related fixes for Ubuntu 22 in 7.3 which affect docker container creation, it's possible you hit that case.

    1 Reply Last reply
    1

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.