No node with id "3" found at setup

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
jan
Posts: 2
Joined: 29 Apr 2022, 11:48

No node with id "3" found at setup

Post by jan » 17 May 2022, 10:58

command

Code: Select all

php artisan aimeos:setup --option=setup/default/demo:1
throws a Aimeos\MW\Tree\Exception with message
No node with ID "3" found
at vendor/aimeos/aimeos-core/src/MW/Tree/Manager/DBNestedSet.php:704

Command output before the exception:

...
Creating locale schema
Add locale data for languages and currencies
Adding data for MShop locale languages
Adding data for MShop locale currencies
Creating log schema
Adding data for MShop locale domain
Adding locale data if not yet present
Setting locale to "default"
Processing catalog demo data


Fresh installation of Laravel 9 with livewire/jetstream
aimeos/aimeos-laravel: 2022.04
php 8.0.12
mysql 8.0.27

Anyone else ran into this?

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: No node with id "3" found at setup

Post by aimeos » 17 May 2022, 12:12

If you run the database migrations a second time including the demo data setup, this fails in the current version. The workaround is to delete the demo categories from the mshop_catalog table before executing the command or skip the --options parameter.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply