trash-guides / synology-templates Goto Github PK
View Code? Open in Web Editor NEWHere you will find a collection of docker-compose's for Synology related to TRaSH Guides
License: MIT License
Here you will find a collection of docker-compose's for Synology related to TRaSH Guides
License: MIT License
@BaukeZwart that update to add PUID/GUID should have never been made. GoLift Containers do not support PUID/PGUID
needs to be user: ${PUID}:${PGID}
Which Template
Please add which in which Template you found a Bug/Error with.
Guides-Synology-Templates/templates
/readarr.yml
Describe the Bug/Error in the Template
A clear and concise description of what the bug is.
First word in the template: it says # Bazarr, not # Readarr.
Additional context
Add any other context about the problem here.
very minor error.
Typo in file name (one 'r' instead of two) is also reflected in the mkdir
command on line 2, resulting in the docker-compose up -d command not being able to complete successfully as the rest of the system is looking for 'qbittorrent' in the appdata directory.
Which Template
https://github.com/TRaSH-/Guides-Synology-Templates/blob/main/templates/qbittorrent.yml
Describe the Bug/Error in the Template
The wireguard service fails to start when VPN_ENABLED = true
I don't know if it is related to the tun service not starting (i get different error messages,
Additional context
Container log
----------------------------------------------------------------------
ENVIRONMENT
----------------------------------------------------------------------
PUID=1031
PGID=100
UMASK=022
TZ=America/Los_Angeles
WEBUI_PORTS=8080/tcp,8080/udp
VPN_ENABLED=true
VPN_LAN_NETWORK=192.168.1.0/24
VPN_CONF=wg0
VPN_ADDITIONAL_PORTS=
PRIVOXY_ENABLED=false
----------------------------------------------------------------------
Executing usermod...
Applying permissions to /config
cont-init: info: /etc/cont-init.d/00-start-container exited 0
cont-init: info: running /etc/cont-init.d/01-configure-app
cont-init: info: /etc/cont-init.d/01-configure-app exited 0
cont-init: info: running /etc/cont-init.d/02-setup-wg
[INFO] Docker network type is not set to "host".
[INFO] "sysctl net.ipv4.conf.all.src_valid_mark=1" is set.
[INFO] Configuration file "/config/wireguard/wg0.conf" was found.
[INFO] WireGuard is down. Continuing...
[INFO] Starting WireGuard...
[#] bash /config/wireguard/PreUp.sh
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 10.14.0.2/16 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] resolvconf -a wg0 -m 0 -x
[#] ip -4 route add 128.0.0.0/1 dev wg0
[#] wg set wg0 fwmark 51820
[#] ip -4 route add 0.0.0.0/0 dev wg0 table 51820
[#] ip -4 rule add not fwmark 51820 table 51820
[#] ip -4 rule add table main suppress_prefixlength 0
[#] echo skipping setting net.ipv4.conf.all.src_valid_mark
skipping setting net.ipv4.conf.all.src_valid_mark
[#] iptables-restore -n
iptables-restore v1.8.9 (legacy): iptables-restore: unable to initialize table 'raw'
Error occurred at line: 1
Try `iptables-restore -h' or 'iptables-restore --help' for more information.
[#] resolvconf -d wg0 -f
[#] ip -4 rule delete table 51820
[#] ip -4 rule delete table main suppress_prefixlength 0
[#] ip link delete dev wg0
[ERROR] WireGuard failed to start.
cont-init: info: /etc/cont-init.d/02-setup-wg exited 1
cont-init: info: running /etc/cont-init.d/03-setup-privoxy
cont-init: info: /etc/cont-init.d/03-setup-privoxy exited 0
cont-init: warning: some scripts exited nonzero
s6-rc: warning: unable to start service legacy-cont-init: command exited 1
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
error with tun service after running the suggested tun service script and commands
alexb@SYN02:/volume1/docker$ sudo systemctl enable /etc/systemd/system/tun.service
Created symlink from /etc/systemd/system/multi-user.target.wants/tun.service to /etc/systemd/system/tun.service.
alexb@SYN02:/volume1/docker$ sudo systemctl start tun
alexb@SYN02:/volume1/docker$ sudo systemctl status tun
โ tun.service - Run tun at startup
Loaded: loaded (/etc/systemd/system/tun.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2023-03-15 18:14:54 PDT; 468ms ago
Process: 6674 ExecStart=/sbin/insmod /lib/modules/tun.ko (code=exited, status=1/FAILURE)
Main PID: 6674 (code=exited, status=1/FAILURE)
Mar 15 18:14:54 SYN02 systemd[1]: Unit tun.service entered failed state.
Mar 15 18:14:54 SYN02 systemd[1]: tun.service failed.
this is x64 architecture Synology (DS918+)running DSM 7.1.1-42962 Update 3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.