How to Install Projectsend on Your Synology NAS

How to Install Projectsend on Your Synology NAS

Projectsend is a self-hosted application that lets you upload files and assign them to specific clients that you create yourself. Secure, private and easy. No more depending on external services or e-mail to send those files. In this step by step guide I will show you how to install Projectsend on your Synology NAS using Docker & Portainer.

Note: This guide works perfectly with the latest Projectsend r1420 release.

  • STEP 1

Please Support My work by Making a Donation.

  • STEP 2

Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP.

  • STEP 3

Make sure you have a synology.me Wildcard Certificate. Follow my guide to get a Wildcard Certificate. If you already have a synology.me Wildcard certificate, skip this STEP.

  • STEP 4

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

Projectsend Synology NAS Set up 1

  • STEP 5

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

Projectsend Synology NAS Set up 2

  • STEP 6

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

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

Source:
Protocol: HTTPS
Hostname: projectsend.yourname.synology.me
Port: 443

Enable HSTS.

Destination:
Protocol: HTTP
Hostname: localhost
Port: 8516

Projectsend Synology NAS Set up 3

  • STEP 7

In Reverse Proxy Rules click the Custom Header tab. Click Create and then, from the drop-down menu, click WebSocket. After you click on WebSocket, two Header Names and two Values will be automatically added. Click Save. Follow the instructions in the image below.

Projectsend Synology NAS Set up 4

  • STEP 8

Go to Control Panel / Network / Connectivity / Check Enable HTTP/2 then click Apply. Follow the instructions in the image below.

Projectsend Synology NAS Set up 5

  • STEP 9

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

Projectsend Synology NAS Set up 6

  • STEP 10

Now create two new folders inside the projectsend folder that you created at STEP 9 and name one “config” and the other “data“. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.

Projectsend Synology NAS Set up 7

  • STEP 11

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.

Projectsend Synology NAS Set up 8

  • STEP 12

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

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

version: '3'
services:
  web:
    restart: always
    container_name: projectsend
    image: ghcr.io/linuxserver/projectsend
    volumes:
      - /volume1/docker/projectsend/config:/config
      - /volume1/docker/projectsend/data:/data
    ports:
      - 8516:80
  mysql:
    restart: always
    container_name: projectsendb
    image: mariadb
    volumes:
      - /volume1/docker/projectsendb:/var/lib/mysql
    environment:
      MYSQL_ROOT_PASSWORD: password
      MYSQL_DATABASE: projectsend
      MYSQL_USER: projectsend
      MYSQL_PASSWORD: projectsend

Projectsend Synology NAS Set up 9

  • STEP 13

Scroll down on the page until you see a button called 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 connection speed.

Projectsend Synology NAS Set up 10

  • STEP 14

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

Projectsend Synology NAS Set up 11

  • STEP 15

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

  • STEP 16

Now open your browser and type in your HTTPS/SSL certificate like this https://projectsend.yourname.synology.me In my case it’s https://projectsend.mariushosting.synology.me If everything goes right, you will see the projectsend installation page. In the database configuration add the following parameters:

  1. Host: projectsendb
  2. Database name: projectsend
  3. Username: projectsend
  4. Password: projectsend

Scroll down the page. Follow the instructions in the image below.

Projectsend Synology NAS Set up 12

  • STEP 17

After you scroll down the page, click on the “Check” button. Follow the instructions in the image below.

Projectsend Synology NAS Set up 13

  • STEP 18

After you click on the Check button, you will see if your database parameters are correct – if they are, they will have a green checkmark. Scroll down the page. Follow the instructions in the image below.

Projectsend Synology NAS Set up 14

  • STEP 19

After you scroll down the page, click on the “Write config file” button. Follow the instructions in the image below.

Projectsend Synology NAS Set up 15

  • STEP 20

If everything goes right, you will see the following message: “Successfully wrote the config file“. Click Continue to installation. Follow the instructions in the image below.

Projectsend Synology NAS Set up 16

  • STEP 21

Add you site name and the Projectsend URL. The automatic link that will appear to you will be in http; change it to https. Add your own system administrator credentials then click Install. Follow the instructions in the image below.

Projectsend Synology NAS Set up 17

  • STEP 22

After you click Install at STEP 21, you will get the following message: “Database installation was successful, but errors were encountered”.  The error message appears to be a false positive error message, so ignore it and click Log in. Follow the instructions in the image below.

Projectsend Synology NAS Set up 18

  • STEP 23

Log in using your own credentials you have previously created at STEP 21. Follow the instructions in the image below.

Projectsend Synology NAS Set up 19

Enjoy Projectsend!

Projectsend Synology NAS Set up 20

Note: Find out how to update the Projectsend container with the latest image.
Note: Can I run Docker on my Synology NAS? See the supported models.
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 Tuesday / June 14th, 2022 at 11:37 PM