Skip to content

CloudPanel is broken on Ubuntu 26.04 #797

Description

@starnetwork

CloudPanel version(s) affected

2.5.4

Description

On clean new Ubuntu 26.04, Cloudpanel installation not complete the PHP v8.3 installation, show:
the problem is that on Ubuntu 26.04 there is broken installation, look like this: root@ubuntu-2604:# apt upgrade You might want to run 'apt --fix-broken install' to correct these. Unsatisfied dependencies: php8.3-fpm : Depends: php8.3-common (= 8.3.31-2+clp-resolute) but 8.3.32-1+clp-resolute is installed Error: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). root@ubuntu-2604:# so, apt --fix-broken install try to reinstall both and got the error I presented above

after try to fix with: apt --fix-broken
getting:

Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 2
1 not fully installed or removed.
Space needed: 0 B / 7,485 MB available

Continue? [Y/n] y
Setting up cloudpanel (2.5.4-5+clp-resolute)…
PHP Fatal error: Uncaught Error: Call to undefined function assert() in /home/clp/htdocs/app/files/vendor/doctrine/doctrine-bundle/DependencyInjection/Configuration.php:143
Stack trace:
#0 /home/clp/htdocs/app/files/vendor/doctrine/doctrine-bundle/DependencyInjection/Configuration.php(127): Doctrine\Bundle\DoctrineBundle\DependencyInjection\Configuration->getDbalConnectionsNode()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/1 /home/clp/htdocs/app/files/vendor/doctrine/doctrine-bundle/DependencyInjection/Configuration.php(64): Doctrine\Bundle\DoctrineBundle\DependencyInjection\Configuration->addDbalSection()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/2 /home/clp/htdocs/app/files/vendor/symfony/config/Definition/Processor.php(46): Doctrine\Bundle\DoctrineBundle\DependencyInjection\Configuration->getConfigTreeBuilder()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/3 /home/clp/htdocs/app/files/vendor/symfony/dependency-injection/Extension/Extension.php(109): Symfony\Component\Config\Definition\Processor->processConfiguration()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/4 /home/clp/htdocs/app/files/vendor/doctrine/doctrine-bundle/DependencyInjection/DoctrineExtension.php(85): Symfony\Component\DependencyInjection\Extension\Extension->processConfiguration()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/5 /home/clp/htdocs/app/files/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(76): Doctrine\Bundle\DoctrineBundle\DependencyInjection\DoctrineExtension->load()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/6 /home/clp/htdocs/app/files/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(42): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/7 /home/clp/htdocs/app/files/vendor/symfony/dependency-injection/Compiler/Compiler.php(73): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/8 /home/clp/htdocs/app/files/vendor/symfony/dependency-injection/ContainerBuilder.php(716): Symfony\Component\DependencyInjection\Compiler\Compiler->compile()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/9 /home/clp/htdocs/app/files/vendor/symfony/http-kernel/Kernel.php(538): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/10 /home/clp/htdocs/app/files/vendor/symfony/http-kernel/Kernel.php(767): Symfony\Component\HttpKernel\Kernel->initializeContainer()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/11 /home/clp/htdocs/app/files/vendor/symfony/http-kernel/Kernel.php(128): Symfony\Component\HttpKernel\Kernel->preBoot()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/12 /home/clp/htdocs/app/files/src/Kernel.php(2): Symfony\Component\HttpKernel\Kernel->boot()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/13 /home/clp/htdocs/app/files/vendor/symfony/framework-bundle/Console/Application.php(166): App\Kernel->boot()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/14 /home/clp/htdocs/app/files/vendor/symfony/framework-bundle/Console/Application.php(72): Symfony\Bundle\FrameworkBundle\Console\Application->registerCommands()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/15 /home/clp/htdocs/app/files/vendor/symfony/console/Application.php(171): Symfony\Bundle\FrameworkBundle\Console\Application->doRun()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/16 /home/clp/htdocs/app/files/vendor/symfony/runtime/Runner/Symfony/ConsoleApplicationRunner.php(54): Symfony\Component\Console\Application->run()
https://github.com/cloudpanel-io/cloudpanel-ce/discussions/17 /home/clp/htdocs/app/files/vendor/autoload_runtime.php(29): Symfony\Component\Runtime\Runner\Symfony\ConsoleApplicationRunner->run()
https://github.com/cloudpanel-io/cloudpanel-ce/issues/18 /home/clp/htdocs/app/files/bin/console(11): require_once('...')
https://github.com/cloudpanel-io/cloudpanel-ce/issues/19 {main}
thrown in /home/clp/htdocs/app/files/vendor/doctrine/doctrine-bundle/DependencyInjection/Configuration.php on line 143
dpkg: error processing package cloudpanel (--configure):
old cloudpanel package postinst maintainer script subprocess failed with exit status 255
Errors were encountered while processing:
cloudpanel
needrestart is being skipped since dpkg has failed
Error: Sub-process /usr/bin/dpkg returned an error code (1)
root@ubuntu-2604-template:~#

Please advice,

How to reproduce

install cloudpanel on clean Ubuntu 26.04
see the php v8.3 error and try to fix it.

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions