Closed icreaciones closed 1 year ago
Cannot be reproduced, other people don't have issues.
Same issue on two fresh installs of CloudPanel v2.4.1 running on ubuntu 22.04
Setting up cloudpanel (2.4.1-1+clp-jammy) ...
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)
If I symlink that .service file from /usr/lib/systemd/system/clp-nginx.service
it then complains about php-fpm
cp: cannot stat '/tmp/cloudpanel/data/clp/services/php-fpm/systemd/clp-php-fpm.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)
If I symlink that too I then get an error about a files directory
cp: cannot stat '/tmp/cloudpanel/data/cloudpanel/files': 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)
Seems like for whatever reason its trying to read things from the /tmp
directory which don't exist.
@cloudpanel-io is there anymore information I can give you to help replicate it, or I am happy to let you connect to one of the servers which currently has this issue. The server works for cloud panel, its just broken apt so I cant install anything else.
I setup a third server and got the exact same issue. These are LXC containers inside Proxmox running Ubuntu 22.04, and for all three I selected Maria DB. Below is the full output from the installation script if it helps:
@hcaz @icreaciones Find some fix?
@FoxXxHater I just pushed past it, I found most things would install successfully even though this error displayed. So I was able to ignore it to get the things I needed installed
@FoxXxHater I just pushed past it, I found most things would install successfully even though this error displayed. So I was able to ignore it to get the things I needed installed
So you run it with the error and everything works well?
@FoxXxHater seems too, I was able to install some additional packages like htop and magicwormhole etc through apt
CloudPanel version(s) affected
2.3.1
Description
cp: cannot stat '/tmp/cloudpanel/data/clp/services/nginx/systemd/clp-nginx.service': No such file or directory dpkg: error processing package cloudpanel (--configure):
I update the system and clean with script for attack
How to reproduce
apt update or apt install curl or clp-update
Possible Solution
No response
Additional Context
No response