Author |
Message |
Xsecrets
|
Posted: Wed Nov 03, 2004 10:12 pm |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
you are correct the script deletes all the links then recreates them instead of trying to just delete the ones that are no longer good. this makes since because they are just symlinks and it's not resource intensive to delete or create them.
the thread you are looking for about the mythpretty/mythlink being broken and the fix is here
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
 |
tjc
|
Posted: Wed Nov 03, 2004 10:18 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Pretty folder fix was posted less than a week after R4V5 came out. There is a bug in the script. and possibly some permissions issues, but my memory isn't yeilding the details right now. (It's been a rough week and it's only Wednesday...)
|
|
Top |
|
 |
tjc
|
Posted: Wed Nov 03, 2004 10:34 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Usogi wrote: still happening =/
I tried turning it off in the settings, and I also tried setting it to run my script instead of normal mythfilldatabase, neither worked.
Did you check BOTH crontabs like I said?
- log in as root
- run crontab -l
- run crontab -u mythtv -l
Also check the housekeeping table which I believe is where the setup GUI writes this, and the settings table just for good measure:
Code: mysql mythconverg -e "select * from housekeeping;" mysql mythconverg -e "select * from settings;" | more Here is what the crontabs look like on my box: Code: root@black:/var/log # crontab -l #Runs "pretty" script at 5 and 35 after every hour. 5,35 * * * * nice -n 19 /usr/local/bin/mythlink.sh 3 10 * * * /usr/local/bin/mythtv-update-listings.sh root@black:/var/log # crontab -u mythtv -l no crontab for mythtv
|
|
Top |
|
 |
Usogi
|
Posted: Thu Nov 04, 2004 2:07 am |
|
Joined: Wed Sep 08, 2004 5:12 pm
Posts: 15
|
First off, thank you very much for the link. Was very kind of you to go find that for me.
Second off, yes I did try contrab -l with all accounts. root, mythtv and the username 'jamesu' it had me make when I first installed knoppmyth. all but root were empty and its was just the 3 commands I posted a few back.
I had some trouble with the mysql commands you gave me, and cause of my net I couldnt' go research it. BUT I have webmin working so I went into the database from there.
In the settings I got all the entries that had 'fill' in the vaule, heres what I got:
Code: mythfilldatabaseLastRunStart 2004-11-03 06:26 MaxBufferFill 50 EPGFillType 10 mythfilldatabaseLastRunEnd 2004-11-03 06:26 mythfilldatabaseLastRunStatus Successful. MythFillEnabled 0 MythFillDatabasePath /usr/local/bin/mythtv-update-listings.sh MythFillDatabaseArgs MythFillDatabaseLog MythFillPeriod 1 MythFillMinHour 2 MythFillMaxHour 5 As you may have guessed, I tired replacing mythfilldatabase with the path to my script and turning it back on, it ran my script but normal mythfilldatabase was also ran every other day. I'm pretty sure the important part in there is that MythFillEnabled is at 0 which means its off... Now, in housekeeping I foud this one: Code: MythFillDB 2004-11-03 02:04:48
Looking at the dates of when things where run, it looks like whatever MythFillDB is was ran at 2:04am today, but my script was autoran from the housekeeping thing I made at 6:26am, so that would explain why I didn't see any shows that were recorded at the wrong time (nothing set to record around those hours)
I'm guessing I should delete that one but I'm a bit nervous about poking around in the database, dont wanna delete anything that I might need...
Thanks again for all the help
--Usogi
|
|
Top |
|
 |
Xsecrets
|
Posted: Thu Nov 04, 2004 9:20 am |
|
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location:
Nashville, TN
|
well just do mythbackup then you can do whatever you want to the mythconverg database, because mythrestore will put it right back for you.
_________________ Have a question search the forum and have a look at the KnoppMythWiki.
Xsecrets
|
|
Top |
|
 |
Usogi
|
Posted: Thu Nov 04, 2004 2:14 pm |
|
Joined: Wed Sep 08, 2004 5:12 pm
Posts: 15
|
ok, did a backup (thanks for the info) and deleted the MythFillDB part of housekeeping. I'm hoping that will do the trick but I wont know for sure for two days.
Thanks again for all the help, you guys are life savers
--Usogi
|
|
Top |
|
 |
tjc
|
Posted: Thu Nov 04, 2004 9:22 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Usogi wrote: you guys are life savers
I've always thought that I was more like a half pound of good bittersweet chocolate than a lifesaver, even a peppermint one. 
|
|
Top |
|
 |
tjc
|
Posted: Thu Nov 04, 2004 9:37 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
OK, enough evil puns. Back to system hacking!
You should be able to turn the housekeeping task off from under setup. In the GUI go to Utilities/Setup -> Setup -> General and on the 4th screen under that you can turn it on to reveal the other fields, unset all the junk there and turn it back off.
Making a backup and deleting the entries in the housekeeping table should work too. For good measure you can even clear the related stuff under settings (leave the records, just clear the values). BTW - webmin is probably how I'd do it myself, but with a GUI it's generally harder to give someone commands they can cut and paste into a shell window.
Also, I'm surprised the mysql commands didn't work for you since I tested them as both root and mythtv. Unless I warn that it's untested or off the cuff, almost every example command I post is cut and pasted out of a live shell session.
|
|
Top |
|
 |
Usogi
|
Posted: Thu Nov 04, 2004 10:38 pm |
|
Joined: Wed Sep 08, 2004 5:12 pm
Posts: 15
|
Not all that sure why, but turning it off at the housekeeping tab didn't seem to change it all that much, but I deleted it from the database so I'd like to see it try to run now
And just for your info, when I did the commands it said something like 'cant find the database mythcoverg, I double checked in the webmin and I was spelling it right.... Not sure at all why it wasn't working, but then again I didn't look into it much since I had webmin waiting for me =)
This was happening at 2-5pm every day, and that came and went today with no problems. It still may happen tomarrow but I dunno. Looking good so far =D
Thanks again
|
|
Top |
|
 |
tjc
|
Posted: Fri Nov 05, 2004 10:18 am |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Quote: And just for your info, when I did the commands it said something like 'cant find the database mythcoverg, I double checked in the webmin and I was spelling it right.... Not sure at all why it wasn't working, but then again I didn't look into it much since I had webmin waiting for me =)
Well there's the problem, the DB name is mythco nverg (as in "the mythical convergance box") not mythcoverg without an 'n'.
You may also want to file a bug against 0.16 that turning off the database fill doesn't seem to work. Here's the link to the bugzilla instance: http://www.mythtv.org/bugs/
|
|
Top |
|
 |
Usogi
|
Posted: Fri Nov 05, 2004 7:20 pm |
|
Joined: Wed Sep 08, 2004 5:12 pm
Posts: 15
|
I was just winging it when I typed that last message, only spelled it wrong there. Was copy and pasteing from the webmin when I was actually putting the commands in.
Today its been 2 1/2 days since it ran it, which is longer than its ever gone before, so I'm betting its fixed. Thanks sooooo much for all your help, and I'll go file the bug when my inet is better, hopefully within a day or so.
--Usogi
|
|
Top |
|
 |
Usogi
|
Posted: Sat Nov 06, 2004 11:32 pm |
|
Joined: Wed Sep 08, 2004 5:12 pm
Posts: 15
|
Bah, did it again. Took 4 days this time...
So, I've done all this stuff plus did quite a bit of poking around where I dont belong a few hours ago, ended up hurting my box kinda bad. Just goes reallly slow now. I think I'm gonna just reformat the thing and start fresh, and hope that fixes my probs.
Any ideas about where to go from here anywhere?
|
|
Top |
|
 |
tjc
|
Posted: Sun Nov 07, 2004 1:21 am |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Do an autoupgrade and restore your DB from the old backup that we had you make before fooling around with the DB. Be aware that this will cause it to lose track of any newer recordings, so you may have to do some manual clean up.
|
|
Top |
|
 |
Usogi
|
Posted: Wed Nov 10, 2004 12:11 pm |
|
Joined: Wed Sep 08, 2004 5:12 pm
Posts: 15
|
tried and autoupgrade, still couldnt' make the thing stop running mythfilldatabase
I didn't have anything important on there so I did a compeat reinstall, and still cant get it to stop.
I had an idea though, I know this would work in the windows world but just not sure about in the linux world. If I were to rename the file /usr/bin/mythfilldatabase to mythfilldatabaseOLD or something of the sort, whatever is running it all the time wouldn't be able to find it anymore, correct?
If that is the case, I coudl just tell my script to run mythfilldatabaseOLD and it would find it and run it. I'm sure this isn't the correct way to fix my problem, but I think it would work...
|
|
Top |
|
 |
tjc
|
Posted: Wed Nov 10, 2004 1:12 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
tjc wrote: Do an autoupgrade and restore your DB from the old backup that we had you make before fooling around with the DB. Be aware that this will cause it to lose track of any newer recordings, so you may have to do some manual clean up.
The intent here was not to solve the extra fill problem, but rather to minimize the pain of "starting fresh"...
|
|
Top |
|
 |