Issues with installation: 4.10, 4.9, & 4.4 | contao:install-web-dir & scriptHandler
Hello,
I've attempted a clean installation of 4.x using the contao-manager.phar installer. Each version presents an error in the scriptHandler.php during the "composer install" phase. The only difference with 4.4 from 4.9/4.10 is that I can install the Contao CMS afterwards. On 4.9 & 4.10 the Contao CMS is missing and cannot be installed without throwing errors with the package updates.
With all installations, I am able to access the Contao Manager afterwards, but with 4.9 & 4.10 I cannot install the Contao CMS - it throws a 404 error. On 4.4 I can use the install tool to install the CMS.
Contao 4.10:
Code:
Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 95:
An error occurred while executing the "contao:install-web-dir" command:
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [...]
Process terminated with exit code 1
Result: General error
Contao 4.9:
{ Received same error as 4.10 }
Contao 4.4:
Code:
Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 113:
An error occurred while executing the "cache:warmup" command:
In 92da9b7be0f3e39acac0688ecaaa96aa765326d41e9aca5df03d4962681f3698.php lin
e 351:
Error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 40960 bytes)
cache:warmup [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--
verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--en
v ENV] [--no-debug] [--]
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [...]
Process terminated with exit code 1
Result: General error
I have attempted another installation of 4.4 on a different server (same hosting company) and received the following error:
Code:
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 113:
An error occurred while executing the "cache:warmup" command:
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>...]
# Process terminated with exit code 1
# Result: General error
Any thoughts or suggestions would be helpful as I would rather install 4.10 and know that the system is upgradable down the road without issue. Thank you.