LinHES Forums
http://forum.linhes.org/

Mythnews and mythbrowser not working after upgrade
http://forum.linhes.org/viewtopic.php?f=22&t=21288
Page 1 of 1

Author:  hartsu [ Fri Aug 20, 2010 10:13 am ]
Post subject:  Mythnews and mythbrowser not working after upgrade

I made an update last night, sudo pacman -Syu.
core-testing and extra-testing repos.

And now mythnews and mythbrowser not working. Any idea ?

I try locate libmythdb-0.23.1.so.0 but not found.

Code:
2010-08-20 18:43:58.995 MythPlugin::init() dlerror: libmythdb-0.23.1.so.0: cannot open shared object file: No such file or directory
2010-08-20 18:43:58.996 Unable to initialize plugin 'mythnews'.
2010-08-20 18:43:58.996 Unable to run plugin 'mythnews': not initialized
2010-08-20 18:44:22.763 MythPlugin::init() dlerror: libmythdb-0.23.1.so.0: cannot open shared object file: No such file or directory
2010-08-20 18:44:22.763 Unable to initialize plugin 'mythbrowser'.
2010-08-20 18:44:22.763 Unable to run plugin 'mythbrowser': not initialized


edit. protocol mismatch ? I got this error in mythweb :
User Notice at /data/srv/httpd/htdocs/mythweb/classes/MythBackend.php, line 100:
Incompatible protocol version (mythweb=23056, backend=56)

Author:  mikemcc11 [ Fri Aug 20, 2010 11:07 am ]
Post subject:  Same issues

I am having the same issue with mythweb and also have lost access to Mythvideo. Select it from the menu and it just sits there like I never made the selection.

Author:  brfransen [ Fri Aug 20, 2010 12:14 pm ]
Post subject: 

Should be fixed now. You will have to reinstall the mythtv and mythweather packages. The package version of mythtv should be 31 and the mythweather package version should be 30.

Author:  mikemcc11 [ Fri Aug 20, 2010 1:21 pm ]
Post subject: 

I am getting mythtv 0.23-32 and mythweb 0.23-29 mythvideo 0.23-29

Author:  hartsu [ Fri Aug 20, 2010 1:49 pm ]
Post subject: 

mikemcc11 wrote:
I am getting mythtv 0.23-32 and mythweb 0.23-29


Same here, (and mythweather 0.23-31).

Author:  brfransen [ Fri Aug 20, 2010 7:33 pm ]
Post subject: 

Delete the mythtv-0.23-32-i686.pkg.tar.gz and mythweather-0.23-31-i686.pkg.tar.gz from your /data/var/cache/pacman/pkg/ directory and then do a pacman -Syu again. The mythweb and mythvideo packages should be fine at version 29 and won't need to be reinstalled.

Author:  hartsu [ Sat Aug 21, 2010 12:42 am ]
Post subject: 

I delete those files and then reinstall (downgrade) mythtv and mythweather packages and everything is fine again.

Thanks for help.

Author:  uteck [ Sat Aug 21, 2010 1:20 am ]
Post subject: 

pacman -Syuu
will downgrade the system to whatever is avlaible, so since only myth and mythweather were mismatched they were downgrade.

Now if only mythweather would not crash the frontend when I try to see the weather, I might be happier.

Author:  mikemcc11 [ Sat Aug 21, 2010 5:25 am ]
Post subject: 

I'm not sure what I did to mess this up, but your procedure fixed it. Thanks...my family was ready to go postal on me....now I look like a genius! You guys are the best!

Author:  tscholl [ Thu Aug 26, 2010 9:32 am ]
Post subject: 

Help!! I just did an update with pacman and now Mythweather is gone from the menu and I get the following message from Mythweb:

Code:
Warning at /data/srv/httpd/htdocs/mythweb/modules/weather/init.php, line 33:
file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/share/mythtv/mythweather/scripts/ca_envcan/envcan.pl) is not within the allowed path(s): (/data/srv/httpd/htdocs/:/home/:/tmp/:/usr/share/pear/:/data/srv/tmp:/usr/share/mythtv/mythweather/scripts/:/data/srv/httpd/htdocs/mythweb/data/video:/myth/ipodfeed:/data/srv/httpd/htdocs/archive:/etc)


What do I need to do to fix this, and get Mythweather back?

The latest listed versions are:
mythtv-0.23-30-i686.pkg.tar.gz
mythweather-0.23-29-i686.pkg.tar.gz
mythweb-0.23-29-i686.pkg.tar.gz

When I look at the contents for the the mythweather it only has
.PKGINFO

Also have some older packages for:
mythweather-0.23-5-i686.pkg.tar.gz
mythtv-0.23-23-i686.pkg.tar.gz
mythweb-0.23-5-i686.pkg.tar.gz

Author:  goofee [ Thu Aug 26, 2010 11:20 am ]
Post subject: 

Older versions of LinHES used open_basedir restrictions. New installs have it commented out. From the error your getting it looks like it's trying to execute some PHP code that is not in the allowable path. Options are to comment it out like new install do, or add the offending path. (about line 253 in /etc/php/php.ini)

I submitted a bug report on mythweather-0.23-29. It says it's closed but I haven't seen it pushed through to stable yet. Looks like the original posters are using testing.

Author:  tscholl [ Thu Aug 26, 2010 2:53 pm ]
Post subject: 

Yes I check to make sure it was closed before I did the update. The path it is complaining about doesn't exist. So couldn't add the path.

Where do I comment out open_basedir restrictions
Code:
Older versions of LinHES used open_basedir restrictions. New installs have it commented out.


And how do I get Myth Weather back on the menu?

Thanks.

Author:  uteck [ Fri Aug 27, 2010 12:40 am ]
Post subject: 

The testing version got it back for me, but crashes Myth so not really an improvement. Since testing is being kind of unstable I stopped using it now.

Author:  tscholl [ Fri Aug 27, 2010 3:45 pm ]
Post subject: 

Update

I commented out the open_basedir = at line 253 in /etc/php/php.ini)
then restarted. That took care of the mythweb error.

But I still don't have mythweather in the menu's of on mythweb. When I pull up the mythweather settings page I get the following error.

Could not find '/usr/share/mythtv/mythweather/scripts/us_nws/nws-alert.pl'.
This most likely means that MythWeather is not installed on this host.

What happened to mythweather? The whole mythweather subdir is gone.

If I untar mythweather-0.23-5-i686.pkg.tar.gz will that fix it and be compatable with everything else?

Author:  tscholl [ Sat Aug 28, 2010 9:11 pm ]
Post subject: 

Update: Resolved

Did another update this evening:
pacman -Syu

Looks like the needed packages are all now available.
After the update everything is working.

Current pkg levels are now:

mythtv-0.23-31-i686.pkg.tar.gz
mythweather-0.23-30-i686.pkg.tar.gz
mythweb-0.23-29-i686.pkg.tar.gz
mythnews-0.23-29-i686.pkg.tar.gz

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/