How to Install Petio on Your Synology NAS

How to Install Petio on Your Synology NAS

Petio is a third party companion app available to Plex server owners to allow their users to request, review and discover content. The app is built to appear instantly familiar and intuitive to even the most tech-agnostic users. Petio will help you manage requests from your users, connect to other third party apps such as Sonarr and Radarr, notify users when content is available and track request progress. Petio also allows users to discover media both on and off your server, quickly and easily find related content, and review to leave their opinion for other users. In this step by step guide I will show you how to install Petio on your Synology NAS using Docker.

WARNING: Petio is evolving and MongoDB 4.0 will be deprecated. MongoDB 5 requires a CPU with AVX support.
Unsupported NAS Models (that don’t support MongoDB 5): DS218+ DS718+ DS220+ DS720+ DS920+ and older consumer models. You can always run Petio with an older Mongo version, but there is no guarantee that Petio will continue to work with older Mongo versions. To install Petio with MongoDB 4 in unsupported NAS models, read the “Warning” note at STEP 7.
Supported NAS Models (that support MongoDB 5): All NAS models from the 21+ and 22+ series.
Note: It’s a possibility that older NAS devices have AVX support. Check your NAS CPU to see if it supports AVX.
What is MongoDB? MongoDB is a database. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Docker via Synology “Package Center”.

Install Docker Synology DSM 7

  • STEP 3

Install Plex on your Synology NAS using my Docker Guide. Skip this step if you already have Plex installed.

  • STEP 4

Go to File Station and open the docker folder. Inside the docker folder, create two new folders and name one petio and the other petiodb. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Petio Synology NAS Set up 1

  • STEP 5

Now create one new folder inside the petiodb folder that you created at STEP 4 and name it data. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Petio Synology NAS Set up 2

  • STEP 6

Log into Portainer using your username and password. On the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.

Petio Synology NAS Set up 3

  • STEP 7

In the Name field type in petio. Follow the instructions in the image below.

Note: Copy Paste the code below in the Portainer Stacks Web editor.

version: "3.7"

services:
  petio:
    container_name: petio
    image: cr.hotio.dev/hotio/petio
    ports:
      - 7778:7777
    environment:
      - PUID=1026
      - PGID=100
      - TZ=Europe/Bucharest
      - UMASK=002
    volumes:
      - /volume1/docker/petio:/config

  mongo:
    container_name: mongo
    image: mongo
    user: 1026:100
    volumes:
      - /volume1/docker/petiodb:/data/configdb
      - /volume1/docker/petiodb/data:/data/db

Note: Before you paste the code above in the Web editor area below, change the value numbers for PUID and PGID with your own values. (Follow my step by step guide on how to do this.)
Note: Before you paste the code above in the Web editor area below, change the value numbers for user with your own PUID and PGID. (Same value as first note).
Note: Before you paste the code above in the Web editor area below, change the value for TZ. (Select your current Time Zone from this list.)
Warning: If your NAS CPU does not have the AVX support, you should use this stack code instead of the one above.

Petio Synology NAS Set up 4

  • STEP 8

Scroll down on the page until you see a button named Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.

Petio Synology NAS Set up 5

  • STEP 9

If everything goes right, you will see the following message at the top right of your screen: “Stack successfully deployed“.

Petio Synology NAS Set up 6

  • STEP 10

Go back to STEP 1 or you will deal with karma 🙂.

  • STEP 11

Now open your browser and type in http://Synology-ip-address:7778 Click LOGIN WITH PLEX. Add your own Plex credentials. Follow the instructions in the image below.

Petio Synology NAS Set up 7

  • STEP 12

Add your own Petio Admin Password (you have to create one). Click Next. Follow the instructions in the image below.

Petio Synology NAS Set up 8

  • STEP 13

Select your own Plex Installation NAS IP from the list, then click Next. Follow the instructions in the image below.

Petio Synology NAS Set up 9

  • STEP 14

Test your Mongo Database, then click Finish. Follow the instructions in the image below.

Petio Synology NAS Set up 10

  • STEP 15

Log in with your own credentials. You can use your own Plex email and your Petio Admin Password you have previously created at STEP 12. Follow the instructions in the image below.

Petio Synology NAS Set up 11

Enjoy Petio!

Petio Synology NAS Set up 12 new

Note: If you want to run the Petio container over HTTPS, check my guide on How to Run Docker Containers Over HTTPS.

Note: Can I run Docker on my Synology NAS? See the supported models.
Note: Find out how to update the Petio container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: Some Docker Containers Need WebSocket.

This post was updated on Thursday / May 5th, 2022 at 1:06 PM