Site broken after running Composer up to update

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
briajer
Posts: 15
Joined: 18 Oct 2022, 15:43

Site broken after running Composer up to update

Post by briajer » 19 Jan 2023, 13:35

Unfortunately my Site is broken after running Composer up to update.

Trying to access the site locally or the /admin page isn't working and just returning SQL Database errors

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'mlocsi.rating' in 'field list': SELECT mlocsi."id" AS "locale.site.id", mlocsi."siteid" AS "locale.site.siteid", mlocsi."code" AS "locale.site.code", mlocsi."label" AS "locale.site.label", mlocsi."config" AS "locale.site.config","

Is there a way I can revert or fix this?

My .ENV file looks ok

I have also tried rebooting the server

Any help would be appreciated

briajer
Posts: 15
Joined: 18 Oct 2022, 15:43

Re: Site broken after running Composer up to update

Post by briajer » 19 Jan 2023, 13:43

I have just ran ./artisan aimeos:setup

my site is now back other than a few images which have been overwritten

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

Re: Site broken after running Composer up to update

Post by aimeos » 19 Jan 2023, 13:44

If you upgrade from previous version, you should always execute the setup tasks to update your database too:

Code: Select all

php artisan aimeos:setup
See: https://aimeos.org/docs/latest/laravel/setup/#upgrade
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply