Jump to content

Search the Community

Showing results for tags 'cifs'.

  • 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...

Found 5 results

  1. 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
  2. Hello, I installed Emby server on my Raspberry PI 3 recently (Docker official method). It was a little difficult (linux noob inside ) but now all seems to be OK. But, i'm now trying to add a library, but there's a problem as i can't find any folder or share hosted / mounted on the RPi : (as you can see there's nothing but default paths) (network choice empty too) : How Emby detects disks and network shares ? Here is what i have and would want to choose : 1 usb hdd (ext4) + 1 network share (cifs) : If it must be set in Docker, how can i do it (and would it be kept if Emby image is updated ?) Thanks a lot for your assistance. Best regards,
  3. Let me start off by saying while I have a lot of experience with windows server, I am new to Ubuntu/linux, so please forgive me if this is a very easy issue to solve. I am running windows server 2008 R2 on my main server with media stored on several raid arrays and shared via windows file sharing across my network. I also run several virtual machines on this box via hyper-v, one of which is Ubuntu server 16.04 LT (command line only) with Emby Server. The Ubuntu server connects to several of the windows shared folders via CIFS (attached the FSTAB configuration file) and mounts automatically when the VM boots. I set up the Ubuntu/Emby VM last October and it worked perfectly until I started getting errors about a month ago. Now after the Emby server has been running for a few errors hours my Movies or TV shows all disappear from Emby. When I open up the Ubuntu server console via hyper-V I get two errors that repeat: “CIFS VFS: Error -104 sending data on socket to server” and “CIFS VFS: Error -32 sending data on socket to server” There is significant network traffic be directed towards the windows server machine and the Ubuntu virtual server has above average CPU usage. When I reboot the error temporarily disappears but comes back after a few hours later. I tried rolling the VM back to a clean install (circa October 2016) but after installing all the ubuntu/emby updates the problem came back. When I try to run “sudo umount –a” I get several errors saying “target is busy”. I can manually browse and play all the media files on any of the windows PCs on my network, so I don’t think the issue is on the windows server side. It looks like CIFS is getting suck in some sort of loop. Can anyone provide some insight on why this is happening? Let me know if there is additional information I can provide to help debug this.
  4. neonko-sensei

    direct play unable to connect to smb

    I'm encountering difficulty getting the Kodi add-on to direct play files from an smb share. configuration: RPi3, Kodi 16.1, Emby add-on 2.2.32 recent related threads: 1, 2, 3 Here's the relevant log excerpt: 01:48:18 18909.144531 T:1206289392 NOTICE: EMBY.playbackutils -> Play called. 01:48:18 18909.164062 T:1206289392 NOTICE: EMBY.playutils -> Verifying path: smb://server/public/movies/5 Centimeters per Second/5_Centimeters_Per_Second.mp4 01:48:18 18909.181641 T:1206289392 NOTICE: EMBY.playutils -> Failed to find file. 01:48:18 18909.181641 T:1206289392 NOTICE: EMBY.playutils -> Unable to direct play. 01:48:18 18909.183594 T:1206289392 NOTICE: EMBY.playutils -> smb://server/public/movies/5 Centimeters per Second/5_Centimeters_Per_Second.mp4 01:48:24 18915.333984 T:1956402096 ERROR: Playlist Player: skipping unplayable item [...] I have successfully navigated to the directory "smb://server/public/movies/5 Centimeters per Second/" via Kodi's browse dialog, asking it to remember credentials. I also supplied network credentials in the Emby add-on settings. Playback mode is set to "addon". I can play videos by adding the share through the Kodi file manager and navigating to a file. edit: here's a log sample showing an identical (edit2: non-identical) smb path being played 02:11:19 20290.355469 T:1956402096 NOTICE: DVDPlayer: Opening: smb://SERVER/public/movies/5 Centimeters per Second/5_Centimeters_Per_Second.mp4 02:11:19 20290.355469 T:1956402096 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED 02:11:19 20290.355469 T:1268773872 NOTICE: Creating InputStream 02:11:19 20290.382812 T:1268773872 NOTICE: Creating Demuxer 02:11:19 20290.632812 T:1527772144 NOTICE: EMBY.player -> DEBUG:: reportPlayback Called I can successfully play videos through the video library when I check "play from http instead of smb". (However, HTTP playback won't work for my entire collection because I have a handful of ISO rips which won't be transcoded for http, as well as items for which the fetched subtitles are poor or missing.) Is there anything more I can do to debug this? I'm happy to hack up scripts in the plugin, if I can be pointed at a place to start looking.
  5. Hey All, I have run a FreeNAS for my home media server for some time (over 6 years)... but my current box was quite outdated (running FN 0.7.2, SAB, SickBeard, Couchpotato) and was due for an upgrade. Long story short, I upgraded my FreeNAS with a whole new hardware build and am now running the latest 9.3.1 with SAB, SR, CP, and Emby! I am thrilled to start using this setup with my Kodi clients to stream my media library. This will be my first time using Emby to keep my media library updated at a central location and synced down to my Kodi clients! As of last night, Emby Server is up and running on my FreeNAS. Admittedly, I have not had much time to test yet so I tested a couple videos via web browser. I am now focusing on installing Emby plugin on my Kodi clients and have some questions. Once the plugin is installed I can test further to ensure things are working nicely together. Path Substitution. I believe I have configured this on the Emby Server so that the Kodi clients play the media from my CIFS/SMB shares. Any other tips/tricks/words of wisdom? Are any settings changes required on the Kodi Emby addon to ensure the media is playing from the CIFS/SMB share instead of transcoding and playing from Emby? CIFS Authentication. Do I need to tweak any settings in Emby Server or the Kodi plugin to store user/pass for CIFS authentication? Media Library ​I assume that Emby is handling all of the media locations so I do not need to add the remote locations (SMB shares) directly to Kodi. Also assuming that it would be smart to remove existing media sources and blow away my existing Kodi library... or will Emby handle the library portion automatically? I would hate to end up with a jumbled mess up duplicated items. Once Emby is up and running can I still access my media from 'Movies'/'TV Shows' on the Kodi boxes or do I need to configure custom playlists and shortcuts to Emby? Hopefully you all can help clear up some of this confusion for me. -bmcclure937
×
×
  • Create New...