Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Gluetun Not Starting on System/Docker Reboot #2673

Open
GitHubQueenn opened this issue Jan 25, 2025 · 1 comment
Open

Bug: Gluetun Not Starting on System/Docker Reboot #2673

GitHubQueenn opened this issue Jan 25, 2025 · 1 comment

Comments

@GitHubQueenn
Copy link

GitHubQueenn commented Jan 25, 2025

Is this urgent?

Yes

Host OS

Ubuntu

CPU arch

x86_64

VPN service provider

ProtonVPN

What are you using to run the container

docker-compose

What is the version of Gluetun

Running version latest built on 2024-12-25T01:30:06Z (commit e890c50 )

What's the problem 🤔

When I restart my server PC, Gluetun is not auto-starting, which also is making my qBittorrent not start at all since it runs through that. My docker-compose.yml file is:

services:
  gluetun:
    image: qmcgaw/gluetun
    container_name: gluetun
    hostname: gluetun
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun:/dev/net/tun
    ports:
      - Redacted
      - Redacted
      - Redacted # qbittorrent
    volumes:
      - /home/username/Dockers/Gluetun:/gluetun
    environment:
      - VPN_SERVICE_PROVIDER=protonvpn
      - VPN_TYPE=wireguard
      - WIREGUARD_PRIVATE_KEY=0guhvV8UYG8YBUIOiuHo=
      - SERVER_COUNTRIES=United States
      - TZ=America/New_York
    restart: always
  qbittorrent:
    image: lscr.io/linuxserver/qbittorrent
    container_name: qbittorrent
    network_mode: "service:gluetun"
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=America/New_York
      - WEBUI_PORT=Redacted
    volumes:
      - /home/username/Dockerrrrr/qBittorrent:/config
      - /media/folder/Torrents:/downloads
      - /media/folder/Torrents/incomplete:/downloads/incomplete
    depends_on:
      - gluetun
    restart: always

I only added the restart command to Gluetun because it didn't auto-start when I rebooted my PC. Not sure why it isn't restarting...

Share your logs (at least 10 lines)

Log shows no errors.

Share your configuration

Copy link
Contributor

@qdm12 is more or less the only maintainer of this project and works on it in his free time.
Please:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant