ajnart / homarr

Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr)
https://homarr.dev
MIT License
5.93k stars 273 forks source link

Indexer widget: "Cannot read properties of undefined (reading 'integration')" #2102

Closed robinwit closed 1 month ago

robinwit commented 1 month ago

Environment

Docker

Version

0.15.3

Describe the problem

Setup running on Synology with Docker. I added a Radarr and Sonarr app, pointed local url's to 172.17.0.1 with the correct ports.

The Indexer widget keeps loading, in the web inspector I see the following request fails:

/api/trpc/indexerManager.indexers,indexerManager.statuses?batch=1&input=%7B%220%22%3A%7B%22json%22%3A%7B%22configName%22%3A%22Robin%22%7D%7D%2C%221%22%3A%7B%22json%22%3A%7B%22configName%22%3A%22Robin%22%7D%7D%7D

[{
    "error": {
        "json": {
            "message": "Cannot read properties of undefined (reading 'integration')",
            "code": -32603,
            "data": {
                "code": "INTERNAL_SERVER_ERROR",
                "httpStatus": 500,
                "path": "indexerManager.indexers",
                "zodError": null
            }
        }
    }
}, {
    "error": {
        "json": {
            "message": "Cannot read properties of undefined (reading 'integration')",
            "code": -32603,
            "data": {
                "code": "INTERNAL_SERVER_ERROR",
                "httpStatus": 500,
                "path": "indexerManager.statuses",
                "zodError": null
            }
        }
    }
}]

I had a look at the widget code, but I don't see any integration property being called. Feel free to point me in the right direction, I can debug myself.

Logs

Nothing related in the logs.

Context

Self-explanatory.

Please tick the boxes

github-actions[bot] commented 1 month ago

Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly.

robinwit commented 1 month ago

Ok I need Prowlarr (RTFM), but the error description could be better. :)

SeDemal commented 1 month ago

Hi, thanks for the feedback. This info should be accessible from the docs already but I can see it isn't either. In case you need it: homarr.dev, it might prevent some headaches :)