QuickBox / QB

QuickBox is much more than a ‘seedbox installer script’, it is a simplistic approach to achieving easy seedbox and services management from a beautifully designed dashboard. Allowing users the ability to interact with their seedbox and server on a professional grade level.
https://quickbox.io
GNU General Public License v3.0
736 stars 169 forks source link

An example of a functional template method for radarr installation #29

Closed userdocs closed 6 years ago

userdocs commented 7 years ago

This pull request is a work in progress to demonstrate an idea of how to approach the installation of apps.

1: The current radarr script is broken.

The main reason being that is does not create the required /home/${username}/.config/Radarr directory causing the script to error:

uhbvssr

I think this is because the command below needs the folder to already exist:

cp ${local_setup}configs/Radarr/config.xml /home/${username}/.config/Radarr/config.xml

2: The idea of a more user friendly template method requiring less knowledge of the script and instead just editing some required variables near the top of the script.

This introduces some generic templates that are edited on a per app basis and moves towards a true templatable solution for additional apps.

userdocs commented 7 years ago

The script works and I think I have commented most critical components. There was one particular error I experienced which I am unsure of the consequences of my solution.

This command failed:

apt-get install -y libmono-cil-dev curl mediainfo >/dev/null 2>&1

and the error required this command to fix it:

dpkg --configure -a

I had done a few system updates and Quickbox updates before I encountered this error so I am unsure what the cause of it was. All I do know is that I had to run it in order to install mono.

JMSDOnline commented 7 years ago

Could you push this to the development branch instead

JMSDOnline commented 6 years ago

Closing due to age. We're having this adjusted.