Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:upgradescripts

Upgrade-Stufe 4, Skripte: die PHP-Upgrade-Schritte, Richtlinien und Reparaturen (Probelauf ohne --apply).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/upgradescripts.md

On this page

This page is a translation. Read the English original

exp:upgradescripts

Upgrade-Stufe 4, Skripte: die PHP-Upgrade-Schritte, Richtlinien und Reparaturen (Probelauf ohne --apply).

Skript bin/php/upgradescripts.php, Code in kernel/private/classes/commands/upgradescripts.php. Führen Sie es im Wurzelverzeichnis der Installation aus, als der Benutzer, unter dem der Webserver läuft:

./console exp:upgradescripts --help
./console exp:upgrade:scripts --help
php bin/php/upgradescripts.php --help

Hilfetext

Was --help ausgibt, so wie der Befehl es schreibt:

Upgrade stage 4: the scripts
The PHP upgrade steps: the scripts of update/common/scripts/ and the setup commands (editor
policies, member management, user approval, ...), run through the same classes with their
default options. Refused while the database stage has pending steps (--force-order runs
anyway). Dry run unless --apply.

./console exp:upgrade:scripts
./console exp:upgrade:scripts --apply --skip=6.0.15-editor-policies
Guide: doc/eng-us/guides/upgrading-with-the-console.md

Optionen

OptionWertHilfe
--applyDie Änderungen vornehmen (ohne die Option ein Probelauf, der sie auflistet und nichts ändert)
--dry-runDer Standard, angenommen für Skripte, die ihn übergeben: auflisten, was sich ändern würde, nichts ändern
--onlyerforderlichNur diese Schritte (Schritt-IDs, als Komma-Liste oder wiederholt); ein optionaler Schritt läuft nur, wenn er hier genannt ist
--skiperforderlichDiese Schritte nie (Schritt-IDs, als Komma-Liste oder wiederholt)
--formaterforderlichtext (Standard) oder json (die Maschinenausgabe exp-upgrade/1)
--no-backupSchreiben, ohne vorher eine Sicherung zu machen
--backup-direrforderlichWohin die Sicherung geht (Standard var/backup/upgrade); darin wird ein Verzeichnis <Zeit> angelegt
--force-orderEine Stufe ausführen, obwohl eine frühere Stufe offene Schritte hat
--fail-on-pendingExit-Code 1, wenn noch Schritte offen sind (für CI)
--force-no-backupMit --no-backup auf einer Produktions-Installation: trotzdem ohne Sicherung schreiben
--no-captionSchreiben, ohne vorher einen Sicherungspunkt anzulegen (dasselbe wie --no-backup); auf Produktion ohne --force-no-caption verweigert
--force-no-captionMit --no-caption auf einer Produktions-Installation: trotzdem ohne Sicherungspunkt schreiben

Aus den Optionsdefinitionen im Code gelesen (startup(), getOptions(), options() oder ezcConsoleOption). Jedes Skript nimmt außerdem die Standardoptionen des Skript-Frameworks (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).

Siehe auch


Erzeugt von ./console exp:help:examples --language=ger-de aus bin/php/upgradescripts.php, kernel/private/classes/commands/upgradescripts.php. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x