Git Product home page Git Product logo

Comments (11)

mreid-tt avatar mreid-tt commented on August 16, 2024

Hi @geotibi, I've identified the primary issue as a database lock error. According to Sonarr/Sonarr#5402, "the database being locked on it's own isn't an error". Did you encounter this problem prior to the automatic update to v4.0.3.1413? Regardless, the developers at the upstream repository need a trace log to effectively troubleshoot. You can find instructions on enabling this feature here: https://wiki.servarr.com/sonarr/troubleshooting. Let me know if you need any further assistance.

from spksrc.

geotibi avatar geotibi commented on August 16, 2024

Hello,
The installed version is 4.0.3.1413, synology package version 20240114-4. I observed since last 2-3 weeks than one Series is not updating and I've started looking in the logs and I saw that database locked error and I don't know how to fix it.
sonarr traces.txt
I've attahced also the traces

from spksrc.

mreid-tt avatar mreid-tt commented on August 16, 2024

@geotibi, as this may be an upstream issue I've logged an upstream ticket on your behalf. Will update here on the findings.

from spksrc.

mreid-tt avatar mreid-tt commented on August 16, 2024

@geotibi, the upstream team closed the issue I opened with the following note:

the database being locked is not an issue.
Episode information not being updated is a result of an ongoing issue with the TVDB API not returning all the information is should - see this issue for reference: thetvdb/v4-api#323

from spksrc.

bakerboy448 avatar bakerboy448 commented on August 16, 2024

Database locks are generally never bugs and are always due to under powered systems that are unable to keep up with the IOps required

BTFS filesystems also weren't playing nice but believe this was fixed downstream and pulled back to sonarr

from spksrc.

mreid-tt avatar mreid-tt commented on August 16, 2024

hi @bakerboy448, while it is true that databases can be affected by underpowered systems, I don't believe there is evidence to support that in this instance.

I run a DS916+ system which has an Intel Pentium N3710 CPU. The benchmarks for this show an average CPU mark of 1386. I also have my drives configured with btrfs and with my setup I've not seen database locking issues on my rig. I do acknowledge that I used to see issues with Radarr which were acknowledged as a bug under Radarr/Radarr#9173 but this was subsequently resolved.

As for this user, they run a newer DS920+ which has an Intel Celeron J4125 CPU. The benchmarks show a much faster performance than my own with an average CPU mark of 2961. Additionally, given that this issue only started for them about 2-3 weeks ago and not before I don't support the view that there is evidence that the database is being CPU limited.

As such, I believe the issue cited upstream regarding the TVdb API is a much more likely candidate as a root cause.

hey @geotibi, out of curiosity, is it only one series that has issues updating or do all your series have issues updating?

from spksrc.

bakerboy448 avatar bakerboy448 commented on August 16, 2024

It'd be drive constrained for IOWait more than CPU

but yes agree upstream poor data on TVDb is likely the root cause as sonarr team said

from spksrc.

geotibi avatar geotibi commented on August 16, 2024

Hello @mreid-tt I observed indeed that this is happening to one series because almost each week new episodes are added in TVdb for that one, but I'm not 100% sure because I do not have any other Series which is ongoing and updated weekly on TVdb.

from spksrc.

geotibi avatar geotibi commented on August 16, 2024

Yesterday, after around 3 weeks the series got updated suddenly. As I mentioned, the issue with database locked is happenig very often but when this is not locked, the update is working smoothly.

from spksrc.

geotibi avatar geotibi commented on August 16, 2024

Today I did an update on TVdb 1 hours and a half ago, I did a series update now and everything was updated in Sonarr without any issue, no database lock message. It seems that it started to work without any fix from my side.

from spksrc.

mreid-tt avatar mreid-tt commented on August 16, 2024

@geotibi okay, thanks for the update. As this doesn't appear to have reoccurred I'll go ahead and close the issue.

from spksrc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.