[mythtv-users] Did MythWeb 0.16 fry anyone elses gentoo machine?
Stephen Tait
tait at digitallaw.co.uk
Thu Sep 16 13:13:49 EDT 2004
>
>I recently installed some software that had an apache frontend. I
>haven't updated my gentoo system in awhile, and it didn't effect
>mythweb, but it did install the apache files in
>/usr/share/webapps/program/version/htdocs/program...so it didn't work
>in apache like I thought it would. All I did to work around it was
>create a symlink to it from /var/www/localhost/htdocs/program. You
>could try that. Let me know how it goes, I'm just waiting for some
>free time so I can upgrade my backend and frontend.
>
>eric
<rant intensity=200%>
Again, tried the symlink thing, still no dice.
This is *really* pissing me off now. Why do I have to use this shitty
webapp-config thing in the first place? Why has some errant program I don't
need gone and trampled all over my apache installation, rendering it
completely and utterly useless? Even after completely and utterly excising
mythweb and webcrapp-config from my system *and* reinstalling apache, I
can't get the fscking thing to serve up a single web page.
No-one on the forums knows anything, and the documentation is so poor as to
not warrant the title. Nothing in the error logs except "denied, denied,
denied". Here's the ridiculously complicated and overconvoluted process
mythweb now goes through, rather than the more prosaic "un-tar.gz to some
directory": I had to divert it all to logs because in a typical emerge this
all happens in the space of about 2 seconds.
* You already have something installed in /var/www/localhost/htdocs/mythweb
* Are you trying to install over the top of something I cannot upgrade?
*
* I can upgrade the contents of /var/www/localhost/htdocs/mythweb
*
>>> Unpacking source...
>>> Unpacking mythweb-0.16.tar.bz2 to /var/tmp/portage/mythweb-0.16/work
>>> Source unpacked.
>>> Install mythweb-0.16 into /var/tmp/portage/mythweb-0.16/image/
category www-apps
* (server owned) htdocs/video_dir
* (server owned) htdocs/image_cache
* (config) htdocs/config/conf.php
* (rtfm) /usr/portage/www-apps/mythweb/files/postinstall-en.txt (lang: en)
man:
prepallstrip:
strip:
strip:
>>> Completed installing into /var/tmp/portage/mythweb-0.16/image/
Calculating dependencies ...done!
>>> emerge (1 of 1) www-apps/mythweb-0.16 to /
*** Adjusting cvs-src permissions for portage user...
>>> md5 src_uri ;-) mythweb-0.16.tar.bz2
>>> Merging www-apps/mythweb-0.16 to /
--- /usr/
--- /usr/share/
--- /usr/share/webapps/
--- /usr/share/webapps/mythweb/
--- /usr/share/webapps/mythweb/0.16/
--- /usr/share/webapps/mythweb/0.16/htdocs/
>>> /usr/share/webapps/mythweb/0.16/htdocs/channel_detail.php
--- /usr/share/webapps/mythweb/0.16/htdocs/config/
>>> /usr/share/webapps/mythweb/0.16/htdocs/config/conf.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/config/theme_Default.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/config/theme_compact.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/config/theme_vxml.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/config/theme_wap.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/config/weathertypes.dat
>>> /usr/share/webapps/mythweb/0.16/htdocs/favourites.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/footer.php
--- /usr/share/webapps/mythweb/0.16/htdocs/images/
>>> /usr/share/webapps/mythweb/0.16/htdocs/images/left.gif
>>> /usr/share/webapps/mythweb/0.16/htdocs/images/1x1.gif
--- /usr/share/webapps/mythweb/0.16/htdocs/images/icons/
>>> /usr/share/webapps/mythweb/0.16/htdocs/images/icons/.cvsignore
>>> /usr/share/webapps/mythweb/0.16/htdocs/images/right.gif
--- /usr/share/webapps/mythweb/0.16/htdocs/includes/
>>> /usr/share/webapps/mythweb/0.16/htdocs/includes/channels.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/includes/errordisplay.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/includes/errors.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/includes/init.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/includes/mythbackend.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/includes/programs.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/includes/recordings.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/includes/sorting.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/includes/utils.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/index.html
--- /usr/share/webapps/mythweb/0.16/htdocs/languages/
>>> /usr/share/webapps/mythweb/0.16/htdocs/languages/English.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/languages/French.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/languages/German.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/languages/Japanese.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/languages/Nederlands.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/languages/Swedish.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/legend.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/mythmusic.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/program_detail.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/program_listing.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/recorded_programs.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/recording_schedules.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/schedule_manually.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/scheduled_recordings.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/search.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/settings.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/settings_channels.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/settings_keys.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/settings_mythweb.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/status.php
--- /usr/share/webapps/mythweb/0.16/htdocs/themes/
--- /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/
--- /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/
--- /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/cloudy.png
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/fair.png
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/flurries.png
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/fog.png
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/logo.png
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/lshowers.png
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/mcloudy.png
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/pcloudy.png
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/rainsnow.png
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/showers.png
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/snowshow.png
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/sunny.png
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/thunshowers.png
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/weather/unknown.png
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/leftwhite.png
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/mythtv-logo.png
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/rightwhite.png
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/img/spacer.gif
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/channel_detail.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/css.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/init.js
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/mythmusic.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/pngbehavior.htc
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/program_detail.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/program_listing.php
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/recorded_programs.php
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/recording_schedules.php
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/schedule_manually.php
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/scheduled_recordings.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/search.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/settings.php
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/Default/settings_channels.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/settings_keys.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/settings_mythweb.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/style.css
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/theme.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/video.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/Default/weather.php
--- /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/
--- /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/img/
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/img/mythtv-logo.gif
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/channel_detail.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/css.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/init.js
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/movie_list.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/mythmusic.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/program_detail.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/program_listing.php
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/compact/recorded_programs.php
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/compact/scheduled_recordings.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/search.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/style.css
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/theme.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/compact/utils.php
--- /usr/share/webapps/mythweb/0.16/htdocs/themes/vxml/
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/vxml/channel_detail.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/vxml/css.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/vxml/program_detail.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/vxml/program_listing.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/vxml/recorded_programs.php
>>>
/usr/share/webapps/mythweb/0.16/htdocs/themes/vxml/scheduled_recordings.php
>>> /usr/share/webapps/mythweb--- cfgpro file config/conf.php
--- !empty dir config
--- !empty dir /var/www/localhost/htdocs/mythweb
* Remove whatever is listed above by hand
* Cannot find file /var/www/localhost/htdocs/mythweb/.webapp
Fatal error: No package installed in /var/www/localhost/htdocs/mythweb
Fatal error(s) - aborting
/0.16/htdocs/themes/vxml/search.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/vxml/style.css
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/vxml/theme.php
--- /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/
--- /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/img/
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/img/mythtv-logo.gif
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/img/spacer.gif
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/channel_detail.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/css.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/program_detail.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/program_listing.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/recorded_programs.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/scheduled_recordings.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/search.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/style.css
>>> /usr/share/webapps/mythweb/0.16/htdocs/themes/wap/theme.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/video.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/video_edit.php
--- /usr/share/webapps/mythweb/0.16/htdocs/vxml/
>>> /usr/share/webapps/mythweb/0.16/htdocs/vxml/index.vxml
>>> /usr/share/webapps/mythweb/0.16/htdocs/vxml/securemenu.vxml
>>> /usr/share/webapps/mythweb/0.16/htdocs/vxml/voicemail.vxml
>>> /usr/share/webapps/mythweb/0.16/htdocs/weather.php
>>> /usr/share/webapps/mythweb/0.16/htdocs/video_dir/
>>> /usr/share/webapps/mythweb/0.16/htdocs/image_cache/
>>> /usr/share/webapps/mythweb/0.16/hostroot/
>>> /usr/share/webapps/mythweb/0.16/hostroot/cgi-bin/
>>> /usr/share/webapps/mythweb/0.16/hostroot/icons/
>>> /usr/share/webapps/mythweb/0.16/hostroot/error/
>>> /usr/share/webapps/mythweb/0.16/sqlscripts/
>>> /usr/share/webapps/mythweb/0.16/hooks/
>>> /usr/share/webapps/mythweb/0.16/conf/
>>> /usr/share/webapps/mythweb/0.16/server-owned-files
>>> /usr/share/webapps/mythweb/0.16/config-files
>>> /usr/share/webapps/mythweb/0.16/postinst-en.txt
>>> /usr/share/webapps/mythweb/0.16/installed_by_webapp_eclass
--- /usr/share/doc/
--- /usr/share/doc/mythweb-0.16/
>>> /usr/share/doc/mythweb-0.16/README.gz
>>> /usr/share/doc/mythweb-0.16/TODO.gz
--- /var/
--- /var/db/
--- /var/db/webapps/
--- /var/db/webapps/mythweb/
--- /var/db/webapps/mythweb/0.16/
>>> /var/db/webapps/mythweb/0.16/.keep
>>> Safely unmerging already-installed instance...
--- !mtime obj /var/db/webapps/mythweb/0.16/.keep
--- !mtime obj /usr/share/webapps/mythweb/0.16/server-owned-files
--- !mtime obj /usr/share/webapps/mythweb/0.16/postinst-en.txt
--- !mtime obj /usr/share/webapps/mythweb/0.16/installed_by_webapp_eclass
--- !mtime obj /usr/share/webapps/mythweb/0.16/htdocs/weather.php
--- !mtime obj /usr/share/webapps/mythweb/0.16/htdocs/vxml/voicemail.vxml
--- !mtime obj /usr/share/webapps/mythweb/0.16/htdocs/vxml/securemenu.vxml
--- !mtime
What the hell is this .webapp file I appear to be missing?! Where am I
meant to get it from? What's meant to be in it? Does the documentation say
anything at all? No. Why is gentoo installing to /usr/share/webapps/mythweb
and *again* into /var/www/localhost/htdocs without even using a damned
symlink? I don't want any of this virtual host crap! I'd install mythweb
manually (it's a simple tar jxvf, right?), but obviously with apache being
totally buggered and serving about as many pages as an IIS in the middle of
a nimda outbreak there's not an awful lot of point to it.
AAAAAARGH I am so fscking incensed by this entire bloody thing I might have
to go out and commit random acts of violence on innocent furniture. WHAT
THE HELL DO YOU DO TO APACHE TO RENDER IT COMPLETELY AND UTTERLY USELESS TO
EVERYTHING?!?! How is it even possible to make everything result in a 403
forbidden?
I'm going to go and cry.</rant>
Further wiggling about in the forums has shown alot of other people having
problems with web applications, but none so far have had their entire
/var/www trees rendered 403 only. There's some semblance of documentation
here http://www.gentoo.org/proj/en/glep/glep-0011.html that I shall peruse.
P.S. thanks for the pointers guys, you've been a helluva lot (infinitely, I
dare say) more useful than the gentoo forums. I'm going to explode the
ebuilds and the source of this webcrap-config thing and see if I can figure
out what they did, and why. Then the whole lot will probably get cfdisk'ed
to save me having a damned hernia.
More information about the mythtv-users
mailing list