How to Install MEGA on Your Synology NAS

How to Install MEGA on Your Synology NAS

Do you want toĀ install MEGAĀ via Docker without a terminal? Are you tired of complicated guides? Do you want something quick and easy? Well today I will teach you how to install the latestĀ mega.syno on your Synology NAS in less than 30 seconds directly through the Task Scheduler option. Itā€™ll be over in a couple of seconds and itā€™s essentially childā€™s play.

Mega (stylized in uppercase as MEGA) or Mega.nz is a cloud storage and file hosting service offered by Mega Limited, a company based in Auckland, New Zealand. The service is offered primarily through web-based apps. Mega mobile apps are also available for Android and iOS. Mega is known for its large 50 GB storage allocation for free accounts. You can easily use Docker in your Synology NAS and mega.syno container to sync your MEGA data into your NAS.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Container Manager via Synology ā€œPackage Centerā€. If you run an older DSM version (under 7.2), search for Docker instead of Container Manager.

Download Container Manager Synology Docker

  • STEP 3

Go toĀ File StationĀ and open the docker folder. Inside the docker folder, create a new folder and name itĀ mega. Follow the instructions in the images below.
Note: Be careful enter only lowercase, not uppercase letters.

Mega NZ Synology NAS Set up 1

  • STEP 4

Go toĀ Control PanelĀ /Ā Task SchedulerĀ /Ā CreateĀ /Ā Scheduled TaskĀ /Ā User-defined script. Follow the instructions in the images below.

Mega NZ Synology NAS Set up 2

  • STEP 5

Once you click on User-defined script a new window will open. Follow the instructions below:

  1. General: In the Task field type in ā€œInstall Megaā€œ. Uncheck ā€œEnabledā€ option. SelectĀ rootĀ user.
  2. Schedule: SelectĀ Run on the following dateĀ then select ā€œDo not repeatā€œ.
  3. Task Settings: Check ā€œSend run details by emailā€œ, add your email then copy paste the code below in the Run command area. After that clickĀ OK.
docker run -d --name=mega_nz \
-p 5901:5901 \
-p 6080:6080 \
-v /volume1/docker/mega:/home/mega/MEGA \
johnshine/mega.syno

Mega-NZ Synology NAS Set up 3 new 2023

Note: If you have your docker folder in a different volume, then change in the code aboveĀ /volume1/docker/mega according to your settings. For example: /volume2/docker/mega or /volume3/docker/mega etc.

  • STEP 6

After you click OK onĀ STEP 5Ā a new warning pop up window will open. ClickĀ OK.

Mega NZ Synology NAS Set up 4

After you click OK, type in your DSM Password then click Submit. Follow the instructions in the image below.

Synology Task Scheduler Confirm Admin Password

  • STEP 7

After you click Submit on STEP 6, select your ā€œInstall Megaā€ Task then click the ā€œRunā€ tab. You will be asked to run Install Mega ā€“ click OK. Follow the instructions in the image below.

Mega NZ Synology NAS Set up 5

  • STEP 8

Go back toĀ STEP 1Ā or you will deal with karma šŸ™‚

  • STEP 9

The installation process can take up to a few minutes or seconds. It will depend on your Internet speed connection. Now open your browser and type inĀ http://Synology-ip-address:6080/ then click the M icon at the top right to connect with your MEGA credentials. If you don’t have a MEGA account just create a new one for free. Follow the instructions in the image below.

5 MEGA Docker Synology NAS set up

  • STEP 9

Enjoy your MEGA sync!

6 MEGA Docker Synology NAS set up

Note: If you want to run MEGA container over HTTPS check How to Run Docker Containers Over HTTPS.

Note: Can I run Docker on my Synology NAS?Ā See the supported models.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: The installation process can take up to a few minutes or seconds. It will depend on your Internet speed connection.
Note: You can connect VNC desktop with VNC client at port 5901.
Note: Find out how to update MEGA.syno 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: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.

This post was updated on Tuesday / June 11th, 2024 at 10:19 AM