You are not logged in.

#1 2009-11-21 09:39:57

sip03ds
Member
Registered: 2009-07-09
Posts: 21

Mythbackend problem after update

I am facing the following problem after updating mythtv.

The installed packages are:

sip03ds ~ $ sudo yaourt -Ss mythtv | grep installed
extra/mythmusic 0.21-3 [installed] (mythtv-extras)
extra/mythtv 0.22-3 [installed] (pvr)
extra/mythvideo 0.21-2 [installed] (mythtv-extras)
extra/nuvexport 20090413-1 [installed]

after updating mythtv the backend refuses to start. Even though is displays that it is starting normally:

sip03ds ~ $ sudo /etc/rc.d/mythbackend start
:: Starting MythTV Backend                                                                                             [DONE]
sip03ds ~ $

for some reason it shows that the backend is unavailable.

sip03ds ~ $ mythfrontend                                                                                                      
2009-11-21 10:32:59.615 mythfrontend version: tags/release-0-22 [0.22] www.mythtv.org                                         
2009-11-21 10:32:59.668 Using runtime prefix = /usr                                                                           
2009-11-21 10:32:59.668 Using configuration directory = /home/sip03ds/.mythtv                                                 
2009-11-21 10:33:00.548 Empty LocalHostName.                                                                                  
2009-11-21 10:33:00.549 Using localhost value of htpc                                                                         
2009-11-21 10:33:00.570 New DB connection, total: 1                                                                           
2009-11-21 10:33:00.587 Connected to database 'mythconverg' at host: htpc                                                     
2009-11-21 10:33:00.588 Could not open settings file /home/sip03ds/.mythtv/config.xml for writing                             
2009-11-21 10:33:00.588 Closing DB connection named 'DBManager0'                                                              
2009-11-21 10:33:00.631 ScreenSaverX11Private: Gnome screen saver support enabled                                             
2009-11-21 10:33:00.667 DPMS is active.                                                                                       
2009-11-21 10:33:00.710 Primary screen: 0.                                                                                    
2009-11-21 10:33:00.719 Connected to database 'mythconverg' at host: htpc                                                     
2009-11-21 10:33:00.723 Using screen 0, 1280x800 at 0,0                                                                       
2009-11-21 10:33:00.823 MythUI Image Cache size set to 20971520 bytes                                                         
2009-11-21 10:33:00.824 Enabled verbose msgs:  important general                                                              
2009-11-21 10:33:00.889 Starting mythlcdserver                                                                                
QWidget: Cannot create a QWidget when no GUI is being used                                                                    
2009-11-21 10:33:01.408 Connecting to lcd server: localhost:6545 (try 1 of 10)                                                
2009-11-21 10:33:01.911 Connecting to lcd server: localhost:6545 (try 2 of 10)                                                
2009-11-21 10:33:02.412 Connecting to lcd server: localhost:6545 (try 3 of 10)                                                
2009-11-21 10:33:02.913 Connecting to lcd server: localhost:6545 (try 4 of 10)                                                
2009-11-21 10:33:03.414 Connecting to lcd server: localhost:6545 (try 5 of 10)                                                
2009-11-21 10:33:03.915 Connecting to lcd server: localhost:6545 (try 6 of 10)                                                
2009-11-21 10:33:04.416 Connecting to lcd server: localhost:6545 (try 7 of 10)                                                
2009-11-21 10:33:04.917 Connecting to lcd server: localhost:6545 (try 8 of 10)                                                
2009-11-21 10:33:05.417 Connecting to lcd server: localhost:6545 (try 9 of 10)                                                
2009-11-21 10:33:05.918 Connecting to lcd server: localhost:6545 (try 10 of 10)                                               
2009-11-21 10:33:06.471 Primary screen: 0.                                                                                    
2009-11-21 10:33:06.473 Using screen 0, 1280x800 at 0,0                                                                       
2009-11-21 10:33:06.475 Using theme base resolution of 800x600                                                                
2009-11-21 10:33:06.500 LIRC, Error: Failed to connect to Unix socket '/var/run/lirc/lircd'                                   
                        eno: No such file or directory (2)                                                                    
2009-11-21 10:33:06.500 JoystickMenuThread Error: Joystick disabled - Failed to read /home/sip03ds/.mythtv/joystickmenurc     
2009-11-21 10:33:08.531 Using the Qt painter
2009-11-21 10:33:08.535 Removing stale cache dir: /home/sip03ds/.mythtv/themecache/MythCenter-wide.1280.800
2009-11-21 10:33:08.557 Loaded base theme from /usr/share/mythtv/themes/MythCenter/base.xml
2009-11-21 10:33:08.891 Loaded base theme from /usr/share/mythtv/themes/default/base.xml
2009-11-21 10:33:08.897 New DB connection, total: 2
2009-11-21 10:33:08.897 New DB connection, total: 3
2009-11-21 10:33:08.902 New DB connection, total: 4
2009-11-21 10:33:08.906 Current MythTV Schema Version (DBSchemaVer): 1244
2009-11-21 10:33:08.910 Connected to database 'mythconverg' at host: htpc
2009-11-21 10:33:08.926 Connected to database 'mythconverg' at host: htpc
2009-11-21 10:33:08.927 Connected to database 'mythconverg' at host: htpc
2009-11-21 10:33:09.589 Desktop video mode: 1280x800 59.9125 Hz
2009-11-21 10:33:10.602 Registering Internal as a media playback plugin.
2009-11-21 10:33:10.958 MythPlugin::init() dlerror: /usr/lib/mythtv/plugins/libmythmusic.so: undefined symbol: _ZNK15ComboBoxSetting9classNameEv
2009-11-21 10:33:10.958 Unable to initialize plugin 'mythmusic'.
2009-11-21 10:33:11.230 MythPlugin::init() dlerror: /usr/lib/mythtv/plugins/libmythvideo.so: undefined symbol: _ZNK7Setting9classNameEv
2009-11-21 10:33:11.230 Unable to initialize plugin 'mythvideo'.
2009-11-21 10:33:11.248 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
                        eno: No such file or directory (2)
2009-11-21 10:33:11.259 MMUnix::AddDevice() Error: failed to stat /dev/power,
                        eno: No such file or directory (2)
2009-11-21 10:33:11.271 Loading window theme from /usr/share/mythtv/themes/MythCenter/menu-ui.xml
2009-11-21 10:33:11.377 Loading menu theme from /usr/share/mythtv/themes/defaultmenu//mainmenu.xml
2009-11-21 10:33:11.381 Found mainmenu.xml for theme 'MythCenter'

Any ideas or logs where to check would be more that appreciated.

Thanks

Last edited by sip03ds (2009-11-21 09:40:36)

Offline

#2 2009-11-21 10:17:05

fastfret79
Member
Registered: 2009-09-05
Posts: 87

Re: Mythbackend problem after update

As I found out here http://bbs.archlinux.org/viewtopic.php?id=85090 you need to uninstall all your plugins.

You also need to run mythtv-setup first (without the backend running) for it to upgrade your database

You can re-build all your plugins through ABS to get them working again.

Offline

#3 2009-11-21 12:03:30

sip03ds
Member
Registered: 2009-07-09
Posts: 21

Re: Mythbackend problem after update

The problem is that I am using mythtv as a DLNA server in order to broadcast music and video to TV sets and not for TV viewing / recording, the point of using mythtv is using the pluging abilities it gives :-(

Offline

#4 2009-11-21 12:28:29

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Mythbackend problem after update

sip03ds wrote:

The problem is that I am using mythtv as a DLNA server in order to broadcast music and video to TV sets and not for TV viewing / recording, the point of using mythtv is using the pluging abilities it gives :-(

read what fastfret79 said again....

especially:

You can re-build all your plugins through ABS to get them working again.

Offline

#5 2009-11-21 13:51:37

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: Mythbackend problem after update

how do i setup the new release of mythtv? the wiki seems to be outdated after the update. i can't import this mysql database thingy hmm

Offline

#6 2009-11-21 22:18:29

sip03ds
Member
Registered: 2009-07-09
Posts: 21

Re: Mythbackend problem after update

I removed all the plugins and reinstalled mythtv. Configured it as advised on the wiki (without dropping the database schema) but the server is still not starting up correctly.

I found out that the server is starting and and stopping when I run:

sudo /etc/rc.d/mythbackend start

when I start the front end, the front end cannot connect to the back end because it is unavailable.

in case I start the server manually:

sudo mythbackend

I am able to connect via mythfrontend and mythtv is working correctly. Any suggestions to change the daemon script ?

Last edited by sip03ds (2009-11-21 22:56:51)

Offline

#7 2009-11-21 22:59:46

sip03ds
Member
Registered: 2009-07-09
Posts: 21

Re: Mythbackend problem after update

arch0r wrote:

how do i setup the new release of mythtv? the wiki seems to be outdated after the update. i can't import this mysql database thingy hmm

check the installation guide:

http://www.mythtv.org/wiki/User_Manual: … stallation

MythTV database setup

Offline

Board footer

Powered by FluxBB