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:expmigrationstatus

Migrationsstatus: jede Migration mit ihrem Zustand (done, pending, not-needed, failed, unknown), die letzten Läufe und was wartet.

Download as PDF

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

On this page

This page is a translation. Read the English original

exp:expmigrationstatus

Migrationsstatus: jede Migration mit ihrem Zustand (done, pending, not-needed, failed, unknown), die letzten Läufe und was wartet.

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

./console exp:expmigrationstatus --help
./console exp:migration:status --help
php bin/php/expmigrationstatus.php --help

Hilfetext

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

Migration status
Every migration of the site, the active extensions and the installed packages for the environment,
in the order they run, with its state (done, pending, not-needed, failed, unknown) and its record;
the records whose file is gone, the latest runs, the runs whose push waits and who holds the lock.
Changes nothing, takes no lock.

./console exp:migration:status
./console exp:migration:status --environment=production --format=json
./console exp:migration:status --fail-on-pending     exit 1 when something is pending, for CI

Optionen

OptionWertHilfe
--onlyerforderlichNur diese Migrationen (Migrations-IDs, als Komma-Liste oder wiederholt)
--environmenterforderlichDie Umgebung (Standard die der Installation: [AdminEnvironment] Level, oder EXP_ENV bei Level=auto; check: jede Umgebung); nur die Migrationen für sie zählen
--formaterforderlichtext (Standard) oder json (die Maschinenausgabe exp-migration/1)
--fail-on-pendingExit-Code 1, wenn Migrationen offen oder fehlgeschlagen sind (für CI)
--runserforderlichWie viele der letzten Läufe aufgelistet werden (Standard 10, 0 für keine)

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/expmigrationstatus.php, kernel/private/classes/commands/expmigrationstatus.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