View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Program will not delete
PostPosted: Sat Apr 15, 2006 10:08 am 
Offline
Joined: Mon Nov 28, 2005 5:29 pm
Posts: 86
I am still running R5A30 and I have run into a problem.

I have one recording that I can not seem to delete. When I do it does not kick an error but just seems to do nothing. The show is still there, I can watch it if I like. I have tried to web interface also with no luck.

Any ideas what I can do to get rid of it correctly?

_________________
R5F1 : AMD 64 2800 : Nvidia 5200 : 2x PVR- 150


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 15, 2006 2:30 pm 
Offline
Joined: Sat Feb 11, 2006 5:26 pm
Posts: 282
Location: Winnipeg - Canada
I have the exact same thing, but have several shows that won't delete (and several that do). I'm also running R5A30.2, mine is setup with a backend/frontend setup. My tuner is a PVR 150 MCE, I'm not sure what other hardware info would be relevant here, if there are specific details I can offer to help us get to the bottom of this problem let me know.

Attempted deletes from the web interface, the backend GUI, or the frontend GUI all fail. I don't get any error or HD activity, it just continues along like nothing is wrong. I've poked around a tiny bit in my logs (I'm pretty unfamiliar with what logs I'd want to check) and havne't seen anything that would indicate the problem.

I was planning to upgrade (actually a fresh install) to the newest version in the next week or so, so hadn't thought to mention, but seeing someone else with the same issue, figured I'd jump in an offer my situation if maybe it will help to pinpoint what is happening here.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 15, 2006 4:23 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Look in the log file for the backend and you will probably find that it is complaining that the recording file is not there. If you just touch the file that it is complaining about to create a zero byte file, the delete should work. I think the next version actually tells you that the file isnt there and asks if you still want to delete the recording.

The reason someone may not want to is because it they may store their recordings on removabl media or something that is temporarily inaccessible.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 15, 2006 5:04 pm 
Offline
Joined: Mon Nov 28, 2005 5:29 pm
Posts: 86
exactly what log should I be looking at, because I will give that a shot. I am not sure though that the file is not there, because I can watch the show still.

_________________
R5F1 : AMD 64 2800 : Nvidia 5200 : 2x PVR- 150


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 15, 2006 6:00 pm 
Offline
Joined: Sat Feb 11, 2006 5:26 pm
Posts: 282
Location: Winnipeg - Canada
if my recording file wasn't there (causing teh delete to fail) then I'd not be able to watch the show anymore right? If that's the case, then this isn't the problem I'm having (I'm at work right now, can't check anything).

The recordings that won't delete are still watchable. And I can still see the files through the "pretty" folder shared across to my WinXP PC.

I'm willing to take a peek at log files, but I'll need someone to give me a bit of a more specific point in the right direction. What log files should I be peeking at?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 15, 2006 6:19 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
The backend log file is /var/log/mythtv/mythbackend.log, but you are right, if you can still watch it, that is probably not your issue.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 15, 2006 8:06 pm 
Offline
Joined: Sat Feb 11, 2006 5:26 pm
Posts: 282
Location: Winnipeg - Canada
I'll peek at the log file when I get home and see if there is anything there that's showing errors.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 15, 2006 11:14 pm 
Offline
Joined: Sat Feb 11, 2006 5:26 pm
Posts: 282
Location: Winnipeg - Canada
Ok, so I peeked into my log files....and it seems that I'm kinda seeing what was described up above (at least that's what i think i'm seeing).

For example, i have "america's next top model" recorded from a couple weeks back..... this is one of my "problem shows" that wont' delete. If I go into my web interface, I can view the thumbnail of the recording, and if i hover the mouse over it it shows that the file is "myth://192.168.0.200:6543/1044_20060402010000_20060402020000.nuv" yes when I attempt to delete it I'm getting:

Code:
2006-04-16 00:09:38.020 MainServer::HandleAnnounce Playback
2006-04-16 00:09:38.027 adding: mythback as a client (events: 0)
2006-04-16 00:09:38.561 ERROR when trying to delete file: /myth/tv/1044_20060402010000_20060402030000.nuv. File doesn't exist.  Database metadata will not be removed.
2006-04-16 00:09:38.652 MainServer::HandleAnnounce Playback
2006-04-16 00:09:38.659 adding: mythback as a client (events: 0)


So, it seems that the delete link is actually pointing to a different file (that doesn't exist) and that's why it's not deleting. Touching a file with the "correct" name would allow the web interface to succesfully delete the file, which will get it out of my database, but it's not gonna free up my drive space as there will still be a file there with the "wrong" filename. Am I understanding this right?

Is this what you are seeing Archer?

Anyone have suggestions how to best correct this?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 16, 2006 5:31 am 
Offline
Joined: Mon Apr 04, 2005 10:50 am
Posts: 120
Two things to try.

1) Try deleting through the mythweb interface rather than the frontend. For some reason it seems to handle those problem deletions better than the frontend does, particularly in the most recent release.

2) Create a file with the name it is looking for. It can be empty or a copy of another show. Then the delete should work normally because it will find what it is looking for.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 16, 2006 6:24 am 
Offline
Joined: Tue Nov 22, 2005 7:57 pm
Posts: 295
Location: Auckland, New Zealand
Have you checked permissions on the files you want to delete?

_________________
HP VL400 (PIII 866), Skystar2 2.6D, PVR350, Nvidia FX5200, 384MB, 200GB, KnoppMyth R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 16, 2006 8:50 am 
Offline
Joined: Sat Feb 11, 2006 5:26 pm
Posts: 282
Location: Winnipeg - Canada
I've already tried to delete from the web interface, the frontend gui, and the backend gui. All seem to do the same thing.

If you look closer at my previous post, you'll actually see that the filenames aren't matching. The "delete" link is trying to delete a filename that doesn't match what the stored file is. The differrence in filename is NOT a type-O. I copied/pasted both the filename and the snippit from my log file.

If I create a file with the correct name, it is going to remove the entry from my database (at least I"m assuming so) but it's going to leave a very large file in place that is still eating up my space. I've got several shows this is happening with, and I'm quickly running out of space.

I'd be much more interested in figuring out why this is happening and fixing that so I won't have to get in there and fuss with a dozen shows a week to get them deleted. My Fiance actually puts a good bit of use on this machine, and it'd be nice if things delete from the menus rather than me having to fuss with the cmd line.


Thank you for the suggestions though, I appreciate that. I just don't think they are going to work best in my situation here.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 16, 2006 1:08 pm 
Offline
Joined: Mon Apr 04, 2005 10:50 am
Posts: 120
I understand what you said about mismatching files, but you can still create the fake file so you can delete it out of the database. Then simply delete the orphaned file manually. Or alternately simply rename the file to the name the database is expecting to save a step.

As to the underlying problem, you may want to see if it repeats itself before you worry about it, in case it is a fluke


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 16, 2006 1:41 pm 
Offline
Joined: Mon Nov 28, 2005 5:29 pm
Posts: 86
Yes this is the problem that I am seeing.


rando wrote:
Ok, so I peeked into my log files....and it seems that I'm kinda seeing what was described up above (at least that's what i think i'm seeing).

For example, i have "america's next top model" recorded from a couple weeks back..... this is one of my "problem shows" that wont' delete. If I go into my web interface, I can view the thumbnail of the recording, and if i hover the mouse over it it shows that the file is "myth://192.168.0.200:6543/1044_20060402010000_20060402020000.nuv" yes when I attempt to delete it I'm getting:

Code:
2006-04-16 00:09:38.020 MainServer::HandleAnnounce Playback
2006-04-16 00:09:38.027 adding: mythback as a client (events: 0)
2006-04-16 00:09:38.561 ERROR when trying to delete file: /myth/tv/1044_20060402010000_20060402030000.nuv. File doesn't exist.  Database metadata will not be removed.
2006-04-16 00:09:38.652 MainServer::HandleAnnounce Playback
2006-04-16 00:09:38.659 adding: mythback as a client (events: 0)


So, it seems that the delete link is actually pointing to a different file (that doesn't exist) and that's why it's not deleting. Touching a file with the "correct" name would allow the web interface to succesfully delete the file, which will get it out of my database, but it's not gonna free up my drive space as there will still be a file there with the "wrong" filename. Am I understanding this right?

Is this what you are seeing Archer?

Anyone have suggestions how to best correct this?

_________________
R5F1 : AMD 64 2800 : Nvidia 5200 : 2x PVR- 150


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 16, 2006 1:49 pm 
Offline
Joined: Sat Feb 11, 2006 5:26 pm
Posts: 282
Location: Winnipeg - Canada
That's true, i could just manually delete the orphaned file....somehow I hadn't thought of that.

This problem already has re-appeared. I've got several shows (don't know how many for sure, but I'd suspect easily over 10) that are exhibiting this behaviour.

I had plans to upgrade to the newest version of KnoppMyth, so maybe that will fix everything....just thought I'd offer more detail here in case it helped to solve things for the original poster.

Thanks for the suggestion though, I'll do that in the meantime to free up enough space to record more shows (it's getting tight on space lately with all these old files hanging around).


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 16, 2006 1:51 pm 
Offline
Joined: Mon Nov 28, 2005 5:29 pm
Posts: 86
I renamed the files in question both the nuv and the nuv.png and then did a delete from we web interface. all gone now. I would like to know why this happened though. I only had one file that was messed up but I can really see how this could be a problem if there are many that are messed up.

_________________
R5F1 : AMD 64 2800 : Nvidia 5200 : 2x PVR- 150


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu