anandslab / AtoMiC-ToolKit

AtoMiC Toolkit simplifies HTPC / Home Server setup and management on Ubuntu and Debian variants including Raspbian. It currently supports: Couchpotato, Deluged, Emby, FFmpeg, Headphones, Htpcmanager, Jackett, Kodi, Lazylibrarian, Madsonic, Mono, Mylar, Nzbget, Nzbhydra, NzbToMedia, Ombi, Plex, Plexpy, Pyload, qBittorrent, Radarr, Sabnzbd+, Sickgear, Sickrage, Sonarr, Subsonic, Transmission, Unrar, Watcher, and Webmin.
https://www.smarthomebeginner.com
MIT License
852 stars 115 forks source link

Sonarr Install Broken #283

Closed peewee5 closed 6 years ago

peewee5 commented 6 years ago

New features

Please visit http://feathub.com/htpcBeginner/AtoMiC-ToolKit

The problem

I am getting an error with the Sonarr installation script not being able to find nzbDrone.

My Linux distribution and version is:

Ubuntu Server 16.04

I'm seeing this behaviour on:

A fresh install

Link to install logs

--->Stopping Sonarr... Nothing found to stop

--->Removing Sonarr Systemd Startup scripts... sonarr.service SystemD script not found

--->Removing Sonarr Init.d startup scripts... /etc/init.d/sonarr init script not found

--->Removing Sonarr default config scripts... /etc/default/sonarr default script not found

--->Adding Sonarr repository... deb http://apt.sonarr.tv/ master main

--->Adding Sonarr Keys... Executing: /tmp/tmp.nNdcd3vsdV/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys FDA5DFFC gpg: requesting key FDA5DFFC from hkp server keyserver.ubuntu.com gpg: key D9B78493: public key "NzbDrone contact@nzbdrone.com" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1)

AtoMiC Mono Installer Script

--->Adding Mono repository... Mono repository already exists

--->Refreshing packages list... W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/google-chrome.list:3 W: Failed to fetch http://apt.sonarr.tv/dists/master/InRelease Could not connect to apt.sonarr.tv:80 (91.121.43.180), connection timed out W: Some index files failed to download. They have been ignored, or old ones used instead. W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/google-chrome.list:3 W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:58 and /etc/apt/sources.list.d/google-chrome.list:3 Done

Sonarr Repo timeout: sudo apt update Hit:1 http://download.mono-project.com/repo/ubuntu xenial InRelease Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://dl.google.com/linux/chrome/deb stable Release
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:7 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:9 http://download.zerotier.com/debian/xenial xenial InRelease [11.5 kB]
Err:10 http://apt.sonarr.tv master InRelease
Could not connect to apt.sonarr.tv:80 (91.121.43.180), connection timed out Fetched 11.5 kB in 2min 0s (96 B/s)
Reading package lists... Done Building dependency tree
Reading state information... Done All packages are up to date. W: Failed to fetch http://apt.sonarr.tv/dists/master/InRelease Could not connect to apt.sonarr.tv:80 (91.121.43.180), connection timed out W: Some index files failed to download. They have been ignored, or old ones used instead.

--->Installing prerequisites for Mono... Reading package lists... Done Building dependency tree
Reading state information... Done libmono-cil-dev is already the newest version (5.12.0.226-0xamarin3+ubuntu1604b1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

--->Installing Mono... Reading package lists... Done Building dependency tree
Reading state information... Done mono-complete is already the newest version (5.12.0.226-0xamarin3+ubuntu1604b1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ---> Mono installation complete.

--->Installing Sonarr... Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package nzbdrone

--->Stopping Sonarr... Nothing found to stop

--->Autostart configuring... Using systemd

--->Removing Sonarr Init.d startup scripts... /etc/init.d/sonarr init script not found

--->Removing Sonarr default config scripts... /etc/default/sonarr default script not found

--->Enabling Sonarr Autostart at Boot... Created symlink from /etc/systemd/system/multi-user.target.wants/sonarr.service to /etc/systemd/system/sonarr.service. sonarr.service SystemD script added and enabled

--->Starting Sonarr... sonarr.service is now: inactive

I'm not a dummy, so I've checked these!

peewee5 commented 6 years ago

The repo seems to be back up and working again. Closing the issue.