[mythtv-commits] Ticket #4013: Prompt before upgrading database schema
MythTV
mythtv at cvs.mythtv.org
Sun Oct 14 11:05:31 UTC 2007
#4013: Prompt before upgrading database schema
-------------------------+--------------------------------------------------
Reporter: nigel | Owner: ijr
Type: enhancement | Status: closed
Priority: minor | Milestone: 0.21
Component: mythtv | Version: head
Severity: medium | Resolution: fixed
Mlocked: 0 |
-------------------------+--------------------------------------------------
Comment(by stev391):
My backend refused to automatically update the database schema. It
defaulted to no when queried to continue when stating that a database
backup should be performed. It did default to yes to the first question.
It took my ssh session as a none interactive console and would not let me
input values. I had to run an X session without the frontend to run
mythtv-setup to confirm that I wanted it to update.
This is what it stated (with or without interactive console) without any
verbose commands:
''
2007-10-14 20:39:55.511 Using runtime prefix = /usr
2007-10-14 20:39:55.537 New DB connection, total: 1
2007-10-14 20:39:55.541 Connected to database 'mythconverg' at host:
localhost
2007-10-14 20:39:55.543 Current Schema Version: 1199
Warning: MythTV wants to upgrade your database schema, from 1199 to 1200.
Shall I upgrade this database? [yes]
[console is not interactive, using default 'yes']
A database backup might be a good idea
Are you sure you want to upgrade? [no]
[console is not interactive, using default 'no']
2007-10-14 20:39:55.549 Couldn't upgrade database to new schema
2007-10-14 20:40:02.36 /root/bin/mythmon: mythbackend not running!!!
2007-10-14 20:50:01.202 /root/bin/mythmon: mythbackend not running!!!
''
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/4013#comment:3>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list