Jump to content

Change of Server executable and folder name?


Go to solution Solved by Luke,

Recommended Posts

Posted

I noticed recently (as some custom scripts I have stopped working) that the folder name and executable for Emby Server on Windows have changed.

 

Am I right in thinking that the main server exe is now:

 

C:\Users\<username>\AppData\Roaming\Emby-Server\system\EmbyServer.exe

 

and the process is just: EmbyServer

 

Also, is there a way to start the tray icon without restarting the server? I have seen recently that the server process will stay running but the icon disappears.

  • Solution
Posted

Yes, this was changed a couple months ago. Just use EmbyServer.exe exactly the same way as you were using the previous one. Thanks.

  • Like 1
Posted

OK that's fine.

 

And the tray icon?

Posted

No it is bound to the server.

Posted

ok thanks.

Posted

If you are having issues with the icon closing on it's own, then let's look into that. Is that actually happening?

Posted (edited)

Yes the icon kept closing and the server exe crashing with odd sqllite errors.

 

Mostly when the "scan media library" task ran.

 

This was the reason I renamed the library.db.

 

Seems better now although restoring user play states seems to not take effect for some reason.

 

I've attached the log from the restore and cannto see why the play states are not taking effect. Any ideas?

Log.txt

Edited by Crestj
Posted

Turned debugging on and found this during a restore:

 

2017-12-20 11:24:23.532 Info HttpServer: HTTP Response 404 to 192.168.86.26. Time: 195ms. http://192.168.86.77:8096/web/configurationpage?v=3.2.50.0
2017-12-20 11:24:39.452 Info HttpServer: HTTP POST http://192.168.86.77:8096/emby/MBBackup/Profiles/Restore. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
2017-12-20 11:24:39.528 Info Server Configuration Backup: Restore of Emby Backup - 2017-12-19 07.28.11 - Auto Started
2017-12-20 11:24:39.547 Info Server Configuration Backup: Copied up P:\ServerFolders\Software\MediaBrowser Server Backup\Emby Backup - 2017-12-19 07.28.11 - Auto\users\Tony.and.Rachel\config.xml to C:\Users\admin\AppData\Roaming\Emby-Server\config\users\a3f7362e3ff54b53bd53eb68ddb9d2ad\config.xml
2017-12-20 11:24:39.554 Info Server Configuration Backup: Copied up P:\ServerFolders\Software\MediaBrowser Server Backup\Emby Backup - 2017-12-19 07.28.11 - Auto\users\Tony.and.Rachel\folder.jpg to C:\Users\admin\AppData\Roaming\Emby-Server\config\users\a3f7362e3ff54b53bd53eb68ddb9d2ad\folder.jpg
2017-12-20 11:24:39.559 Info Server Configuration Backup: Copied up P:\ServerFolders\Software\MediaBrowser Server Backup\Emby Backup - 2017-12-19 07.28.11 - Auto\users\Tony.and.Rachel\policy.xml to C:\Users\admin\AppData\Roaming\Emby-Server\config\users\a3f7362e3ff54b53bd53eb68ddb9d2ad\policy.xml
2017-12-20 11:24:39.564 Info Server Configuration Backup: Copied up P:\ServerFolders\Software\MediaBrowser Server Backup\Emby Backup - 2017-12-19 07.28.11 - Auto\users\Tony.and.Rachel\sec.txt to C:\Users\admin\AppData\Roaming\Emby-Server\config\users\a3f7362e3ff54b53bd53eb68ddb9d2ad\sec.txt
2017-12-20 11:24:39.567 Info Server Configuration Backup: Restored user Tony.and.Rachel
2017-12-20 11:24:40.395 Error Server Configuration Backup: XXXX Could not find target user null to restore user data.
2017-12-20 11:24:40.395 Info Server Configuration Backup: Restore Completed. Total time: 0m 0.867s

Happy2Play
Posted

I thought you couldn't make users with Spaces in the name, or at least restore them.

Posted

The username has full stops as spaces.

 

Tony.and.Rachel

 

To be honest I even tried to create a new user called temp and restore the play states from that but that didn't work either.

Happy2Play
Posted

The username has full stops as spaces.

 

Tony.and.Rachel

 

To be honest I even tried to create a new user called temp and restore the play states from that but that didn't work either.

Has a initial Library scan finished?

Posted

Yes it took nearly 5 hours so I left it overnight.

Posted

Just been through the other 5 users and they all had their play states restored.

 

This has happened twice now and I wonder if the user name is the issue as both times it was this user that had a problem.

 

I've now recreated the play states for this user manually but it would be good to know why this happens so if it happens again I know the backups that the plugin is taking is actually usuable.

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