Jump to content

Search the Community

Showing results for tags 'kubuntu'.

  • 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
    • Android TV / Fire TV
    • Windows & Xbox
    • Apple iOS / macOS
    • Apple TV
    • Kodi
    • LG Smart TV
    • Linux & Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • 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
  • Testing Area
    • WMC UI (Beta)
  • Other
    • Non-Emby General Discussion
    • Developer API
    • Hardware
    • Media Clubs

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Found 2 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. Around a week ago I installed Emby on my Kubuntu PC. I didn't understand Emby and thought that it would be an application. Instead it turned my machine into a Multimedia Server. So cool once it's set up it's always on and no maintenance. My needs are basic. All I want to do is to have a file linked to Emby and any movie in that file will stream to the devices on my home network. I do not want to stream remote for security purposes. I followed the install instructions on the internet where I downloaded the file and it was really easy. I did have trouble getting it connected to my Fire stick because the port was closed in my software firewall. I opened port I think it's 8095 in my software Firewall and then no problem hooking into the Amazon Fire stick. Not an Emby problem. Around a week later I bought a Roku Express for my daughter and installed in her TV. Emby wouldn't connect. I waited a few days and my router choked and I had to reboot it. A little later I went back to try to get Emby working and to my surprise, Wallah the Roku recognized and connected to the server with no prodding. Seemed my router needed to be reset. Lesson learned if I ever have trouble connecting a new device to Emby reset the router. I proceeded to install on my Android Phone and again it was brainless. It just recognized and entered Emby Server with no prodding. So fast it made my head spin. Emby is fantastic on Linux Kubuntu/Ubuntu. Basically I hooked a file up to synchronize and everything I copy to that file shows up on my devices to be streamed. It's running in the background no maintenance required. Also no glitches waking up from sleep either. On the Roku it's running fast. So anyway If you have Kubuntu or Ubuntu and want to simply use Emby to stream movies within your home network I recommend it highly. BTW the resolution of the movies look great.
×
×
  • Create New...