Jump to content


Photo

4.2.0.1 Beta - Roku Thumbnail images not being created.

centos Roku linux thumbnail

Best Answer Karpana , 23 May 2019 - 07:31 AM

@Luke & @Happy2Play

I have some fortuitous news to report.
It seems I've gotten this to work, though for the life of me, I can't explain why this solution was necessary.

Yesterday, on a whim, I disabled the "save thumbnails to media folder" option on one of my libraries and forced the TV episode in question to update missing metadata.
The .bif file was successfully created in the /emby/metadata folder.

I re-enabled the option to save thumbnails to media folder (and deleted the bif file in metadata) and it again failed.

the only "real" difference between the /metadata folder area and my media folder is who owned the folder. 

Keeping in mind that my media folder is mounted from my NAS, I recognized I have some control about which owner/group (on the CentOS side) the NAS is mounted as.

I went into my /etc/fstab file, changed the uid&gid from 5000/6000 (which was working through emby 4.1.0.23) and works for all everything but .bif files and changed it to 997/994 (emby's user and group).
I unmounted the NAS from CentOS and remounted it.

I then forced emby to update missing metadata, and much to my surprise, it worked!

As indicated, I can't explain why this worked, but it has.

I have a bit more testing, specifically around the creation of other files and functionality validation.  But for the time being this is a fortuittous start.


This is what my directory structure permissions look like now (note the 5000/6000 is now showing emby/emby)
I guess with this change, assuming everything else checks out, I should be able to reduce permissions *away* from 777.

I'll send an update in the next few days to let you know how everything else is holding up.

/
	drwxr-xr-x.   3 root root     17 Jan 25 19:11 mnt
	dr-xr-xr-x.  17 root root    242 Apr 29 20:03 ..
	dr-xr-xr-x.  17 root root    242 Apr 29 20:03 .

/mnt
	drwxr-xr-x.  3 root root  17 Jan 25 19:11 .
	drwxr-xr-x.  3 root root  21 Jan 25 19:11 nas
	dr-xr-xr-x. 17 root root 242 Apr 29 20:03 ..

/mnt/nas
	drwxr-xr-x. 3 root root 17 Jan 25 19:11 ..
	drwxr-xr-x. 3 root root 21 Jan 25 19:11 .
	drwxr-xr-x. 3 root root 20 Jan 25 19:13 lithium

/mnt/nas/lithium
	drwxr-xr-x. 3 root root   21 Jan 25 19:11 ..
	drwxr-xr-x. 3 root root   20 Jan 25 19:13 .
	drwxrwxrwx. 2 emby emby 8192 May 20 14:55 videos

/mnt/nas/lithium/videos
	drwxr-xr-x. 3 root root       20 Jan 25 19:13 ..
	drwxrwxrwx. 2 emby emby        0 May 16 22:59 TV Shows
	drwxrwxrwx. 2 emby emby     8192 May 20 14:55 .

/mnt/nas/lithium/videos/TV Shows
	drwxrwxrwx. 2 emby emby 40960 May 16 22:59 .
	drwxrwxrwx. 2 emby emby  8192 May 20 14:55 ..
	drwxrwxrwx. 2 emby emby     0 Apr 23 17:55 Star Trek - Discovery

/mnt/nas/lithium/videos/TV Shows/Star Trek - Discovery
	drwxrwxrwx. 2 emby emby   4096 Apr 23 17:55 .
	drwxrwxrwx. 2 emby emby  40960 May 16 22:59 ..
	drwxrwxrwx. 2 emby emby      0 May 20 14:43 Season 02

/mnt/nas/lithium/videos/TV Shows/Star Trek - Discovery/Season 02
	drwxrwxrwx. 2 emby emby       4096 Apr 23 17:55 ..
	drwxrwxrwx. 2 emby emby      24576 May 20 14:43 .
Go to the full post


  • Please log in to reply
42 replies to this topic

#41 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138277 posts
  • Local time: 07:18 AM

Posted 28 May 2019 - 12:00 PM

So it's working now?



#42 Karpana OFFLINE  

Karpana

    Advanced Member

  • Members
  • 77 posts
  • Local time: 06:18 AM

Posted 28 May 2019 - 03:22 PM

It is indeed!

But as noted, I can't explain why the mount 'owner' fixed it.

#43 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 138277 posts
  • Local time: 07:18 AM

Posted 29 May 2019 - 12:32 AM

That's interesting. Thanks for the feedback !







Also tagged with one or more of these keywords: centos, Roku, linux, thumbnail

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users