-
Backup zurückholen
Hallo Zusammen,
ich versuche gerade verzweifelt ein Backup zurückzuholen.
Die website war einige Zeit abgeschaltet, die Daten wurden aber gesichert.
Ich habe contao installiert und bin dann zurück auf die damalige Contao-Version 4.4.49
doch wenn ich dann die composer.json vom Backup einfüge, bekomm ich im Contao-Manager die Meldung dass es Repariert werden muss.
Ich hab es auch ohne die composer.json probiert und die Daten aus /app/config, files, templates, etc. rüberkopiert.
Dann bekomme ich auch die Meldung dass repariert werden muss und bin in einer Schleife gefangen.
Cache lässt sich löschen & neu erstellen. das Frontend/backend bleibt aber weiß.
-
Funktioniert es nicht, wenn Du die composer.json und composer.lock aus dem Backup in den Webspace kopierst und dann ein composer install durchführst?
Grüße
-
Leider nein.
bekomme dann die Meldung
PHP-Code:
tall
$ /usr/bin/php7.4-cli -q -dmax_execution_time=0 -dmemory_limit=-1 -ddisplay_errors=0 -dallow_url_fopen=1 -ddisable_functions= -ddate.timezone=Europe/Berlin /homepages/7/d939585373/htdocs/contao/c4-4/web/contao-manager.phar.php composer install --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.2.0] but it does not match the constraint.
Problem 2
- lib-xsl is present at version 1.1.28.0 and cannot be modified by Composer
- Only one of these can be installed: lib-libxslt[1.1.32], lib-xsl[1.1.28.0]. lib-libxslt replaces lib-xsl and thus cannot coexist with it.
- lib-libxslt is present at version 1.1.32 and cannot be modified by Composer
# Process terminated with exit code 2
# Result: Misuse of shell builtins
Kann es auch an der PHP-Version liegen? Beim Backup war das damals die 7.1
aktuell hab ich 7.4 eingestellt
-
Mit composer Update kommt nun keine Meldung mehr. aber Installtool und frontend/backend bleiben weiß
-
Du musst ein komplettes composer update durchführen. Deine Installation hat damals noch mit composer 1 gearbeitet.
Unabhängig davon verlangt eine andere PHP-Version auf jeden Fall eine neue Auflösung der Abhängigkeiten.
Außerdem ist Contao 4.4 schon aus dem Support.
Ich glaub ich würde gleich ein Update auf die 4.13 machen.
-
Hab alles noch einmal gelöscht und eingespielt.
Nachdem ich Composer Install und Update gemacht hab, ist es dann da.
Das ist leider auf ein Theme von Contao Premium Themes aufgebaut.
Ich könnte es noch auf ne 4.9.16 bringen...
Das ist jetzt nur online, dass ich das nebenher auf die aktuelle Version bringen kann.
Merci