Install Upstart sudo apt-get install upstart This should not be done on Ubuntu 15.x unless you already use upstart for personal reasons. Update the Sonarr init.d to start on boot sudo update-rc.d nzbdrone defaults Make the Sonarr init.d script executable sudo chmod +x /etc/init.d/nzbdrone NZBDRONE_PID=`ps auxf | grep NzbDrone.exe | grep -v grep | awk '" >&2 # Description: starts instance of NzbDrone using start-stop-daemon # Short-Description: starts instance of NzbDrone # Required-Stop: $local_fs $network $remote_fs # Required-Start: $local_fs $network $remote_fs Paste this long code and change htpcguides to your user #! /bin/sh This is the preferred method for Ubuntu 14.x and 15.x since init.d works on all distributionsĬreate the Sonarr (NzbDrone) init.d script file sudo nano /etc/init.d/nzbdrone If it loads then you can make it run on boot, press Ctrl-C to get out of the Sonarr (Nzbdrone) process Autostart Sonarr (NzbDrone) Autostart Sonarr with init.d Script Make sure Sonarr runs mono /opt/NzbDrone/NzbDrone.exe Remove the custom NzbDrone list to avoid future dependency issues sudo rm /etc/apt//sonarr.listĬhange the ownership of the Sonarr folder to your regular user and its group, replace both instances of htpcguides as your user and group sudo chown -R htpcguides: htpcguides /opt/NzbDrone Now update and install nzbdrone sudo apt-get update Our recommendation is to use a single volume for the data, as mentioned above.Update and upgrade packages sudo apt-get update & sudo apt-get upgrade -yĪdd the mono repository from Xamarin to make sure you get the latest version sudo apt-key adv -keyserver hkp://:80 -recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EFĮcho "deb wheezy main" | sudo tee /etc/apt//mono-xamarin.listĮnable apt-get to install from https sources sudo apt-get install apt-transport-https -yĪdd source repositories for Nzbdrone sudo apt-key adv -keyserver -recv-keys FDA5DFFCĮcho "deb master main" | sudo tee -a /etc/apt//sonarr.list The default volumes are not optimal nor recommended. LinuxServer specifies a couple of optional default volumes such as They also maintain images for most of the popular download clients as well. Is one of the most prolific and popular Docker image maintainers. Hotio also builds our Pull Requests which may be useful for testing. Images are automatically updated multiple times in an hour if upstream changes are found. There are many ways to manage Docker images and containers too, so installationĪnd maintenance of them will depend on the route you choose.ĭoesn't specify any default volumes, besides To install and use these Docker images, you'll need to keep the above in mind while following their documentation. Keep in mind that Radarr will need read and write to the download folders as well as the final folders.įor a more detailed explanation of these issues, see The recommendation is to use a common group for all related containers so that each container can use the shared group permissions to read and write files on the mounted volumes. The default user, group and umask, you should decide this before setting up all of your containers. Most images have environment variables that can be used to override Permissions and ownership of files is one of the most common problems for Radarr users, both inside and outside Docker. If this advice is not followed, you may have to configure a Remote Path Mapping in the Radarr web UI (Settings › Download Clients). The best solution is to use a single, common volume Some also recommend paths for the download client container that are different from the Radarr container, like This causes slow moves and doesn't allow hard links because theyĪre considered two different file systems Both problems can be solved with well planned, consistent paths. The second is a performance issue and causes problems for seeding torrents. torrents/My.Movie.2018/, but in the Radarr container that might be at The first is a problem because the download client will report a download's path as There are two common problems with Docker volumes: Paths that differ between the Radarr and download client container and paths that prevent fast moves and hard links. Radarr v4 will convert the given directory on startup if a Radarr v0.2 or v3 database is found. Volume to mount the data directory and supply that path to Radarr as parameter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |