How to Install XBackBone on Your Synology NAS

How to Install XBackBone on Your Synology NAS

XBackBone is a simple and lightweight PHP file manager that supports the instant sharing tool ShareX and *NIX systems. It supports uploading and displaying images, GIF, video, code, formatted text, pdf, and file downloading and uploading. Also have a web UI with multi user management, media gallery and search support. In this step by step guide I will show you how to install XBackBone on your Synology NAS using Docker.

šŸ’”Note: This guide works perfectly with the latest XBackBone v3.7.0Ā release.

  • 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

InstallĀ Text EditorĀ via Synology ā€œPackage Centerā€.

Synology Install Text Editor 2023

  • STEP 4

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

XBackBone Synology NAS Set up 1

  • STEP 5

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

Synology User Defined Script

  • STEP 6

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 XBackBone. 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=xbackbone \
-p 8522:80 \
-p 4443:443 \
-e PUID=1026 \
-e PGID=100 \
-e TZ=Europe/Bucharest \
-v /volume1/docker/xbackbone:/config \
--restart always \
ghcr.io/linuxserver/xbackbone

Note: Before you paste the code above in the Run command 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 Run command area below, change the value for TZĀ (Select your current Time Zone from this list).

XBackBone Synology NAS Set up 3 new 2023

  • STEP 7

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

XBackBone 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 8

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

XBackBone Synology NAS Set up 5

  • STEP 9

Follow my step by step guide onĀ how to activate your synology.me DDNS on DSM 7
Follow my step by step guide onĀ how to activate your synology.me DDNS on DSM 6.2.4
Note: If you already own a synology.me DDNS, skip this STEP.

  • STEP 10

Add Wildcard Certificate to your synology.me DDNS.
Note: If you already own a synology.me Wildcard DDNS certificate, skip this STEP.

  • STEP 11

Go to Control Panel / Login Portal / Advanced Tab / click Reverse Proxy. Follow the instructions in the image below.

XBackBone Synology NAS Set up 6

  • STEP 12

Now click the “Create” button. Follow the instructions in the image below.

XBackBone Synology NAS Set up 7

  • STEP 13

After you click the Create button, the window below will open. Follow the instructions in the image below.

On General area, set the Reverse Proxy Name description: type in XBackBone. After that, add the following instructions:

Source:
Protocol:Ā HTTPS
Hostname: xbackbone.yourname.synology.me
Port:Ā 443

Check Enable HSTS

Destination:
Protocol:Ā HTTP
Hostname:Ā localhost
Port:Ā 8522

XBackBone Synology NAS Set up 8 new

  • STEP 14

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

  • STEP 15

Now open your browser and type in your HTTPS/SSL certificate https://xbackbone.yourname.synology.meĀ in my case https://xbackbone.mariushosting.synology.me – If everything goes right, you will see the XBackBone installation page. At Base URL add https:// followed by your synology.me DDNS name instead of http:// – Add your own email and your own password then click Install. Follow the instructions in the image below.

XBackBone Synology NAS Set up 9

  • STEP 16

Now Login using your own email and password you have chosen at STEP 15. Follow the instructions in the image below.

XBackBone Synology NAS Set up 10

  • STEP 17

After clicking Login at STEP 16, you will get an error message in your browser. Wait about 15 seconds then refresh your browser page.

  • STEP 18

Welcome to your XBackBone administrator page.

XBackBone Synology NAS Set up 11

  • STEP 19

Go to the System tab. You will see two parameters post_max_size: 8M and upload_max_filesize: 2M Let’s make some changes that will allow you to upload 5GB files instead of 2MB.

XBackBone Synology NAS Set up 12

  • STEP 20

Go to File Station / Docker / xbackbone. Double click on the xbackbone folder. Follow the instructions in the image below.

XBackBone Synology NAS Set up 13

  • STEP 21

Now double click on the php folder. Follow the instructions in the image below.

XBackBone Synology NAS Set up 14

  • STEP 22

Double click on the php-local.ini file. Follow the instructions in the image below.

Note: If you can’t open the php-local.ini file, this means you haven’t followed STEP 3 in this article.

XBackBone Synology NAS Set up 15

  • STEP 23

After ; Edit this file to override php.ini directives and restart the container add these two lines below then save the file. Follow the instructions in the image below.

upload_max_filesize = 5G
post_max_size = 5G

XBackBone Synology NAS Set up 16

  • STEP 24

Open theĀ Docker Package. On the left side menu click onĀ Container. Select your xbackbone container then STOP it. Follow the instructions in the image below.

XBackBone Synology NAS Set up 17

  • STEP 25

Open theĀ Docker Package. On the left side menu click onĀ Container. Select your xbackbone container then START it. Follow the instructions in the image below.

XBackBone Synology NAS Set up 18

  • STEP 26

Access your xbackbone instances again. As you can see on the System tab the two parameters post_max_size and upload_max_filesize are now showing 5GB instead 2M and 8M. This change allows you to upload 5GB files instead of 2MB.

XBackBone Synology NAS Set up 19

Note: If you forget to follow STEP 24 and STEP 25, then the two parameters post_max_size and upload_max_filesize will not change.

  • STEP 27

Upload some files from your computer. Follow the instructions in the image below.

XBackBone Synology NAS Set up 20

  • STEP 28

Go to the Home tab. Use the Copy link option and share your files with your friends. Follow the instructions in the image below.

XBackBone Synology NAS Set up 21

Enjoy XBackBone!

XBackBone Synology NAS Set up 22

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: Find outĀ how to update XBackBone 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 Saturday / July 20th, 2024 at 2:54 AM