Log full of SLOW QUERY warnings when running Plex -- GOOGLE DRIVE

For some reason it stopped working again, the drive is not mounted anymore. I tried to unmount it with

fusermount -uz /home/hd23/lordcrumb/mnt/plexdrive

But then get the error

fusermount: entry for /home/hd23/lordcrumb/mnt/plexdrive not found in /etc/mtab

When I then run

rclone mount Google: /home/hd23/lordcrumb/mnt/plexdrive --allow-other &`

The drive does not mount. Any ideas why this could have happened?

I also get this error now when mounting:

Fatal error: Directory is not empty: /home/hd23/lordcrumb/mnt/plexdrive If you want to mount it anyway use: --allow-non-empty option: readdirent: input/output error

Not really, is it listed when you run mount

should show something like this:

Google: on /home/hd23/lordcrumb/mnt/plexdrive

What is in the plexdrive folder, if you

cd /home/hd23/lordcrumb/mnt/plexdrive
then
`ls’

I found this:

Google: on /home/hd23/lordcrumb/mnt/plexdrive type fuse.rclone (rw,nosuid,nodev,relatime,user_id=28448,group_id=1025,allow_other)

To your other question, I got this:

lordcrumb@rhea : ~ cd /home/hd23/lordcrumb/mnt/plexdrive **lordcrumb@rhea** : **~/mnt/plexdrive** ls
ls: reading directory ā€˜.’: Input/output error

ok, so mount still shows it as mounted, so backout of the directory, back to your home directory just type cd

and make sure you are not in the directory anywhere else and try the fusermount command again.

Does your box allow you to run commands with sudo possibly not if its shared.

I have gone back to the home directory and used the fusermount, no error message. Not sure if I can run sudo…

if you got no error hopefully that is un mounted check the mount command again

Nope, still find this:

Google: on /home/hd23/lordcrumb/mnt/plexdrive type fuse.rclone (rw,nosuid,nodev,relatime,user_id=28448,group_id=1025,allow_other)

I can try to restart the box, stop plexdrive end then mount rclone again, would that help?

Yep I would give that a go, was not sure you had the power to restart the box.

I have done that, and get this error now when mounting rclone:

Google drive root ā€˜ā€™: Statfs failed: failed to get Drive storageQuota: Get https://www.googleapis.com/drive/v3/about?alt=json&fields=storageQuota&prettyPrint=false: oauth2: cannot fetch token: 401 Unauthorized
Response: {
ā€œerrorā€: ā€œunauthorized_clientā€,
ā€œerror_descriptionā€: ā€œUnauthorizedā€
}

Does it maybe mean I need to create a new API key and secret to use?

Yep, I would start by getting a new set of those, and it might be worth creating a new config in rclone.

(you can leave the old one there just give the new one a different name e.g. Google2)

I am thinking it may have dropped the mount as it was possibly still using the old token and failed when it tried to refresh the token, as the tokens last for up to hour before needing to be refreshed.

I did all that, called it Google2 and tried to mount it again:

lordcrumb@rhea : ~ $ rclone mount Google2: /home/hd23/lordcrumb/mnt/plexdrive --allow-other &

[1] 78014

lordcrumb@rhea : ~ $ 2019/11/11 19:31:15 Fatal error: Directory is not empty: /home/hd23/lordcrumb/mnt/plexdrive If you want to mount it anyway use: --allow-non-empty option: readdirent: input/output error

I’m starting to lose hope in this…

does this give you the list of your folders:

rclone lsd Google2:

Yes, folders are listed successfully.

ok lets see if you have sudo, can you try this

sudo fusermount -uz /home/hd23/lordcrumb/mnt/plexdrive

and then mount and see if it is still mounted

No, sorry - no access to sudo…

damm,

and still the input/output error if you try to access /home/hd23/lordcrumb/mnt/plexdrive?

afraid you might need to contact support and see if they can un mount it. sorry

OK, I will try that.

I am sorry for messin up your stuff, mounting rclone on the plexdrive folder has been ok when I have done it before as they are just folders. I just don’t know why it will not un mount it.

But I guess there could be something with the way this box provider has stuff setup.