Lieber Spooky
Vielen Dank für deine schnelle Antwort. Beim Löschen der Erweiterung im ContaoManager erscheint folgende Fehlermeldung.
Code:
> Resolving dependencies using Composer Cloud v3.5.1
[5.0MiB/0.18s] Loading composer repositories with package information
[5.6MiB/0.33s] Updating dependencies
[6.5MiB/0.35s] Your requirements could not be resolved to an installable set of packages.
[6.5MiB/0.35s]
Problem 1
- contao-components/installer 1.2.6 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.3.0] but it does not match the constraint.
- contao/core-bundle 4.4.12 requires contao-components/tinymce4 4.6.* -> satisfiable by contao-components/tinymce4[4.6.7.2].
- contao/calendar-bundle 4.4.12 requires contao/core-bundle ^4.4.2 -> satisfiable by contao/core-bundle[4.4.12].
- contao-components/tinymce4 4.6.7.2 requires contao-components/installer ^1.0.9 -> satisfiable by contao-components/installer[1.2.6].
- contao/calendar-bundle is locked to version 4.4.12 and an update of this package was not requested.
[6.5MiB/0.35s] <warning>Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.</warning>
[5.7MiB/0.35s] Memory usage: 5.69MB (peak: 6.96MB), time: 0.36s.
[5.7MiB/0.35s] Finished Composer Cloud resolving.
# Cloud Job ID hcwY8c1wGP3HZFNKDeNhgnc8K6w5WshCLiocj3nxfSzxQ5kyWv45113IbzuCLFcYrfPMtO7LrGLwk2laipqQP8AA4yRoONZbss6KQHSD6 failed
Beim manuellen Löschen in der composer.json erhalte ich beim Aktualisieren der Änderung (Bestätigung der Löschung) im ContaoManager folgende Fehlermeldung:
Code:
$ /opt/plesk/php/7.4/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Zurich /home/httpd/vhosts/rutimann.com/httpdocs/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Package operations: 0 installs, 1 update, 1 removal
- Downloading contao-components/ace (1.15.2)
- Removing roave/security-advisories (dev-master 0703d86)
- Upgrading contao-components/ace (1.15.0 => 1.15.2): Extracting archive
Package contao-components/compass is abandoned, you should avoid using it. No replacement was suggested.
Package contao-components/highlight is abandoned, you should avoid using it. No replacement was suggested.
Package contao-components/html5shiv is abandoned, you should avoid using it. No replacement was suggested.
Package contao-components/mediaelement is abandoned, you should avoid using it. No replacement was suggested.
Package contao-components/respimage is abandoned, you should avoid using it. No replacement was suggested.
Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package lexik/maintenance-bundle is abandoned, you should avoid using it. No replacement was suggested.
Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.
Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package sensio/distribution-bundle is abandoned, you should avoid using it. No replacement was suggested.
Package sensiolabs/security-checker is abandoned, you should avoid using it. Use https://github.com/fabpot/local-php-security-checker instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package symfony/swiftmailer-bundle is abandoned, you should avoid using it. Use symfony/mailer instead.
Package terminal42/header-replay-bundle is abandoned, you should avoid using it. No replacement was suggested.
Package true/punycode is abandoned, you should avoid using it. No replacement was suggested.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating optimized autoload files
contao/manager-plugin: Dumping generated plugins file...
contao/manager-plugin: ...done dumping generated plugins file
Class Contao\ManagerPlugin\PluginLoader located in ./vendor/contao/manager-plugin/src/Resources/PluginLoader.php does not comply with psr-4 autoloading standard. Skipping.
39 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
// Warming up the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully warmed.
Trying to install assets as relative symbolic links.
--- ------------------------------- ------------------
Bundle Method / Error
--- ------------------------------- ------------------
? ContaoCoreBundle relative symlink
? RockSolidCustomElementsBundle relative symlink
? ContaoFaqBundle relative symlink
? RockSolidColumnsBundle relative symlink
? ContaoCommentsBundle relative symlink
? ContaoNewsBundle relative symlink
? RockSolidMegaMenuBundle relative symlink
? RockSolidThemeAssistantBundle relative symlink
? ContaoCalendarBundle relative symlink
? ContaoNewsletterBundle relative symlink
? RockSolidIconPickerBundle relative symlink
? RockSolidSliderBundle relative symlink
--- ------------------------------- ------------------
[OK] All assets were successfully installed.
Added the system/initialize.php file.
10:25:01 ERROR [console] Error thrown while running command "contao:install --env=prod". Message: "The path "system/config/tcpdf.php" exists and is not a symlink." ["exception" => LogicException { …},"command" => "contao:install --env=prod","message" => "The path "system/config/tcpdf.php" exists and is not a symlink."]
In SymlinkUtil.php line 80:
The path "system/config/tcpdf.php" exists and is not a symlink.
contao:install [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<target>]
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 "contao:install" command: 10:25:01 ER
ROR [console] Error thrown while running command "contao:install --env=
prod". Message: "The path "system/config/tcpdf.php" exists and is not a sym
link." ["exception" => LogicException { …},"command" => "contao:install --e
nv=prod","message" => "The path "system/config/tcpdf.php" exists and is not
a symlink."]
In SymlinkUtil.php line 80:
The path "system/config/tcpdf.php" exists and is not a symlink.
contao:install [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version
] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [-
-] <command> [<target>]
install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>...]
# Process terminated with exit code 1
# Result: General error
Danach gibt der ContaoManager einen Error aus und beim Neustart erscheint dann die folgende Meldung. Dafür ist die Erweiterung dann verschwunden:
Code:
$ /opt/plesk/php/7.4/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -ddisplay_startup_errors=0 -derror_reporting=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Zurich /home/httpd/vhosts/rutimann.com/httpdocs/web/contao-manager.phar.php composer install --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Using config.component-dir has been deprecated. Please use extra.contao-component-dir instead.
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- contao-components/installer is locked to version 1.2.6 and an update of this package was not requested.
- contao-components/installer 1.2.6 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
Problem 2
- contao-components/installer 1.2.6 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.2.0] but it does not match the constraint.
- contao-components/tinymce4 4.6.7.2 requires contao-components/installer ^1.0.9 -> satisfiable by contao-components/installer[1.2.6].
- contao-components/tinymce4 is locked to version 4.6.7.2 and an update of this package was not requested.
# Process terminated with exit code 2
# Result: Misuse of shell builtins
Lesezeichen