#Previously deleted seasons still show up as Available on Seer

62 messages · Page 1 of 1 (latest)

maiden horizon
#

Previously deleted seasons still show up as Available on Seer, preventing users from requesting them again.

Manually running jobs like "Media Availability Sync", "Sonarr Scan" or "Jellyfin Full Library Scan" make no change.

timid gyro
#

You need to run media availability sync job

#

And send logs

#

Without logs we cant tell

maiden horizon
timid gyro
#

Can i see settings > services and settings > services > sonarr edit modal. Screenshot please

#

In seerr

timid gyro
#

also could you send the output of the following

#
  1. Stop seerr.
  2. Navigate to where config folder is
  3. sqlite3 db/sqlite3.db
  4. Run the following query
SELECT m.id, m.tmdbId, m.status, m.jellyfinMediaId, m.externalServiceId,
       s.seasonNumber, s.status as seasonStatus, s.status4k
FROM media m
LEFT JOIN season s ON s.mediaId = m.id
WHERE m.tmdbId = 1408
ORDER BY s.seasonNumber;
#

send me the output so we can determine what the issue is

maiden horizon
timid gyro
#

(Sorry for all the requests. Since i cant recreate this, troubleshooting through you will help us figure out whats going on)

timid gyro
#

Can you show me your compose

#

I need debug logs so I can figure out whats happening

#

Can you set LOG_LEVEL=debug in env variables. Then run media availability sync job. Then sonarr scan. Then send the logs with both of them in with debug logs

maiden horizon
timid gyro
#

Run a jellyfin full scan and send logs too

#

Maybe one of the apis are failing silently so its preventing removal

#

I might need to make a more verbose debug logged preview image. Would you mind running that to grab the results? But before that coild you run full scan first

maiden horizon
#

Currently running seerr:latest. I could try running a verbose image if you put one out

timid gyro
#

Now we know house is read by jellyfin api too

#

Thats what I wanted to see

timid gyro
#

tag is

#

preview-debug-availability-sync
will be available in 5-8 mins. Could you run that once its available in about 10 mins and then run media availability sync job and send logs

#

This should help us narrow it down

maiden horizon
timid gyro
#

I think i know whats happening

#

Let me push a fix

#

to the same tag. re-pull when its done

#

Ill let you know when I push

#

pushed. Should be available in 5-8mins. Re-pull preview-debug-availability-sync

maiden horizon
#

Should I run a media availability sync or anything else after updating it?

timid gyro
#

Thats the one that removes availability

timid gyro
#

But with this new image it should fix it (hopefully)

#

@maiden horizon its pushed. Repull image, rerun media availability sync job, send me logs + screenshot of house M.D from seerr and screenshot from file manager (or a simple ls is fine too which lists the folder structure)

#

When you can 🙏

maiden horizon
#

Sure, on it 🫡

timid gyro
#

To see if it doesnt erroneously remark them available again

timid gyro
maiden horizon
#

Jellyfin Full Scan didn't re mark as available, should be good

timid gyro
#

Jellyfin was returning all the seasons as existing (but as virtual seasons with no episodes). So now we check if episodes exist or not

maiden horizon
#

It's odd that Jellyfin shows them as existing, can't even see them in Metadata Manager

timid gyro
#

Ill open a pr and the fix should be available for next version then

timid gyro
#

But this shouldnt matter anymore since we now check episodes exist or not

#

Which is more aligned with how we check sonarr too

maiden horizon
#

Nice, thanks for all the work!

timid gyro
#

Which checks if episodes has a file or not

timid gyro
#

With your exact scenario

#

So in the future no regression will happen since the test will always check your exact scenaio with every code change