SchlagwortSynology

Automatically update/download series in Plex on a Synology Server

What a hassle; every day/week, I needed to check, if I could download my favorite series from http://serienjunkies.org. Waiting for some good souls to add them.

And I thought for a long time, how great it would be, if this could be done automatically. And there is a solution. Thanks Beni!

It’s not completely free, but today I still have expenses. To download the files from serienjunkies, I needed an account from uploaded.net which costed 70€ per year.

The new solution works with the Usenet and here you need an account. This cost me 95.40 US$ a year. So, it’s a little bit more expensive than the other solution, but it also comes with a VPN service which even works on my iOS devices.

What is Usenet? Usenet intimidates many people, if they have even heard of it.  It has always been known the first rule of Usenet is you don’t talk about Usenet, but the cats out of the bag now and it’s time to get involved. Usenet is an online service that is in a sense a massive message board system. There are thousands of different message boards discussing a vast array of topics on Usenet and also boards that supports binary (file) posts. This means there are EXABYTES of data available on Usenet, with the content base growing by Terabytes A DAY! Even with all this Usenet has never really garnered mainstream attention the way that other file sharing services have, and that is in a way a good thing; but I’m going to make you want into the club! This definition and more explanation you can find here: http://www.totalhtpc.com/TheCompleteUsenetGuide.pdf. But don’t buy the services they offer there!

What is required?

  1. A Usenet account. I’ve chosen “usenetserver.com”, which costs 95 US$ a year.
  2. A Indexer account: I’ve chosen “nzbgeek.info”, which costs 30 US$ for lifetime pass.
  3. Synology: Add in the packet center http://packages.synocommunity.com/ as a source.
  4. Synology: Install “NZBget” from SynoCommunity
  5. Synology: Install “Sonarr” from SynoCommunity

 

There will also some additional packages installed, just let it happen. If Sonarr doesn’t want to start after installation, restart the Synology. I helped in my case.

The Indexer account is required, because as it name says it indexes the Usenet for your content.

What is Sonarr? It is designed to organize your episode files on disk, for consumption by Plex. It also talks to your download client (Usenet and torrents) and their corresponding indexers to watch for episodes you’re missing to send them to your download client for download. But we don’t want to use torrents, because those downloads can be tracked…

Sonarr is the main app which does all the work. The only thing left is to set it up and also to set up NZBget.

Open Sonarr in your browser. And go to “Settings”.

In “Settings” you can go through all submenus once it’s running. First you need to set up the “Indexers”, the “Download client” and the “Connect.

Indexers: Click on the plus and choose “Newznab” with the preset for NZBgeek.

In the dialog for the settings, add the API key, which you can find in your nzbgeek.info account. This API key you only get, when you have the “Forever Geek Pass” status which costs 30 US$. Always “Test” the connection! Btw: Shown is not a valid key! 😉

Download Client: Add “NZBget” and fill out the information in the dialog. The username/password are the ones you have chosen when you installed NZBget on your Synology. Always “Test” the connection!

Connect: Add “Plex Media Server” and fill out the information in the dialog. The username/password are the ones you need to connect to your Plex account. Always “Test” the connection!

The settings in Sonarr are done.

 

Let’s go to NZBget.

Open NZBget in your browser. Go to “Settings” and there to “NEWS-SERVERS”. Enter the information you’re your usenetserver.com account. Open this port in your Firewall! Click on “Safe all changes”. That’s it.

Go back to Sonarr.

When you click on “Series” then it is empty. Click on “+Add Series” to add them. Important is to set it to “Monitored” so Sonarr downloads new episodes automatically. Set the correct path to your series on your Synology.

Sonarr then checks with your Plex server if you have already some episodes and shows their status. It should show you something like this. The color codes are described at the bottom of the page.

It even shows you a “Calendar” with your series and the download status.

When you go to the “Wanted” section, then all missing episodes are shown. Click on “Search All Missing”, if you want to manually force Sonarr to look for them. Once they are found, it will be sent to NZBget and shown in “Activity”.

That’s it, have fun with your series.

 

By the way: If you want to do something similar with movies, then use Radarr. It’s a Sonarr fork which handles movies. So, you can have Radarr looking for you movies even month before they are available. Once they are available, you will get them first. To further extend the automation, I connected it to my “CouchPotato” (also on my Plex) and “Trak list” on the web. Just google yourself into this. The settings are very similar to Sonarr.

Atlassian Confluence auf einem Synology NAS installieren

UPDATE: Die Installation von Confluence ging zwar ohne Probleme, jedoch ist bei jedem Neustart des Servers auch die komplette Installation wieder zurückgesetzt worden. Abhilfe gab es erst durch ein anderes Docker-Paket. Die Anleitung wurde entsprechend aktualisiert.

Es gibt zwei Möglichkeiten Confluence auf ein Synology NAS zu bringen: Eine konventionelle Installation mit vielen Herausforderungen oder einfach als Docker-Paket herunterzuladen.

Natürlich habe ich mich für die einfache Variante entschieden. Hier ist das Vorgehen:

  1. Docker-App installieren. (falls noch nicht installiert)
  2. Docker-Paket herunterladen. Hier MUSS das Paket «derjudge/confluence» gewählt werden. Nachtrag: Ich habe einige Wochen mit den anderen Paketen verloren!
    2015-11-14_00-03-27
  3. Container erstellen. Name vergeben und «Ports automatisch zuordnen» NICHT auswählen. Ports manuell zuweisen. Ich habe als lokalen Port den 32768 und als Container-Port den 8090 gewählt.
    2015-11-14_00-05-29
  4. Confluence starten.
    2015-11-14_00-08-02
  5. Confluence über die öffentliche URL des NAS mit dem «lokalen» Port öffnen. Also http://xxxxxx.xx:32768 aufrufen und fertig installieren. Eventuell eigene Firewall noch bei diesem Port öffnen/auf den Server weiterleiten.
    2015-11-13_23-57-262015-11-13_23-57-26
  6. Das Interessante an dem Docker von «derjudge/confluence» ist, dass auch ein PostgreSQL dabei ist. Somit muss nicht auf die interne Datenbank von Confluence zugegriffen werden. Ist zwar entgegen der Idee der Docker-Container. Vereinfacht die Installation aber ungemein. Einfach bei der Anleitung unter https://hub.docker.com/r/derjudge/confluence/ folgen, dann kommt alles gut!
    2015-12-06_10-35-18
  7. Confluence kann nun betrieben werden.
    2015-11-13_23-58-24

Und jetzt habe ich meine Teststellung, um die Scroll-Erweiterungen von k15t zu testen. Dazu aber später mehr.

.over-and-out

Synology DS1513+ und ASUS USB-AC56

Da ich nur Dank dem kombinieren verschiedenster Forumseinträge ein Lösung fand, hier die Zusammenfassung dazu:

  • Synology DSM 5.2-5644 in Kombination mit dem DS1513+ unterstützt USB WLAN-Adapter mit bis zu 867 Mbps (5 GHz).
  • Der USB WLAN-Adapter ASUS USB-AC56 läuft im ac-Modus auf dem Synology-NAS mit ca. 800 Mbps.
  • Dafür muss dieser zwingend im USB3-Port angeschlossen werden. Im USB2-Port kann die Datenmenge nicht übertragen werden. (1. Fallstrick)
  • Die Verbindung über WLAN-Manager der DSM ist Fehlerhaft. Das bedeutet, dass auch bei einer richtigen Passworteingabe die Meldung kommt, dass diese falsch ist. Lösung: richtiges Passwort eingeben und nach der Fehlermeldung den Dialog schliessen. Einige Minuten später verbindet sich aber das NAS mit dem WLAN. Eventuell muss aber auch das System neu gestartet werden. (2. Fallstrick)
  • Eine manuelle Veränderung der IP-Adresse muss eventuell auch mehrmals eingegeben werden. (3. Fallstrick)

Niemals versuchen irgendwelche Linux-Treiber von ASUS zu installieren oder sonst noch Dateien des Betriebssystemes zu ändern. Dies ist nicht nötig und führte bei mindestens einem Forumsteilnehmer zu einer Neuinstallation des Systems…

USB-WLAN.png

Wenn man die Nerven behält und nicht gleich das NAS aus dem Fenster wirft, ist das Einrichten ziemlich einfach. Und wenn der USB WLAN-Adapter einmal eingerichtet ist, dann läuft er auch nach einen Systemneustart wieder weiter.

.over-and-out

Synology Server: Cronjob für Owncloud einrichten

Damit Owncloud 8.1 richtig ausgeführt wird, muss ein Cronjob durchgeführt werden. Ajax und Webcron funktionieren nicht richtig und können dazu führen, dass Owncloud unberechenbar den Cron ausführt. Die Einstellung bezieht sich auf DSM 5.2-5592 Update 4, funktioniert aber auch mit früheren Versionen.

Wichtig ist, dass der Cron NICHT über den „Cronjob Editor“ eingegeben wird. Dieser hat mit dem komplexen Cron Probleme und kann diesen nicht verarbeiten.

Deshalb muss über SSH (Benutzer: root) die Datei etc/crontab mit dem vi Editor (vi /etc/crontab) bearbeitet werden.

Folgende Zeile muss eingegeben werden:
*/5 * * * * root /bin/su -s /bin/sh -c „/usr/bin/php -f /volume1/web/owncloud/cron.php“ http

Danach müssen die Cronjobs mit dem folgenden Befehl neugestartet werden: „/usr/syno/sbin/synoservicectl –restart crond“. Dies auch über die Konsole.

Der Hauptgrund für den speziellen Cron ist, dass dieser mit dem root-Benutzer ausgeführt werden muss, um damit den http-Benutzer aufzurufen. Mehr darüber unter: https://forum.owncloud.org/viewtopic.php?f=31&t=28823
.over-ende-und-out

© 2024 hacker.li

Theme von Anders Norén↑ ↑