Jump to content

Windows 10 -> FreeBSD


mlcarson

Recommended Posts

mlcarson

I currently have a Windows 10 server running Emby.    This wouldn't be running anything but Emby.   My clients are Nvidia Shields.  I'm an IT Security guy so my gut tells me that I should be running this on a FreeBSD server since it's available.  Is it worth the effort to do so?   This is currently running on an i7-2600K with 16GB RAM and a GTX980 GPU.    I've worked with Linux in the past (late 90's) and have used Linux as a primary OS for a while pre-Windows 7 but have never really played with FreeBSD. 

Link to comment
Share on other sites

sluggo45

I've been running FreeBSD & FreeNAS for years, and love it, but: there's a steep learning curve. Like, plan ahead, because you aren't swapping over in a weekend :) And frankly, I wouldn't go to the trouble just for an Emby server and a nice NAS - the time required to learn is nearly the same no matter how you use it and that use case really only scratches the surface.

 

If you just want something that works well, is friendly with a large collection of cast-off hardware, and has a pretty nice management UX, look at Unraid. Storage-wise it's no ZFS but it's a lot quicker to get up and running and easier to manage day to day, at least at first. I still run an Unraid server though I'm going to convert it to a backup for my FreeNAS soon.

 

If you do want to forge ahead:

 

Being new to FreeBSD you will probably prefer FreeNAS, which is FreeBSD with a nice GUI oriented towards home users who want the benefits of an enterprise class NAS without the price tag or management headaches (if you *do* want that, Ix Systems has TrueNAS as well. You don't want that).

 

If you like to read&research, test, and learn new things, and have a fair amount of patience, you'll do all right. One thing to keep in mind is that FreeNAS (or more specifically, ZFS) has some fairly specific hardware requirements particularly when it come to planning for your drive volumes, ECC and general memory requirements, and such. You'll want to head on over to the FreeNAS forums and read up on the hardware guides.

 

It will be a lot of work to go from where you are now to a working, light-touch media server built around FreeNAS/FreeBSD, so go in with your eyes open.

 

Edit: thinking on it a bit I'm going to go ahead and say you would probably prefer Unraid.

Edited by sluggo45
Link to comment
Share on other sites

metsuke

I'll go ahead and agree with @@sluggo45 that if you're not caring to really dig in and learn FreeBSD and its ecosystem over a period of time, then FreeNAS, or even Unraid would work for your use case.  However, I won't miss the opportunity to plug the use of native FreeBSD :D

 

FreeBSD is the most* stable operating system I've been able to work with over many years.  It's package database is very large, and the more popular applications are always up to date.  Jails are a great way to segment your applications in a lightweight and organized manner.  If you decided to run a native FreeBSD server and had questions, the community is very helpful and informative, much like the Emby community.

 

 

 

* I've worked with UNIX's (AIX, Solaris) which were pretty much the definition of stable, but the app/package ecosystem was nonexistent.

Link to comment
Share on other sites

gbarone123

I started from scratch with freenas. It’s been quite the ride for learning, but if you’re familiar with Linux, it’s not bad. There are enough tutorials and videos out there that you should be able to get an Emby server, samba shares, and ftp setup in an hour or two. I love the updates with 11.2 and iocage. Emby is simple to maintain, samba shares are fast. Also, it’s not windows, so there’s that.

Link to comment
Share on other sites

  • 4 weeks later...
gbarone123

Mina,

 

Have you tried the following:

 

Go to the appropriate folder (movies/tv) in Emby, select manage folder, select the + to add a location, select network. It should find your local smb shares, then simply select the folder of the media located on that share.

 

Ensure you can access those shares from another machine first. You could also allow guest access to eliminate the need for credentials if you aren’t worried about security for that smb share.

Link to comment
Share on other sites

  • 5 months later...
mlcarson

I think I'm finally going to pull the trigger on this.   I'm using Project Trident with TrueOS on two different systems -- one is a backup server and one is for Emby/NAS.    I'm using URBackup for my backup software and have a backup of my media on the backup server.   I've done two file backups of the media and can NFS mount them from the Emby server so am looking at copying the latest backup to a newly created ZFS volume on the new Emby server.  It makes me a little nervous destroying a working system but am confident I can get everything back if required.  The new Emby server has been tested to show that live TV is working as expected so I think I can get a new working system this weekend.  I'm sure there are some additional roadblocks yet but can't really find them without going further down the path.  At least I'm learning some things along the way...

Link to comment
Share on other sites

FreeBSD_Lover

I would take the time and learn native FreeBSD and plan your installation on that.  The FreeBSD forum gang is awesome and is the best I have seen although is the support folks in here are not tied for 1st place then they are a darn hair thing close for 2nd.

 

I say take your time and learn FreeBSD because (a) do it right so you don't get frustrated and (B) do it because after its all said and done you will have a whole new set of skills that can be applied.  I think when you see what FreeBSD can do, you would be inclined to use it in some places at your work network, assuming there are no policies forbidding it.

 

Seriously, give it a good serious honest effort, but don't rush it. Learn it at your own natural pace.

Link to comment
Share on other sites

mlcarson

I guess I get to be the trailblazer...  If I run into something insurmountable, I can flip to pure FreeBSD, Linux, or go back to Windows 10.  My "easy" backout is to just to make my Windows 10 drive bootable and NFS mount the media folder from the backup server and point the Windows Emby install at it.

Link to comment
Share on other sites

mlcarson

Things went pretty well with this migration.  90% of the time spent was just waiting for the media libraries to copy across the 1Gbs network (speed was more like 600Mbs); this was just a cp -R copy across NFS but both from and to slow spinning HDD's.   I've got a couple issues which aren't hurting anything at the moment but need explanation.  The path below is owned by the user emby and group wheel. 

 

2019-08-04 19:27:46.933 Info LibraryMonitor: Stopping directory watching for path /storage/media/TV Shows
2019-08-04 19:27:46.940 Error LibraryMonitor: Error watching path: /storage/media/TV Shows
    *** Error Report ***
    Version: 4.1.1.0
    Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd12_{version}_amd64.txz
    Operating system: Unix 13.0.0.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: False
    Mono: 5.10.1.57 (5.10.1.57 Sat Jul 27 18:57:05 UTC 2019)
    Runtime: file:///usr/local/lib/mono/4.5/mscorlib.dll
    Processor count: 16
    Program data path: /var/db/emby-server
    Application directory: /usr/local/lib/emby-server/system
    System.IO.IOException: System.IO.IOException: kevent() error at initial event registration, error code = '22'

     at System.IO.KqueueMonitor.Start () [0x0009f] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0
     at System.IO.KeventWatcher.StartDispatching (System.IO.FileSystemWatcher fsw) [0x00033] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0
     at System.IO.FileSystemWatcher.Start () [0x00000] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0
     at System.IO.FileSystemWatcher.set_EnableRaisingEvents (System.Boolean value) [0x00014] in <b3922b7d60404fa9ae645f1fb97f5b6b>:0
     at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher.set_EnableRaisingEvents(bool)
     at Emby.Server.Implementations.IO.LibraryMonitor+<>c__DisplayClass37_0.<StartWatchingPath>b__0 () [0x000b7] in <4f88ba8f8fec4b92a9a309c2b5349a12>:0
    Source: System
    TargetSite: Void Start()

 

I basically installed Emby from scratch rather than migrating it so the media directories did get scanned , have episode/movie descriptions, and play but the logs seem to indicate something is amiss.    The only other things that I've noticed so far are the alerts on the settings page.  

I'm getting "Check for plugin updates failed".    The only plugins that I have enabled are the following which are all current.

MovieDB: 1.1.1.0

MusicBrainz: 1.0.5.0

OMDb 1.0.5.0

Open Subtitles: 1.0.15.0

TheAudioDB: 1.0.4.0

TheTVDB: 1.0.15.0

 

I just grabbed the 4.3.0.1 version to give it a shot too but no go on that version.  

2019-08-04 21:58:02.104 Error SharedHttpPipelineSource: Give up retries copying live stream http://192.168.1.128:5004/auto/v6.3

*** Error Report ***
Version: 4.3.0.1
Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd12_{version}_amd64.txz
Operating system: Unix 13.0.0.0
64-Bit OS: True
64-Bit Process: True
User Interactive: False
Mono: 5.10.1.57 (5.10.1.57 Sat Jul 27 18:57:05 UTC 2019)
Runtime: file:///usr/local/lib/mono/4.5/mscorlib.dll
Processor count: 16
Program data path: /var/db/emby-server
Application directory: /usr/local/lib/emby-server/system
System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object
  at System.IO.Pipelines.Pipe.CommitUnsynchronized () [0x00015] in <723d458f45d84fcb869a0e0636f4ac91>:0 
  at System.IO.Pipelines.Pipe.FlushAsync (System.Threading.CancellationToken cancellationToken) [0x00011] in <723d458f45d84fcb869a0e0636f4ac91>:0 
  at System.IO.Pipelines.Pipe+DefaultPipeWriter.FlushAsync (System.Threading.CancellationToken cancellationToken) [0x00000] in <723d458f45d84fcb869a0e0636f4ac91>:0 
  at System.IO.Pipelines.PipeWriter+<CopyFromAsync>d__11.MoveNext () [0x000aa] in <723d458f45d84fcb869a0e0636f4ac91>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
  at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource+<>c__DisplayClass7_0+<<StartStreaming>b__0>d.MoveNext () [0x004a3] in <e0e7d6d9449e497dacdec68537604b4b>:0 
Source: mscorlib
TargetSite: Void Throw()
 
2019-08-04 21:58:02.104 Error SharedHttpPipelineSource: Error copying live stream.
*** Error Report ***
Version: 4.3.0.1
Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby-server/bin/ffprobe -programdata /var/db/emby-server -updatepackage emby-server-freebsd12_{version}_amd64.txz
Operating system: Unix 13.0.0.0
64-Bit OS: True
64-Bit Process: True
User Interactive: False
Mono: 5.10.1.57 (5.10.1.57 Sat Jul 27 18:57:05 UTC 2019)
Runtime: file:///usr/local/lib/mono/4.5/mscorlib.dll
Processor count: 16
Program data path: /var/db/emby-server
Application directory: /usr/local/lib/emby-server/system
System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object
  at System.IO.Pipelines.Pipe.CommitUnsynchronized () [0x00015] in <723d458f45d84fcb869a0e0636f4ac91>:0 
  at System.IO.Pipelines.Pipe.FlushAsync (System.Threading.CancellationToken cancellationToken) [0x00011] in <723d458f45d84fcb869a0e0636f4ac91>:0 
  at System.IO.Pipelines.Pipe+DefaultPipeWriter.FlushAsync (System.Threading.CancellationToken cancellationToken) [0x00000] in <723d458f45d84fcb869a0e0636f4ac91>:0 
  at System.IO.Pipelines.PipeWriter+<CopyFromAsync>d__11.MoveNext () [0x000aa] in <723d458f45d84fcb869a0e0636f4ac91>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0e06830de9a44394a7e366951eabca52>:0 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <0e06830de9a44394a7e366951eabca52>:0 
  at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource+<>c__DisplayClass7_0+<<StartStreaming>b__0>d.MoveNext () [0x004a3] in <e0e7d6d9449e497dacdec68537604b4b>:0 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <0e06830de9a44394a7e366951eabca52>:0 
  at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource+<>c__DisplayClass7_0+<<StartStreaming>b__0>d.MoveNext () [0x00662] in <e0e7d6d9449e497dacdec68537604b4b>:0 
Source: mscorlib
TargetSite: Void Throw()
Link to comment
Share on other sites

The realtime monitor won't work on freebsd so you might as well just disable it for all libraries.

Link to comment
Share on other sites

mlcarson

Ok, stopped the library monitoring.  Glad that was harmless.  I'll have to get back to you on the logs because I'm back on the 4.1.1.0 version and the plugin updates aren't a high priority at the moment.  Here's a message from the 4.3.0.1 version though.

 

/usr/local/lib/emby-server/bin/ffmpeg -analyzeduration 3000000 -fflags +discardcorruptts+fillwallclockdts -f mpegts -i "http://127.0.0.1:8096/LiveTv/LiveStreamFiles/3a97a6c7499f43c690d35d1721854a6d/stream.ts"-map_metadata -1 -map_chapters -1 -threads 4 -sn -c:v:0 libx264 -pix_fmt yuv420p -maxrate 8000000 -bufsize 16000000 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 23 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -vsync -1 -codec:a:0 libmp3lame -disposition:a:0 default -ac:a:0 2 -ab:a:0 192000 -af:a:0 "volume=2" -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_write_temp 1 -segment_list_entry_prefix "hls/12423792ad85a744973f5dd11293afbe/" -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/db/emby-server/transcoding-temp/12423792ad85a744973f5dd11293afbe.m3u8" -y "/var/db/emby-server/transcoding-temp/12423792ad85a744973f5dd11293afbe%d.ts"

ffmpeg version 4.0.3-emby_2019_04_09 Copyright © 2000-2018 the FFmpeg developers and softworkz for Emby LLC
built with gcc 8.3.0 (FreeBSD Ports Collection)
WARNING: library configuration mismatch
avutil configuration: --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig --enable-shared --enable-pic --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --cc=cc --disable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libaom --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-libcodec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages --disable-libdrm --enable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-iconv --disable-libilbc --disable-libjack --disable-libklvanc --disable-libkvazaar --disable-ladspa --enable-libmp3lame --disable-liblensfun --disable-libbluray --disable-librsvg --disable-librtmp --disable-libxml2 --disable-lv2 --disable-mbedtls --enable-mmx --disable-libmodplug --disable-libmysofa --enable-nonfree --disable-openal --disable-opencl --enable-libopencv --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-optimizations --enable-libopus --disable-libpulse --enable-runtime-cpudetect --disable-librubberband --enable-sdl2 --disable-libsmbclient --disable-libsnappy --enable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --enable-sse --disable-libssh --disable-libtensorflow --disable-libtesseract --enable-libtheora --disable-libtwolame --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --disable-libvidstab --enable-libvorbis --disable-libvo-amrwbenc --enable-libvpx --disable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxcb --enable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq --disable-libzvbi
avcodec configuration: --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig --enable-shared --enable-pic --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --cc=cc --disable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libaom --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-libcodec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages --disable-libdrm --enable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-iconv --disable-libilbc --disable-libjack --disable-libklvanc --disable-libkvazaar --disable-ladspa --enable-libmp3lame --disable-liblensfun --disable-libbluray --disable-librsvg --disable-librtmp --disable-libxml2 --disable-lv2 --disable-mbedtls --enable-mmx --disable-libmodplug --disable-libmysofa --enable-nonfree --disable-openal --disable-opencl --enable-libopencv --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-optimizations --enable-libopus --disable-libpulse --enable-runtime-cpudetect --disable-librubberband --enable-sdl2 --disable-libsmbclient --disable-libsnappy --enable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --enable-sse --disable-libssh --disable-libtensorflow --disable-libtesseract --enable-libtheora --disable-libtwolame --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --disable-libvidstab --enable-libvorbis --disable-libvo-amrwbenc --enable-libvpx --disable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxcb --enable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq --disable-libzvbi
avformat configuration: --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig --enable-shared --enable-pic --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --cc=cc --disable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libaom --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-libcodec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages --disable-libdrm --enable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-iconv --disable-libilbc --disable-libjack --disable-libklvanc --disable-libkvazaar --disable-ladspa --enable-libmp3lame --disable-liblensfun --disable-libbluray --disable-librsvg --disable-librtmp --disable-libxml2 --disable-lv2 --disable-mbedtls --enable-mmx --disable-libmodplug --disable-libmysofa --enable-nonfree --disable-openal --disable-opencl --enable-libopencv --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-optimizations --enable-libopus --disable-libpulse --enable-runtime-cpudetect --disable-librubberband --enable-sdl2 --disable-libsmbclient --disable-libsnappy --enable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --enable-sse --disable-libssh --disable-libtensorflow --disable-libtesseract --enable-libtheora --disable-libtwolame --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --disable-libvidstab --enable-libvorbis --disable-libvo-amrwbenc --enable-libvpx --disable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxcb --enable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq --disable-libzvbi
avdevice configuration: --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig --enable-shared --enable-pic --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --cc=cc --disable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libaom --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-libcodec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages --disable-libdrm --enable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-iconv --disable-libilbc --disable-libjack --disable-libklvanc --disable-libkvazaar --disable-ladspa --enable-libmp3lame --disable-liblensfun --disable-libbluray --disable-librsvg --disable-librtmp --disable-libxml2 --disable-lv2 --disable-mbedtls --enable-mmx --disable-libmodplug --disable-libmysofa --enable-nonfree --disable-openal --disable-opencl --enable-libopencv --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-optimizations --enable-libopus --disable-libpulse --enable-runtime-cpudetect --disable-librubberband --enable-sdl2 --disable-libsmbclient --disable-libsnappy --enable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --enable-sse --disable-libssh --disable-libtensorflow --disable-libtesseract --enable-libtheora --disable-libtwolame --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --disable-libvidstab --enable-libvorbis --disable-libvo-amrwbenc --enable-libvpx --disable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxcb --enable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq --disable-libzvbi
avfilter configuration: --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig --enable-shared --enable-pic --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --cc=cc --disable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libaom --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-libcodec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages --disable-libdrm --enable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-iconv --disable-libilbc --disable-libjack --disable-libklvanc --disable-libkvazaar --disable-ladspa --enable-libmp3lame --disable-liblensfun --disable-libbluray --disable-librsvg --disable-librtmp --disable-libxml2 --disable-lv2 --disable-mbedtls --enable-mmx --disable-libmodplug --disable-libmysofa --enable-nonfree --disable-openal --disable-opencl --enable-libopencv --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-optimizations --enable-libopus --disable-libpulse --enable-runtime-cpudetect --disable-librubberband --enable-sdl2 --disable-libsmbclient --disable-libsnappy --enable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --enable-sse --disable-libssh --disable-libtensorflow --disable-libtesseract --enable-libtheora --disable-libtwolame --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --disable-libvidstab --enable-libvorbis --disable-libvo-amrwbenc --enable-libvpx --disable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxcb --enable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq --disable-libzvbi
swscale configuration: --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig --enable-shared --enable-pic --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --cc=cc --disable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libaom --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-libcodec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages --disable-libdrm --enable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-iconv --disable-libilbc --disable-libjack --disable-libklvanc --disable-libkvazaar --disable-ladspa --enable-libmp3lame --disable-liblensfun --disable-libbluray --disable-librsvg --disable-librtmp --disable-libxml2 --disable-lv2 --disable-mbedtls --enable-mmx --disable-libmodplug --disable-libmysofa --enable-nonfree --disable-openal --disable-opencl --enable-libopencv --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-optimizations --enable-libopus --disable-libpulse --enable-runtime-cpudetect --disable-librubberband --enable-sdl2 --disable-libsmbclient --disable-libsnappy --enable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --enable-sse --disable-libssh --disable-libtensorflow --disable-libtesseract --enable-libtheora --disable-libtwolame --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --disable-libvidstab --enable-libvorbis --disable-libvo-amrwbenc --enable-libvpx --disable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxcb --enable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq --disable-libzvbi
swresample configuration: --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig --enable-shared --enable-pic --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --cc=cc --disable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libaom --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-libcodec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages --disable-libdrm --enable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-iconv --disable-libilbc --disable-libjack --disable-libklvanc --disable-libkvazaar --disable-ladspa --enable-libmp3lame --disable-liblensfun --disable-libbluray --disable-librsvg --disable-librtmp --disable-libxml2 --disable-lv2 --disable-mbedtls --enable-mmx --disable-libmodplug --disable-libmysofa --enable-nonfree --disable-openal --disable-opencl --enable-libopencv --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-optimizations --enable-libopus --disable-libpulse --enable-runtime-cpudetect --disable-librubberband --enable-sdl2 --disable-libsmbclient --disable-libsnappy --enable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --enable-sse --disable-libssh --disable-libtensorflow --disable-libtesseract --enable-libtheora --disable-libtwolame --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --disable-libvidstab --enable-libvorbis --disable-libvo-amrwbenc --enable-libvpx --disable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxcb --enable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq --disable-libzvbi
postproc configuration: --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig --enable-shared --enable-pic --enable-gpl --enable-postproc --enable-avfilter --enable-avresample --enable-pthreads --cc=cc --disable-alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libaom --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-libcelt --disable-libcodec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages --disable-libdrm --enable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --enable-frei0r --disable-libfribidi --disable-gcrypt --disable-libgme --enable-gmp --enable-gnutls --enable-version3 --disable-libgsm --enable-iconv --disable-libilbc --disable-libjack --disable-libklvanc --disable-libkvazaar --disable-ladspa --enable-libmp3lame --disable-liblensfun --disable-libbluray --disable-librsvg --disable-librtmp --disable-libxml2 --disable-lv2 --disable-mbedtls --enable-mmx --disable-libmodplug --disable-libmysofa --enable-nonfree --disable-openal --disable-opencl --enable-libopencv --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-optimizations --enable-libopus --disable-libpulse --enable-runtime-cpudetect --disable-librubberband --enable-sdl2 --disable-libsmbclient --disable-libsnappy --enable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --enable-sse --disable-libssh --disable-libtensorflow --disable-libtesseract --enable-libtheora --disable-libtwolame --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --disable-libvidstab --enable-libvorbis --disable-libvo-amrwbenc --enable-libvpx --disable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --enable-libxcb --enable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq --disable-libzvbi
Local Time: 22:02:32
T=0.000s
Unrecognized option 'segment_write_temp'.
Error splitting the argument list: Option not found

Edited by mlcarson
Link to comment
Share on other sites

mlcarson

Standard method illustrated on https://emby.media/freebsd-server.html

Stop Emby Server

sudo pkg install mono libass fontconfig freetype2 fribidi gnutls iconv opus samba48 sqlite3 libtheora libva libvpx libvorbis webp libx264 libzvbi libraw ImageMagick6

Dependency install showed everything up-to-date.

 

pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.3.0.1/emby-server-freebsd12_4.3.0.1_amd64.txz

Emby_server_enable via Control Panel or rc-update add emby_server default (I just used the Control panel).

The Emby_server file was installed on /usr/local/etc/rc.d (Freebsd way) and was moved to /usr/local/etc/init.d (TrueOS way) and converted to OpenRC

I just used the same OpenRC script that I had used previously.  Emby started and looked normal but just wouldn't play anything properly.   I also tried using the script in /usr/local/etc/rc.d with the onestart command in case there was something that I missed but it had the same result. 

 

I reverted back by using the AppCafe to uninstall emby-server 4.3.0.1.and then reinstalled emby-server 4.1.1.0_2 from the repository and everything worked again.  There were some reboots after installation just to make sure that everything was working.  I did this at least twice and maybe more to make sure that I didn't miss anything in the process that I could identify but was getting consistent results. 

Link to comment
Share on other sites

MRobi

See attached log for the plugin issue.  The playback issue for the new version of Emby will have to wait until the weekend. 

You can try switching your pkg repository from quarterly to latest OR latest to quarterly. 90% of the playback issues I've encountered when using the beta's have been fixed by switching the pkg repository.

Link to comment
Share on other sites

See attached log for the plugin issue.  The playback issue for the new version of Emby will have to wait until the weekend. 

 

The reason you're having plugin problems is because you have plugin versions that are meant for Emby Server 4.2. it looks like you may have installed 4.2 and then went backwards to 4.1. That's not really supported. I would just use the latest version. If you want to go backwards you'll need to do a fresh install.

Link to comment
Share on other sites

FreeBSD_Lover

Silly questions; other than being a noobie is there a reason you did not use the FreeBSD packages / ports tree system to install Emby?

 

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

https://www.freshports.org/multimedia/emby-server/

 

I use the ports tree system in conjunction with Synth, and have flawless installations almost always.

https://www.freshports.org/ports-mgmt/synth/

Link to comment
Share on other sites

mlcarson

The only version of Emby that's worked for me is the one from the repository I listed which is 4.1.x.   I've definitely not installed 4.2.x but did try 4.3.x as I've already mentioned but removed the package via the package manager and reinstalled the 4.1.x.    I know squat about the ports tree system so far.   If 4.2.x plugins got installed, it happened automatically as a result of the Emby install.   I'll revisit the Emby upgrade issues this weekend when I get back in town.

 

Keep in mind that this is from Project Trident so is the TrueOS modification of FreeBSD 13.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...