You are not logged in.
Hey Forum.
After waiting for the new MythTV packages - they're finally arrived.
After installing the all packages - I'd tried to log in to the webinterface to see the new changes:
All I see was the indexing of the dir /home/httpd/html/mythweb
So I log on using SSH to the server and made a ls -lah:
# ls -lah
totalt 20K
drwxr-xr-x 3 nobody nobody 4,0K 3 apr 08:12 .
drwxr-xr-x 3 root root 4,0K 10 dec 22:35 ..
-rw-r--r-- 1 nobody nobody 55 11 dec 19:16 .htdigest
-rw-r--r-- 1 nobody nobody 39 15 jan 23:40 .htpasswd
drwxrwxr-x 4 nobody nobody 4,0K 3 apr 08:12 data
lrwxrwxrwx 1 nobody nobody 15 11 dec 10:21 movies -> /storage/movies
lrwxrwxrwx 1 nobody nobody 14 11 dec 10:21 music -> /storage/music
lrwxrwxrwx 1 nobody nobody 17 26 dec 14:02 pictures -> /storage/pictures
lrwxrwxrwx 1 nobody nobody 16 11 dec 10:21 records -> /storage/records
Where's all the files for the php, html etc etc ???
Isn't that oud - or am I the only one experimenting this little problem ????
----------------------------------------------------------------------------------------------------------------
The next problem is that my Mythbackend arent starting automaticly after rebooting the server:
find this in the mythbackend log:
2008-04-03 08:59:01.055 Main::Registering HttpStatus Extension
2008-04-03 08:59:01.057 mythbackend version: 0.21.20080304-1 www.mythtv.org
2008-04-03 08:59:01.057 Enabled verbose msgs: important
2008-04-03 08:59:01.061 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2008-04-03 08:59:02.871 Seem to be woken up by USER
2008-04-03 09:00:19.831 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2008-04-03 09:15:19.886 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2008-04-03 09:19:00.998 Using runtime prefix = /usr, libdir = /usr/lib
2008-04-03 09:19:01.238 Cannot locate your home directory. Please set the environment variable HOME or MYTHCONFDIR
2008-04-03 09:19:01.465 Failed to init MythContext, exiting.
Then I can restart the server - and everything is working? So don't have a clue of what that can be
Cheers
P
Last edited by peque (2008-04-03 07:53:30)
Just getting better .... All the time
Offline
mythweb has moved to /srv/www/ with phpmyadmin and other web apps. It's a minor annoyance, but still annoying
Kind regards, enrique
Offline
And the post install message from mythweb is also wrong "You must create a symlink from /home/httpd/html/mythweb/video_dir"
Kind regards, enrique
Offline
the new myth needs to upgrade the database schema.
run mythtv-setup to upgrade the schema.
restart mythbackend.
done.
fck art, lets dance.
Offline
And now that I know where mythweb is now...I see there is an INSTALL file in there I should read tonight...
"He is no fool who gives what he cannot keep to gain that which he cannot lose." -Jim Elliot
Offline
Hm, I'm having the problem with "Cannot locate your home directory. Please set the environment variable HOME or MYTHCONFDIR"
Maybe Arch needs a /etc/conf.d/mythbackend to set stuff like that?
Btw, I don't have mythtv's home dir in /home/mythtv but in /shared/mythtv
Kind regards, enrique
Offline
Did you get mythweb back up? I'm about to dive into this but don't want to recreate the wheel. Any "tips" to share?
Offline
I get the mythweb up and running - The only minor change was the move from /home/httpd/html to /srv/www according to the mythweb.
Still after rebooting my server Mythbackend aren't starting by it self, and only working when restarting it manually. Allso after running mythtv-setup again and everything. The mythbackend aren't starting at boot time at it self.
So untill later when fixing this problem - i made a manual restart in /etc/rc.local and then it'll work!
Just getting better .... All the time
Offline
fck art, lets dance.
Offline
I fixed by adding "HOME=/shared/mythtv" to /etc/conf.d/mythbackend (which I created) and "[ -f /etc/conf.d/mythbackend ] && . /etc/conf.d/mythbackend" to /etc/rc.d/mythbackend
It only fixes it until next update, and I should probably open a bug report on it
Kind regards, enrique
Offline
Well - I just added my user than runs everything under MythTV user = myth to /etc/rc.d/mythbackend the line
export=MYTHCONFIGDIR=/home/myth
But again only fix the problem untill the next release!
And the backendserver starts upon reboot!
Dejligt at se en Dansker her :-)
Just getting better .... All the time
Offline
I'm still having trouble getting myth to start up.
I tried both fixes noted; do these have to go in a particular place in /etc/rc.d/mythbackend?
I get an error with both, it flashes just before I get to the command line, but I cannot find the error in dmesg or any log file after I am at the command line, so it's difficult to track it down.
Something about prefix and /usr.
Offline
Try adding
read KEY
to the end of /etc/rc.local , then the startup sequence will wait there until you press a key
You should add one of the fixes at the beginning of /etc/rc.d/mythbackend
Kind regards, enrique
Offline
I fixed this by adding
HOME=/root
to my /etc/rc.conf, since /etc/rc.d/mythbackend sources /etc/rc.conf. I feel this is a more appropriate solution than editing /etc/rc.d/mythbackend since it will survive a mythtv upgrade.
Offline