Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sonarr and Radarr Problem #1566

Closed
Lanneer487 opened this issue Feb 28, 2018 · 13 comments
Closed

Sonarr and Radarr Problem #1566

Lanneer487 opened this issue Feb 28, 2018 · 13 comments
Assignees
Milestone

Comments

@Lanneer487
Copy link

Lanneer487 commented Feb 28, 2018

When I want to install sonarr and radarr on the latest version of dietpi, The installation completed successfully. The problem is that they won't boot and can't get started manually.

@symbios24
Copy link

Hi, di you access the web interface of sonarr for example from another computer connected to the same network thought your internet browser url = http://192.168.0.100:8989 ??

@Lanneer487
Copy link
Author

Yes, but before I updated to the latest version everything worked. So I did a clean install of dietpi and installed sonarr but it wont start. Same problem for radarr. when I look at the service status, I get this as feedback:
● sonarr.service - Sonarr (NzbDrone) Daemon
Loaded: loaded (/etc/systemd/system/sonarr.service; disabled; vendor preset:
enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2018-02-28 15
:07:54 GMT; 2s ago
Process: 3769 ExecStart=/usr/bin/mono --debug /opt/NzbDrone/NzbDrone.exe -nobr
owser (code=exited, status=1/FAILURE)
Main PID: 3769 (code=exited, status=1/FAILURE)

Feb 28 15:07:54 RaspberryPi systemd[1]: sonarr.service: Main process exi
ted, code=exited, status=1/FAILURE
Feb 28 15:07:54 RaspberryPi systemd[1]: sonarr.service: Unit entered fai
led state.
Feb 28 15:07:54 RaspberryPi systemd[1]: sonarr.service: Failed with resu
lt 'exit-code'.

@Fourdee
Copy link
Collaborator

Fourdee commented Feb 28, 2018

🈴 RPi 3 test dietpi-software install 144 145 :

Can't see any options to change only dpkg/apt unpack directory. We may need to remove /tmp from 1GB< systems.

  • Interesting, we can set a higher /tmp tmpfs size than available RAM. Should use SWAP in that instance.
root@DietPi:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           2.0G     0  2.0G   0% /tmp

Executing: /tmp/apt-key-gpghome.steDtXb54V/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/tmp/apt-key-gpghome.steDtXb54V/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr

🈴 Service auto restarting confirmed

  • Running both binaries at same time manually is fine, although Press enter to exit... most likely a end prompt to mono binary finishing:
/usr/bin/mono --debug /opt/Radarr/Radarr.exe -nobrowser
/usr/bin/mono --debug /opt/NzbDrone/NzbDrone.exe -nobrowser
root@DietPi:~# curl -s "$INSTALL_URL_ADDRESS" | grep 'linux.tar.gz' | grep 'browser_download_url' | head -1
        "browser_download_url": "https://github.com/Radarr/Radarr/releases/download/v0.2.0.980/Radarr.develop.0.2.0.980.linux.tar.gz"

@Lanneer487
Copy link
Author

Lanneer487 commented Feb 28, 2018

schermafbeelding 2018-02-28 om 17 42 07

How can I fix this? it keeps restarting

@Fourdee Fourdee added this to the v6.3 milestone Feb 28, 2018
@Fourdee Fourdee self-assigned this Feb 28, 2018
Fourdee referenced this issue Feb 28, 2018
+ DietPi-Software | Mono: Raspbian dist is now used for RPi devices:
https://github.com/Fourdee/DietPi/issues/1566
@Fourdee
Copy link
Collaborator

Fourdee commented Feb 28, 2018

Ok, minus our issue with /tmp out of space (https://github.com/Fourdee/DietPi/issues/1566#issuecomment-369296662)

This is an issue with Mono version used (5.10 latest via http://download.mono-project.com/repo/debian):

Regardless of above, i'll set Sonarr to develop repo install by default (in line with Radarr).

@symbios24
Copy link

Hello i installed also both radarr and sonarr in latest DietPi stretch in a raspberryPi 3
Sonarr web interface loads fine but Radarr web interface is not loading and as i see on boot the Radarr service is running, can this be fixed manual?

Thanks

@Lanneer487
Copy link
Author

I used this link to fix my problem and Radarr is working again.
https://forums.sonarr.tv/t/mono-5-10-update-broke-sonarr/17800/19

@symbios24
Copy link

Hi, But the fix is for Sonarr not Radarr
Will this fix Radarr?

@Lanneer487
Copy link
Author

yes just change /opt/NzbDrone/ to /opt/Radarr/

@samsepiol59
Copy link

samsepiol59 commented Mar 1, 2018

@roelfoubert I did (Sonarr is working, Radarr is not) but nothing happened, I'm still unable to access radarr at :7878!

I copied the file in /opt/Radarr, chmod'ed it and restarted the service - but nothing... am I missing something?

EDIT: now it seems that Jackett is down too??

@symbios24
Copy link

samsepiol59 you installed both on latest DietPi?

Fourdee referenced this issue Mar 1, 2018
+ Patch file inside function (allows local)

+ DietPi-Software | Sonarr: Now uses the develop repo branch, inline
with our Radarr install:
https://github.com/Fourdee/DietPi/issues/1566#issuecomment-369334473

+ General | /tmp tmpfs size is now automatically set to 50% of RAM+SWAP
(previously 50% RAM only). Preventing out of memory errors during
certain software installations:
https://github.com/Fourdee/DietPi/issues/1027#issuecomment-369435049
@Fourdee
Copy link
Collaborator

Fourdee commented Mar 1, 2018

Notes:
Ok, waiting for https://api.github.com/repos/Radarr/Radarr/releases to be updated with 0.2.0.984> version. Used in our scrape to obtain the latest version available.

Once they do this (assuming the same sonarr fixed is applied), the issue of failing to run will no longer occur.

Fourdee referenced this issue Mar 4, 2018
+ DietPi-Software | Radarr/Sonarr: Reinstall patch, to bring binaries
upto date, which resolves issues with the latest mono lib version:
https://github.com/Fourdee/DietPi/issues/1566
@Fourdee
Copy link
Collaborator

Fourdee commented Mar 4, 2018

Radarr have updated their binary, resolves outstanding issues with latest mono library:

  • 🈯️ Sonarr
  • 🈯️ Radarr

Patched re-installs for v6.3, ETA release March 7th. Completed.

@Fourdee Fourdee closed this as completed Mar 4, 2018
@Fourdee Fourdee mentioned this issue Mar 7, 2018
Fourdee referenced this issue Mar 7, 2018
**v6.3**
(07/03/18)

**Image Changes:**

Native PC BIOS | Image now available: http://dietpi.com/download

NanoPi Neo | Image now available (based on FriendlyARM official image): https://github.com/Fourdee/DietPi/issues/1588

**Changes / Improvements / Optimizations:**

General | DietPi now uses its own "dietpi-postboot.service" to initiate dietpi-services, instead of /etc/rc.local. The latter will be reset on update, but in case of manual adjustments, a backup is safed to dietpi_userdata. The initiating "rc-local.service" will stay in place as well, so /etc/rc.local can be used as before: https://github.com/Fourdee/DietPi/issues/1376

General | Additional getty's (2-6) are now disabled via mask. This reduces resource usage for unneeded screens: https://github.com/Fourdee/DietPi/issues/1541

General | APT: 'Disabled install recommends' is now standard and default across all DietPi images: https://github.com/Fourdee/DietPi/issues/1482#issuecomment-368031044

General | Sparky SBC kernel patches: Pro-Ject-S2 dac DSD native support on sparky, also other few dac ids. Thanks @sudeep.

General | /tmp tmpfs size is now automatically set to 50% of RAM+SWAP, (previously 50% RAM only). To prevent out of memory errors during certain software installations (eg: Mono), where the swapfile can be used only when needed: https://github.com/Fourdee/DietPi/issues/1027#issuecomment-369435049

DietPi-Automation | dietpi.txt entries and support added for WPA2 Enterprise (WPA-EAP). Many thanks to @Symo for implementing this feature!: https://github.com/Fourdee/DietPi/pull/1547

DietPi-Backup | Once backup is completed, you will be asked if you wish to view the log file, for the full rsync log.

DietPi-Banner | Improved notification when no network is detected: https://github.com/Fourdee/DietPi/issues/1576

DietPi-Globals | G_WHIP*: Further additions and improvements, including automatic scaling: https://github.com/Fourdee/DietPi/issues/1546 https://github.com/Fourdee/DietPi/issues/1546#issuecomment-370173876

DietPi-LetsEncrypt | Lighttpd: Added support for HSTS (HTTP Strict Transport Security): https://github.com/Fourdee/DietPi/pull/1553

DietPi-LetsEncrypt | Minor rework and cleaning, using now /etc/systemd/system/certbot.service.d/dietpi-script.conf for web server specific renewal hooks: https://github.com/Fourdee/DietPi/pull/1553

DietPi-Software | Shairport-sync: Updated to 3.1.7 for all devices. Also enabled for x86_64: https://github.com/Fourdee/DietPi/issues/1548

DietPi-Software | Proftp: Now defaults to dietpi user with root login off: https://github.com/Fourdee/DietPi/issues/1529#issuecomment-367644593

DietPi-Software | RPi Cam Web Interface (Previously DietPiCam): Updated to 6.4.17 and resolves previously failed installation. URL has also changed to http://ip/rpicam : https://github.com/Fourdee/DietPi/issues/1512

DietPi-Software | Sonarr: Now uses the develop repo branch, inline with our Radarr install: https://github.com/Fourdee/DietPi/issues/1566#issuecomment-369334473

DietPi-Software | Mono: Raspbian dist is now used for RPi devices: https://github.com/Fourdee/DietPi/issues/1566

DietPi-Software | FFmpeg: Fix backports dependency issues for all Odroids: https://github.com/Fourdee/DietPi/issues/1556

DietPi-Software | Improved UI options during NTPD failure. You will now be given multiple options that will assist in resolving NTPD time sync issues on your network: https://github.com/Fourdee/DietPi/issues/1580#issuecomment-370153882

DietPi-Software | NTPD check will now run after the internet connection test, to prevent unnecessary delay when network is not yet configured:

DietPi-Software | SubSonic 5: Replaced with Airsonic: https://github.com/Fourdee/DietPi/issues/1585

DietPi-Software | Aria2: Optimized installation and connection settings based on hardware. Now uses a configuration file '/var/lib/dietpi/dietpi-software/installed/aria2.conf', which will allow users to change aria2 settings permanently. Please note, the aria2-webui does not support saving settings after session shutdown, this is a known limitation with the software, please use the aria2.conf to make changes: https://github.com/Fourdee/DietPi/issues/1575

DietPi-Sync | Once sync is completed, you will be asked if you wish to view the log file, for the full rsync log.

DietPi-Update | G_AGUP/G_AGUG: Now runs prior to our patch system. Ensuring APT is upto date during our updates: http://dietpi.com/phpbb/viewtopic.php?f=11&t=2894&p=11150#p11149

**Bug Fixes:**

General | G_AGUG: --allow-unauthenticated added for Stretch+ by default (inline with other G_AG commands)

General | Resolved POSIX issues with dropbear (limitation) and SSH sessions. We now detect for presence of POSIX and set user selected locale during session load: https://github.com/Fourdee/DietPi/issues/1540

General | Resolved multiple issues with failed GNU key management during APT installs from non-standard repos. Dirmngr is now installed on all DietPi systems by default: https://github.com/Fourdee/DietPi/issues/1388

General | Resolved basic APT issues with Meveric's repo and failing dependencies. Debian repo is now used in the first instance: https://github.com/Fourdee/DietPi/pull/1571#issuecomment-369973745

General | DietPi-Globals are now loaded prior to login script. Ensures aliases are functional during exit of 1st run setup: https://github.com/Fourdee/DietPi/issues/1580#issuecomment-370149636

DietPi-Config | Resolved an issue with NTPD mode #4 (systemd) reporting dbus errors, dbus is now installed on demand: https://github.com/Fourdee/DietPi/issues/1580#issuecomment-370173703

DietPi-LetsEncrypt | Lighttpd/Minio: Fixed auto renewal: https://github.com/Fourdee/DietPi/pull/1553

DietPi-LetsEncrypt | Minio: Fixed an issue, where port 443 listening would fail due to missing libcap2-bin/setcap package: https://github.com/Fourdee/DietPi/pull/1553#issuecomment-368261474

DietPi-Software | Radarr/Sonarr: Reinstall patch, to bring binaries upto date, which resolves issues with the latest mono lib version: https://github.com/Fourdee/DietPi/issues/1566

DietPi-Software | Desktops: USB drive removed from .gtk-bookmarks as no longer used in DietPi.

DietPi-Software | Shairport-Sync: Resolved ARMv6 binary Illegal instruction: https://github.com/Fourdee/DietPi/issues/1548
DietPi-Software | Lighttpd: Resolved an issue with failed enable of php module, due to perl being a undocumented pre-req for 'lighttpd-enable-mod'.

DietPi-Software | MotionEye: Resolved failed installation due to missing build-essential pre-req: https://github.com/Fourdee/DietPi/issues/1564

DietPi-Software | SubSonic6: Resolved broken URL link. Binary now hosted on dietpi.com: https://github.com/Fourdee/DietPi/issues/1582

DietPi-Services | Service stop order is now reversed: https://github.com/Fourdee/DietPi/issues/1462#issue-294140894

DietPi-Set_Hardware | Resolved issues with serial consoles not be disabled without dbus installed. Serial consoles are now masked/unmasked (previously disabled): https://github.com/Fourdee/DietPi/issues/1482

DietPi-Update | Resolved an issue where .update_available would exist during reboot, causing banner to display update available incorrectly: https://github.com/Fourdee/DietPi/issues/1535
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants