sysadminsmedia / homebox

A continuation of HomeBox the inventory and organization system built for the Home User
https://homebox.software
GNU Affero General Public License v3.0
1.07k stars 59 forks source link

Homescreen empty "Failed to search items" #121

Open Saturo78 opened 3 months ago

Saturo78 commented 3 months ago

First Check

Homebox Version

Version: v0.12.1

What is the issue you are experiencing?

Yesterday i switched from v0.10.3. I have an issue that after a while the homescreen is empty. When i click on search i get the message "failed to search items" When i restart the container everything works fine but after a while the issue comes back.

How can the maintainer reproduce the issue?

The issue occurs after a while of use.

Deployment

Docker (Linux)

Deployment Details

Raspberry Pi 4 Computer Modell B, 4GB RAM

katosdev commented 3 months ago

I am not able to replicate this one myself. @tankerkiller125 please can you attempt to replicate?

tankerkiller125 commented 3 months ago

How long is a while? I have a testing environment that's been running for 5 days straight so far and I'm not seeing this issue happen. I don't leave the tab open to it though, so maybe something there if you're leaving the tab open?

katosdev commented 3 months ago

It seems that this temporarily flashes (like, VERY short period of time) when flicking between menus, but it's barely noticeable to me. Are you able to restart the Pi and rule out any performance / networking issues please?

Saturo78 commented 3 months ago

I changed it yesterday morning. The error occurred for the first time in the afternoon after about 5 hours. In the meantime, I didn't use homebox and didn't have a tab open. The second time the error occurred this morning when I first used it. With version 0.10.3, which I have been using for the last 2 months, this error did not occur. Is there anything I can do to help you find the error?

katosdev commented 3 months ago

Is there anything I can do to help you find the error?

Are you able to replicate the issue and then download and share your HAR file please? This hopefully will help us to identify where the call is failing.

tankerkiller125 commented 3 months ago

Is there anything I can do to help you find the error?

Are you able to replicate the issue and then download and share your HAR file please? This hopefully will help us to identify where the call is failing.

Before sharing the HAR file please run it through HAR sanitizer https://har-sanitizer.pages.dev/ we don't want access tokens and what not getting leaked to the general Internet.

Saturo78 commented 3 months ago

After two day the issue is there again. Here is the HAR file. redacted_myurl_Archive [24-07-14 14-12-37].zip

katosdev commented 3 months ago

After two day the issue is there again. Here is the HAR file. redacted_myurl_Archive [24-07-14 14-12-37].zip

Apologies for the delays, there seems to be a lot of errors on your install. Can you please describe how this is configured? Are you using a reverse proxy at all?

Saturo78 commented 3 months ago

I use portainer with this config:

version: "3.4"

services:
  homebox:
    image: ghcr.io/hay-kot/homebox:latest
#   image: ghcr.io/hay-kot/homebox:latest-rootless
#   image: ghcr.io/hay-kot/homebox:latest
#   image: ghcr.io/sysadminsmedia/homebox:latest
    container_name: homebox
    restart: always
    environment:
    - HBOX_LOG_LEVEL=info
    - HBOX_LOG_FORMAT=text
    - HBOX_WEB_MAX_UPLOAD_SIZE=10
    - HBOX_OPTIONS_ALLOW_REGISTRATION=false
    volumes:
    - /home/christian/homebox/:/data/
    ports:
      - 3100:7745

volumes:
   homebox-data:
     driver: local

and yes i use ngix proxy manager as reverse proxy. At the moment i have switched back to v 0.10.3

101br03k commented 3 months ago

Youre using the https://github.com/hay-kot/homebox and come to sysadminsmedia/homebox for support? hay-kot/homebox has been archived since Jun 12, 2024

My suggestion would be to switch to the sysadminsmedia image and see if the issue persists.

Saturo78 commented 3 months ago

Thank you for yor suggestion. As mentioned above i run into this issue with v 0.12.1 and switched back to v 0.10.3 for security reasons. I made a test with v 0.13.0 today and got the same error message.

Saturo78 commented 2 months ago

With version 0.13.0 the issue occurs immediately and also if i access homebox from my network via 192.168... So maybe its not related to the reverse proxy manager.