Skip to content

CLI Installation fails on SQLite when installing Default Extras (migration error) #2

@evolution-lover

Description

@evolution-lover

When installing EvolutionCMS via the CLI using a SQLite database, the installation crashes during the Extras installation step. The error originates from the seiger/sMultisite package migrations. The same installation process completes successfully when using MySQL.

Environment:

EvolutionCMS Version: 3.5.x
PHP Version: 8.4
Database Type: SQLite

Steps to Reproduce:

Run the following CLI installation command:

Bash
evo install --branch=3.5.x --db-type=sqlite --admin-username=admin --admin-email=admin@admin.ua --admin-password=123456 --admin-directory=manager --language=en --db-name=database.sqlite
Wait for the core installation to finish.

When prompted Do you want to install additional packages (Extras) now?, select ● Yes.

Select the latest version of Default (auto) and hit Install selected.

Expected Behavior:

The CMS and all selected default Extras should install completely without errors.

Actual Behavior:

The process terminates with an error during the database migration step.

Error Log / Stack Trace:

│ #9. Illuminate\Events\Dispatcher->{closure:Illuminate\Events\Dispatcher::makeListener():487}(), core/vendor/illuminate/events/Dispatcher.php on line 319 │
│ #10. EvolutionCMS\ServiceProvider->{closure:/home/username/domain/core/vendor/seiger/smultisite/plugins/sMultisitePlugin.php:67}(), core/vendor/illuminate/events/Dispat… │
│ #11. Illuminate\Database\Eloquent\Builder->first(), core/vendor/seiger/smultisite/plugins/sMultisitePlugin.php on line 75 │
│ #12. Illuminate\Database\Eloquent\Builder->get(), core/vendor/illuminate/database/Concerns/BuildsQueries.php on line 366 │
│ #13. Illuminate\Database\Eloquent\Builder->getModels(), core/vendor/illuminate/database/Eloquent/Builder.php on line 884 │
│ #14. Illuminate\Database\Query\Builder->get(), core/vendor/illuminate/database/Eloquent/Builder.php on line 902 │
│ #15. Illuminate\Database\Query\Builder->onceWithColumns(), core/vendor/illuminate/database/Query/Builder.php on line 3489 │
│ #16. Illuminate\Database\Query\Builder->{closure:Illuminate\Database\Query\Builder::get():3489}(), core/vendor/illuminate/database/Query/Builder.php on line 4080 │
│ #17. Illuminate\Database\Query\Builder->runSelect(), core/vendor/illuminate/database/Query/Builder.php on line 3490 │
│ #18. Illuminate\Database\Connection->select(), core/vendor/illuminate/database/Query/Builder.php on line 3505 │
│ #19. Illuminate\Database\Connection->run(), core/vendor/illuminate/database/Connection.php on line 411 │
│ #20. Illuminate\Database\Connection->runQueryCallback(), core/vendor/illuminate/database/Connection.php on line 794 │
│ │
│ Some extras finished with warnings or errors. Review the results below before testing.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions