ERROR: File Manager installation failed!

Hi HestiaCP team,

Just wanted to report this issue as it instructed me in the installation log. The log shows that the upgrade was a success, but it has an error on “File Manager Installation” failed. Not sure if I can just ignore this or not.

I have included the contents of the email titled “Update Installation Log - v1.4.1” below.

Also, some additional information I would like to provide. So it seems the update was pushed overnight and this morning I noticed that all my websites were behaving quite strangely. The cached versions of pages appeared fine when accessing through incognito mode. However, trying to access the pages as a logged in Wordpress user, either timed out or took forever to load.

CPU and Memory usage was very low, so I couldn’t understand what was going on. As the site was behaving as if it was under high load, but htop did not show that. So without understanding what was going on, I decided to reboot the machine. After reboot, sites appeared normal again.

And once the server came back up, then I received several emails from Hestia, the notice that the backup occured, the installation log and a cron error email. It seems they were stuck in the queue until the reboot fixed networking or whatever that was broken.

Here is the contents of the Cron error email as well:

Subject line: Cron admin@srv01 sudo /usr/local/hestia/bin/v-update-sys-hestia-all

Email Contents:
W: Failed to fetch https://apt.hestiacp.com/dists/focal/InRelease Temporary failure resolving ‘apt.hestiacp.com
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Failed to fetch https://apt.hestiacp.com/dists/focal/InRelease Temporary failure resolving ‘apt.hestiacp.com
W: Some index files failed to download. They have been ignored, or old ones used instead.

Contents of the Installation Log email:
==============================================================================
Hestia Control Panel Software Update Log
==============================================================================

OPERATING SYSTEM:      Ubuntu (20.04)
CURRENT VERSION:       1.3.5
NEW VERSION:           1.4.1
RELEASE BRANCH:        release
BUILD TYPE:            Production release

INSTALLER OPTIONS:
=============================================================================
Send email notification on upgrade complete:      true
Send installed log output to admin email:         true

=============================================================================
[ ! ] Performing system health check before proceeding with installation... 
[ ! ] Adding missing variable to hestia.conf: WEBMAIL_SYSTEM ('roundcube')
[ ! ] Adding missing variable to hestia.conf: INACTIVE_SESSION_TIMEOUT ('60')
[ ! ] Adding missing variable to hestia.conf: ENFORCE_SUBDOMAIN_OWNERSHIP ('no')
[ ! ] Adding missing variable to hestia.conf: API_ALLOWED_IP ('allow-all')
[ ! ] Adding missing variable to hestia.conf: ENFORCE_SUBDOMAIN_OWNERSHIP ('yes')
[ ! ] Adding missing variable to hestia.conf: DEBUG_MODE ('false')
[ ! ] Adding missing variable to hestia.conf: PLUGIN_APP_INSTALLER ('true')
[ ! ] Adding missing variable to hestia.conf: POLICY_SYSTEM_ENABLE_BACON ('false')
[ ! ] Adding missing variable to hestia.conf: POLICY_SYSTEM_HIDE_SERVICES ('no')
[ ! ] Adding missing variable to hestia.conf: POLICY_SYSTEM_PASSWORD_RESET ('no')
[ ! ] Adding missing variable to hestia.conf: POLICY_SYSTEM_PROTECTED_ADMIN ('no')
[ ! ] Adding missing variable to hestia.conf: POLICY_USER_CHANGE_THEME ('yes')
[ ! ] Adding missing variable to hestia.conf: POLICY_USER_DELETE_LOGS ('yes')
[ ! ] Adding missing variable to hestia.conf: POLICY_USER_EDIT_DETAILS ('yes')
[ ! ] Adding missing variable to hestia.conf: POLICY_USER_EDIT_DNS_TEMPLATES ('yes')
[ ! ] Adding missing variable to hestia.conf: POLICY_USER_EDIT_WEB_TEMPLATES ('yes')
[ ! ] Adding missing variable to hestia.conf: POLICY_USER_VIEW_LOGS ('yes')
[ ! ] Adding missing variable to hestia.conf: POLICY_USER_VIEW_SUSPENDED ('no')
[ ! ] Adding missing variable to hestia.conf: PHPMYADMIN_KEY ('')
[ * ] Health check complete. Starting upgrade from 1.3.5 to 1.4.1...
=============================================================================
[ * ] Backing up existing templates and configuration files...

[ - ] Now applying any necessary patches from version v1.4.0...
[ * ] Enabling nginx FastCGI cache support...
[ * ] Updating nginx configuration with changes to Cloudflare IP addresses
[ * ] Populating HELO/SMTP Banner value for existing IP addresses...
[ * ] Updating exim4 configuration...
[ * ] Enabling SMTP relay support...
[ * ] Creating known good configuration data for system recovery...
[ * ] Fix potenial issue with multiple network adapters and netplan...
[ * ] Removing outdated nginx templates...
[ * ] Migrating legacy default package for all users...
[ * ] Replacing default package...

[ - ] Now applying any necessary patches from version v1.4.1...
[ * ] Updating File Manager...
ERROR: File Manager installation failed!
Please report this to our development team:
https://github.com/hestiacp/hestiacp/issues
[ ! ] Updating default web domain templates...
[ ! ] Updating default mail domain templates...
[ ! ] Updating default DNS zone templates...
[ ! ] Verifying phpMyAdmin v5.1.0 installation...
=============================================================================
Installation tasks complete, performing clean-up...                         
=============================================================================
[ * ] Rebuilding user accounts and domains, this may take a few minutes...
      - admin...
      - MYUSERNAME...
[ * ] Restarting services...

=============================================================================
UPGRADE COMPLETE.                                                           
Please report any issues on GitHub:                                         
https://github.com/hestiacp/hestiacp/issues                                 
=============================================================================

After update Hestia from 1.4.2 to 1.4.3 I lost the file manager and got this Error: File Manager installation failed! If I try to enable the file manager in the settings, I get the following error:

Summary


Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php:84
Stack trace:
#0 [internal function]: array_merge()
#1 phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php(84): call_user_func_array()
#2 phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/Solver.php(387): Composer\DependencyResolver\DefaultPolicy->selectPreferredPackages()
#3 phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/Solver.php(740): Composer\DependencyResolver\Solver->selectAndInstall()
#4 phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/Solver.php(231): Composer\DependencyResolver\Solver->runSat()
#5 phar:///home/admin/.composer/composer/src/Composer/Installer.php(489): Composer\DependencyResolver\Solver->solve()
#6 phar:///home/admin/.composer/composer/src/Composer/Installer.php(232): Composer\Installer->doInstall()
#7 phar:///home/admin/.composer/composer/src/Composer/Command/InstallCommand.php(122): Composer\Installer->run()
#8 phar:///home/admin/.composer/composer/vendor/symfony/console/Command/Command.php(245): Composer\Command\InstallCommand->execute()
#9 phar:///home/admin/.composer/composer/vendor/symfony/console/Application.php(835): Symfony\Component\Console\Command\Command->run()
#10 phar:///home/admin/.composer/composer/vendor/symfony/console/Application.php(185): Symfony\Component\Console\Application->doRunCommand()
#11 phar:///home/admin/.composer/composer/src/Composer/Console/Application.php(281): Symfony\Component\Console\Application->doRun()
#12 phar:///home/admin/.composer/composer/vendor/symfony/console/Application.php(117): Composer\Console\Application->doRun()
#13 phar:///home/admin/.composer/composer/src/Composer/Console/Application.php(113): Symfony\Component\Console\Application->run()
#14 phar:///home/admin/.composer/composer/bin/composer(61): Composer\Console\Application->run()
#15 /home/admin/.composer/composer(24): require(’…’)
#16 {main}
thrown in phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php on line 84
ERROR: File Manager installation failed!
Please report this to our development team:
Issues · hestiacp/hestiacp · GitHub

Is it possible to fix the error and return the file manager?

What happens when you enter v-delete-sys-filemanager and then v-add-sys-filemanager via command line?

v-delete-sys-filemanager - ERROR: File Manager components are not installed.
v-add-sys-filemanager - Error:

Summary

PHP Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php:84
Stack trace:
#0 [internal function]: array_merge()
#1 phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php(84): call_user_func_array()
#2 phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/Solver.php(387): Composer\DependencyResolver\DefaultPolicy->selectPreferredPackages()
#3 phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/Solver.php(740): Composer\DependencyResolver\Solver->selectAndInstall()
#4 phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/Solver.php(231): Composer\DependencyResolver\Solver->runSat()
#5 phar:///home/admin/.composer/composer/src/Composer/Installer.php(489): Composer\DependencyResolver\Solver->solve()
#6 phar:///home/admin/.composer/composer/src/Composer/Installer.php(232): Composer\Installer->doInstall()
#7 phar:///home/admin/.composer/composer/src/Composer/Command/InstallCommand.php(122): Composer\Installer->run()
#8 phar:///home/admin/.composer/composer/vendor/symfony/console/Command/Command.php(245): Composer\Command\InstallCommand->execute()
#9 phar:///home/admin/.composer/composer/vendor/symfony/console/Application.php(835): Symfony\Component\Console\Command\Command->run()
#10 phar:///home/admin/.composer/composer/vendor/symfony/console/Application.php(185): Symfony\Component\Console\Application->doRunCommand()
#11 phar:///home/admin/.composer/composer/src/Composer/Console/Application.php(281): Symfony\Component\Console\Application->doRun()
#12 phar:///home/admin/.composer/composer/vendor/symfony/console/Application.php(117): Composer\Console\Application->doRun()
#13 phar:///home/admin/.composer/composer/src/Composer/Console/Application.php(113): Symfony\Component\Console\Application->run()
#14 phar:///home/admin/.composer/composer/bin/composer(61): Composer\Console\Application->run()
#15 /home/admin/.composer/composer(24): require(’…’)
#16 {main}
thrown in phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php on line 84

Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php:84
Stack trace:
#0 [internal function]: array_merge()
#1 phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php(84): call_user_func_array()
#2 phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/Solver.php(387): Composer\DependencyResolver\DefaultPolicy->selectPreferredPackages()
#3 phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/Solver.php(740): Composer\DependencyResolver\Solver->selectAndInstall()
#4 phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/Solver.php(231): Composer\DependencyResolver\Solver->runSat()
#5 phar:///home/admin/.composer/composer/src/Composer/Installer.php(489): Composer\DependencyResolver\Solver->solve()
#6 phar:///home/admin/.composer/composer/src/Composer/Installer.php(232): Composer\Installer->doInstall()
#7 phar:///home/admin/.composer/composer/src/Composer/Command/InstallCommand.php(122): Composer\Installer->run()
#8 phar:///home/admin/.composer/composer/vendor/symfony/console/Command/Command.php(245): Composer\Command\InstallCommand->execute()
#9 phar:///home/admin/.composer/composer/vendor/symfony/console/Application.php(835): Symfony\Component\Console\Command\Command->run()
#10 phar:///home/admin/.composer/composer/vendor/symfony/console/Application.php(185): Symfony\Component\Console\Application->doRunCommand()
#11 phar:///home/admin/.composer/composer/src/Composer/Console/Application.php(281): Symfony\Component\Console\Application->doRun()
#12 phar:///home/admin/.composer/composer/vendor/symfony/console/Application.php(117): Composer\Console\Application->doRun()
#13 phar:///home/admin/.composer/composer/src/Composer/Console/Application.php(113): Symfony\Component\Console\Application->run()
#14 phar:///home/admin/.composer/composer/bin/composer(61): Composer\Console\Application->run()
#15 /home/admin/.composer/composer(24): require(’…’)
#16 {main}
thrown in phar:///home/admin/.composer/composer/src/Composer/DependencyResolver/DefaultPolicy.php on line 84
ERROR: File Manager installation failed!
Please report this to our development team:
Issues · hestiacp/hestiacp · GitHub
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

php -v ?

PHP 8.0.7 (cli) (built: Jun 4 2021 21:25:51) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.7, Copyright (c) Zend Technologies
with Zend OPcache v8.0.7, Copyright (c), by Zend Technologies

PHP 7.4 still availble on the server?

update-alternatives --config php

And select php 7.4

1 Like

Yes, availble


Yes, it’s work for me. The file manager is back! Thank you very much for your help!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.