Dietpi-Arr to RAM error

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
przemko
Posts: 175
Joined: Sun Mar 15, 2020 5:40 pm

Dietpi-Arr to RAM error

Post by przemko »

Hi, after link database of Radarr to RAM I make connection in Radarr webUI and in Test I have error:
`Must not be a descendant of '/boot'`.
How to fix that?

Guide: viewtopic.php?f=8&t=5828

Regards,
Przemko
User avatar
Joulinar
Posts: 5688
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi-Arr to RAM error

Post by Joulinar »

Hi,

looks like Radarr V3 changed stuff and did not except scripts located at /boot

@MichaIng Maybe something to look into. As well I don't see an option to set arguments like 2 radarr anymore.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 3266
Joined: Sat Nov 18, 2017 6:21 pm

Re: Dietpi-Arr to RAM error

Post by MichaIng »

Ohh, that is bad. Why not leaving that decision to the administrator :x. This was a backport from Sonarr, I guess Sonarr V3 which hence will be affected as well: https://github.com/Radarr/Radarr/blame/ ... #L141-L147

Ugly workaround:

Code: Select all

echo -e '#!/bin/dash\nexec /boot/dietpi/misc/dietpi-arr_to_RAM 2 radarr' > /var/lib/dietpi/dietpi-software/radarr_backup_database.sh
chmod +x /var/lib/dietpi/dietpi-software/radarr_backup_database.sh
Then adding that script instead.
helenfr
Posts: 2
Joined: Wed Dec 16, 2020 8:27 am

Re: Dietpi-Arr to RAM error

Post by helenfr »

Also, the radarr DB is now called `radarr.db` not `nzbdrone.db` so

Code: Select all

dietpi-arr_to_RAM 1 radarr
will not create a `/tmp` link
User avatar
Joulinar
Posts: 5688
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi-Arr to RAM error

Post by Joulinar »

Yeah since Radarr V3 thinks are brocken as quite a lot of thinks changed on Radarr side :(
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
MichaIng
Site Admin
Posts: 3266
Joined: Sat Nov 18, 2017 6:21 pm

Re: Dietpi-Arr to RAM error

Post by MichaIng »

I'll implement Sonarr v3 migration + Radarr v3 supported as good as possible with the next DietPi release. If it stays that way that arguments are not possible anymore for those event hooks, we'll pre-create a backup update script within the Sonarr/Radarr data directory to invoke.
helenfr
Posts: 2
Joined: Wed Dec 16, 2020 8:27 am

Re: Dietpi-Arr to RAM error

Post by helenfr »

for sonarr v3 fix typo in `dietpi-arr_to_RAM.sh` from

Code: Select all

/boot/dietpi/misc/dietpi-arr_to_RAN 2 sonarr
to

Code: Select all

/boot/dietpi/misc/dietpi-arr_to_RAM 2 sonarr
User avatar
Joulinar
Posts: 5688
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi-Arr to RAM error

Post by Joulinar »

This is known and already taken care of https://github.com/MichaIng/DietPi/pull/4315
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply