Unable to run mount without --tpslimit being used

What is the problem you are having with rclone?

I've been updating my slightly outdated mount script today, but for some reason I am unable to remove the '--tpslimit 3' line I was using. I'm a bit confused as I thought that removing it would just use the default value, however the service file won't load at all.

Am I missing something?

What is your rclone version (output from rclone version)

rclone v1.51.0-305-g0ce662fa-beta

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Ubuntu Linux 20.04 / Linux 5.4.0-1008-raspi on aarch64

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

	[Unit]
	Description=PlexMount Service
	
	[Service]
	Type=notify
	Environment=RCLONE_CONFIG=//home/craftyclown/.config/rclone/rclone.conf
	KillMode=none
	RestartSec=5
	ExecStart=/usr/bin/rclone mount "RichFlixCrypt:/Encrypted/" /home/craftyclown/Skull \
	  --allow-other \
	  --buffer-size 32M \
	  --dir-cache-time 1000h \
	  --log-level DEBUG \
	  --log-file /home/craftyclown/logs/PlexMount.log \
	  --umask 002 \
	  --tpslimit 3
	ExecStop=/bin/fusermount -uz /home/craftyclown/Skull
	Restart=on-failure
	User=craftyclown
	Group=craftyclown
	
	[Install]
WantedBy=multi-user.target

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)

There is no log as the .service file is not loading, however if I check journalctl -xe it says

Error: unknown shorthand flag: 'z' in -z

i am trying to work on my linux, so i am going to guess that this not correct.
i am wrong just ignore me...
RCLONE_CONFIG=//

Thanks for the suggestion, but that isn't the issue. The script works perfectly until I remove the line --tpslimit 3

Show us what it looks like when you 'removed' it.

The .service file?

    [Unit]
	Description=PlexMount Service
	
	[Service]
	Type=notify
	Environment=RCLONE_CONFIG=//home/craftyclown/.config/rclone/rclone.conf
	KillMode=none
	RestartSec=5
	ExecStart=/usr/bin/rclone mount "RichFlixCrypt:/Encrypted/" /home/craftyclown/Skull \
	  --allow-other \
	  --buffer-size 32M \
	  --dir-cache-time 1000h \
	  --log-level DEBUG \
	  --log-file /home/craftyclown/logs/PlexMount.log \
	  --umask 002 \
	ExecStop=/bin/fusermount -uz /home/craftyclown/Skull
	Restart=on-failure
	User=craftyclown
	Group=craftyclown
	
	[Install]
	WantedBy=multi-user.target

perhaps remove that slash?

2 Likes

There is your issue.

  --umask 002 \

remove the slash. That escapes the 'new line'.

2 Likes

Thank you @asdffdsa and @calisro

I can't believe I missed that :smiley:

Looking for a complicated issue when there wasn't one.

the difference between @asdffdsa and @calisro

@asdffdsa = perhaps remove that slash
@calisro = remove the slash

when i grow up, @asdffdsa wants to be like @calisro :upside_down_face:

1 Like

Ha ha, thanks again

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.