Jump to content

Search the Community

Showing results for tags 'Permissions'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Emby Premiere Purchase/Subscription Support
    • Feature Requests
    • Tutorials and Guides
  • Emby Server
    • General/Windows
    • Android Server
    • Asustor
    • FreeBSD
    • Linux
    • NetGear ReadyNAS
    • MacOS
    • QNAP
    • Synology
    • TerraMaster NAS
    • Thecus
    • Western Digital
    • DLNA
    • Live TV
  • Emby Apps
    • Amazon Alexa
    • Android Mobile
    • Android TV / Fire TV
    • Emby Theater
    • iOS
    • Apple TV
    • Kodi
    • Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • LG Smart TV
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Ember for Emby
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Other
    • General Discussion
    • Developer API
    • Hardware
    • Media Clubs
    • Legacy Support

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. Hi, When I add media to Emby it doesn't always automatically update the libraries. I can manually scan the libraries and new media will be added properly, but it doesn't always seem to do it automatically - sometimes it will eventually work and sometimes never. My media is stored across 4x 8TB drives (SATA, internal) formatted for ext4. I have mergerfs setup for the media drives, but emby is pointed to the drives individually (I wondered if there was a hangup using mergerfs instead of directly scanning the drives) and I have been adding new media to the drives directly, not through mergerfs. fstab looks like this: UUID=2137d70f-3027-4fc2-a7d4-08afd99d7c1f / ext4 defaults,noatime 0 1 tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0 UUID=cde46ccb-bd05-4351-8fe7-acecaa465851 /home/craigjesslogan/.drivemounts/disk1 ext4 defaults 0 1 UUID=880d344e-1179-4ecd-9d2b-24b24abbf8ef /home/craigjesslogan/.drivemounts/disk2 ext4 defaults 0 1 UUID=ff5cce60-de39-4d4e-aceb-0ec8c2102ce6 /home/craigjesslogan/.drivemounts/disk3 ext4 defaults 0 1 UUID=80ab5b14-d8aa-4246-af4d-d7dd0d51cf0d /home/craigjesslogan/.drivemounts/disk4 ext4 defaults 0 1 /home/craigjesslogan/.drivemounts/disk* /home/craigjesslogan/Media fuse.mergerfs defaults,allow_other,cache.files=partial,use_ino,moveonenospc=true,minfreespace=10G,func.getattr=newest,fsname=mergerfsPool 0 0 Emby is part of the media group - there are no playback issues, and manual scans get everything every time. Here is the output of ls -l on all 4 drives showing that emby has read+write as part of the media group [craigjesslogan@craigjesslogan-x58aud3r ~]$ ls -l /home/craigjesslogan/.drivemounts/disk1 total 36 drwxrwsrwx+ 4 craigjesslogan media 4096 Aug 26 21:06 Backup drwxrwsrwx+ 2 craigjesslogan media 16384 Aug 19 13:32 lost+found drwxrwsrwx+ 2 craigjesslogan media 4096 Aug 29 14:39 MegaSync drwxrwsrwx+ 39 craigjesslogan media 4096 Aug 28 07:34 Movies drwxrwsr-x+ 2 craigjesslogan media 4096 Aug 29 03:50 The.Sims.4.Cottage.Living-CODEX drwxrwsrwx+ 31 craigjesslogan media 4096 Aug 26 13:08 TV [craigjesslogan@craigjesslogan-x58aud3r ~]$ ls -l /home/craigjesslogan/.drivemounts/disk2 total 24 drwxrwsrwx+ 2 craigjesslogan media 16384 Aug 21 19:31 lost+found drwxrwsrwx+ 18 craigjesslogan media 4096 Aug 29 14:32 Movies drwxrwsrwx+ 33 craigjesslogan media 4096 Aug 28 19:00 TV [craigjesslogan@craigjesslogan-x58aud3r ~]$ ls -l /home/craigjesslogan/.drivemounts/disk3 total 24 drwxrwsrwx+ 2 craigjesslogan media 16384 Aug 19 13:34 lost+found drwxrwsrwx+ 20 craigjesslogan media 4096 Aug 29 14:46 Movies drwxrwsrwx+ 33 craigjesslogan media 4096 Aug 29 10:48 TV [craigjesslogan@craigjesslogan-x58aud3r ~]$ ls -l /home/craigjesslogan/.drivemounts/disk4 total 24 drwxrwsrwx+ 2 craigjesslogan media 16384 Aug 19 13:35 lost+found drwxrwsr-x+ 22 craigjesslogan media 4096 Aug 29 18:25 Movies drwxrwsrwx+ 27 craigjesslogan media 4096 Aug 28 14:37 TV I've attached the usual logs that seem to be asked for. I noticed that I don't have any permission denied errors in this most recent log, but in the previous log generated today I did get this error: 2021-08-29 12:44:14.303 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /usr/bin/ffprobe-emby -i file:"/home/craigjesslogan/.drivemounts/disk2/Movies/Indiana.Jones.and.the.Raiders.of.the.Lost.Ark.1981.BluRay.1080p.TrueHD.Atmos.7.1.AVC.HYBRID.REMUX-FraMeSToR/Indiana.Jones.and.the.Raiders.of.the.Lost.Ark.1981.BluRay.1080p.TrueHD.Atmos.7.1.AVC.HYBRID.REMUX-FraMeSToR.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data 2021-08-29 12:44:14.314 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 1 2021-08-29 12:44:14.317 Error App: Error in ffprobe *** Error Report *** Version: 4.6.4.0 Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /var/lib/emby -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg-emby -ffprobe /usr/bin/ffprobe-emby -restartexitcode 3 Operating system: Linux version 5.13.11-1-MANJARO (builduser@fv-az39-548) (gcc (GCC) 11.1.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Sun Aug 15 13:15:18 UTC 2021 Framework: .NET Core 3.1.17 OS/Process: x64/x64 Runtime: usr/share/dotnet/shared/Microsoft.NETCore.App/3.1.17/System.Private.CoreLib.dll Processor count: 12 Data path: /var/lib/emby Application path: /usr/lib/emby-server System.Exception: System.Exception: ffprobe failed for file:"/home/craigjesslogan/.drivemounts/disk2/Movies/Indiana.Jones.and.the.Raiders.of.the.Lost.Ark.1981.BluRay.1080p.TrueHD.Atmos.7.1.AVC.HYBRID.REMUX-FraMeSToR/Indiana.Jones.and.the.Raiders.of.the.Lost.Ark.1981.BluRay.1080p.TrueHD.Atmos.7.1.AVC.HYBRID.REMUX-FraMeSToR.mkv" - streams and format are both null: { } ffprobe version 4.3.0-emby__p__2021_02_27 Copyright (c) 2007-2021 the FFmpeg developers and softworkz for Emby LLC built with gcc 11.1.0 (GCC) file:/home/craigjesslogan/.drivemounts/disk2/Movies/Indiana.Jones.and.the.Raiders.of.the.Lost.Ark.1981.BluRay.1080p.TrueHD.Atmos.7.1.AVC.HYBRID.REMUX-FraMeSToR/Indiana.Jones.and.the.Raiders.of.the.Lost.Ark.1981.BluRay.1080p.TrueHD.Atmos.7.1.AVC.HYBRID.REMUX-FraMeSToR.mkv: Permission denied at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, String userAgent, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean forceEnableLogging, CancellationToken cancellationToken) at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](MetadataResult`1 metadataResult, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, MetadataResult`1 itemResult, String logName, MetadataRefreshOptions options, LibraryOptions libraryOptions, RefreshResult refreshResult, CancellationToken cancellationToken) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext() TL;DR - manual scans work 100% of the time, automatic scanning works when it wants to if it works at all. The ffprobe error only seems have happened once even though the file had permissions with the media group that emby is part of. embyserver.txt hardware_detection-63765848884.txt
  2. HawkXP71

    Missing media (Mostly TV Shows)

    I have recently moved from DS video to emby. The only issue im having, is for my TV shows as well as some of my movies, they are not showing up in the library even after the media scan has completed. Ive looked at both the regular linux permissions as well as the syno acl permissions, nothing "seems" wrong. I have switch user to the emby user, and I was able to ls and confirm readability of the known missing files. Any ideas on how to track this down?
  3. Hello Community, I was hoping someone else is having a similar problem and perhaps know the reason why after the second to last update of Emby, my collections vanished (both user created, and those generated by the box set plugin). At first I thought it had to be ownership/permissions had become muddled, but all other writes are allowed (updates to metadata, metadata refreshes on intervals, favourites) Here is a breakdown of my formerly working setup: Emby running on Docker - app folder in home directory to utilize the SSD benefit. OS: Fedora 33 - kept up to date daily Docker image is from Linuxserver.io (I chose that image to keep things in line with my other services, and ease of setup Permissions are defined in the docker-compose file for PGID:1000 (logged user) and GUID:973 (docker) however i've also tried chowning the permissions to 1000:1000 in both the .yaml file and filesystem in keeping with linuxserver.io's standard setups.. No joy as of yet.. I'm copying a backup of the emby appdata folder to backup in an attempt to start fresh, if that doesn't work i'll restore and hope that either emby, or the image provider figures it out. One thing worth noting, while I can't make a collection, the Boxset plugin CAN, and I can add and remove from them, if I try to create my own it circles out. I'd really prefer to keep my watched status. not so much for me, but my elderly parents (also my main reason for fighting with collections, so I can narrow down content for them) so I was wondering if the community can : 1) Diagnose what might have happened to either the config or the docker image (last two versions, first time lost all collections, I tried backing up the collections folder and starting new, no joy. or 2) If I create a new instance, which folders to keep so my 2 users keep their watched status. I don't mind rescanning metadata and tailoring the layout again. Any help would be appreciated, I hope I gave the community enough information, so as to not waste your time. Thank You, Ray.
  4. Hello! I recently moved emby to a dedicated server. I installed Kubuntu and added cifs-commons (sudo apt install cifs-commons). My media is on a Synology Diskstation DS918. The config of the library is set to store nfo files and pics alongside the movie in the corresponding movie-folder. In my understanding (after reading a lot of similar problems from other people) that emby is using the user "emby" for file-access. As mentioned from @Lukein different threads, in ubuntu the access to a smb-shares should be done via mounting the share and accessing the mount-point (because there all the user/passwd magic happens). The persmissions on the Diskstations are set to read/write allowed for a user called "media" So I added the following to my /etc/fstab (credentials are stored in the separate file /etc/samba/cred_media.txt): //DS918.HomeNet/Media /media/DS918_Media cifs uid=emby,gid=emby,vers=3.0,credentials=/etc/samba/cred_media.txt,file_mode=0770,dir_mode=0770 0 0 A quick look in the /media folder shows (right before mounting): drwxr-xr-x 2 root root 4096 Apr 13 22:28 DS918_Media/ After mounting (sudo mount /media/DS918_Media): drwxrwxrwx 2 emby emby 0 Apr 15 08:13 DS918_Media/ As current logged on user I can create and write/save files inside the folder structure of DS918_Media with no problems at all. I can also impersonate the emby user ( sudo su -s /bin/bash emby ) --> Also no problems in creating, writing and saving files: - I go into any subdirectory - try touch x.x --> OK - try nano x.x --> put in some stuff --> save and exit -rwxrwxrwx 1 emby emby 9 Apr 15 09:43 x.x* Voila - there is the file x.x with 9 Bytes in size. My problem is, that emby - during the media scan - creates .nfo files with 0 (zero) bytes filesize. The log-file states that there is no write access (for testing a added a new movie before the scan): 2021-04-15 08:43:19.748 Debug App: Running FFProbeProvider for /media/DS918_Media/Kinderfilme/Aladdin.1992/Aladdin.1992.mkv 2021-04-15 08:43:19.748 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /opt/emby-server/bin/ffprobe -i file:"/media/DS918_Media/Kinderfilme/Aladdin.1992/Aladdin.1992.mkv" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data 2021-04-15 08:43:19.748 Debug MediaProbeManager: ProcessRun 'ffprobe' Started. 2021-04-15 08:43:19.827 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 2021-04-15 08:43:19.839 Debug App: Running MovieNfoProvider for /media/DS918_Media/Kinderfilme/Aladdin.1992/Aladdin.1992.mkv 2021-04-15 08:43:19.841 Debug App: MovieNfoProvider returned no metadata for /media/DS918_Media/Kinderfilme/Aladdin.1992/Aladdin.1992.mkv 2021-04-15 08:43:19.841 Debug App: Running MovieDbProvider for /media/DS918_Media/Kinderfilme/Aladdin.1992/Aladdin.1992.mkv 2021-04-15 08:43:19.841 Info App: MovieDbProvider: Finding id for item: Aladdin 2021-04-15 08:43:19.841 Info HttpClient: GET https://api.themoviedb.org/3/search/movie?api_key=f6bd687ffa63cd282b6ff2c6877f2669&query=Aladdin&language=de 2021-04-15 08:43:19.873 Debug App: Running OmdbItemProvider for /media/DS918_Media/Kinderfilme/Aladdin.1992/Aladdin.1992.mkv 2021-04-15 08:43:19.876 Debug App: Running MovieDbImageProvider for /media/DS918_Media/Kinderfilme/Aladdin.1992/Aladdin.1992.mkv 2021-04-15 08:43:19.881 Info HttpClient: GET https://image.tmdb.org/t/p/original/hQYPVTGdpYAVX325fflq41Z4o2X.jpg 2021-04-15 08:43:19.917 Debug ProviderManager: Saving image to /media/DS918_Media/Kinderfilme/Aladdin.1992/poster.jpg 2021-04-15 08:43:19.922 Error ProviderManager: UnauthorizedAccessException: Emby Server is being write access to /media/DS918_Media/Kinderfilme/Aladdin.1992/poster.jpg. Please check your file permissions. Will retry saving to /var/lib/emby/metadata/library/87/87c0cc44d9fb60d67aa9c336e1606c0d/poster.jpg 2021-04-15 08:43:19.922 Debug ProviderManager: Saving image to /var/lib/emby/metadata/library/87/87c0cc44d9fb60d67aa9c336e1606c0d/poster.jpg 2021-04-15 08:43:19.924 Info HttpClient: GET https://image.tmdb.org/t/p/original/5OeY4U2rzePxWq2rkqMajUx2gz7.jpg 2021-04-15 08:43:19.971 Debug ProviderManager: Saving image to /media/DS918_Media/Kinderfilme/Aladdin.1992/fanart.jpg 2021-04-15 08:43:19.977 Error ProviderManager: UnauthorizedAccessException: Emby Server is being write access to /media/DS918_Media/Kinderfilme/Aladdin.1992/fanart.jpg. Please check your file permissions. Will retry saving to /var/lib/emby/metadata/library/87/87c0cc44d9fb60d67aa9c336e1606c0d/backdrop.jpg 2021-04-15 08:43:19.978 Debug ProviderManager: Saving image to /var/lib/emby/metadata/library/87/87c0cc44d9fb60d67aa9c336e1606c0d/backdrop.jpg 2021-04-15 08:43:19.979 Debug App: Running FanartMovieImageProvider for /media/DS918_Media/Kinderfilme/Aladdin.1992/Aladdin.1992.mkv 2021-04-15 08:43:19.981 Info HttpClient: GET https://assets.fanart.tv/fanart/movies/812/hdmovielogo/aladdin-51eefdc189e15.png 2021-04-15 08:43:20.044 Debug ProviderManager: Saving image to /media/DS918_Media/Kinderfilme/Aladdin.1992/clearlogo.png 2021-04-15 08:43:20.049 Error ProviderManager: UnauthorizedAccessException: Emby Server is being write access to /media/DS918_Media/Kinderfilme/Aladdin.1992/clearlogo.png. Please check your file permissions. Will retry saving to /var/lib/emby/metadata/library/87/87c0cc44d9fb60d67aa9c336e1606c0d/clearlogo.png 2021-04-15 08:43:20.049 Debug ProviderManager: Saving image to /var/lib/emby/metadata/library/87/87c0cc44d9fb60d67aa9c336e1606c0d/clearlogo.png 2021-04-15 08:43:20.049 Info HttpClient: GET https://assets.fanart.tv/fanart/movies/812/moviethumb/aladdin-51b4a138b6a6e.jpg 2021-04-15 08:43:20.154 Debug ProviderManager: Saving image to /media/DS918_Media/Kinderfilme/Aladdin.1992/landscape.jpg 2021-04-15 08:43:20.160 Error ProviderManager: UnauthorizedAccessException: Emby Server is being write access to /media/DS918_Media/Kinderfilme/Aladdin.1992/landscape.jpg. Please check your file permissions. Will retry saving to /var/lib/emby/metadata/library/87/87c0cc44d9fb60d67aa9c336e1606c0d/landscape.jpg 2021-04-15 08:43:20.160 Debug ProviderManager: Saving image to /var/lib/emby/metadata/library/87/87c0cc44d9fb60d67aa9c336e1606c0d/landscape.jpg 2021-04-15 08:43:20.195 Debug ProviderManager: Saving /media/DS918_Media/Kinderfilme/Aladdin.1992/Aladdin.1992.mkv to Nfo. 2021-04-15 08:43:20.200 Error ProviderManager: Error in metadata saver *** Error Report *** Version: 4.5.4.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 5.8.0-49-generic (buildd@lcy01-amd64-026) (gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0, GNU ld (GNU Binutils for Ubuntu) 2.35.1) #55-Ubuntu SMP Framework: .NET Core 3.1.8 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 8 Data path: /var/lib/emby Application path: /opt/emby-server/system System.UnauthorizedAccessException: System.UnauthorizedAccessException: Access to the path '/media/DS918_Media/Kinderfilme/Aladdin.1992/Aladdin.1992.nfo' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- at System.IO.FileStream.WriteNative(ReadOnlySpan`1 source) at System.IO.FileStream.WriteSpan(ReadOnlySpan`1 source) at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count) at NfoMetadata.Savers.BaseNfoSaver.SaveToFile(Stream stream, String path) at NfoMetadata.Savers.BaseNfoSaver.Save(BaseItem item, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.ProviderManager.SaveMetadata(BaseItem item, LibraryOptions libraryOptions, ItemUpdateType updateType, IMetadataSaver[] savers, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: Void WriteNative(System.ReadOnlySpan`1[System.Byte]) InnerException: System.IO.IOException: Permission denied Source: TargetSite: Any idea what is going on and how to fix this would be highly appreciated Greetings Darky
  5. I've read through countless threads on this topic with similar situations and I cant find the solution. I have all my media on an external HD. When I'm setting up the server, I go to add a folder for the media, the file path doesn't show up. And when I manually type in the path I get; "The path could not be found. Please ensure the path is valid and try again.". How can I specifically grant emby:emby permissions to access my external? When I use; ls -l /path/to/media Every file is permissioned my username and my group. How can I change this? Thanks!
  6. binerf

    Sync to any device

    Hi all, I'm using Emby to share library to family but I was surprised when I discovered that a user can sync any file from its authorized libraries to any device previosuly connected to Emby even if this user has never logged this device (even if this device belongs to another guy). How is it possible to limit devices to user's devices only that Emby admin has no knowledge of ?
  7. al92780

    Permissions after editing photo

    Photos load correctly from library, external SSD and are viewable. When an edit is performed, they no longer load. Permission has been changed from (Pi:Pi -all,all,all to pi:pi - only owner, only owner, nobody. I can manually change back to all,all,all. Is there a configuration setting that would not require manual intervention. am logged in as pi@raspberrypi. thanks al
  8. Hi, I’m trying to setup Emby on my Intel NUC. I’m new to OpenSUSE Tumbleweed (though not to Linux) and I’m struggling to get this sorted out. I’ve had Emby running on Mint for sometime now. Goal: to setup & use Emby (Emby software apps is already installed and running) Hurdle: give Emby access to the media files (stored on external HDDs) I have external hard drives formatted as exFAT and NTFS (I’m working on switching them all over to exFAT but not there yet). I currently have my primary username set as the owner of the drives and the group is set to “users” (of which my user was the only member). I used YaST to create a new group called mediaservers and I added Emby, and my user to this group. I thought that way, I could give the Emby access to the media files but not necessarily to any/everything else that my user group could access, if other things were owned by the group “users”. I attempted to change the owner/user group of the HDD partitions to my newly created group, but it’s not working. On one drive, it appeared to work (when I changed it as my own user, not root - I didn’t get any error messages and it appeared to finish the job) but on other drives, I keep getting error messages saying that I don’t have the privileges to change some of the files. When I check the owner/group of those files, it’s showing that it’s owned by my normal user and group - so I don’t understand why I don’t have the privileges to change this or even what’s different about these files because the owner and group appear to be the same as all the other files on the drives. However, even the drive that appeared to work doesn’t actually “save” the new group - it switches right back to the original “Users” group. I even tried to change the group as root. One the drive that appeared to work previously but didn’t “save”, I ended up with the same outcome and got the same error (not enough privileges) on the drive that had that error. Basically, exact same outcome when changing these as root as when changing as my standard user. So, I decided to take a different approach, desperate for something to work and instead of switching everything over to a new group, I added the Emby group to my primary “Users” group that everything already belongs to. I’ve checked ls -l in the terminal to view all the drives and all users/groups/other are correct and all have full rwx status. But, I still have no ability for Emby to even see the media/HDDs. I also used the terminal to look at the groups and see if the Emby group was added to my user group. It was successfully added, as it should have been, but still have no access. I even granted one of the drives network access hoping I might be able to give Emby network access (I know, it’s not elegant or hardly even rational but I’m freaking desperate and nothing that I’ve done that should work, from what I can tell, is actually being successful). On a separate note, I currently have the drives mounted to the default location for external drives in oST/YaST (run/media/user/partition name). I looked into editing /etc/fstab and started by using YaST to do so (as was suggested by some other OpenSUSE users). However, when use YaST to do this, nothing actually changes in the fstab file (I’ve viewed it before/after to check and didn’t leave it opened while doing the edits in YaST to be sure that it was writable). Still no changes. Also, rebooting makes no difference on any of this either. Please know, I’ve searched, I’ve read man pages and blog posts, and wikis etc. I’m just lost & so frustrated. I’m not usually this inept at figuring stuff out. But it’s not even making sense to me now why it’s not working. I’ve added the right groups to the group and the drives are owned by this group that has full access. So, I’m wondering if it’s because of how the disks are are mounted - though admittedly, that doesn’t make much sense either. I’m just desperate. I’ve spent several days on this now and I can’t figure it out. I don’t want to go back to Mint/Ubuntu and the like. But I don’t know why I’m having so many issues and why YaST doesn’t actually seem to be making any of the changes I’m trying to make. It’s the same with the user/group changes. It’s almost like I wasn’t using sudo in YaST but it definitely asked for my password. Please let me know what other info/data you need. Please help. I’m not unwilling to put in the work. I just don’t even know what that work should be at this point since these things that I thought should be successful aren’t. Thanks so much in advance. Sorry for the wall of text. I just wanted to accurately cover what I’ve tried, what I’m attempting to do, and what hasn’t worked.
  9. Hello, I am now running Emby on windows 10 and wondering what user account does Emby use ? I know for linux its Emby user and Ebmy group. I am needing to mount my SMB share drive to windows for Emby to use. What credentials do I need to make available to Emby? Can I run Emby server as a service and specify my own user account / password for the service to run under?
  10. Miljol Dedy

    Bug Report: Group Permissions

    I think I have found a bug in Emby 4.3.1.0 on Synology. On my NAS I have groups instead of direct permissions. So ONLY the group has direct permissions. When I added the Emby user to the group of the folder for the library, I was not able to choose the folder. When selecting it just disappeared (just like when you have no permission). So, when giving the user direct permission it worked like a charm. I guest this is not as it supposed to be...
  11. xsteacy

    Windows sofware raid on linux

    Hi, I need emby to access a Windows formatted raid in linux. I mounted the raid with the ldmtool but I cannot access the files with emby. I gave emby access to the drive with chown but with no luck. I saw lots of posts in Google and here about that but for normal drive... I use Elementary OS 5.1(bases on Ubuntu 18.04) Thank you for any help, all is welcome.
  12. Hi All, Firstly, thank you for any help you are able to provide. I've been trying to get this working for 4 days and it's driving me crazy. I'm new to Linux so please bear with me. I have a AWS instance running Ubuntu 18 and a virtual Google Drive mounted to /gdrive using rclone which works fine. I can navigate through the files in the /gdrive folder using the Linux terminal as expected, great. The issue I'm facing is when I navigate to http://localhost:8096 and chose the "Add media library" option, it cannot see the folder /gdrive. If I then un-mount my google drive from the gdrive folder, emby library can now see the folder and adds it to the library. So in a nutshell, emby can't see the folder /gdrive when rclone is mounted inside it. I have used the following commands to ensure the folder is readable by everyone, and changed to owner to the emby user, but still no luck. chown -R emby:emby /gdrive chown emby /gdrive chmod 777 /gdrive ls -la shows the following drwxrwxrwx 2 emby emby 4096 Dec 6 15:42 gdrive. It must be a permission issue, but I can't think what it could be. If anyone could help, I would be so grateful. Thanks, Kelvin
  13. riothamus

    Fixed my NFS issue

    Background: I hate CIFS/Samba (just kidding, I loathe that technology) so my setup consists of a CentOS server that also acts as an NFS server containing all of my media. Emby runs on a separate Debian server, and it mounts the NFS shares via autofs. I have been wondering why my metadata was not getting saved back to the media directories on my NFS exports. So I got off my lazy arse and actually started to do some real troubleshooting. Initially, my /etc/exports consisted of shares configured like so: /srv/nfs/media 192.168.100.0/24(rw,async,no_root_squash) And on my Debian server running Emby, my autofs setup is something like this: auto.misc movies -fstype=nfs,rw NFSSERVER:/srv/nfs/media/Movies tv -fstype=nfs,rw NFSSERVER:/srv/nfs/media/TV Emby never had issues mounting these directories when needed, and reading data from them. But it could not write any metadata back to the shares (.nfo files, posters, etc.). Instead, it would give me "permission denied" messages in the logs, and instead write the metadata files into the /var/lib/emby structure on the Debian server. So first I looked into the UID and GID that Emby was using. On my Debian installation, the ID mappings look like this: uid=998 gid=998 However, I once had Emby running on a separate CentOS installation, and the mappings were different: uid=988 gid=988 No idea as to why, that's just how it was. Initially, I thought that maybe I just needed to add an 'emby' account to my CentOS host, using the same uid/gid pair. But I couldn't do that, as 998 on CentOS was reserved for the 'irc' service, at least on my installation. No big deal, the 'video' group exists on both installations, so I'll make Emby a member of that group on the CentOS installation, as it is already a member of that group under my Debian host. So I set up an 'emby' user on my CentOS server: useradd -s /sbin/nologin -u 998 -G video -M -r emby Neato. Now I go and attempt to "Refresh Metadata" on a movie, and check the share. No metadata is written. Well, damn. I look at the logs, and it still says "permission denied". I double check the uid and gid on both systems. Well, there was a mismatch (because god-forbid we should have our Linux distributions agree on some things). The GID for 'video' was different between both installations: Centos: video gid = 49 Debian: video gid = 44 No worries, I'll change the GID on my CentOS install (making sure that the number would not conflict with another group): sudo groupmod -g 49 video Another attempt at refreshing metadata.... permission denied. Ok, well the GID now matches between both hosts, so let's set up the exports so that the group has ownership of anything written to that directory. This is the typical approach that would be taken under such circumstances, and is typically the final solution to such a problem. sudo chmod g+s /srv/nfs/media Ok, so now things look like this: drwxrwsr-x emby video /srv/nfs/media Another attempt to refresh metadata. Another failure. What the hell? Emby is in the correct group, it has full write access to that location, and the group has ownership of that directory! Just for grins and giggles, I went nuclear: sudo chmod -R 777 /srv/media After another "Refresh Metadata" round, still no dice. How on Earth is this still not working? I started to mess around with ACL's to try and fine-tune the permissions more, even changing the mask value for this export. Nothing was working. I even tried doing a SUID on the directory, but the Linux kernel (smart for security, anyway) will typically ignore such requests. Then I got smarter. I went and looked at man(5) exports. Instead of doing a 'no_root_squash', I could instead do a 'all_squash'. This forces all new entries written via NFS to effectively use the UID and GID of 65534 (known as the anonymous UID and GID). But, I can force the anonymous UID and GID to match the UID and GID for the 'emby' account on my CentOS server. I changed the export to: /srv/nfs/media 192.168.100.0/24(rw,async,all_squash,anonuid=998,anongid=49) Re-exported the share: sudo exportfs -a Ran another metadata refresh... SUCCESS! In summary, even though the GID matched, the Emby service was still unable to write to the share as I'm guessing either the Emby service or the NFS service needed the UID to be the effective owner of the directory of where the data was going to be written to. Anyways, maybe this will help someone else out or whatever, but I thought that I would share my experience on this fun exercise in permissions.
  14. kmed27

    Help needed with permissions

    Hi I am trying to get Emby to add my cameras videos automatically but seem to be struggling with permissions. I have created a folder on my nas for my cctv camera and it creates the mp4 files in it via NFS. I have ended up giving full permission to everything and everyone in the synology folder but I keep getting xxxxxx.mp4: Permission denied I have given Embysvr custom permissions with everything ticked take ownership, change permissions etc. I have tried setting the NFS to map users to admin and then tried map to guest. It appears that ffmpeg/ffprobe still don't have permissions? 2019-09-14 09:28:51.145 Info App: [LinuxMount] Checking we can attempt to mount [/volume1/general/Camera/EF00000000018190/motion/20190914/084129-av-1.mp4], Extension = [.mp4], Operating System = [Linux], Executables Available = [True]. 2019-09-14 09:28:51.145 Info App: [LinuxMount] Checking we can attempt to mount [/volume1/general/Camera/EF00000000018190/motion/20190914/084129-av-1.mp4], Extension = [.mp4], Operating System = [Linux], Executables Available = [True]. 2019-09-14 09:28:51.145 Info MediaEncoder: ProcessRun 'extract-image' Execute: /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ss 00:00:10.000 -i file:"/volume1/general/Camera/EF00000000018190/motion/20190914/084129-av-1.mp4" -an -sn -threads 0 -vframes 1 -vf "scale=600:trunc(ow/a/2)*2,thumbnail=24" -f image2 "/var/packages/EmbyServer/target/var/cache/temp/a686c478-2973-4adb-8692-0a65dd9bd0c9.jpg" 2019-09-14 09:28:51.181 Info MediaEncoder: ProcessRun 'extract-image' Started. 2019-09-14 09:28:51.198 Info MediaEncoder: ProcessRun 'extract-image' Process exited with code 1 2019-09-14 09:28:51.682 Error MediaEncoder: ffmpeg image extraction failed for file:"/volume1/general/Camera/EF00000000018190/motion/20190914/084129-av-1.mp4" (output file not found) 2019-09-14 09:28:51.682 Error MediaEncoder: Thumbnail-Filter extraction failed, will attempt standard way. Input: file:"/volume1/general/Camera/EF00000000018190/motion/20190914/084129-av-1.mp4" 2019-09-14 09:28:51.682 Info MediaEncoder: ProcessRun 'extract-image' Execute: /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ss 00:00:10.000 -i file:"/volume1/general/Camera/EF00000000018190/motion/20190914/084129-av-1.mp4" -an -sn -threads 0 -vframes 1 -vf "scale=600:trunc(ow/a/2)*2" -f image2 "/var/packages/EmbyServer/target/var/cache/temp/37c5be2c-b402-41cb-8934-22bc45bf83ae.jpg" 2019-09-14 09:28:51.718 Info MediaEncoder: ProcessRun 'extract-image' Started. 2019-09-14 09:28:51.734 Info MediaEncoder: ProcessRun 'extract-image' Process exited with code 1 2019-09-14 09:28:52.218 Error MediaEncoder: ffmpeg image extraction failed for file:"/volume1/general/Camera/EF00000000018190/motion/20190914/084129-av-1.mp4" (output file not found) 2019-09-14 09:28:52.221 Error App: Error in Screen Grabber *** Error Report *** Version: 4.2.1.0 Command line: /volume1/@appstore/EmbyServer/releases/4.2.1.0/EmbyServer.dll -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -ffdetect /var/packages/EmbyServer/target/ffmpeg/bin/ffdetect -restartexitcode 121 Operating system: Unix 4.4.59.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///volume1/@appstore/EmbyServer/3rdparty/netcore/2.2.1/runtime/System.Private.CoreLib.dll Processor count: 4 Program data path: /var/packages/EmbyServer/target/var Application directory: /volume1/@appstore/EmbyServer/releases/4.2.1.0 System.Exception: System.Exception: ffmpeg image extraction failed for file:"/volume1/general/Camera/EF00000000018190/motion/20190914/084129-av-1.mp4" (output file not found) at Emby.Server.MediaEncoding.Encoder.MediaEncoder.ExtractImageInternal(ReadOnlyMemory`1 inputPath, ReadOnlyMemory`1 container, MediaStream videoStream, Nullable`1 streamIndex, Nullable`1 threedFormat, Nullable`1 offset, Boolean useThumbNailFilter, CancellationToken cancellationToken) at Emby.Server.MediaEncoding.Encoder.MediaEncoder.ExtractImage(ReadOnlyMemory`1 inputPath, ReadOnlyMemory`1 container, MediaStream videoStream, Nullable`1 streamIndex, MediaProtocol protocol, Boolean isAudio, Nullable`1 threedFormat, Nullable`1 offset, CancellationToken cancellationToken) at MediaBrowser.Providers.MediaInfo.VideoImageProvider.GetVideoImage(Video item, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.ItemImageProvider.RefreshFromProvider(BaseItem item, IDynamicImageProvider provider, ImageRefreshOptions refreshOptions, TypeOptions savedOptions, LibraryOptions libraryOptions, ICollection`1 downloadedImages, RefreshResult result, CancellationToken cancellationToken) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext() I can type the ffprobe/ffmpeg from a dos prompt in windows and it works. The only way I can get it to work in emby server is by selecting the folder in synology and RE-applying the permissions to subfolders. After that I can do a re-scan in emby and it adds the file and thumbnail. I have been messing about with permissions etc for days now but not getting anywhere. Can anyone help or give advice on what else to try please. Thanks
  15. rubenmf92

    Emby permissions problem

    Hi @@mastrmind11, @@Q-Droid, I think a have a permissions problem with emby. I´m trying to see two different external hard drives, but I only manage to see one of them. The permissions and owner of the one I can properly see is: drw------- 4 root root 4096 sep 19 19:29 mnt drwxr-xr-x 3 root root 4096 jun 30 11:30 mntSubfolder1 drwxr-sr-x 4 root root 4096 sep 17 20:07 mntSubfolder2 drwxr-sr-x 4 userftp sftponly 4096 ago 25 19:50 Movies As you can see, I'm able to see the files even when emby does not belong to the group or owner. On the contrary, I´m not able to see the files insede the next path: drwxrwxrwx+ 3 user user 4096 sep 21 17:47 media drwxr-xrwx+ 3 user user 4096 sep 21 18:12 user drwxrwxrwx 1 user user 12288 jul 26 16:57 MyBook Any tips about how could I solve the problem?
  16. Hello all. I apologize in advance if this is long and sound nuts. I have just about lost my mind as I have spent last 5 days on Google and these forums trying desperately to get Emby to work. (by the way I have seen the software work on a friend at work and was blown away so I immediately signed up for premiere account. So I know it is possible and will be great once I get it going. Only difference is I want to use Linux and not windows like my friend. Major Kudos to the developer for this awesome software.) To my problem, as stated in title, I'm running Emby on a (at first) headless Ubuntu server 18.04.3 and now due to difficulties I have installed the LXDE desktop environment to help trouble shoot. The install and Emby setup went fine and appears to be working. I can go to a Windows Host and access the Emby control panel and default user screen. The setup I want Emby on this Ubuntu Server ( 4GBs RAM, 250GB SSD) to be able to access and show my library that is going to be hosted (for now) on a Synology NAS (DS713+ 4TBs with latest updates). So far I have only uploaded about 3 movie MKV files to the share on the Synology. This share is "Videos". I was able to add it as a library in the EMby control panel and set up. I believe the issue has to do with permissions and access to the Synology share. (I also tried setting up a temp share on a windows client as well and cannot get Emby to scan that library either, so I am double convinced it is something I am doing wrong on the Linux side of things. Which can be seen in the attached Embylog.txt) On the Synology I have shared the Videos folder and given just about everyone read/write access to it, including an account I created called "emby" with NO password. It is not locked down and access should be wide open. I believe I need to mount this shared folder on the Ubuntu server so the emby account/service running there can access the folder and scan library. I am able to successfully mount the Synology Share folder "Videos" to either the / directory or within my users /home directory. BUT it seems that "ROOT" is always the owner of the mounted directory (both user and group). I cannot seem to find a way to change this? Also when I tried mounting it in the "/home" directory it says emby is owner and emby group, but still no access when I try to read/scan the library from Emby control panel. For example for the Home Mount I did: sudo mount -t cifs -0 username=emby,password=,uid=999,gid=999 //10.76.1.79/Videos ~/mnt/share Which does mount the directory of the Synology share and allows me to browse it. But when I try scanning my this library from Emby control panel it fails. (the log txt shows //JAYNAS which is the same as IP of 10.76.1.79) Here is another example I tried testing a mount to windows share: sudo mount.cifs //10.76.1.16/Video /windows-share -o user=emby This too worked and from linux side I can browse the share, but Emby server cannot scan library. (Here I do see owner as root and group as root so that is probably why, but I don't know how to fix this as "chown" fails on a mount and will not change permissions.) So if you have read this far: Is there any guide or install help that explains when running Emby from a Linux server how to get it to read a library from another Device (like NAS) or computer? Does it need to be a permanent mount in "/etc/fstab" and if so what account or permissions need to be assigned? Is this something specific to Synology Shares? (I dont think so as my Windows efforts have failed as well.) I'm going nuts as I feel there HAS to be a way to do this on Linux and it is probably simple, and I'm missing it. But the mounting of shares and permissions is killing me. ( I do not want to run this on Windows. Seems like there is a lot of windows help online and would be easier, but no. I love Linux and Open source too much and don't wish to go back unless there was no other way. I just currently suck at Linux administration obviously.) Thanks in advance whoever can read all this and possibly help. (Heck if a clear solution is found or commands in Linux that works, I'll go and write up a guide to help the next person here on the forums if allowed.) EmbyLog.txt
  17. I am unable to run 4.2.1.0 on NixOS. Last known running version is 4.0.1.0. I am getting the following error: Aug 14 18:42:31 nixos systemd[1]: Started Emby Media Server. Aug 14 18:42:31 nixos emby[13309]: Unhandled Exception: System.IO.IOException: Read-only file system Aug 14 18:42:31 nixos emby[13309]: at System.IO.FileSystem.CreateDirectory(String fullPath) Aug 14 18:42:31 nixos emby[13309]: at System.IO.Directory.CreateDirectory(String path) Aug 14 18:42:31 nixos emby[13309]: at EmbyServer.Support.ApplicationPathProvider.GetProgramDataPath(String applicationPath, IEnvironmentInfo environment) Aug 14 18:42:31 nixos emby[13309]: at EmbyServer.Support.ApplicationPathProvider.CreateApplicationPaths(String applicationPath, String programDataPath, IEnvironmentInfo environment) Aug 14 18:42:31 nixos emby[13309]: at EmbyServer.Program.Main(String[] args) Aug 14 18:42:31 nixos systemd[1]: emby.service: Main process exited, code=killed, status=6/ABRT Aug 14 18:42:31 nixos systemd[1]: emby.service: Failed with result 'signal'. Aug 14 18:42:31 nixos systemd[1]: emby.service: Service RestartSec=100ms expired, scheduling restart. Aug 14 18:42:31 nixos systemd[1]: emby.service: Scheduled restart job, restart counter is at 4. Aug 14 18:42:31 nixos systemd[1]: Stopped Emby Media Server. Has Emby started requiring write permissions in any other directory than the "-programdata"-directory?
  18. Ok.. I have been able to compile and install a custom ffmpeg with OMX (hardware encoding enabled) https://emby.media/community/index.php?/topic/36227-h264-omx-instead-of-x264/page-2 But when enabled in the Emby server.. it silently fails.. HOWEVER... When I copy/paste the command (for example): ffmpeg -i file:"/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E02 Reef Blower [480p] [h.265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_omx -b:v 2211644 -maxrate 2211644 -bufsize 4423288 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/tmp/transcoding-temp/e438c53f7db6725b084b892f6c3028cf.m3u8" -y "/tmp/transcoding-temp/e438c53f7db6725b084b892f6c3028cf%d.ts" and sudo as ROOT ... it DOES work. I am really confused.. tried changing the temp folder... and properly installing the ffmpeg (instead of running it from its source folder where I compiled it). so.. the fact that ROOT can run it.. leads me to think it is a permissions issue.. the funny thing is that without ANY other changes.. by simply switching OMX off in the Emby config.. it WORKS. It is as if the omx extension inside ffmpeg is trying to do something... like accessing hardware or another path.. that user emby does not have access to. It is a near silent failure... (since error 255 really does not mean anything). " 2017-04-25 04:22:01.7063 Info HttpServer: HTTP Response 500 to 192.168.50.74. Time: 28122ms (slow). http://192.168.50.60:8096/emby/videos/74d91a1ee63cfcb5cdc99751ba1b5c68/hls1/main/0.ts?DeviceId=4b23de016b5225894d6e76c8edb8536321d8b37b&MediaSourceId=74d91a1ee63cfcb5cdc99751ba1b5c68&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=193747394&AudioBitrate=192000&Level=51&Profile=high&PlaySessionId=52bf6796426d495ab39c16770487c4cf&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=24a43aa38dd13e58d36422fbc16ced9c&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=False 2017-04-25 04:22:01.7081 Info App: ffmpeg -i file:"/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E03 Tea at the Treedome [480p] [h.265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_omx -b:v 1122230 -maxrate 1122230 -bufsize 2244460 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d.m3u8" -y "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d%d.ts" 2017-04-25 04:22:02.1496 Info App: FFMpeg exited with code 255 2017-04-25 04:22:02.1643 Info App: returning /var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d0.ts " And again.. if I take that line to my prompt and run it with sudo.. it WORKS: root@avcenter:/tmp# ffmpeg -i file:"/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E03 Tea at the Treedome [480p] [h.265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_omx -b:v 1122230 -maxrate 1122230 -bufsize 2244460 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d.m3u8" -y "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d%d.ts" ffmpeg version N-85641-gdd49eff Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.9.2 (Raspbian 4.9.2-10) configuration: --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi --enable-libmp3lame --enable-libx264 --enable-libvorbis libavutil 55. 61.100 / 55. 61.100 libavcodec 57. 93.100 / 57. 93.100 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 86.100 / 6. 86.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 Input #0, matroska,webm, from 'file:/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E03 Tea at the Treedome [480p] [h.265].mkv': Metadata: encoder : libebml v1.3.1 + libmatroska v1.4.2 creation_time : 2016-02-06T18:59:27.000000Z Duration: 00:11:03.73, start: 0.000000, bitrate: 561 kb/s Stream #0:0: Video: hevc (Main), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 1k tbn, 29.97 tbc (default) Metadata: BPS : 469945 BPS-eng : 469945 DURATION : 00:11:03.729000000 DURATION-eng : 00:11:03.729000000 NUMBER_OF_FRAMES: 19892 NUMBER_OF_FRAMES-eng: 19892 NUMBER_OF_BYTES : 38989538 NUMBER_OF_BYTES-eng: 38989538 _STATISTICS_WRITING_APP: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_DATE_UTC: 2016-02-06 18:59:27 _STATISTICS_WRITING_DATE_UTC-eng: 2016-02-06 18:59:27 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default) Metadata: BPS : 88626 BPS-eng : 88626 DURATION : 00:11:03.701000000 DURATION-eng : 00:11:03.701000000 NUMBER_OF_FRAMES: 31111 NUMBER_OF_FRAMES-eng: 31111 NUMBER_OF_BYTES : 7352727 NUMBER_OF_BYTES-eng: 7352727 _STATISTICS_WRITING_APP: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_DATE_UTC: 2016-02-06 18:59:27 _STATISTICS_WRITING_DATE_UTC-eng: 2016-02-06 18:59:27 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_omx)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [h264_omx @ 0x1d336a0] Using OMX.broadcom.video_encode Output #0, segment, to '/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d%d.ts': Metadata: encoder : Lavf57.72.101 Stream #0:0: Video: h264 (h264_omx), yuv420p, 704x528 [SAR 1:1 DAR 4:3], q=2-31, 1122 kb/s, 29.97 fps, 90k tbn, 29.97 tbc (default) Metadata: encoder : Lavc57.93.100 h264_omx Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: encoder : Lavc57.93.100 aac frame= 7342 fps= 24 q=-0.0 Lsize=N/A time=00:04:05.16 bitrate=N/A speed=0.793x video:34589kB audio:5817kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [aac @ 0x1d34aa0] Qavg: 1460.591 Exiting normally, received signal 2. I tried once changing the emby default user to root.. but it did nothing. ANY help would be greatly appreciated.. I feel like I survived the desert to die at the water fountain with a broken handle. TTFN
  19. (I searched for the permissions problem but didn't see it. Sorry if I'm repeating other posts here...) I set up the Emby Theater app on Windows for my mother and was careful to not let her do any admin-type stuff, but she is able to cancel my recordings (any recording - movie, show episode or series)! I double-checked the permissions and double-checked them again. As it stands, she doesn't have permission to make her own recordings, or to delete shows or movies, but she can cancel my recordings. I've asked her to be careful not to do that. Also, if you use the large-format icons for the libraries in My Media, the app only shows about 5 of them across and you can't get to the rest of them (no scroll-bar or scroll button). I thought about using the smaller icons, but they're not as descriptive or appealing, so I just rearranged them so the 5 most common ones I think she would use will appear first... The app version is 1.1.248.0, and she's running Windows 10 Home (with all the latest patches) Thanks for your help...
  20. I have a couple of directories that are hidden trash folders, as in the output below: 2018-07-30 16:05:29.895 Error LibraryMonitor: Error in Directory watcher for: /misc/movies3 *** Error Report *** Version: 3.5.1.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-rpm_{version}_x86_64.rpm Operating system: Unix 4.17.9.200 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.UnauthorizedAccessException: Access to the path '/misc/movies3/.Trash-1000' is denied. ---> System.IO.IOException: Permission denied --- End of inner exception stack trace --- System.UnauthorizedAccessException No Stack Trace Available InnerException: System.IO.IOException System.IO.IOException: Permission denied Will the LibraryMonitor just stop or does it continue on? It's no big deal for me to remove these directories, but I'm curious if this would cause a problem or if the LibraryMonitor will just keep on running even if it runs into issues such as this.
  21. vl1969

    a few quick questions on Emby use.

    Hi everyone. I have a home server running Proxmox VE 4.5 on ZFS the server has several ZFS pools where I store my data. i.e. custom user pools not connected to Proxmox except that the main machine hosts the disks. I want to create a VM container (LXC) where I will run Emby and other apps. Proxmox have a number of templates from TurnKey that I can use to create my container(s). I have tried the turnkey Mediaserver which is a TurnKey fileserver plus Emby. it works for the most part and works nicely but as I tried to setup additional things on it I broke the config and it has issues now so i want to rebuild it. in order to manage my existing data and media I bind-mount my data pools into container like tank0/share0 ==> mediaserver /mnt/share0 and tank1/share1 ==> mediaserver /mnt/share1 so my questions are : #1. the TKMS has Emby configured that all media folders are in "/srv/storage/ " like so @mfs /srv/storage# ls -l total 7 drwxrwxr-x 2 emby users 2 Jul 18 2017 Movies drwxrwxr-x 2 emby users 2 Jul 18 2017 Music drwxrwxr-x 2 emby users 2 Jul 18 2017 Photos -rw-r--r-- 1 root root 79 Jul 18 2017 README.txt drwxrwxr-x 2 emby users 2 Jul 18 2017 TVShows "/srv/storage/ " is the default location that is also SAMBA share and WebDav share. standard config for TK fileserver the medisserver is based on. now is it possible to move this folders into my storage? that is I have a bind-mount in /mnt/share1 that has folder media. I want to locally(within the VM) bind-mount that into "/srv/storage/media" and move all the folders inside. can I ? and How? #2. if I want to setup an NZBGet in separate VM and bind-mount the same pools there, how can I setup user NZBGet will use to run so when it downloads something it can be moved into appropriate folder and Emby will be able to see the new files and use it? permissions issue was one of the more difficult issues with this setup so far. the current config, which I moved the folders with mv command and reconfigured Emby to use the new locations, sees some movies but not one I downloaded with NZBGet or Transmission. it ignores any of my existing pictures and home videos that I copied with cp or rsynk from my local lib. not user how to set permissions on those properly. please point me to some how-to and help that will work. PS>> I already did the general search on many of the topics here and read the pin on this forum about file/folder permission. I will be setting up new container for test using that info but maybe there is something more I need/want to know. PPS>> maybe some one can chime in on the best setup for my needs as well. I want to have a basic VM server (already setup with Proxmox) that will run some special VMs. but main config is a 1. File Server 2. Emby 3. Transmission for torrents (!! I do not do much torrenting or downloads but good to have when needed ) 4. CoachPotato (again not much downloading but want to use that to automate organization of my existing collection) 5. SickRage 6. Lazy Librarian 7 Calibre Server 8. MythTV or what ever to record LiveTV in the future. I do not have the tuner now and it may never come to live but plans are plans. the question here is how to set all this apps so they will play well together nicely. should I run each in it's own LXC to which I mount-bind my storage? if yes should I / can I create/clone Emby user to all of this containers and use that to run the services? if yes How? what are my options here? thanks Vlad.
  22. I can get Emby Server to install ok on Raspbian. I can load it up and everything works, except that it can't read my storage device. Raspbian file explorer sees the storage and I can view the movies, but when I type that path to add to my library, it says it's not valid. I have zero experience here. I'm just googling what I can, but a lot of it is over my head. Can someone please help me out with a ELI5? Thank you!
  23. Emby WebUI - Please create a general device that represents all web browsers At present, its impossible to restrict users to only the WebUI without granting permissions to all devices. It would be good to have a device in devices, that represents the webUI or all web browsers in general. This way permission can be granted to users without granting permission to all devices. This would serve as a solution to allow only downloading (no streaming, no transcoding, no direct play, etc) Only browse library and file download.
  24. It would be really nice if there were more granular permissions per user. Right now you can only give a user broad delete permissions. I don't want users deleting anything except for TV Recordings (and ideally only ones that they owned or recorded unless the user had admin delete permissions or something). Right now I have only an admin account that is used to delete media and have to periodically go through and clean out recorded TV because users can't delete themselves.
  25. bric

    File permissions again

    Failure setting up Emby (my first time) I have a hard drive in my 'server' that contains all my media. It is formatted as NTFS. I have it mounted from the fstab. listing of files/directories show as ... -rwxr-xr-x 1 bric bric 110914782 Jun 16 21:11 Finding Dory-trailer.mov drwxr-xr-x 1 bric bric 4096 Jul 30 15:09 Home Video I added emby to the group owning the files on that drive. So the groups command returns: emby: emby bric When I try to add the media library (in the web interface) either with /path/to/mounted/drive/Movies or //192.168.0.10/Movies or //MyServer/Movies I get this error: More info needed? Suggestions about what to try next?
×
×
  • Create New...