NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 96 97 98 99 100 … 102 Next »
SQLite Error 5: 'database is locked'

 
  • 0 Vote(s) - 0 Average
SQLite Error 5: 'database is locked'
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,160
Threads: 958
Joined: May 2006
#21
2019-10-11, 04:29 PM (This post was last modified: 2019-10-11, 04:31 PM by mvallevand.)
It might be a red herring but the logs with fails seem to have have these lines near the No ParallelProcessing batch message the one that work

2019-10-10 20:43:48.388 [DEBUG][20] found match
2019-10-10 20:43:49.652 [DEBUG][35] Done fanart.tv lookup
2019-10-10 20:43:49.711 [DEBUG][36] got season info

It is not clear why it is even searching for art on some of these.

Martin
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,669
Threads: 170
Joined: Jun 2007
#22
2019-10-11, 04:48 PM
I took the day off from work (for my birthday) today, so thought I'd try a little more testing. It appears that the problem is somehow specifically related to recordings using the HDHR Prime tuner(s).

I did a fresh start of the server, launched knewc on the RPi, went into the guide and started 4 quick records of shows from channels on the HDHR Quatro tuners. I left knewc running (displaying the guide). As I scheduled each show to record, the entry on the guide turned red. All recordings ran successfully including the comskip processing in PostProcessing after the recordings ended. Absolutely no database locked errors anywhere in the log.
.zip   logs-20191011-1142.zip (Size: 723.08 KB / Downloads: 0)

It's strange because both the Quatro and the Prime are using the NextPVR HDHR devices. So I wouldn't think that there would be a difference in what it is doing, but obviously something isn't right!
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,669
Threads: 170
Joined: Jun 2007
#23
2019-10-11, 05:38 PM
(2019-10-09, 12:56 PM)BrettB Wrote: Is it possible that this problem is somehow related to the fact that my database currently has 2 sets of all my cable card channels with the same numbers (1 set on the 1st Prime's 3 tuners and a 2nd set on the 2nd Prime's 3 tuners)? As I posted before the AutoMerge won't merge them because NextPVR pulled them in with different names.

More testing, and I think that may be the key problem.

I created a brand new npvr.db3 database. Initially I just configured tuners one of the Primes. I did a couple of test recordings and they seemed to work fine. So then I configured 1 tuner on the other Prime--but I didn't copy of the configuration from the first Prime (to duplicate what I had to do with my real server database since the copy was trying to copy from the Quatro rather than the other Prime). The result was again 2 sets of all the channels with the same channel numbers (i.e. 2 channel 804 WCCODTs with different channel IDs). Now when I try to do a recording, I get the database locked errors.
.zip   logs-NewDB2PrimeDevicesDupChannels.zip (Size: 852.7 KB / Downloads: 1)
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,669
Threads: 170
Joined: Jun 2007
#24
2019-10-11, 09:54 PM
(2019-10-11, 05:38 PM)BrettB Wrote:
(2019-10-09, 12:56 PM)BrettB Wrote: Is it possible that this problem is somehow related to the fact that my database currently has 2 sets of all my cable card channels with the same numbers (1 set on the 1st Prime's 3 tuners and a 2nd set on the 2nd Prime's 3 tuners)? As I posted before the AutoMerge won't merge them because NextPVR pulled them in with different names.

More testing, and I think that may be the key problem.

I created a brand new npvr.db3 database. Initially I just configured tuners one of the Primes. I did a couple of test recordings and they seemed to work fine. So then I configured 1 tuner on the other Prime--but I didn't copy of the configuration from the first Prime (to duplicate what I had to do with my real server database since the copy was trying to copy from the Quatro rather than the other Prime). The result was again 2 sets of all the channels with the same channel numbers (i.e. 2 channel 804 WCCODTs with different channel IDs). Now when I try to do a recording, I get the database locked errors.

To continue the test, I used the AutoMerge on this new, test database to merge all of the channels. (It works in this database because both sets of channels got the same names when they were configured.) At first after the merge things didn't work right, but once I did an update EPG and restart the server, then it seems to be all OK. I've got 3 test recordings running now.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3


Possibly Related Threads…
Thread Author Replies Views Last Post
  DVT Tuner remains locked after EPG update. Bobins 4 182 2025-06-29, 04:57 PM
Last Post: Bobins
  Windows could not start the NextPVR Service service on Local Computer Error 193:0xc1 Jimmyts100 7 5,831 2025-06-18, 06:26 PM
Last Post: jcole998
  error: No tuner was available for the requested channel jzk 3 354 2025-04-19, 03:30 PM
Last Post: mvallevand
  Video image error on software kellanphil 1 270 2025-02-28, 04:11 AM
Last Post: sub
  EPG Script Error? RedDevilJoe 4 408 2025-02-01, 01:16 AM
Last Post: RedDevilJoe
  update npvr database UNC paths artmetz 4 646 2024-10-25, 10:56 PM
Last Post: artmetz
  Error 400 wakecars067 16 2,226 2024-09-15, 11:59 PM
Last Post: mvallevand
  Error at 58 minutes playback Offroad 4 686 2024-06-01, 01:17 PM
Last Post: Offroad
  Is NextPVR's HDPVR support locked to VBR recording? three6zerocool 3 743 2024-05-19, 04:12 AM
Last Post: mvallevand
  Files Still Open Error fccgrant 14 1,692 2024-03-29, 06:53 PM
Last Post: fccgrant

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode