Closed barto95100 closed 3 months ago
I can also reproduce this issue. This is because the cosmos-compose file for Prowlarr does not check whether you are actually linking it with other containers.
"links": [
"{Context.sonarr-name}",
"{Context.radarr-name}",
"{Context.lidarr-name}",
"{Context.readarr-name}",
"{Context.downloader-name}"
]
Therefore, if you have not assigned all of those values, one of them will be null and cause the issue. Note that the file causing this issue is available in the other repository here.
For other compose files where there is a link, there is a check like:
{if Context.sonarr}
"{Context.sonarr-name}"
{/if}
Unfortunately, since this container links to up to 4 service, implementing such check is not very easy due to the limitations of the templating engine used (Whiskers.js) since as far as I can see, it does not support logical operations like || or && so you will always have issues with commas in the JSON in some cases. Otherwise, it could be easily fixed.
One workaround is to make sure Prowlarr is linked to 5 containers (Sonarr, Radarr, Lidarr, Readarr, and a downloader), or simply modify the cosmos-compose.json file for Prowlarr to only include the containers you actually need to link.
@azukaar Any thoughts on this? Perhaps a potential change in the templating engine to allow for more flexibility?
Cosmos is supposed to ignore null values there, but either way this will be fixed in 0.14, I must have forgotten an edge case
Ok no problem I install prowlarr manually with custom servAPP
When will version 0.14 be available?
prob end of Jan
Fixed in 0.14
What happened?
When I test to install I received the error message:
What should have happened?
the other app radarr,sonarr no problem to install
How to reproduce the bug?
Relevant log output
Other details
No response
System details