I decided to rebuild my plex server using dockers and am running into issues when it comes to rclone. Keep in mind that the dockerless setup was first made around 5-6 months ago and everything was working fine until this docker setup. I only have 2 dockers so far, traefik and portainer, and these shouldn’t have any effect on my rclone usage.
There are 2 rclone crypts that mount in /mnt/tv and /mnt/movies. This is done using 2 rclone mount systemd service files that have been mounting at startup (tv.service and movies.service). These worked fine previously, but now in the new setup, only one service mount works at a time. I can either mount the tv crypt OR the movies crypt, but not both at the same time. When I try to mount the second service it gives me the error: “Start request repeated too quickly.” See my service files below.
tv.service
[Unit]
Description=Mount tv-gd to /mnt/tv
After=syslog.target local-fs.target network.target
[Service]
Environment=RCLONEHOME=/home/username/.config/rclone
Environment=MOUNTTO=/mnt/tv-gd
Environment=LOGS=/home/username/logs
Type=simple
User=root
ExecStartPre=/bin/mkdir -p ${MOUNTTO}
ExecStartPre=/bin/mkdir -p ${LOGS}
ExecStart=/usr/bin/rclone mount
–rc
–log-file ${LOGS}/rclone-tv.log
–log-level INFO
–umask 002
–allow-non-empty
–allow-other
–fuse-flag sync_read
–tpslimit 10
–tpslimit-burst 10
–dir-cache-time=48h
–buffer-size=128M
–attr-timeout=1s
–vfs-read-chunk-size=64M
–vfs-read-chunk-size-limit=2G
–vfs-cache-max-age=5m
–vfs-cache-mode=writes
–config ${RCLONEHOME}/rclone.conf
tv-gd: ${MOUNTTO}
ExecStop=/bin/fusermount -u -z ${MOUNTTO}
ExecStop=/bin/rmdir ${MOUNTTO}
Restart=always
[Install]
WantedBy=multi-user.target
movies.service
[Unit]
Description=Mount m-gd to /mnt/movies
After=syslog.target local-fs.target network.target
[Service]
Environment=RCLONEHOME=/home/username/.config/rclone
Environment=MOUNTTO=/mnt/m-gd
Environment=LOGS=/home/username/logs
Type=simple
User=root
ExecStartPre=/bin/mkdir -p ${MOUNTTO}
ExecStartPre=/bin/mkdir -p ${LOGS}
ExecStart=/usr/bin/rclone mount
–rc
–log-file ${LOGS}/rclone-movies.log
–log-level INFO
–umask 002
–allow-non-empty
–allow-other
–fuse-flag sync_read
–tpslimit 10
–tpslimit-burst 10
–dir-cache-time=48h
–buffer-size=128M
–attr-timeout=1s
–vfs-read-chunk-size=64M
–vfs-read-chunk-size-limit=2G
–vfs-cache-max-age=5m
–vfs-cache-mode=writes
–config ${RCLONEHOME}/rclone.conf
m-gd: ${MOUNTTO}
ExecStop=/bin/fusermount -u -z ${MOUNTTO}
ExecStop=/bin/rmdir ${MOUNTTO}
Restart=always
[Install]
WantedBy=multi-user.target