View Issue Details

IDProjectCategoryView StatusLast Update
0007889OXID eShop (all versions)4.01. Database handlingpublic2026-01-30 16:58
Reportermario_lorenz Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version7.4.0 
Summary0007889: The OXID migration script does not run through to the modules on a fresh OXID system.
DescriptionThe OXID migration script is hard-coded and processes three areas: shop migrations, project migrations, and module migrations.

The migration files are located here:

Shop: source/migration/data/

Project: source/migration/project_data/

Module: moduleRoot/migration/data/

Since the project directory (source/migration/project_data/) is empty, the `migrations` command performs the shop migrations. The following error occurs with the project migrations:

[ERROR] The version "latest" couldn't be reached, there are no registered migrations.

The script then terminates and ignores the module migrations.

This can be remedied by creating dummy migrations using the `migration:generate` command.

Afterward, all three areas are processed.
Steps To ReproduceFresh install OXID

On the console:
`vendor/bin/oe-eshop-doctrine_migration migrate` -> ERROR
`vendor/bin/oe-eshop-doctrine_migration migrations:generate`
`vendor/bin/oe-eshop-doctrine_migration migrate` -> NO MORE ERROR
Additional InformationSolution:

The wrapper script: vendor/bin/oe-eshop-doctrine_migration checks whether version*.php files are present in the folders; only then are the migrations performed.

It's possible that the problem has existed since OXID 7.0, because the project_data directory has been empty at least since then.

Or the Symfony libraries haven't thrown an exception yet if there were no migration files.
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP Version8.3
Database VersionNot defined

Activities

There are no notes attached to this issue.