[mythtv-users] 'Not allowed to upgrade the database'
John Pilkington
J.Pilk at tesco.net
Mon Apr 22 16:23:29 UTC 2013
On 22/04/13 15:53, Michael T. Dean wrote:
> On 04/22/2013 10:41 AM, John Pilkington wrote:
>> Hi: I've just converted my main box from ATrpms-based 0.25.3 to
>> rpmfusion-based 0.26.0-7 under Fedora 17 x86_64. That also required a
>> move from nVidia 304.51 to 304.64.
>>
>> Most things seem ok, apart from MythTV. Running mythtvsetup causes an
>> immediate return to the login screen. When I first ran mythbackend it
>> said it needed the mysql_to_utc setting, and now it says:
>>
>>> 2013-04-22 15:19:48.713673 N Using configuration directory =
>>> /home/John/.mythtv
>>> 2013-04-22 15:19:48.713855 I Assumed character encoding: en_GB.UTF-8
>>> 2013-04-22 15:19:48.714528 N Empty LocalHostName.
>>> 2013-04-22 15:19:48.714544 I Using localhost value of gateway12
>>> 2013-04-22 15:19:48.719679 I Added logging to the console
>>>
>>> This version of MythTV requires an updated database. (schema is 8
>>> versions behind)
>>>
>>> Please run mythtv-setup or mythbackend to update your database.
>>>
>>> Database Host: localhost
>>> Database Name: mythconverg
>>>
>>> 2013-04-22 15:19:48.956082 I Starting mythlogserver
>>> 2013-04-22 15:19:48.959301 I Starting IO manager (write)
>>> 2013-04-22 15:19:48.959466 I Starting process signal handler
>>> 2013-04-22 15:19:48.967312 I Starting IO manager (read)
>>> 2013-04-22 15:19:48.967393 I Starting process manager
>>> 2013-04-22 15:19:48.968967 N Setting QT default locale to en_GB
>>> 2013-04-22 15:19:48.969062 I Current locale en_GB
>>> 2013-04-22 15:19:48.969131 N Reading locale defaults from
>>> /usr/share/mythtv//locales/en_gb.xml
>>> 2013-04-22 15:19:48.980609 I Current MythTV Schema Version
>>> (DBSchemaVer): 1299
>>> 2013-04-22 15:19:48.980648 W Not allowed to upgrade the database.
>>> 2013-04-22 15:19:48.983271 E Couldn't upgrade database to new schema
>>> 2013-04-22 15:19:49.413511 I Added logging to mythlogserver at
>>> TCP:35327
>>
>>
>>
>> I'm doing this from the Konsole, just typing 'mythtvsetup' or
>> 'mythbackend', which is what I have usually done. Am I running up
>> against a startup script or appearing as the wrong user, or on the
>> wrong host?
>
> mythbackend can only update the database schema if run on the master
> backend.
>
> However, it is /always/ recommended to run mythtv-setup to update the
> database schema after any upgrade. mythtv-setup has a GUI that will
> show you what's going on and confirm that you do, in fact, want to
> upgrade the schema (which is a non-reversible process).
>
> Please show the log output from running mythtv-setup so we can figure
> out why it's shutting down.
>
> Mike
Thanks Mike, Steve. I had added the timezone stuff earlier and the test
output matched that expected.
I've just been trying an older version of xorg.conf because my recent
two-screen version has restarted X more often than seemed necessary, but
things are much the same. A log from mythtvsetup -v most looks
unremarkable but ends like this:
> 2013-04-22 16:52:02.253659 I [5206/5206] CoreContext
mythudplistener.cpp:32 (Enable) - UDPListener: Enabling
> 2013-04-22 16:52:02.258715 I [5206/5206] CoreContext serverpool.cpp:482 (bind) - Binding to UDP 127.0.0.1:6948
> 2013-04-22 16:52:02.259064 I [5206/5206] CoreContext serverpool.cpp:482 (bind) - Binding to UDP [::1]:6948
> 2013-04-22 16:52:02.259433 I [5206/5206] CoreContext serverpool.cpp:482 (bind) - Binding to UDP [fe80::219:d1ff:fe4c:7a6e%eth0]:6948
> 2013-04-22 16:52:02.294361 I [5206/5206] CoreContext mythuihelper.cpp:1399 (LoadScalePixmap) - MythUIHelper: LoadScalePixmap(/usr/share/mythtv/themes/MythCenter-wide/ui/background.png)
> 2013-04-22 16:52:02.416178 I [5206/5206] CoreContext mythmainwindow.cpp:1020 (Init) - Trying the OpenGL painter
> 2013-04-22 16:52:02.416239 I [5206/5206] CoreContext mythpainter.cpp:600 (SetMaximumCacheSizes) - MythPainter cache sizes: Hardware 96 MB, Software 96 MB
> 2013-04-22 16:52:02.486065 I [5206/5206] CoreContext mythrender_opengl.cpp:76 (Create) - OpenGL: Sync to VBlank is enabled (good!)
and suggests to me that the OpenGL painter might be at fault. I
remember that I tried nvidia 304.64 from ATrpms but reverted to 304.51;
304.64 from rpmfusion is what I have now. Can I deactivate OpenGL
without being able to run mythtvsetup? And is that likely to affect the
DB upgrade?
John P
More information about the mythtv-users
mailing list