-
UPDATE Problem
Hallo,
ich habe gerade ein Update einer Standardinstallation durchgeührt (mit einem Rocksolid Theme). Jetzt habe ich im Contao Manager folgende Probleme
1. Beim update wurde folgendes angezeigt:
```
$ /usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/test/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.
Problem 1
- contao-community-alliance/composer-plugin is locked to version 3.0.9 and an update of this package was not requested.
- contao-community-alliance/composer-plugin 3.0.9 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
Problem 2
- contao-components/installer is locked to version 1.3.1 and an update of this package was not requested.
- contao-components/installer 1.3.1 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
Problem 3
- contao/manager-plugin is locked to version 2.7.1 and an update of this package was not requested.
- contao/manager-plugin 2.7.1 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
Problem 4
- ocramius/package-versions is locked to version 1.5.1 and an update of this package was not requested.
- ocramius/package-versions 1.5.1 requires composer-plugin-api ^1.0.0 -> found composer-plugin-api[2.1.0] but it does not match the constraint.
Problem 5
- lib-xsl is present at version 1.1.33.0 and cannot be modified by Composer
- Only one of these can be installed: lib-libxslt[1.1.34], lib-xsl[1.1.33.0]. lib-libxslt replaces lib-xsl and thus cannot coexist with it.
- lib-libxslt is present at version 1.1.34 and cannot be modified by Composer
# Process terminated with exit code 2
# Result: Misuse of shell builtins
```
und wenn ich dem Contao Manager noch mal starte wird folgendes angzeigt:
```
Fatal error: Could not check compatibility between Symfony\Bridge\ProxyManager\LazyProxy\PhpDumper\La zyLoadingValueHolderGenerator::generate(Reflection Class $originalClass, Zend\Code\Generator\ClassGenerator $classGenerator) and ProxyManager\ProxyGenerator\LazyLoadingValueHolder Generator::generate(ReflectionClass $originalClass, Laminas\Code\Generator\ClassGenerator $classGenerator), because class Zend\Code\Generator\ClassGenerator is not available in /var/www/test/vendor/symfony/proxy-manager-bridge/LazyProxy/PhpDumper/LazyLoadingValueHolderGenerator.php on line 33
```
Hat jemand eine Idee?
-
Du musst eine vollständige Paketaktualisierung durchführen.
https://contao.org/de/news/contao-manager-1-4.html
-
Hat nicht geklappt
Ganz hat es leider nicht geklappt
Code:
$ /usr/bin/php -q -dmax_execution_time=0 -dmemory_limit=-1 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /var/www/test/web/contao-manager.phar.php composer install --prefer-dist --no-dev --no-progress --no-ansi --no-interaction --optimize-autoloader
2
3
Installing dependencies from lock file
4
Verifying lock file contents can be installed on current platform.
5
Nothing to install, update or remove
6
Package doctrine/doctrine-cache-bundle is abandoned, you should avoid using it. No replacement was suggested.
7
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
8
Package league/uri-hostname-parser is abandoned, you should avoid using it. No replacement was suggested.
9
Package league/uri-manipulations is abandoned, you should avoid using it. No replacement was suggested.
10
Package league/uri-schemes is abandoned, you should avoid using it. No replacement was suggested.
11
Package menatwork/contao-multicolumnwizard is abandoned, you should avoid using it. Use menatwork/contao-multicolumnwizard-bundle instead.
12
Package oyejorge/less.php is abandoned, you should avoid using it. No replacement was suggested.
13
Package patchwork/utf8 is abandoned, you should avoid using it. Use symfony/polyfill-mbstring or symfony/string instead.
14
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
15
Package richardhj/contao-simple-ajax is abandoned, you should avoid using it. Use symfony/routing instead.
16
Package setasign/fpdi-tcpdf is abandoned, you should avoid using it. No replacement was suggested.
17
Package symfony/inflector is abandoned, you should avoid using it. Use use `EnglishInflector` from the String component instead instead.
18
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
19
Generating optimized autoload files
20
composer/package-versions-deprecated: Generating version class...
21
composer/package-versions-deprecated: ...done generating version class
22
Class League\Uri\Schemes\AbstractUri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
23
Class League\Uri\Schemes\Data located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
24
Class League\Uri\Schemes\File located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
25
Class League\Uri\Schemes\Ftp located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
26
Class League\Uri\Schemes\Http located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
27
Class League\Uri\Schemes\Uri located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
28
Class League\Uri\Schemes\UriException located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
29
Class League\Uri\Schemes\Ws located in ./vendor/league/uri-schemes/src/Schemes/deprecated.php does not comply with psr-4 autoloading standard. Skipping.
30
60 packages you are using are looking for funding.
31
Use the `composer fund` command to find out more!
32
contao/manager-plugin: Generating plugin class...
33
contao/manager-plugin: ...done generating plugin class
34
Fatal error: Could not check compatibility between Symfony\Bridge\ProxyManager\LazyProxy\PhpDumper\LazyLoadingValueHolderGenerator::generate(ReflectionClass $originalClass, Zend\Code\Generator\ClassGenerator $classGenerator) and ProxyManager\ProxyGenerator\LazyLoadingValueHolderGenerator::generate(ReflectionClass $originalClass, Laminas\Code\Generator\ClassGenerator $classGenerator), because class Zend\Code\Generator\ClassGenerator is not available in /var/www/test/vendor/symfony/proxy-manager-bridge/LazyProxy/PhpDumper/LazyLoadingValueHolderGenerator.php on line 33
35
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
36
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
37
38
In ScriptHandler.php line 88:
39
40
An error occurred while executing the "contao:install-web-dir" command: Fat
41
al error: Could not check compatibility between Symfony\Bridge\ProxyManager
42
\LazyProxy\PhpDumper\LazyLoadingValueHolderGenerator::generate(ReflectionCl
43
ass $originalClass, Zend\Code\Generator\ClassGenerator $classGenerator) and
44
ProxyManager\ProxyGenerator\LazyLoadingValueHolderGenerator::generate(Refl
45
ectionClass $originalClass, Laminas\Code\Generator\ClassGenerator $classGen
46
erator), because class Zend\Code\Generator\ClassGenerator is not available
47
in /var/www/test/vendor/symfony/proxy-manager-bridge/La
48
zyProxy/PhpDumper/LazyLoadingValueHolderGenerator.php on line 33
49
50
51
install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-scripts] [--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>...]
52
53
54
# Process terminated with exit code 1
55
# Result: General error
-
Poste mal die composer.json
-
Code:
{
"type": "project",
"require": {
"contao/calendar-bundle": "4.8.*",
"contao/comments-bundle": "4.8.*",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "4.8.*",
"contao/listing-bundle": "4.8.*",
"contao/manager-bundle": "4.8.*",
"contao/news-bundle": "4.8.*",
"contao/newsletter-bundle": "4.8.*",
"do-while/contao-backupdb-bundle": "^1.4",
"do-while/contao-pdf-template-bundle": "^1.2",
"heimrichhannot/contao-exporter-bundle": "^0.7.1",
"hofff/contao-calendarfield": "^3.0",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"madeyourday/contao-rocksolid-frontend-helper": "^2.0",
"madeyourday/contao-rocksolid-icon-picker": "^2.0",
"madeyourday/contao-rocksolid-mega-menu": "^2.0",
"madeyourday/contao-rocksolid-slider": "^2.0",
"madeyourday/contao-rocksolid-theme-assistant": "^2.0",
"ramsey/uuid": "^3.8",
"richardhj/contao-simple-ajax": "^1.3",
"terminal42/contao-changelanguage": "^3.1",
"terminal42/contao-mp_forms": "^3.0"
},
"extra": {
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
-
Du bist noch auf Contao 4.8. Contao 4.8 hat schon vor langer Zeit das Lebensende erreicht und enthält auf jeden Fall Fehler. Du musst auf Contao 4.9 oder 4.12 aktualisieren.
-
alles klar, dann update ich mal
-
Du musst manuell die composer.json ändern, sodass Contao 4.9 bspw. installiert werden würde und dann im abgesicherten Modus nochmal eine vollständige Paketaktualisierung durchführen.
Code:
"type": "project",
"require": {
"contao/calendar-bundle": "4.9.*",
"contao/comments-bundle": "4.9.*",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "4.9.*",
"contao/listing-bundle": "4.9.*",
"contao/manager-bundle": "4.9.*",
"contao/news-bundle": "4.9.*",
"contao/newsletter-bundle": "4.9.*",
"do-while/contao-backupdb-bundle": "^1.4",
"do-while/contao-pdf-template-bundle": "^1.2",
"heimrichhannot/contao-exporter-bundle": "^0.7.1",
"hofff/contao-calendarfield": "^3.0",
"madeyourday/contao-rocksolid-columns": "^2.0",
"madeyourday/contao-rocksolid-custom-elements": "^2.2",
"madeyourday/contao-rocksolid-frontend-helper": "^2.0",
"madeyourday/contao-rocksolid-icon-picker": "^2.0",
"madeyourday/contao-rocksolid-mega-menu": "^2.0",
"madeyourday/contao-rocksolid-slider": "^2.0",
"madeyourday/contao-rocksolid-theme-assistant": "^2.0",
"ramsey/uuid": "^3.8",
"richardhj/contao-simple-ajax": "^1.3",
"terminal42/contao-changelanguage": "^3.1",
"terminal42/contao-mp_forms": "^3.0"
},
"extra": {
"contao-component-dir": "assets"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
-
Hallo,
ich bin erst heute wieder dauzgekommen. leider habe ich folgenden fehler jetzt:
- Root composer.json requires contao/manager-bundle 4.9.*, found contao/manager-bundle[4.9.0, ..., 4.9.22] but the package is fixed to 4.8.7 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Im Backend sehe ich jetzt aber schon die Version 4.9.22
-
Ich habe jetzt mal das lock file und den vendor ordner gelöscht.
Jetzt ist composer update durchgegangen. beim composer install erhalte ich mal folgende Warnings/Fehlers:
Code:
contao/manager-plugin: ...done generating plugin class
Warning: file_exists(): open_basedir restriction in effect. File(/var/www/html/test/system/modules/multicolumnwizard/.skip) is not within the allowed path(s): (/var/www:/usr/share/php) in /var/www/html/test/vendor/contao/manager-bundle/src/ContaoManager/Plugin.php on line 120
Warning: file_exists(): open_basedir restriction in effect. File(/var/www/html/test/system/modules/multicolumnwizard/config/autoload.ini) is not within the allowed path(s): (/var/www:/usr/share/php) in /var/www/html/test/vendor/contao/manager-plugin/src/Bundle/Parser/IniParser.php on line 51
92 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication
Added the web/index.php file.
Added the web/preview.php file.
Added the web/app.php file.
// Clearing the cache for the prod environment with debug
// false
[OK] Cache for the "prod" environment (debug=false) was successfully cleared.
In Plugin.php line 120:
Warning: file_exists(): open_basedir restriction in effect. File(/var/www/html/test/system/modules/multicolumnwizard/.skip) is not within the allowed path(s): (/var/www:/usr/share/php)
Script Contao\ManagerBundle\Composer\ScriptHandler::initializeApplication handling the post-install-cmd event terminated with an exception
In ScriptHandler.php line 89:
An error occurred while executing the "cache:clear --no-warmup" command:
In Plugin.php line 120:
Warning: file_exists(): open_basedir restriction in effect. File(/var/www/html/test/system/modules/multicolumnwizard/.skip) is not within the allowed path(s): (/var/www:/usr/share/php)
install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-scripts] [--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] [--] [...]
# Process terminated with exit code 1
# Result: General error
-
-
ich glaube ich habe es gelöst.
beim update wurde mir komischerweise das Modul multicolumnwizard entfernt.
Es ist aber nicht so tragisch, denn das wurde eh nicht mehr gebraucht. Jetzt scheint alles zu klappen.
danke