Skip to content

can´t install mini-download-vpn on Synology NAS #43

@FourCCSYN

Description

@FourCCSYN

I just can´t install mini-download-vpn on Synology NAS.
All the variables in .env file have been edited according to instructions. For Instance:
FOLDER_FOR_MEDIA=/volume1/data/media
FOLDER_FOR_DATA=/volume1/docker/mediastack
PUID=1031
PGID=65539
UMASK=0002
TIMEZONE=Europe/Berlin
I replaced example.com with my Internet domain in all the following files:
headscale-config.yaml
headplane-config.yaml
traefik-dynamic.yaml
traefik-internal.yaml
traefik-static.yaml
I updated cookie_secret variable in headplane-config.yaml using 32 random characters
I update restart.sh script with my values for: FOLDER_FOR_YAMLS=/volume1/docker/mediastack
I enabled execution of shell scripts with sudo chmod 775 *sh

but when I execute ./restart.sh I always have those errors:
✅ Found the following variables / values in your .env file:

  • FOLDER_FOR_MEDIA=/volume1/data/media # <-- Update for your folders - Synology Example: /volume1/media
  • FOLDER_FOR_DATA=/volume1/docker/mediastack # <-- Update for your folders - Synology Example: /volume1/docker/appdata
  • PUID=1031
  • PGID=65539
    Creating folders and setting permissions...
    Validating Docker Compose configuration...
    Pulling new / updated Docker images...
    docker-compose version 1.29.2
    Removing all non-persistent Docker containers, volumes, and networks...
    Total reclaimed space: 0B
    Total reclaimed space: 0B
    Moving configuration files into application folders...
    Permissions set to 600 on certs file /volume1/docker/mediastack # <-- Update for your folders - Synology Example: /volume1/docker/appdata/traefik/letsencrypt/acme.json
    cp: target '/volume1/docker/appdata/headplane/config/config.yaml' is not a directory
    cp: target '/volume1/docker/appdata/headscale/config/config.yaml' is not a directory
    cp: target '/volume1/docker/appdata/traefik/config/traefik.yaml' is not a directory
    cp: target '/volume1/docker/appdata/traefik/config/dynamic.yaml' is not a directory
    cp: target '/volume1/docker/appdata/traefik/config/internal.yaml' is not a directory
    cp: target '/volume1/docker/appdata/crowdsec/config/acquis.yaml' is not a directory

    Recreating all Docker containers, volumes, and networks...
    docker-compose version 1.29.2
    Error: No such object: docker-compose version 1.29.2
    and found newly created folders in places where they shouldn´t be according to my variables:
    /volume1/docker/appdate -->those folders should be in /volume1/docker/mediastack (which they are there but also in /volume1/docker/appdate)
    /volume1/docker/mediastack --> here I found the right folders + other weird folders such as "-", "#","E6Z3DY~L", "for", "--", "your"...

I don´t understand where those errors come from. Actually all the instructions are pretty simple to follow.
Is it because I´m on Synology Nas which is always a bit different than other Linux systems?
Is it because I´m using "dockerlimited" (PUID=1031 - PGID=65539) instead of the "docker" user of the instructions?
Is it because I´m using gid=65539 (dockergroup) instead of gid=100 (users)? I used "dockerlimited" (PUID=1031 - PGID=65539) because this is the user & group that I´m using for all my other non-mediastack rootless docker services which run perfectly & I thought that this shouldn´t cause any problem but I also tried with user docker (PUID=1037 - PGID=100) with the exact same results.
Also in this log I see references to many different yaml files when actually there is only one docker-compose.yaml (Mini-download-vpn) + the traefik, headplane & crowdsec yaml files from the "base working files"

I really don't get what is going on & I would highly appreciate if somebody could put a bit of light here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions