Backblaze B2 mount on macOS 10.13.6 - Plex just hangs when trying to play a video

STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

What is the problem you are having with rclone?

Plex isn't able to play a movie on B2 mounted with rclone on macOS 10.13.6. Once i click play on plex it just keeps spinning forever..

Run the command 'rclone version' and share the full output of the command.

rclone v1.63.0

  • os/version: darwin 10.13.6 (64 bit)

  • os/kernel: 17.7.0 (x86_64)

  • os/type: darwin

  • os/arch: amd64

  • go/version: go1.20.5

  • go/linking: dynamic

  • go/tags: cmount

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

Backblaze B2

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

./rclone mount blaze:bucket /b2 --allow-other --b2-disable-checksum --vfs-cache-mode full --vfs-cache-max-size 120G --dir-cache-time 6h --vfs-cache-max-age 5h --log-file=log.txt --log-level DEBUG --no-checksum --no-modtime --vfs-fast-fingerprint &```


#### The rclone config contents with secrets removed.  
<!--  You should use 3 backticks to begin and end your paste to make it readable.   -->

Paste config here




#### A log from the command with the `-vv` flag  
<!-- You should use 3 backticks to begin and end your paste to make it readable.  Or use a service such as https://pastebin.com or https://gist.github.com/   -->

2023/07/10 20:23:01 DEBUG : /Movies/.grab: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:03 DEBUG : /Movies/.grab: >Getattr: errc=-2

2023/07/10 20:23:05 DEBUG : /.metadata_never_index: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:05 DEBUG : /.metadata_never_index: >Getattr: errc=-2

2023/07/10 20:23:05 DEBUG : /.metadata_never_index_unless_rootfs: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:05 DEBUG : /.metadata_never_index_unless_rootfs: >Getattr: errc=-2

2023/07/10 20:23:05 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:05 DEBUG : /: >Getattr: errc=0

2023/07/10 20:23:05 DEBUG : /: Access: mask=00

2023/07/10 20:23:05 DEBUG : /: >Access: errc=0

2023/07/10 20:23:20 DEBUG : /Movies/.grab: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:20 DEBUG : /Movies/.grab: >Getattr: errc=-2

2023/07/10 20:23:37 DEBUG : /.metadata_never_index: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:37 DEBUG : /.metadata_never_index: >Getattr: errc=-2

2023/07/10 20:23:37 DEBUG : /.metadata_never_index_unless_rootfs: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:37 DEBUG : /.metadata_never_index_unless_rootfs: >Getattr: errc=-2

2023/07/10 20:23:37 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:37 DEBUG : /: >Getattr: errc=0

2023/07/10 20:23:37 DEBUG : /: Access: mask=00

2023/07/10 20:23:37 DEBUG : /: >Access: errc=0

2023/07/10 20:23:43 DEBUG : /Movies: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:43 DEBUG : /Movies: >Getattr: errc=0

2023/07/10 20:23:43 DEBUG : /Movies: Access: mask=00

2023/07/10 20:23:43 DEBUG : /Movies: >Access: errc=0

2023/07/10 20:23:43 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:43 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Getattr: errc=0

2023/07/10 20:23:43 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=00

2023/07/10 20:23:43 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:43 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=04

2023/07/10 20:23:43 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:44 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0)

2023/07/10 20:23:56 DEBUG : /Movies: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:56 DEBUG : /Movies: >Getattr: errc=0

2023/07/10 20:23:56 DEBUG : /Movies: Access: mask=00

2023/07/10 20:23:56 DEBUG : /Movies: >Access: errc=0

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Getattr: errc=0

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=00

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=04

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:56 DEBUG : /Movies: Access: mask=00

2023/07/10 20:23:56 DEBUG : /Movies: >Access: errc=0

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=00

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=04

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:56 DEBUG : /Movies: Access: mask=00

2023/07/10 20:23:56 DEBUG : /Movies: >Access: errc=0

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=00

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=04

2023/07/10 20:23:56 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:56 DEBUG : /Movies: Access: mask=00

2023/07/10 20:23:56 DEBUG : /Movies: >Access: errc=0

2023/07/10 20:23:56 DEBUG : /Movies: Access: mask=00

2023/07/10 20:23:56 DEBUG : /Movies: >Access: errc=0

2023/07/10 20:23:57 DEBUG : /Movies: Access: mask=00

2023/07/10 20:23:57 DEBUG : /Movies: >Access: errc=0

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=00

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=04

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:57 DEBUG : /Movies: Access: mask=00

2023/07/10 20:23:57 DEBUG : /Movies: >Access: errc=0

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=00

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=04

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Getattr: fh=0xFFFFFFFFFFFFFFFF

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Getattr: errc=0

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=00

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:57 DEBUG : /: Access: mask=01

2023/07/10 20:23:57 DEBUG : /: >Access: errc=0

2023/07/10 20:23:57 DEBUG : /Movies: Access: mask=01

2023/07/10 20:23:57 DEBUG : /Movies: >Access: errc=0

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Access: mask=04

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Access: errc=0

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: OpenEx: flags=0x0

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx

2023/07/10 20:23:57 DEBUG : Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Open: flags=O_RDONLY

2023/07/10 20:23:57 DEBUG : Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: newRWFileHandle:

2023/07/10 20:23:57 DEBUG : Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >newRWFileHandle: err=

2023/07/10 20:23:57 DEBUG : Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >Open: fd=Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv (rw), err=

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >OpenFile: fd=Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv (rw), err=

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: >OpenEx: errc=0, fh=0x1

2023/07/10 20:23:57 DEBUG : /Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: Read: ofst=0, fh=0x1

2023/07/10 20:23:57 DEBUG : Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv(0xc00005c1c0): _readAt: size=4096, off=0

2023/07/10 20:23:57 DEBUG : Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv(0xc00005c1c0): openPending:

2023/07/10 20:23:57 DEBUG : Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: vfs cache: checking remote fingerprint "49651013517,2022-05-12 05:16:04 +0000 UTC," against cached fingerprint ""

2023/07/10 20:23:57 DEBUG : Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv: vfs cache: truncate to size=49651013517

Maybe I am wrong but you are trying to play 4k HDR HEVC video on macOS 10.13 (from 2017). It tells me that it is probably not the fastest hardware.

Copy this film from B2 to your local disk and see if you can play it.

I'm using the Direct Play option on plex on my nvidia shield TV Pro device so there is no hardware level transcoding that happens on macOS. I'm able to play the video fine when it's on a external hard drive connected to the same macbook. There seems to be some issue with the rclone mount..

OK so I was wrong:)

or plex, or internet, or something else...

Could you run your mount with --log-level DEBUG --log-file ~/rclone.log - try to play some film. and send all log here (you can upload it as a file). Then we can try to see what is going on

You can also try to play it from mount directly - with VLC for example - it would tell us if problem is with mount or with some other parts of overall setup.

Here's the log file - rclonelog - Pastebin.com (new users can't upload attachments here so the pastebin link)
Also I'm on a 1 Gbps internet fiber line so I'm not facing any internet speed issues , the rclone copy/move to B2 backend works flawlessly.

It looks perfectly fine... but does not seem like any program is trying to read actual data.

Can you try the same but with local VLC?

Same behavior with VLC - it just keeps on loading forever once i click play.
(The local file saved on the external hard drive connected to the same mac plays fine on VLC and Plex)

might be something to do with permissions of mac root folder then.... you (VLC or PLEX) can list it but can not read any content - this would be in line with log which shows inner workings of mount but no data reading activity

try:

./rclone mount blaze:bucket ~/b2 ...

on my mac root folder is read only so I can't even test such situation - (things changed with APFS introduction)

Tried and it still doesn’t help.. do you think there’s a B2 checksum or fingerprint wait happening here even though fast fingerprint flag is enabled ? (From the log it appears that every time it stops at checking remote fingerprint against cached fingerprint)

They should not interfere in theory but bugs exist:) So far all look fine - no errors - strange is that no attempts to read anything can be seen in log.

Let's try to isolate the issue:

  1. make sure you install the latest macFUSE - https://osxfuse.github.io/ - it supports macOS 10.9+ so OK

  2. simplify mount:

rclone mount blaze:bucket ~/b2 --allow-other --vfs-cache-mode full --vfs-cache-max-size 120G --dir-cache-time 6h --vfs-cache-max-age 5h --log-file=log.txt --log-level DEBUG

  1. Delete cache - maybe something got corrupted?:

rm -rf ~/Library/Caches/rclone/vfs

  1. Upload to your blaze:bucket small text file or picture - we can see if small files work

We should also test if B2 side is really OK - we can do this without mount.

Run:

rclone cat "blaze:bucket/Movies/Tomb.Raider.2018.2160p.UHD.BluRay.REMUX.HDR.HEVC.TrueHD.Atmos.7.1-iFT.mkv" | "/Applications/VLC.app/Contents/MacOS/VLC" -

You can watch films like this - but without mount and cache e.g. seek does not work. This will tell us if content from B2 can be read by rclone.

Tried this but it still didn’t work, I just gave up on macOS and installed Ubuntu server 22.04 as dual boot on the mac and everything now works flawlessly with Ubuntu+Rclone+Plex.. Thanks for your help! :slight_smile:

1 Like

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