danielbrendel / hortusfox-web

Self-hosted collaborative plant management and tracking system for plant enthusiasts
https://www.hortusfox.com
MIT License
674 stars 34 forks source link

SQL-Issue #302

Closed gstoetti94 closed 1 week ago

gstoetti94 commented 1 week ago

Describe the bug HortusFox is run on Docker. I upgraded to v 3.7. When trying to edit items in Administration-Environment, I get the error message:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'custom_media_share_host' in 'field list'

It occured when I tried to add the Pl@ntNet-API.

Screenshots grafik

Software:

danielbrendel commented 1 week ago

Hi, sorry that you run into these issues.

I'm suspecting that you updated HortusFox from a version prior to 3.5.

In order to solve this, please run the following commands:

php asatru migrate:upgrade 3.5
php asatru migrate:upgrade 3.6
php asatru migrate:upgrade 3.7
gstoetti94 commented 1 week ago

Perfect, thank you.

Running the Command sudo docker exec [containername] php asatru migrate:upgrade [version] solved the issue.