Bug #705

Upgrade script assumes that it is run in xterm

Added by christian over 14 years ago. Updated almost 13 years ago.

Status:Closed Start date:07/03/2010
Priority:Normal Due date:01/10/2011
Assignee:jams % Done:

0%

Category:Installation/Upgrade Spent time: 6.00 hours
Target version:7.1

Description

I was browsing through the recent upgrade script for 6.03 (upgrade_linhes.sh) and noticed in one section (where it starts the schema upgrade) that it tries to open an xterm. I expect this to throw an error and potentially fail the script if you are executing from ssh or similar.

A suggestion would be to check the terminal type and if this is not being run from X then the script should instead say something like "you appear to be doing this from a terminal window, open another terminal and verify that the backend has completed its upgrades by monitoring /var/log/mythtv/mythbackend.log"

In the forum, I noted girkers also tripped on this by accident as the warning doesn't happen until the schema upgrade already began.

History

Updated by girkers over 14 years ago

This could be solved in two ways, 1 as aforementioned OR ensure the documentation is up to date and specify how it should be run, i.e. "Must be run from an xterminal within an X11 session on the master backend/frontend"

Updated by cecil over 13 years ago

  • Due date set to 01/10/2011
  • Assignee set to cecil
  • Category set to Installation/Upgrade
  • Target version set to 7.1

Updated by jams almost 13 years ago

  • Assignee changed from cecil to jams
  • Status changed from New to Closed

update screen now runs in a terminal/screen session.

Also available in: Atom PDF