Jump to content

Truenas plugin issue


driver7
Go to solution Solved by Luke,

Recommended Posts

driver7

I've been attempting to install the Emby server plugin on TrueNAS 12 using the plugin interface, everything seems to have installed properly but the emby-server service refuses to start hence I can't open the Emby management interface.  

root@emby:~ # service emby-server status
emby_server is not running.
root@emby:~ # service emby-server start
Starting emby_server.
root@emby:~ # service emby-server status
emby_server is not running.

The networking on the jail seems to be working, I'm able to ping the router and other clients on the network from the jail, and I can ping the jail from my workstation as well (jail has it's own ip).  I've been looking for the Emby logfiles but so far i've been unable to find them.  As for the system log files, they are clean almost nothing in them.  Any ideas?

EDIT: I should probably add that the above output is from the jail's shell.

Edited by driver7
added info
Link to comment
Share on other sites

  • 2 weeks later...
HarlemSquirrel

I've got a similar problem after upgrading from TrueNAS 12 to 13. I got Emby installed with provided instructions but how can I restore my settings? Where do user accounts, settings, and playlists live in the jail?

Link to comment
Share on other sites

HarlemSquirrel

I was able to get the old jail up and running by installing the latest version and enabling mlock for the jail.

Link to comment
Share on other sites

HarlemSquirrel

Now there is a dependency issue with the old emby plugin jail.

I did manage to copy my db to the new jail like so

  • Install new emby-server plug following official guide
  • Start up new emby-server plugin
  • connect with `iocage console emby-plugin`
  • stop server with `service emby-server stop`
  • move db with `mv /var/db/emby-server /var/db/emby-server.old
  • exist console
  • stop plugin jail with `sudo iocage stop emby-server`
  • stop old plugin jail with `sudo iocage stop emby`
  • copy db to new plugin jail with `sudo cp -r iocage/jails/emby/root/var/db/emby-server iocage/jails/emby-server/root/var/db/`
  • start new plugin
  • connect to with iocage console again
  • change db permissions with `chown -R emby:emby /var/db/emby-server`
Edited by HarlemSquirrel
Link to comment
Share on other sites

20 hours ago, HarlemSquirrel said:

Now there is a dependency issue with the old emby plugin jail.

I did manage to copy my db to the new jail like so

  • Install new emby-server plug following official guide
  • Start up new emby-server plugin
  • connect with `iocage console emby-plugin`
  • stop server with `service emby-server stop`
  • move db with `mv /var/db/emby-server /var/db/emby-server.old
  • exist console
  • stop plugin jail with `sudo iocage stop emby-server`
  • stop old plugin jail with `sudo iocage stop emby`
  • copy db to new plugin jail with `sudo cp -r iocage/jails/emby/root/var/db/emby-server iocage/jails/emby-server/root/var/db/`
  • start new plugin
  • connect to with iocage console again
  • change db permissions with `chown -R emby:emby /var/db/emby-server`

Hi, what is the dependency issue?

Link to comment
Share on other sites

  • 2 weeks later...
HarlemSquirrel
On 8/3/2022 at 1:50 PM, Luke said:

Hi, what is the dependency issue?

Sorry didn't see this before and didn't capture that output.

Link to comment
Share on other sites

dhenzler

I would recommend reinstalling the plugin, I realize this means starting over if you're getting the plugin from TrueNAS.  However it works just fine and the dependancies are taken care of during the pkg install process.  I recently tried installing the 4.8.0.7 Beta.  Then I created a BSD 13 jail and reinstalled the 4.7.5.0 and all dependencies were met.  As well it doesn't require mono which I have read limits you to one thread... kinda kills having a multi-threaded system

The biggest delay is scanning all of the content and correcting erroneous matchups.

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