mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
apt upgrade fail with a fresh CloudPanel install #191
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chattambulo on 8/30/2024
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