Hello together,
I have some difficulties while compiling the PHP Versions with followin command:
As soon as I start this command, I get this error message:
QuoteDisplay More[INFO] Scanning PHP site for the PHP 7.2 sources...
[INFO] Found PHP 7.2 sources at http://php.net/distributions/php-7.2.24.tar.gz
[INFO] The PHP 7.2.24 sources are already present in the /usr/local/src/phpswitcher directory. Skipping download.
[INFO] Extracting the PHP 7.2.24 archive into /usr/local/src/phpswitcher/php-7.2.24 ...
[INFO] Setup PHP build environment...
[ERROR] main: An error occurred while setup of PHP build environment: E: Could not create basepath '/var/cache/pbuilder/psw-debian-stretch.cow': No such file or directory
If I trie the installation without a specific version, I get following error message:
QuoteDisplay More....
Unpacking dh-python (2.20170125) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-r6zJ6V/07-perl-modules-5.24_5.24.1-3+deb9u5_all.deb
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting dev/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: forking: rm -rf /var/cache/pbuilder/psw-debian-stretch.cow
[ERROR] main: An error occurred while setup of PHP build environment: find: '/var/cache/pbuilder/psw-aptcache-debian-stretch': No such file or directory
debconf: delaying package configuration, since apt-utils is not installed
debconf: delaying package configuration, since apt-utils is not installed
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: pbuilder create failed
I tried the following:
- Reinstallation for phpswitcher
- The file "psw-debian-stretch.cow" is not available
- Reinstallation for pbuilder
- Reinstallation for i-MSCP (with Windows it actually also helps )
I have tried further:
- Manually creating the path "var/cache/pbuilder/psw-aptcache-debian-stretch" - unfortunately I have got the next error message
[ERROR] main: An error occurred while setup of PHP build environment: debconf: delaying package configuration, since apt-utils is not installed
debconf: delaying package configuration, since apt-utils is not installed
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: pbuilder create failed
When I try to reinstall apt-utils, I get the message, that version 1.4.9 is already installed
I am using the following components:
- i-MSCP 1.5.3 - Build: 2018120800
- PHP Switcher - Version 5.0.5 (Build 2019102300)
- Debian GNU/Linux 9.11 (stretch)
Some needed logs I have seen in the rule:
QuoteDisplay Moreroot@LX001:/var/cache/pbuilder# perl /var/www/imscp/engine/imscp-rqst-mngr -v
[DEBUG] iMSCP::Bootstrapper::boot: Booting backend....
[DEBUG] iMSCP::LockFile::acquire: Acquiring exclusive lock on /var/lock/imscp.lock
[DEBUG] iMSCP::EventManager::_init: Loading /etc/imscp/listeners.d/50_psw_dpkg_post_invoke_tasks.pl listener file
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Plugin tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Plugin tasks for: LetsEncrypt (ID 1)
[DEBUG] Modules::Plugin::_executePluginAction: Executing run( ) action on Plugin::LetsEncrypt
[DEBUG] iMSCP::Execute::execute: /bin/systemctl is-active apache2.service
[DEBUG] iMSCP::Provider::Service::Abstract::_exec: active
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Plugin tasks for: ServerDefaultPage (ID 3)
[DEBUG] Modules::Plugin::_executePluginAction: Executing run( ) action on Plugin::ServerDefaultPage
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Plugin tasks for: OpenDKIM (ID 4)
[DEBUG] Modules::Plugin::_executePluginAction: Executing run( ) action on Plugin::OpenDKIM
[DEBUG] iMSCP::Execute::execute: /bin/systemctl reload-or-restart opendkim.service
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Plugin tasks for: PhpSwitcher (ID
[DEBUG] Modules::Plugin::_executePluginAction: Executing run( ) action on Plugin::PhpSwitcher
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::ServerIP tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::ServerIP
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::SSLcertificate tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::SSLcertificate
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::User tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::User
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Domain tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Domain
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Subdomain tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Subdomain
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Alias tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Alias
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::SubAlias tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::SubAlias
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::CustomDNS tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::CustomDNS
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::CustomDNS tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::CustomDNS
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::FtpUser tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::FtpUser
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Mail tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Mail
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Htpasswd tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Htpasswd
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Htgroup tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Htgroup
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Htaccess tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Htaccess
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::SubAlias tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::SubAlias
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Alias tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Alias
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Subdomain tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Subdomain
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::Domain tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::Domain
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: Processing Modules::User tasks...
[DEBUG] iMSCP::DbTasksProcessor::processDbTasks: No task to process for Modules::User
[DEBUG] iMSCP::LockFile::release: Releasing exclusive lock on /var/lock/imscp.lock
Does someone has an idea?
Best regards from Germany
Michael