jorenn92 / Maintainerr

Looks and smells like Overseerr, does the opposite. Maintenance tool for the Plex ecosystem
https://maintainerr.info
MIT License
754 stars 13 forks source link

Issue with dates #1241

Closed daviddanko closed 2 weeks ago

daviddanko commented 2 weeks ago

First of all, thanks for the app, I love it. I've been running maintainerr for some time now and it's always been working great.

However, I broke something 2 days ago on my VM where I have the *arr stack and plex running and I had to restore a backup which was a couple of days old. Since then, maintainerr is not working correctly.

For movies, I am using the community rule 'Seen by Overseer requester & older than 30 days OR not watched by requester and older than 90 days'.

One movie which I downloaded yesterday has this weird date 1970-01-01T00:00:00.000Z so it immediately adds the movie to the queue for deletion.

- id: 1
  result: true
  operator: OR
  ruleResults:
    - operator: OR
      action: before
      firstValueName: Overseerr - Media downloaded date
      firstValue: 1970-01-01T00:00:00.000Z
      secondValueName: custom_days
      secondValue: 2024-08-02T08:46:07.032Z
      result: true
    - operator: AND
      action: equals
      firstValueName: Overseerr - Requested in Overseerr
      firstValue: 1
      secondValueName: boolean
      secondValue: 1
      result: true

So I went ahead and downloaded 2 more movies to check those, they don't have that date, but rather a null value.

- id: 1
  result: false
  operator: OR
  ruleResults:
    - operator: OR
      action: before
      firstValueName: Overseerr - Media downloaded date
      firstValue: null
      secondValueName: custom_days
      secondValue: 2592000
      result: false

I wanted to reset the whole maintainerr app and set it up from scratch, but this might not even be really a maintainerr issue. That date should be coming from overseerr, right? Because overseerr is on another VM which I did not restore from a backup. So could you please advise what should I do now? I guess some data were corrupted due to the backup restore, is that possible? Would resetting one of radarr/plex/overseerr/maintainerr do the trick? If so, which one is most probable to fix this? Apologize if this is not the place to ask for support, but I didn't find any discord channel or similar place to ask for advise. Thanks in advance.

daviddanko commented 2 weeks ago

After resetting overseerr, the dates seems to be correct again.