Unable to Rollback Incus Version on IncusOS

After updating to IncusOS 202605310326 (7.1) I have been unable to launch OCI containers. I believe I am seeing the same issue discussed here: Loop while trying to create the final cgroup 10, OCI containers fail to start

In an attempt to resolve in the meantime, I have tried to rollback to 202605281810 (7.0). While I am able to reboot and launch IncusOS with the older version, the Incus application remains at 7.1.

I tried running incus admin os application switch-version incus which does appear to work, showing 7.0.0 when running incus admin os application show incus, however incus version still lists Server version: 7.1 and the issues with OCI persist indicating that the newer version of Incus application is still running.

Any advice to properly rollback Incus while I await a solution for the OCI issues?

An update is coming later today which will fix OCi on 7.1, it’s currently building.

1 Like

@gibmat any idea why switch-version didn’t work here?

Hmm, it looks like we are missing an automatic application restart when switching an application’s version:

$ incus remote switch IncusOS
$ incus version
Client version: 7.0.0
Server version: 7.1
$ incus admin os application show incus
WARNING: The IncusOS API and configuration is subject to change

config:
  lxcfs:
    cpu_shares: false
    load_average: false
state:
  available_versions:
    - "202605281810"
    - "202605311846"
  friendly_version: 7.1 [202605311846]
  initialized: true
  version: "202605311846"
$ incus admin os application switch-version incus -d '{"version":"202605281810"}'
WARNING: The IncusOS API and configuration is subject to change

Are you sure you want to change the running version of the application? (yes/no) [default=no]: yes
$ incus version
Client version: 7.0.0
Server version: 7.1
$ incus admin os application restart incus
WARNING: The IncusOS API and configuration is subject to change

Are you sure you want to restart the application? (yes/no) [default=no]: yes
Error: Post "https://10.234.136.118:8443/os/1.0/applications/incus/:restart": EOF
$ incus version
Client version: 7.0.0
Server version: 7.0.0

I’ll look into this further. I think the current IncusOS release (202605311846) should have the fix, so you can switch back to Incus 7.1 if you haven’t already done so.

Thank you both!

I’ve upgraded in the meantime and am no longer having issues with OCI, but good to know all I needed was an application restart. I will keep that in mind if I have issues rolling back in the future.