Seite 1 von 1

Download Extension Uninstall Package

Verfasst: Do 26. Dez 2024, 12:46
von oxpus
[GERMAN]

Wenn die Download Erweiterung schon mehrere Jahre im Einsatz ist, kann es sein, dass die Migrationen ab Version 7.0.0 eingefügt wurden.
Die neueren Versionen ab 8.0.0 können eine Deinstalletion dann nicht mehr korrekt ausführen, da die Migrationsdateien vor Version 8.0.0 fehlen und verursachen somit Fehlermeldungen.

Um festzustellen, ob die vorhandene Version der Download Erweiterung bereits zu alt ist, um sie fehlerfrei deinstallieren zu können, bitte zunächst diese SQL-Anweisung ausführen:

SELECT * FROM phpbb_migrations WHERE migration_name LIKE '%oxpus%dlext%' ORDER BY migration_name ASC;

Sollte die Download Erweiterung ab Version 8.0.0 installiert worden sein, dürften nur die nachfolgenden Einträge angezeigt werden:
  • \oxpus\dlext\migrations\basics\dl_commons
  • \oxpus\dlext\migrations\basics\dl_module
  • \oxpus\dlext\migrations\basics\dl_perms
  • \oxpus\dlext\migrations\basics\dl_schema
  • \oxpus\dlext\migrations\v800\release_8_0_0
  • \oxpus\dlext\migrations\v800\release_8_0_3
  • \oxpus\dlext\migrations\v800\release_8_0_8
  • \oxpus\dlext\migrations\v800\release_8_0_14
  • \oxpus\dlext\migrations\v810\release_8_1_0rc1
  • \oxpus\dlext\migrations\v810\release_8_1_0rc2
  • \oxpus\dlext\migrations\v810\release_8_1_9
  • \oxpus\dlext\migrations\v820\release_8_2_0
  • \oxpus\dlext\migrations\v820\release_8_2_5
  • \oxpus\dlext\migrations\v820\release_8_2_7
  • \oxpus\dlext\migrations\v820\release_8_2_9
  • \oxpus\dlext\migrations\v820\release_8_2_14
  • \oxpus\dlext\migrations\v820\release_8_2_15
In diesem Fall sollte sich die Erweiterung fehlerfrei deinstallieren lassen.

Andernfalls ist ein Trick erforderlich, um die bisherigen Migrationsdateien ab der Version 7.0.0 mit einzubinden, damit die Deinstallation bis zu dieser Version zurück ebenfalls fehlerfrei durchgeführt werden kann.
Dazu bitte den Anhang herunterladen, entpacken und unverändert in den Ordnre /ext/ hochladen.
Damit sollte dann die Deinstallation fehlerfrei durchgeführt werden können.



[ENGLISH]

If the download extension has been in use for several years, it may be that the migrations were added from version 7.0.0.
The newer versions from 8.0.0 can no longer carry out a deinstallation correctly because the migration files before version 8.0.0 are missing and thus cause error messages.

To determine whether the existing version of the download extension is too old to uninstall without errors, please first execute this SQL statement:

SELECT * FROM phpbb_migrations WHERE migration_name LIKE '%oxpus%dlext%' ORDER BY migration_name ASC;

If the download extension has been installed from version 8.0.0, only the following entries should be displayed:
  • \oxpus\dlext\migrations\basics\dl_commons
  • \oxpus\dlext\migrations\basics\dl_module
  • \oxpus\dlext\migrations\basics\dl_perms
  • \oxpus\dlext\migrations\basics\dl_schema
  • \oxpus\dlext\migrations\v800\release_8_0_0
  • \oxpus\dlext\migrations\v800\release_8_0_3
  • \oxpus\dlext\migrations\v800\release_8_0_8
  • \oxpus\dlext\migrations\v800\release_8_0_14
  • \oxpus\dlext\migrations\v810\release_8_1_0rc1
  • \oxpus\dlext\migrations\v810\release_8_1_0rc2
  • \oxpus\dlext\migrations\v810\release_8_1_9
  • \oxpus\dlext\migrations\v820\release_8_2_0
  • \oxpus\dlext\migrations\v820\release_8_2_5
  • \oxpus\dlext\migrations\v820\release_8_2_7
  • \oxpus\dlext\migrations\v820\release_8_2_9
  • \oxpus\dlext\migrations\v820\release_8_2_14
  • \oxpus\dlext\migrations\v820\release_8_2_15
In this case, you should be able to uninstall the extension without any errors.

Otherwise, a trick is required to include the previous migration files from version 7.0.0 onwards so that the uninstallation back to this version can also be carried out without errors.
To do this, please download the attachment, unzip it and upload it unchanged to the folder /ext/.
The uninstallation should then be carried out without errors.