1146 Table 'tenancy.madmin_log' doesn't exist:

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!
hyalcin
Posts: 11
Joined: 09 Aug 2024, 13:22

1146 Table 'tenancy.madmin_log' doesn't exist:

Post by hyalcin » 04 Sep 2024, 10:47

Migrating: vendor/aimeos/aimeos-core/setup/MShopAddLocaleLangCurData.php

Aimeos\Base\DB\Exception

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tenancy.madmin_log' doesn't exist:
INSERT INTO "madmin_log" (
"facility", "timestamp", "priority", "message", "request", "siteid"
) VALUES (
?, ?, ?, ?, ?, ?
)
["core\/sql","2024-09-04 10:44:26",7,"Time: 0.41103363037109ms\nClass: Aimeos\\MShop\\Locale\\Manager\\Language\\Standard\nSELECT mlocla.\"id\" AS \"locale.language.id\", mlocla.\"label\" AS \"locale.language.label\", mlocla.\"id\" AS \"locale.language.code\", mlocla.\"status\" AS \"locale.language.status\", mlocla.\"ctime\" AS \"locale.language.ctime\", mlocla.\"mtime\" AS \"locale.language.mtime\", mlocla.\"editor\" AS \"locale.language.editor\"\nFROM \"mshop_locale_language\" mlocla\nWHERE 1 = 1\nORDER BY mlocla.\"id\" ASC\nLIMIT 2147483647 OFFSET 0","53ac53fa784fd9c39d1777f5c2e8f8ca",""]

at vendor/aimeos/aimeos-base/src/DB/Statement/DBAL/Prepared.php:77
73▕ {
74▕ try {
75▕ $result = $this->exec();
76▕ } catch( \Doctrine\DBAL\Driver\Exception $e ) {
➜ 77▕ throw new \Aimeos\Base\DB\Exception( $e->getMessage() . ': ' . $this->sql . json_encode( array_column( $this->binds, 0 ) ), $e->getCode() );
78▕ }
79▕
80▕ return new \Aimeos\Base\DB\Result\DBAL( $result );
81▕ }

+33 vendor frames

34 artisan:35
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
php artisan aimeos:setup => I get the above error during setup

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

Re: 1146 Table 'tenancy.madmin_log' doesn't exist:

Post by aimeos » 04 Sep 2024, 13:52

Which Aimeos version do you use?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

hyalcin
Posts: 11
Joined: 09 Aug 2024, 13:22

Re: 1146 Table 'tenancy.madmin_log' doesn't exist:

Post by hyalcin » 04 Sep 2024, 14:03

"aimeos/aimeos-laravel": "~2024.07",
"laravel/framework": "^10.10",
"php": "^8.1",
While this problem did not exist in the previous branches in the workflow, I am encountering this problem in the last branch. What could I have broken?

Thanks in advance.

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

Re: 1146 Table 'tenancy.madmin_log' doesn't exist:

Post by aimeos » 04 Sep 2024, 14:15

The root cause is still unclear but the described problem is a missing dependency in the setup tasks. We've fixed that and tagged a new release of the aimeos/aimeos-core package (2024.07.3). Can you install that version and try again? Afterwards, an error may be logged to the madmin_log table.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply