Closed chattambulo closed 1 month ago
Your facing this issue because your using Linux container and isn’t supported. To check that do
sudo apt install virt-what
It will show the error again but the package virt-what is most likely to install.
virt-what
Use this command to check what type of virtualization your Linux server.
CloudPanel currently don’t support Linux Containers such as lxc, lxd, openvz, etc… but only Virtual Machines.
Even though back in 2021, Linux Containers support can be expected in v2 of CloudPanel but it’s still not implemented yet.
https://www.cloudpanel.io/blog/cloudpanel-v2-what-to-expect-from-the-next-version/
CloudPanel version(s) affected
2.4.2
Description
Ubuntu 24.04, fresh installed. CloudPanel 2.4.2 (MySQL version) fresh installed and fully working. If I try an "apt upgrade":
Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done The following upgrades have been deferred due to phasing: cloud-init 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up cloudpanel (2.4.2-4+clp-noble) ... cp: cannot stat '/tmp/cloudpanel/data/clp/services/nginx/systemd/clp-nginx.service': No such file or directory dpkg: error processing package cloudpanel (--configure): installed cloudpanel package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: cloudpanel E: Sub-process /usr/bin/dpkg returned an error code (1)
How to reproduce
Ubuntu 24.04, fresh installed. CloudPanel 2.4.2 (MySQL version) fresh installed and working. Please try an "apt upgrade" from SSH. It seems a bug, tryng the tmp folder to start services (also php, if I create an empty file for ngnix servive start).
Possible Solution
No response
Additional Context
No response