502 bad gateway after installing Radarr

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 12.0.16
What app is this about: radarr

Describe your issue

Hello,

After trying three times to install radarr and solve problem on my own I now come here for help as I feel in a dead lock

Radarr is installed on it’s own domain. Installation goes to the end but raises errors.
When I am trying to go on the app I get 502 bad gateway so I guess something is wrong with nginx.

See under for logs.

Thanks a lot for the help and for the great work of the yunohost team!

Share relevant logs or error messages

Here is the log of the install:
https://paste.yunohost.org/raw/avigapisir

Bonsoir @Fresne,
Quelles erreurs as-tu rencontrées pendant les tentatives d’installation qui ont échoué ?
J’imagine que le service ne tourne plus ? As-tu regardé les logs de nginx (error.log du domaine de radarr) et le journal de radarr ?

Hey otm,

Alors, voici ce que disent les logs :
var/log//nginx/radarr.[mon domaine]error.log :

148600#148600: *38081 connect() failed (111: Connection refused) while connecting to upstream, client: [adresse ip], server: [mondomaine], request: “GET / HTTP/2.0”, upstream: “http://127.0.0.1:37624/”, host: “[mon domaine]”, referrer: “[mon domaine]”
2025/05/14 18:39:07 [error] 148596#148596: *40590 connect() failed (111: Connection refused) while connecting to upstream, client: [redacted IP], server: [mon domaine], request: “GET /api/.env HTTP/1.1”, upstream: “http://127.0.0.1:37624/api/.env”, host: "mondomaine

/var/log/yunohost/operations/20250514-123840-app_install-radarr.yml
args:
app: radarr
force: false
label: Radarr
no_remove_on_failure: false
ended_at: 2025-05-14 12:40:48.585218
env:
YNH_APP_ACTION: install
YNH_APP_ARG_DOMAIN:[mon domaine]
YNH_APP_ARG_INIT_MAIN_PERMISSION: admins
YNH_APP_ARG_PATH: /
YNH_APP_BASEDIR: /var/cache/yunohost/app_tmp_work_dirs/app_jcf96_bg
YNH_APP_ID: radarr
YNH_APP_INSTANCE_NAME: radarr
YNH_APP_INSTANCE_NUMBER: ‘1’
YNH_APP_MANIFEST_VERSION: 5.22.4.9896~ynh1
YNH_APP_PACKAGING_FORMAT: ‘2.0’
YNH_ARCH: arm64
YNH_DEBIAN_VERSION: bookworm
YNH_DEFAULT_PHP_VERSION: ‘8.2’
YNH_HELPERS_VERSION: ‘2’
error: null
interface: api
operation: app_install
parent: null
related_to:

    • app
    • radarr
      started_at: 2025-05-14 12:38:40.682186
      success: true
      yunohost_version: 12.0.16

De nouveau le log de l’install (lien yunopaste) :
https://paste.yunohost.org/raw/acajazesan

Merci de votre aide !

Bonsoir,
Peux-tu publier le journal de radarr (tu vas tout simplement sur la webadmin > Outils > Services > Radarr > partager avec yunopaste) ?

Salut,

Voici :

Deux choses qu’il est peut être important de noter:

J’ai déja eu une installation de radarr qui fonctionnait correctement , peut être que certains fichiers de configuration viennent mettre le bazar dans la nouvelle installation ?

J’ai le même souci avec lidarr et sonarr …

ARRRRgg

Merci du coup de main.

May 15 20:36:44 Radarr[284086]: [v5.22.4.9896] NzbDrone.Common.Exceptions.RadarrStartupException: Radarr failed to start: Unable to write PID file /home/(removed)/radarr/radarr.pid
May 15 20:36:44 Radarr[284086]:  ---> System.UnauthorizedAccessException: Access to the path '/home/(removed)/radarr/radarr.pid' is denied.

Radarr se plaint de ne pas pouvoir écrire dans son dossier de données dans /home/yunohost.app/radarr. Est-ce que ton /home ou /home/yunohost.app sont un point de montage ou quoique ce soit d’autre qu’un simple dossier ?

Que te retourne sudo ls -ld /home/yunohost.app/radarr ?

Ok j’ai réussi à le faire marcher !

Ce que j’ai fais :

rm -r /home/yunohost.app/radarr , désinstallation de transmission et réinstalation de radarr.

Pouf ça marche … Comme quoi .

@tituspijean non mais mon /home/yunohost.mutimedia est un point de montage sur un disque externe .
Merci pour votre aide , ça m’a aidé à creuser plus .