I am trying to migrate very old machine to more new i-mscp.
I choosed 1.1.21 so i can be closer.
Migrate script went fine.
Now when running the final: perl imscp-setup
I have the following error:
-----------------------------------------
[ERROR]
iMSCP::Addons::ComposerInstaller::_getComposer:
[RuntimeException]
Invalid working directory specified, =/var/cache/imscp/addons does not exist.
iMSCP::EventManager::trigger: A listener registered on the 'afterSetupPreInstallAddons' event and triggered in main::setupPreInstallAddons has failed.
Listener code was:
sub {
package iMSCP::Addons::ComposerInstaller;
use warnings;
use strict 'refs';
'iMSCP::Dialog'->getInstance->endGauge;
my $rs = 'iMSCP::Dir'->new('dirname', $$self{'wrkDir'})->make;
return $rs if $rs;
$rs = $self->_clearLocalRepository if 'iMSCP::Getopt'->cleanAddons;
return $rs if $rs;
unless ('iMSCP::Getopt'->skipAddonsUpdate and -x "$$self{'wrkDir'}/composer.phar") {
$rs = $self->_getComposer;
return $rs if $rs;
}
if (not 'iMSCP::Getopt'->skipAddonsUpdate or $self->_checkRequirements) {
$rs = $self->_installPackages;
}
$rs;
}
iMSCP::Debug::END: Exit code: 1
-------------------------------------------------
/var/cache/imscp/addons - exists.
I know this is so old but will save me much time if i can upgrade it.