Giter VIP home page Giter VIP logo

Comments (6)

userdocs avatar userdocs commented on July 19, 2024 2

I was looking at the install script and it seems that you load radarr then shut it down to create the config and then edit it. I found this method very inconsistent when creating couch/sick/sonarr/radarr installations installed from github (non deb packages) for reasons such as:

1: No configs generated if the server is not shutdown properly and the wait time for this proper shutdown is not consistent or predictable.

2: Or configs being overwritten tables in the database at load and shutdown for various reasons, such as config being edited before the app issues the save to config.

What I did to get a consistent outcome was to use a template config that inserts the requires database tables at first run and guarantees it will save the desired config on exit.

Radarr Config.

https://github.com/userdocs/userdocs/blob/master/Remote_Programs/Radarr/configs/config.xml

1: Download the template
2: edit the template
3: Load Radarr.
4: Profit. Consistent outcome every time.

The sonarr config is almost identical.

https://github.com/userdocs/userdocs/blob/master/Remote_Programs/Sonarr/configs/config.xml

Jakett works the same.

https://github.com/userdocs/userdocs/blob/master/Remote_Programs/Jackett/configs/ServerConfig.json

This works with Couchpotatoe and Sickrage as well.

This is from a mono apps script I wrote for whatbox/feral slots after various scripts for couch/sick et al.

https://github.com/userdocs/userdocs/blob/master/Remote_Programs/Mono/scripts/install.monoapps.sh

I get the exact outcome I want every time.

from qb.

JMSDOnline avatar JMSDOnline commented on July 19, 2024

The config.xml is not being created per the /home/${username}/.config/Radarr/ directory. This will fail especially when the directory doesn't exist. I have an install playing on a v2.5.0 install where it was working. I'll look to see what changes happened since. This one is a puzzle as @PastaGringo created this installer package.

from qb.

JMSDOnline avatar JMSDOnline commented on July 19, 2024

Addressed a few issues and pushed to QB[master] see commit here: c568ddb

May want to run a few tests, I have had success on 3 separate runs now, both from fresh install and current installs.

from qb.

KarmaPoliceT2 avatar KarmaPoliceT2 commented on July 19, 2024

Think there is still an issue:

Line 76 is currently:
+chown -R quickbox:quickbox /home/${username}/.config
I think it should be:
+chown -R ${username}:${username} /home/${username}/.config

from qb.

JMSDOnline avatar JMSDOnline commented on July 19, 2024

You stay true to your name @userdocs! Thanks for these, I am going to give them a solid once over and plan out additions. #Yourethebest

from qb.

JMSDOnline avatar JMSDOnline commented on July 19, 2024

With @userdocs suggestions, this issue has been resolved... too lazy to dig for the posted commit that addresses this...

from qb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.