Jump to content

Shield Server Restart Too Complex.


Netfool

Recommended Posts

Netfool

It is way too easy to corrupt internal data structures in the Android TV version of Emby Server on the Nvidia Shield Pro by restarting the set-top box when scheduled tasks are running in the Emby Server.  The Emby Client TV UI has no indication scheduled tasks are running. While the TV UI for the Emby Server does have a shut-down button, it does not show if any scheduled processes are running, and when I've attempted to use it there has not been a clear indication that the shutdown process has completed successfully.

The proper restart procedure is to open the webUI admin dashboard on a computer or tablet and ensure that no scheduled tasks are in process.  Then shut down the server using the power button at the top of the dashboard.   Finally go to the TV UI on the Android TV device and restart the set-top box. 

Keep in mind that any user of the Shield Remote is able to restart the server and thus potentially corrupt the database.  Not an optimal situation, but unavoidable unless Nvidia password protects the Shield's admin interface.

If it's not possible to add a restart option to the WebUI dashboard, then there should at least be an indication on the Emby Client Home Screen that a Sheild restart is unsafe.  It could be as simple as small round indicator that is red when there are scheduled tasks running and green otherwise.  And the TV UI for the Emby Server should certainly indicate that there are processes running.

 

Link to comment
Share on other sites

Hi, the button in the tv ui triggers the same shutdown process as the web UI, so there shouldn't be any difference.

But yes you are right that there are aspects to the restart process that are difficult and it's something we'll be looking to improve in future updates. Thanks for the feedback.

Link to comment
Share on other sites

Netfool
23 hours ago, Luke said:

Hi, the button in the tv ui triggers the same shutdown process as the web UI, so there shouldn't be any difference.

I beg to differ, there is a huge difference: Visibility. From the webUI you can see if there is a running task that could corrupt the database if interrupted by a restart. From the TV UI you can't.

Edited by Netfool
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...