hogi2000
(Howard Gillespie)
February 26, 2021, 7:39am
1
Hello need some help with my VFS Service:
Unit]
Description=RClone VFS Service
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
KillMode=none
Environment=RCLONE CONFIG=/home/howardgillespie/.config/rclone/rclone.conf
ExecStart=/usr/bin/rclone mount Plex: /home/howardgillespie/myGoogleDrive
--allow-other
--buffer-size 256M
--dir-cache-time 72h
--drive-chunk-size 32M
--log-level INFO
--log-file /home/howardgillespie/scripts/rclone.log
--umask 002
--vfs-read-chunk-size 128M
--vfs-read-chunk-size-limit off
--rc
ExecStop=/bin/fusermount -uz /home/howardgillespie/myGoogleDrive
Restart=on-failure
User=howardgillespie
Group=howardgillespie
[Install]
WantedBy=multi-user.target
ERROR
howardgillespie@vmi346374:~$ systemctl --user daemon-reload
howardgillespie@vmi346374:~$ systemctl --user enable --now rclone-vfs.service
Job for rclone-vfs.service failed because the control process exited with error code.
See "systemctl --user status rclone-vfs.service" and "journalctl --user -xe" for details.
howardgillespie@vmi346374:~$ systemctl --user status rclone-vfs.service
● rclone-vfs.service - RClone VFS Service
Loaded: loaded (/home/howardgillespie/.config/systemd/user/rclone-vfs.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2021-02-26 02:30:40 EST; 22s ago
Process: 1807 ExecStart=/home/howardgillespie/bin/rclone mount Plex: /home/howardgillespie/myGoogleDrive --config /home/howardgillespie/.config/rclone/rclone.conf --use-mmap --dir-cache-time 1000h --poll-interval=15s --vfs-cache-mod>
Main PID: 1807 (code=exited, status=203/EXEC)
That usually happens every time when a post for help is done and the template is not used as a service fails to start somewhere.
You want to to use the template.
You want to post your full service file within backticks `
3 backticks above
3 backticks below
and you want to post the actual rclone log file.
Looks like you are missing \ to continue your lines.
ExecStart=/usr/bin/rclone mount Plex: /home/howardgillespie/myGoogleDrive \
--allow-other \
--buffer-size 256M \
--dir-cache-time 72h \
--drive-chunk-size 32M \
--log-level INFO \
--log-file /home/howardgillespie/scripts/rclone.log \
--umask 002 \
--vfs-read-chunk-size 128M \
--vfs-read-chunk-size-limit off \
--rc
1 Like
hogi2000
(Howard Gillespie)
February 26, 2021, 1:52pm
3
thank you for your reply and apologies as I am still learning.
Place backtick where exactly, please check my understanding below
ExecStart=/usr/bin/rclone mount Plex: /home/howardgillespie/myGoogleDrive
[backtick][backtick][backtick]
--allow-other
--buffer-size 256M
--dir-cache-time 72h
--drive-chunk-size 32M
--log-level INFO
--log-file /home/howardgillespie/scripts/rclone.log
--umask 002
--vfs-read-chunk-size 128M
--vfs-read-chunk-size-limit off
--rc
[backtick][backtick][backtick]
Don't type the actual word backtick. Use the backtick key `
If you put 3 above and 3 below
Like
This
It makes it a code block.
And you still need to add \ like I showed you.
hogi2000
(Howard Gillespie)
February 26, 2021, 2:19pm
6
thank you again, after your reply "Like" I can only see "This" and all the \ are in my file but not copied
Please check my understanding below
ExecStart=/usr/bin/rclone mount Plex: /home/howardgillespie/myGoogleDrive
--allow-other
--buffer-size 256M
--dir-cache-time 72h
--drive-chunk-size 32M
--log-level INFO
--log-file /home/howardgillespie/scripts/rclone.log
--umask 002
--vfs-read-chunk-size 128M
--vfs-read-chunk-size-limit off
--rc
I don't understand why they aren't copied as you should see them and be able to copy them.
ExecStart=/usr/bin/rclone mount gcrypt: /GD \
--allow-other \
--dir-cache-time 1000h \
--syslog \
--poll-interval 15s \
--umask 002 \
--user-agent randomappname102 \
--rc \
--rc-addr :5572 \
--rc-no-auth \
--cache-dir=/cache \
--vfs-cache-mode full \
--vfs-cache-max-size 800G \
--vfs-cache-max-age 1000h \
--bwlimit-file 16M
Is what it should look like.
Please share the rclone.log file.
hogi2000
(Howard Gillespie)
February 26, 2021, 2:35pm
10
what is the command to view the rclone.log?
I'm not actually typing in [backtick], it's just a place holder
[Unit]
Description=RClone VFS Service
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
KillMode=none
Environment=RCLONE CONFIG=/home/howardgillespie/.config/rclone/rclone.conf
ExecStart=/usr/bin/rclone mount Plex: /home/howardgillespie/myGoogleDrive
[backtick]backtick][backtick]
--allow-other
--buffer-size 256M
--dir-cache-time 72h
--drive-chunk-size 32M
--log-level INFO
--log-file /home/howardgillespie/scripts/rclone.log
--umask 002
--vfs-read-chunk-size 128M
--vfs-read-chunk-size-limit off
--rc
[backtick]backtick][backtick]
ExecStop=/bin/fusermount -uz /home/howardgillespie/myGoogleDrive
Restart=on-failure
User=howardgillespie
Group=howardgillespie
[Install]
WantedBy=multi-user.target
hogi2000:
[Unit]
On the line above this, type 3 of ` those
On the line after this, type 3 of these `
So you get something that looks like a code block
Above this are a single line of 3 backticks
example code block
Below this are a single line of 3 backticks
hogi2000
(Howard Gillespie)
February 26, 2021, 3:08pm
12
Ok done. Above [Unit] and below WantedBy
Error
● rclone-vfs.service - RClone VFS Service
Loaded: loaded (/home/howardgillespie/.config/systemd/user/rclone-vfs.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2021-02-26 10:05:15 EST; 24s ago
Process: 14467 ExecStart=/home/howardgillespie/bin/rclone mount Plex: /home/howardgillespie/myGoogleDrive --config /home/howardgillespie/.config/rclone/rclone.conf --use-mmap --dir-cache-time 1000h --poll-interval=15s --vfs-cache-mo>
Main PID: 14467 (code=exited, status=203/EXEC)
hogi2000
(Howard Gillespie)
February 26, 2021, 3:09pm
13
[Unit]
Description=RClone VFS Service
Wants=network-online.target
After=network-online.target
[Service]
Type=notify
KillMode=none
Environment=RCLONE CONFIG=/home/howardgillespie/.config/rclone/rclone.conf
ExecStart=/usr/bin/rclone mount Plex: /home/howardgillespie/myGoogleDrive \
--allow-other \
--buffer-size 256M \
--dir-cache-time 72h \
--drive-chunk-size 32M \
--log-level INFO \
--log-file /home/howardgillespie/scripts/rclone.log \
--umask 002 \
--vfs-read-chunk-size 128M \
--vfs-read-chunk-size-limit off \
--rc
ExecStop=/bin/fusermount -uz /home/howardgillespie/myGoogleDrive \
Restart=on-failure
User=howardgillespie
Group=howardgillespie
[Install]
WantedBy=multi-user.target
And the rclone.log file...
hogi2000
(Howard Gillespie)
February 26, 2021, 3:18pm
15
apologies. what is the command to view the rclone.log file?
Many options:
cat
more
less
vi
and add the file name you have defined for the log.
hogi2000
(Howard Gillespie)
February 26, 2021, 3:23pm
17
howardgillespie@vmi346374:~$ /home/howardgillespie/scripts/rclone.log
-bash: /home/howardgillespie/scripts/rclone.log: No such file or directory
Why don't you try typing that into a regular command line and paste the output.
asdffdsa
(jojothehumanmonkey)
February 26, 2021, 3:30pm
19
should there be a trailing slash in this?
ExecStop=/bin/fusermount -uz /home/howardgillespie/myGoogleDrive \
hogi2000
(Howard Gillespie)
February 26, 2021, 3:38pm
20
done
howardgillespie@vmi346374:~$ /usr/bin/rclone mount Plex: /home/howardgillespie/myGoogleDrive \
--allow-other
--buffer-size 256M
--dir-cache-time 72h
--drive-chunk-size 32M
--log-level INFO
--log-file /home/howardgillespie/scripts/rclone.log
--umask 002
--vfs-read-chunk-size 128M
--vfs-read-chunk-size-limit off
--rc
howardgillespie@vmi346374:~$
hogi2000
(Howard Gillespie)
February 26, 2021, 3:42pm
21
hi, removed it. no difference..
There is no output written to the screen?
felix@gemini:~$ /usr/bin/rclone mount Plex: /home/howardgillespie/myGoogleDrive \
allow-ot> --allow-other \
> --buffer-size 256M \
> --dir-cache-time 72h \
-size 32> --drive-chunk-size 32M \
og-level INFO> --log-level INFO \
g-file /> --log-file /home/howardgillespie/scripts/rclone.log \
> --umask 002 \
> --vfs-read-chunk-size 128M \
vfs-read> --vfs-read-chunk-size-limit off \
> --rc
2021/02/26 10:43:44 Failed to open log file: open /home/howardgillespie/scripts/rclone.log: no such file or directory
felix@gemini:~$
It should do something.
hogi2000
(Howard Gillespie)
February 26, 2021, 3:51pm
23
no, it goes back to the command line
is it possible the fusermount needs to be edited? I read that in another post, taking out a couple of #'s