How to Install YTPTube on Your UGREEN NAS

How to Install YTPTube on Your UGREEN NAS

YTPTube started as a fork of MeTube. Since then it went under heavy changes and it now supports many new features. With YTPTube you can schedule channels or playlists to be downloaded automatically at a specific time andĀ easily download videos from more than 300 websites. In this step by step guide I will show you how to install YTPTubeĀ on yourĀ UGREEN NASĀ using Docker & Portainer.

šŸ’”Note: This guide works perfectly with the latest version of YTPTube v.2025-05-02

šŸ’”Note: Check out my guide on how to Install YTPTube on Your Synology NAS.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

āš ļøMandatory Add Read & Write Permissions to the Docker Folder. If you have already added the Read and Write Permissions to the Docker Folder, skip this STEP.

  • STEP 3

āš ļøMandatory: Update your UGREEN NAS Firmware to the latest version. Go to Control Panel / Update and update your NAS with the latest Firmware.

  • STEP 4

InstallĀ Portainer using my step by step guide. If you already have Portainer installed on your UGREEN NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.

  • STEP 5

Go toĀ Files and open the docker folder. Inside the docker folder, create one new folder and name it ytptube. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

YTPTube UGREEN NAS Set up 1

  • STEP 6

Now create two new folders inside the ytptubeĀ folder that you created at STEP 5 and name them config and downloads. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

YTPTube UGREEN NAS Set up 2

  • STEP 7

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.

UGREEN NAS Portainer Add Stack

  • STEP 8

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

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

services:
  ytptube:
    image: ghcr.io/arabcoders/ytptube
    container_name: YTPTube
    user: 999:10
    healthcheck:
      test: ["CMD-SHELL", "nc -z 127.0.0.1 8081 || exit 1"]
      interval: 10s
      timeout: 5s
      retries: 3
      start_period: 90s
    environment:
     YTP_AUTH_USERNAME: marius
     YTP_AUTH_PASSWORD: mariushosting
    ports:
      - 7259:8081
    volumes:
      - /volume1/docker/ytptube/config:/config:rw
      - /volume1/docker/ytptube/downloads:/downloads:rw
      - /volume1/docker/ytptube/downloads:/tmp:rw
    restart: on-failure:5

Note: Before you paste the code above in the Web editor area below, change the value numbers for user with your own UID and GID values. (Follow my step by step guide on how to do this.) 1026 is my personal UID value and 100 is my personal GID value. You have to type in your own values.
Note: Before you paste the code above in the Web editor area below, change the value for YTP_AUTH_USERNAME. Type in your own username. marius is an example for a username.
Note: Before you paste the code above in the Web editor area below, change the value for YTP_AUTH_PASSWORD. Type in your own password. mariushosting is an example for a password. āš ļøWarning: Do NOT use passwords with special characters.

YTPTube UGREEN NAS Set up 3

  • STEP 9

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.

YTPTube UGREEN NAS Set up 4

  • STEP 10

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

YTPTube UGREEN NAS Set up 5

  • STEP 11

🟢Please Support My work by Making a Donation. Almost 99,9% of the people that install something using my guidesĀ forget to support my work, or justĀ ignoreĀ STEP 1. I’ve been very honest about this aspect of my work since the beginning: I don’t run any ADS, I don’t require subscriptions, paid or otherwise, I don’t collect IPs, emails, and I don’t have any referral links from Amazon or other merchants. I also don’t have any POP-UPs or COOKIES. I have repeatedly been told over the years how much I have contributed to the community. It’s something I love doing and have been honest about my passion since the beginning. But I also Need The Community to Support me Back to be able to continue doing this work.

  • STEP 12

The installation process can take up to a few seconds/minutes. It will depend on your Internet speed connection. Now open your browser and type inĀ http://ugreen-ip-address:7259 If everything goes right, you will see the YTPTube Login page. Type in your own YTP_AUTH_USERNAME and YTP_AUTH_PASSWORDĀ that you have previously created at STEP 8, then click Sign In. Follow the instructions in the image below.

YTPTube UGREEN NAS Set up 6

  • STEP 13

Switch the theme to Dark. At the top right of the page, click the Setting icon, then switch the theme to Dark. Follow the instructions in the image below.

YTPTube UGREEN NAS Set up 7

  • STEP 14

Insert the URL link of the video that you want to download. (You can easily download videos from more than 300 websites). You can separate video links by a comma and download multiple videos at the same time. Select the quality of the video, then click the +Add button. Follow the instructions in the image below.

YTPTube UGREEN NAS Set up 8

  • STEP 15

Your videos at a glance!

YTPTube UGREEN NAS Set up 9

Enjoy YTPTube on your UGREEN NAS!

šŸ†˜TROUBLESHOOTING

Note: If you want to run the YTPTube container over HTTPS, check out How to Run Docker Containers Over HTTPS on Your UGREEN NAS.

This post was updated on Monday / May 12th, 2025 at 12:01 AM