|
As the title says, I've clearly misconfigured something. I keep getting this set of lines right before docker closes it. Edit: I forgot to say I'm using the Docker Compose setup. Was probably obvious, but just in case. TransmissionVPN | sd_bus_open_system: No such file or directory
TransmissionVPN | 2026-09-25 12:15:35 WARNING: Failed running command (--up/--down): external program exited with error status: 1
TransmissionVPN | 2026-09-25 12:15:35 Exiting due to fatal errorThis is my setup: version: 3.7.1
services:
transmission-openvpn:
container_name: TransmissionVPN
restart: on-failure:2
cap_add:
- NET_ADMIN
volumes:
- ./protonvpn/:/etc/openvpn/custom/
- ./:/config # where transmission-home is stored
- /home/someone/Downloads/:/data # where transmission will store the data
environment:
- OPENVPN_PROVIDER=custom
- OPENVPN_CONFIG=[REDACTED]
- OPENVPN_USERNAME=[REDACTED]
- OPENVPN_PASSWORD=[REDACTED]
- LOCAL_NETWORK=192.168.0.0/24
logging:
driver: json-file
options:
max-size: 10m
ports:
- 9091:9091
image: haugene/transmission-openvpnAny and all help is appreciated. Also, I apologize if this has come up before. I couldn't find it. |
Replies: 1 comment 1 reply
|
It is not your compose file, it is two lines in the ProtonVPN for desktop Linux, and those do not work in this container. In the image, Delete those two lines (or put a One thing so it does not look like the fix failed: on the current image (OpenVPN 2.7) you will still see one I checked it on The same error with ProtonVPN is in #3016, where removing the two lines was confirmed to fix it. There is also an open PR that would strip them automatically, #3007; until it is merged and released, removing them by hand is the fix. The other way out is the built-in provider, |
It is not your compose file, it is two lines in the ProtonVPN
.ovpn. ProtonVPN's configs come withfor desktop Linux, and those do not work in this container. In the image,
resolvconfis a link toresolvectl, the client for systemd-resolved, which talks to it over the system D-Bus, and the container runs neither. When OpenVPN runs that script as itsupstep, it hands the DNS server Proton pushes toresolvconf, which fails withsd_bus_open_system: No such file or directory, and OpenVPN treats a failingupscript as fatal and exits.Delete those two lines (or put a
#in front of them) in the.ovpninside./protonvpnan…