Record Fails

Moderators: Gully, peteru

Post Reply
mcpaton
Apprentice
Posts: 71
Joined: Sat Apr 04, 2009 14:55

Record Fails

Post by mcpaton » Mon Aug 28, 2023 21:00

Hi

My V2 has started failing over the last few weeks. It freezes up with the error: Write error while recording. An unknown error occurred!

I managed to get the messages file out of the box which I have attached. Not sure if there's any other log files I should look at?

I record to a NAS share which is operating fine for everything else and showing no errors.

Any advice would be appreciated.

Thanks
Attachments
messages.txt
(52.15 KiB) Downloaded 13 times

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Record Fails

Post by prl » Tue Aug 29, 2023 10:51

Unfortunately, it looks like you rebooted your Beyonwiz between when you got the error message and when you saved messages.txt, so the messages.txt file doesn't cover the time when the error occurred. The messages.txt file only covers the time from about 20:51 to just after 20:52 last night (28 Aug). The messages.txt file is held in an in-memory filesystem, and the filesystem is (re-)created new and empty at boot time.

The "unknown error" message means that the recording process reported a recording file write error, but it wasn't due to the disk running out of space or because the device was mounted read only. Had other recordings succeeded that evening?
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

mcpaton
Apprentice
Posts: 71
Joined: Sat Apr 04, 2009 14:55

Re: Record Fails

Post by mcpaton » Tue Aug 29, 2023 13:14

Recordings seem to be starting fine, but failing mid way through. I can manually hit record and it will start again, but likely drop out again. I’ll grab the messages file again tonight when it next fails

mcpaton
Apprentice
Posts: 71
Joined: Sat Apr 04, 2009 14:55

Re: Record Fails

Post by mcpaton » Tue Aug 29, 2023 20:03

So update on this. Tonight got home late, found box frozen (live TV working in the background) but spinning wheel and NO error message.
I could ping the box, but web interface was down, so not able to retrieve messages file.
Looking at the NAS, it recorded half of the news and crashed around 6:33pm, did not start The Block recording until 8PM after I powered off and on via the switch on the back.

maverick#1
Apprentice
Posts: 88
Joined: Sun Jul 26, 2009 00:59

Re: Record Fails

Post by maverick#1 » Tue Aug 29, 2023 23:06

mcpaton wrote:
Mon Aug 28, 2023 21:00
I managed to get the messages file out of the box which I have attached. Not sure if there's any other log files I should look at?

Do you have debug logging enabled? (Menu > Setup > System > Log settings > Enable debug logs)
If so, check the debug log file. It might provide some more information. The location of the log file is listed in the Log settings menu item as listed above. I haven't got my V2 on at the moment but the location of the log files on my U4 is /home/root/logs.

If you need to view the log using the V2, select Menu > Sources / Files. You can quickly get to /home/root/ by pressing '5' on the remote then selecting /home/root/ from the Select a path window. Then you just need to scroll down and select the logs folder. There should be log files here with file names in the format Enigma2-YYYY-MM-DD_HH-MM-SS.log. You should probably start at the bottom of the list and look for a date and time around when you think the error occurred. You may also need to check the Enigma2-1970-MM-DD_HH-MM-SS.log files. To find the date and time these files were written, look at the second row of yellow text at the top of the column rather than the file name. To view the log file, just select the file you want and press the OK button on the remote. I've noticed that my U4 doesn't seem to open log files >1MB in size so you might need to copy these files off the V2 to view them.

I hope this is useful.
Beyonwiz U4 (FW 19.3, Build 20211010)
Beyonwiz V2 (FW 19.3, Build 20211010)
Beyonwiz T3 (FW 19.3, Build 20191106) [No longer used - power supply cap problem]
Beyonwiz DP-P2 (FW DPP2-01.07.350)
Beyonwiz DP-Lite i (FW DPLite-01.07.350)

mcpaton
Apprentice
Posts: 71
Joined: Sat Apr 04, 2009 14:55

Re: Record Fails

Post by mcpaton » Mon Sep 04, 2023 17:35

So I checked the debug files and found network issues. I deleted my NAS connection and re-added it, and it's now working fine.

Only catch is, I seem to have lost my trash folder, so every time I delete a recording, it complains about not being able to move it to the trash. I tried adding a trash folder, but no luck. Does this need to be made in a special way?

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Record Fails

Post by prl » Mon Sep 04, 2023 17:47

mcpaton wrote:
Mon Sep 04, 2023 17:35
it complains about not being able to move it to the trash.

Is the message:
"Cannot move to trash
Do you really want to delete recording name"?
mcpaton wrote:
Mon Sep 04, 2023 17:35
I tried adding a trash folder, but no luck. Does this need to be made in a special way?

The trash folder needs to be called .Trash, not Trash, and it needs to be in the right place. But it should be created automatically when it's needed.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

mcpaton
Apprentice
Posts: 71
Joined: Sat Apr 04, 2009 14:55

Re: Record Fails

Post by mcpaton » Mon Sep 04, 2023 21:09

Yes that’s the error
I had a lower case t so renamed to .Trash and it now has the bin icon but I still get the same error

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Record Fails

Post by prl » Tue Sep 05, 2023 10:20

Which folder have you created the .Trash folder in?
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

mcpaton
Apprentice
Posts: 71
Joined: Sat Apr 04, 2009 14:55

Re: Record Fails

Post by mcpaton » Tue Sep 05, 2023 17:35

Inside the DVR share where the recordings go (movie home folder)

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Record Fails

Post by prl » Wed Sep 06, 2023 16:34

When it asks "Cannot move to trash / Do you really want to delete recording name?", what happens if you select Yes? Does it do the delete, or do you just get another error popup (or other unexpected behaviour)?

Where is the movie folder being shared from? Is it a Linux-based NAS, or a shared HDD on a PC, or something else?

If you go into the movie selection screen on the V2 and navigate to the top-level movie folder, what is the exact path of the movie folder, as displayed in the top right of the screen? Case is significant, as is whether the path starts with a '/' or not.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

mcpaton
Apprentice
Posts: 71
Joined: Sat Apr 04, 2009 14:55

Re: Record Fails

Post by mcpaton » Fri Sep 08, 2023 17:13

If I hit yes, it does delete the recording.

Share is on a Qnap NAS

Attached a couple of screenshots showing the path and error
Attachments
IMG_4468.jpg
IMG_4469.jpg

prl
Wizard God
Posts: 32709
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Record Fails

Post by prl » Mon Sep 11, 2023 17:56

All I can think of is that there's some sort of access error on .Trash, and/or on the directory where the Beyonwiz is trying to create it.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Post Reply

Return to “General Topics V2”