Upgrade from 18.10.11 to 22.7.1

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: Upgrade from 18.10.11 to 22.7.1

Post by aimeos » 12 Nov 2022, 05:10

Moritz wrote: 11 Nov 2022, 12:18 I upgrade on the clients test machine and get another error in the upgrade wizard.
The "path" column should be created by the TYPO3 Upgrade Wizard due to this table definition:
https://github.com/aimeos/aimeos-core/b ... ma/job.php

If not, the Upgrade Wizard most likely didn't finish successfully and printed an error at the end. Just run the Wizard again and see what's error is displayed.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

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

Re: Upgrade from 18.10.11 to 22.7.1

Post by aimeos » 12 Nov 2022, 05:18

Moritz wrote: 11 Nov 2022, 11:54 When I go to Admin Tools -> Upgrade -> Check TCA I get the following exception.
The configuration in the EXT:aimeos/Resources/Private/Config/ folder doesn't seem to get loaded so there's no array returned for the "resource" key or it's overwritten by TypoScript somewhere. Can you please check here what happens:
- https://github.com/aimeos/aimeos-typo3/ ... hp#L32-L37
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Re: Upgrade from 18.10.11 to 22.7.1

Post by Moritz » 14 Nov 2022, 08:19

If not, the Upgrade Wizard most likely didn't finish successfully and printed an error at the end. Just run the Wizard again and see what's error is displayed.
I executed the upgrade wizard and get a big output (see attachment).
The Aimeos Backend is not filled with data but in the log section there is the error with the "Unknown column 'majob.path' in 'field list'".
Attachments
Migration.zip
(8.39 KiB) Downloaded 161 times
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Re: Upgrade from 18.10.11 to 22.7.1

Post by Moritz » 14 Nov 2022, 11:36

The configuration in the EXT:aimeos/Resources/Private/Config/ folder doesn't seem to get loaded so there's no array returned for the "resource" key or it's overwritten by TypoScript somewhere. Can you please check here what happens:
- https://github.com/aimeos/aimeos-typo3/ ... hp#L32-L37
I don't know what I can check here.
How do you say, the resource config is not loaded.


$context->config()->get('resource') returns NULL
addFilesystemManager.png
addFilesystemManager.png (60.69 KiB) Viewed 3673 times

Because it is not in the $this->negCache
get.png
get.png (52.3 KiB) Viewed 3673 times
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

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

Re: Upgrade from 18.10.11 to 22.7.1

Post by aimeos » 14 Nov 2022, 17:33

Migration failed due to this error:

Code: Select all

Migrating: /var/www/typo3/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/setup/default/DemoAddProductData.php
Processing product demo data File system manager object not available
This is the same error as before and corresponds to your missing resource configuration (whatever is the reason for that). Did you check if the EXT:aimeos/Resources/Private/Config/resource.php file is there and you didn't overwrite parts of the configuration?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Re: Upgrade from 18.10.11 to 22.7.1

Post by Moritz » 15 Nov 2022, 07:35

The file EXT:aimeos/Resources/Private/Config/resource.php exists and of cource I changed nothing in this file.
aimeos_resource.png
aimeos_resource.png (71.8 KiB) Viewed 3660 times

In my extension I override some settings.
custom_resource.png
custom_resource.png (35.62 KiB) Viewed 3660 times
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Re: Upgrade from 18.10.11 to 22.7.1

Post by Moritz » 15 Nov 2022, 07:53

It is strange that the migration works successfully in my local environment.
Only on the test server of our client it's crash.
Our clients use MariaDB. Can that be a problem?
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Re: Upgrade from 18.10.11 to 22.7.1

Post by Moritz » 15 Nov 2022, 09:23

Moritz wrote: 11 Nov 2022, 11:54 When I go to Admin Tools -> Upgrade -> Check TCA I get the following exception.


exception.png
I have installed Aimeos 22.10.1 in a fresh Typo3 v11.5.18 environment and get the same error.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

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

Re: Upgrade from 18.10.11 to 22.7.1

Post by aimeos » 16 Nov 2022, 09:12

MariaDB shouldn't be a problem. Can you try the newly released 22.10.2 LTS version?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Moritz
Advanced
Posts: 153
Joined: 07 Nov 2018, 14:05

Re: Upgrade from 18.10.11 to 22.7.1

Post by Moritz » 16 Nov 2022, 10:49

In a complete fresh Typo3 v11.5.18 environment i get this error when installing Aimeos v22.10.2

aimeos_install.png
aimeos_install.png (103.35 KiB) Viewed 3643 times
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3

Post Reply