LXC SNAP Upgrade

Reported by: tooliload
Created: 18 days ago
Views: 28

Hi, after Upgrade my Ubuntu to 20.04.1 LTS , i have some errors with LXC Container in TinyCP.

Container running successfully after re-create Symlink with: 

sudo ln -s /var/snap/lxd/common/lxd /var/lib/lxd

Error with get Container List in TinyCP:

  at TL.API.Sys.LXD.LXD.get_Containers () [0x002f3] in <f0d4d712c200487297e27bcf431ccac4>:0 
at TL.API.Sys.LXD.LXDEP.ContainerList () [0x00001] in <f0d4d712c200487297e27bcf431ccac4>:0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007c] in <12b418a7818c4ca0893feeaaf67f1e7f>:0

Container List:

root@srv18:~# lxc list
+-----------------------+---------+----------------------+----------------------------------------------+-----------+-----------+----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | LOCATION |
+-----------------------+---------+----------------------+----------------------------------------------+-----------+-----------+----------+
| GROUPWARE01-CLIENTS01 | STOPPED | | | CONTAINER | 0 | SRV18 |
+-----------------------+---------+----------------------+----------------------------------------------+-----------+-----------+----------+
| WEB01-CLIENTS01 | RUNNING | 10.148.71.101 (eth0) | fd42:e117:21e:d26e:216:3eff:fe36:72e7 (eth0) | CONTAINER | 3 | SRV18 |
+-----------------------+---------+----------------------+----------------------------------------------+-----------+-----------+----------+

Can you help, to make TinyCP run again with new Ubuntu 20.04.1 LTS?

If you have some PHP Code or similar, i can try to fix this. Search DEV for TinyCP?

Dear
,

Join our Discord server
Write a reply Edit a reply