danielbrendel / hortusfox-web

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

Plant added, but app is empty #187

Closed lockheed closed 6 months ago

lockheed commented 6 months ago

Describe the bug After adding a plant, the app still shows as empty. Plant is only accessible by searching by name.

Screenshots image image image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

danielbrendel commented 6 months ago

Hi, what HortusFox and PHP version are you using? Do you use it in a docker environment? If so, did you make any changes to the docker files?

danielbrendel commented 6 months ago

That is a complete different docker-compose file from a different app.

Latest docker image. The only thing edited is my docker-compose https://pastebin.com/raw/ktaQjnBd

lockheed commented 6 months ago

Sorry, my mistake. Here's the right one.

lockheed commented 6 months ago

Any ideas @danielbrendel ?

danielbrendel commented 6 months ago

Hi, sorry, I didn't find the time to look further earlier.

The issue seems odd at first, but I can see from your log history that you moved the plant to your history section.

Plants that are marked historical are not shown in locations or recent plants list. Keep in mind that plants should only be moved there when they are gone but you want to keep them anyway to dwell in memories of your past plants. So, alive plants do not belong there.

Fix: Go to your history section and restore your plant from there.

lockheed commented 6 months ago

Ah, I though "History" means the "log" for the plant, i.e. date of purchase, history of disease, important events etc. Is there such a functionality in Hortusfox?

danielbrendel commented 6 months ago

Not yet, but it is planned for v3.1 via issue #156

danielbrendel commented 6 months ago

I'll close this issue for now since it is resolved.