Jump to content

Can't see emby server through emby connect on external network


dwayneson

Recommended Posts

dwayneson

Hello all!

 

I had an old version of emby working with no issues on Freenas 11.2, except that the genres section was only showing a small portion of the total movies.

 

I decided to update to Freenas 11.3 and then run a fresh install of emby version 4.4.2 using the coding below:

 
# back up emby config
cp -pr /mnt/Media1/Apps/Emby/ /mnt/Media1/PluginConfigBackup/emby-server/

# create jail and install emby server package
echo '{"pkgs":["emby-server"]}' > /tmp/pkg.json
iocage create -n "emby-server" -p /tmp/pkg.json -r 11.3-RELEASE ip4_addr="vnet0|192.168.1.107/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on"
rm /tmp/pkg.json

# set up directories and link them
iocage exec emby-server mkdir -p /mnt/movies
iocage exec emby-server mkdir -p /mnt/tvshows
iocage fstab -a emby-server /mnt/Media1/Apps/Emby /var/db/emby-server nullfs rw 0 0
iocage fstab -a emby-server /mnt/Media1/Movies /mnt/movies nullfs rw 0 0
iocage fstab -a emby-server /mnt/Media1/TVshows /mnt/tvshows nullfs rw 0 0

# set system parameters to enable auto-start
iocage exec emby-server sysrc 'emby_server_enable=YES'
iocage exec emby-server sysrc 'emby_server_user=emby'

# set standard permissions
iocage exec emby-server chown -R emby:emby /var/db/emby-server

# restore backed up config
cp -pr /mnt/Media1/PluginConfigBackup/emby-server/ /mnt/Media1/Apps/Emby/

# Update emby server manually - note may get error on pkg install about no samba48 package. remove samba48 from install list.
iocage console emby-server
service emby-server stop
pkg install mono libass fontconfig freetype2 fribidi gnutls iconv opus samba48 sqlite3 libtheora libva libvpx libvorbis webp libx264 x265 dav1d libzvbi libraw ImageMagick6
pkg add -f https://github.com/MediaBrowser/Emby.Releases/releases/download/4.4.2.0/emby-server-freebsd11_4.4.2.0_amd64.txz
sysrc emby_server_enable="YES"

# start up
iocage exec emby-server service emby-server start
service emby-server start

# Emby should be available at http://192.168.1.107:8096

Everything seems to be working fine for me on my internal network (as far as a noob can tell) however I can't see the server when using emby connect on an external network.

 

I can sign in to it using the remote (WAN) IP address.

 

I have attached my log if that helps.

 

All the users have the Emby connect username associated to them in the user settings on the emby server (already there from the restored config files). When I try to remove any of the emby connect usernames i get the following error

 

"There was an error removing the Emby Connect account. Please ensure you have an active Internet connection and try again."

 

I have installed the server on the same internal ip address and port forwarding is still set up on my router from before. I have tried disabling Norton firewall temporarily but that didn't fix it.

 

Can you see what I am missing?

 

Thank you!

Edited by dwayneson
Link to comment
Share on other sites

dwayneson

Hi All,

 

I have got it working now.

 

It finally ended up letting me remove embyconnect usernames from the users on the server. Once I readded the users and confirmed the account link it all worked fine.

 

No other changes required.

 

Thank you anyway!

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