Skip to content

Database Lock Issue Causing Tasks To Fail & Crash Reports To Be Continually Created #2198

@msw1970

Description

@msw1970

Actual Behaviour:

As per the config file attached, tasks are expected to run on a specific schedule, POPULATE*, CLEAN* and UPDATE* tasks at midnight and 12:00, PURGE*, FILL*, *RSS and *MAGNET tasks every 30 minutes and *MANUAL tasks every 2 hours. Flexget is running in daemon mode and runs fine for a short time after the systemd service is restarted or the server rebooted, however flexget then stops working with crash reports being generated every so often (not sure on the frequency at present) but the systemd service is still running.

I can still manually run tasks by

flexget execute --tasks DOWNLOAD_SERIES_RSS

for example and these run through fine even if the daemon is running so I don't think it's a fundamental crash as such but possibly an issue with the scheduler obtaining information from the database due to the lock.

I also see a lot of

Could not set title for <Program Title>: (UndefinedError) 'tvdb_series_name' is undefined

errors in the flexget.log

Config:

config.yml.txt

Log:

crash_report.2018.09.03.200020257761.log

Additional information:

  • FlexGet version: 2.14.16
  • Python version: 2.7.12
  • Installation method: pip
  • Using daemon (yes/no): Yes
  • OS and version: Ubuntu 16.04
  • Link to crash log:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions