mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-21 15:23:04 +00:00
Page:
Installation CentOS 8 V3 Beta
Pages
Anime naming scheme
AppData Directory
Asking for Help
Backup and Restore
Cannot install update because startup folder is not writable by the user
Command Line Options
Completed Download Handling
Configuration
Custom Lists
Custom Post Processing Scripts
Delay Profiles
Disable Authentication
Downloads and Importing
FAQ
Failed Download Handling
Forgot my Password
Health Checks
Home
Implementing a Torznab indexer
Indexer Integration
Indexer Seed Ratio
Installation (v3 beta) Fedora 31
Installation CentOS 7
Installation CentOS 8 V3 Beta
Installation CentOS 8
Language Profile
Log Files
Logging and Log Files
Manual Episode Search Trace Log
Manual Episode Search XML Output
Manually Triggering Imports
Master Migration
Monitoring Series and Episodes
Problematic Shows
Profiles
PushOver
Quality Profile
RSS Sync
Recovering from a Failed Update
Release Branches
Reverse Proxy
Reverse symlink script for Connect
SSL
Searches Indexers and Trackers
Sonarr notifications in Slack using curl
Sorting and Renaming
Specifying install user on Deb Ubu
Supported DownloadClients
Supported Indexers
Supported Notifications
Tips and Tricks
Twitter Notifications
Updating
Webhook Schema
Webhook
No results
Table of Contents
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
The following instructions are for installing Sonarr v3 BETA on CentOS 8.
Please note these were the steps taken by an experienced user.
- Start by importing the repository’s GPG key and Installing Packages:
yum install epel-release yum-utils -y
yum config-manager --set-enabled PowerTools
rpm --import 'http://pool.sks-keyservers.net/pks/lookup?op=get&search=0x3fa7e0328081bff6a14da29aa6a19b38d3d831ef'
dnf config-manager --add-repo https://download.mono-project.com/repo/centos8-stable.repo
yum -y install wget git par2cmdline p7zip unrar unzip tar gcc python-feedparser python-configobj python-cheetah python-dbus python-devel libxslt-devel mediainfo libzen libmediainfo curl gettext mono-core mono-devel sqlite.x86_64
- Add a user for Sonarr to use
useradd sonarr -s /sbin/nologin
- Download, extract and move Sonarr
wget https://download.sonarr.tv/v3/phantom-develop/3.0.4.1023/Sonarr.phantom-develop.3.0.4.1023.linux.tar.gz
tar -xvf ~/sonarr.phantom-develop.3.0.4.1023.linux.tar.gz -C /opt/
mv /opt/Sonarr /opt/sonarr
rm -f Sonarr.phantom-develop.3.0.4.1023.linux.tar.gz
- Change ownership of the install directory
chown -R sonarr:sonarr /opt/sonarr
- Create your systemd unit file
tee /etc/systemd/system/sonarr.service << EOF
[Unit]
Description=Sonarr Daemon
After=syslog.target network.target
[Service]
User=sonarr
Group=sonarr
Type=simple
ExecStart=/usr/bin/mono /opt/sonarr/Sonarr.exe -nobrowser -data /opt/sonarr
TimeoutStopSec=20
[Install]
WantedBy=multi-user.target
EOF
- Reload the systemd unit files
systemctl daemon-reload
- Create a firewall rule for Sonarr
tee /etc/firewalld/services/sonarr.xml << EOF
<service>
<short>sonarr</short>
<description>Sonarr Download Service</description>
<port protocol="tcp" port="8989"/>
</service>
EOF
- Add firewall exceptions if the firewall is enabled
firewall-cmd --reload
firewall-cmd --permanent --add-service sonarr
firewall-cmd --reload
- Enable Sonarr to run on startup, and start!
systemctl enable sonarr.service
systemctl start sonarr.service
Troubleshooting:
Symptom:
The service has loaded and when browsing to the site it is blank.
Run the following to test for missing mono links.
systemctl stop sonarr
systemctl start sonarr
journalctl -xe | grep libMonoPosixHelper.so
If you see a line similar to
_System.Net.WebException: /usr/lib/libMonoPosixHelper.so ---> System.DllNotFoundException: /usr/lib/libMonoPosixHelper_
The resolution below will fix that.
Resolution:
Run the following command
ln -s /usr/lib64/libMonoPosixHelper.so /usr/lib/libMonoPosixHelper.so
Getting Started
Troubleshooting
- Asking for Help
- Logging and Log Files
- AppData Directory
- Searches Indexers and Trackers
- Downloads and Importing
- Recovering from a Failed Update
Additional Configuration
More Information
- Completed Download Handling
- Failed Download Handling
- Indexer Integration
- Backup and Restore
- PushOver
- Sorting and Renaming
- Anime naming scheme
- Monitoring Series and Episodes
- RSS Sync
- Indexer Seed Ratio
Development