As per title, users are unable to request series - the radio button is greyed out despite their permissions being set correctly. See attached photos. I can pull logs as well but not sure which ones are pertinent and also not sure how to extract them from the docker container.
#Users unable to request series but able to request Movies - despite permissions being set
199 messages · Page 1 of 1 (latest)
Is this enabled in Settings > General ?
Also need more information on your setup
Is this jellyserr?
Overseerr?
Overseerr -> jellyseerr migrated?
Seerr?
Yessir
Seerr, the dev branch. Migrated from overseerr. Running in a docker
Tell me the steps you did to migrate
And show me your compose
Because this usually happens when the perms are fucked due to a bad migration
I copied the database over into the docker and then composed it, I had to change some variable before it worked. I will note that users have successfully requested stuff before, its an odd issue
Compose please
'services:
jellyseerr:
image: ghcr.io/seerr-team/seerr:develop init: true
container_name: jellyseerr
environment:
LOG_LEVEL=debug
TZ=Asia/Tashkent
PORT=5055 #optional
ports:
5055:5055
volumes:
- /opt/overseerr:/app/config
healthcheck:
test: wget --no-verbose --tries=1
start_period: 20s
timeout: 3s
interval: 15s
retries: 3
restart: unless-stopped'
And logs
Which ones and how do I get them? Sorry I'm not great with dockers
Okay first keep the logs for later but try making a test new local user or try with another user to request
See if its greyed out
Bc if it is, its a corrupted user perm
Also for logs you go to /opt/overseerr/config and logs folder and send seerr.log
I've had another user have this issue before, and I fixed it somehow by removing and re-adding their permissions (or something like that, I don't remember because I just did everything I could think of and eventually it worked)
Where is this perms screenshot from
Users > edit user?
Or settings > users
Editing a user yes
Trying to work out how to get the log file via ssh lol
Go to bulk edit and remove requsst entirely from that user
Tjen see what they see when they try to rrquesy
Sounds like for some reason your db is not good
Okay I'll have to give a go in a little while as I need to head out but I'll report back shortly
I might be asleep since I havent slept in days. If so CC: @cedar pier 
Okay so bulk edit did naff all
"naff" ? 🤔
Oh sorry, a Britishism, it didn't do anything 🤣
Ooh British slang I see !
Did you manage to get the logs ?
I think this is it? I run it on a headless server so I have to fight with sftp for everything like that
Logs don't tell much
Have you tried creating a local user and request ?
To login with a local user you must use the email, not the username
@barren ice sorry to tag you, do you know how I might be able to fix it?
Are you comfortable with editting db?
Lets edit db and fix the perms
I don't have a clue how to do that, can I do it with a text editor?
Take a backup of your db first. Stop seerr. Then we can edit
like nano?
No
So there are two ways
If you have access to a gui
For example windows or sth you can use sqlite browser
So you can edit like an excel sheet
If not we can use sqlite3 package in terminal
I can probably SFTP the file from the remote system and then replace it afterwards
Choose which method you want and I can dictate how to fix
yeah let me copy it from the remote system and then I can edit it on my windows workstation, I think I have some sort of database editing software on here
where does it live?
Wherever you mounted your config folder
okay so I guess that's opt then
You can use https://tableplus.com/ too. Very simple to use. Trial version works
Or sqlitebrowser too
/opt/config
I think I have it
Okay ping me when you have the db opened
yep
Find that affected user's record
And show me their permission vs someone's else that can request their perms
where are their permissions?
Its a column
Hmm. Is the affected user also 32?...
yes
Okay i have another thing i wanna check
this is all of my users, in fact
On the working user, did you try to request the same series?
I have had this issue before with another user, and I just ended up requesting the series as the admin user and it worked fine
Do not request as the amdin
For this specific series
I think i have an idea whats happening
So please check this
it's any user and any series, but when I tried the same series with the local test user I made, it worked fine
No users are able to request anything?
let me see if I can get a specific user to request a specific series and I will try with the test user
it's odd, it's almost like the error comes and goes as it pleases. I thought it was a user error until I've had numerous users on different ISPs/browsers etc report hte same thing
bear with me I am just getting one of my users to try a series
right so update from my test user and my user user, they tried requesting this series:
and the system didn't allow it, can't move the radio buttons whatever
Local TestUser successfully requested it
instead of 32?
Because your perms on your db and mine doesnt match
At all
Yeah
The only one that matches is your admin user
I suspect it's some sort of overseerr/seerr database weirdness, but that wouldn't explain why the new test user I made yesterday also has the same perms
let me try sure
No. More like your migration might have fucked up. Because I have overseerr db -> also showing proper perms. This couldve happened if you accidentally went from overseerr -> jellyseerr instead of seerr then changed to develop tag. Because then the migrations would not run
Because thats exactly what happened to everyone else who had the same issue as you
(I have provided support for around 5 people that had that happen)
I don't think I did that, but it wouldn't surprise me at all
lol
okay, just copying the edited DB back to teh server and re-running the docker now
I just need to wait for my user to check and see if the changed permission has worked
I do use docker, but I'm mounting my old database from when it was a snap package
This could also be why
which I copied somewhere
oh yeah that's why I moved to the develop branch on seerr
We only wrote migration to be compativle from latest ovverseerr -> seerr
Its very likely its not at all compatible from snap package overseerr -> seerr
so that would be totally unsurprising if the migration shat itself
I mean it mostly seemed to work fine
Thing is overseerr also introduced several perms after snap package. Each perm is treated like in layman terms a number assigned. But for some reason your perms seem to be broken. Or something else is broken. During the migration. Because I do see 32 perm = request but it could be somehow affecting. The only other thing I can think of if the edited db still failed is to try this. Stop seerr. Backup settings.json. delete it. And restart. Go through the setup page. See if they can still request to see if it was settings.json that messed up during migration and partial request is not working. But its very likely the snap package db -> seerr migration is whats causing this unintended behaviour
I'm just waiting for my user to try with the modified permissions, otherwise I will re-run setup 🙂
The setup rerun wont remove your db bte
Its just a regeneration of settings.json
yeah I know, I had to do it before for something else
Was it because you got an error saying
"Apikey" something something?
Because if so
That confirms it
As during the migration from overseerr you wouldnt need to generate settings.json and only would need if like the incompatibility thing happened (whether overseerr snap -> seerr or accidentally overserrr -> jellyseerr)
#development message
Yeah
#development message
That only happens if you accidentally switch to jellyseerr first 😅
That breaks perms
So far everyone who did that
nuts 🤣
Had this exact issue
what's the resolution? changing the user's perms didn't fix it it seems
Hmm. Something else must have not migrated either and thats the issue
Would need to proper dive into your db to see what the inconsistency is coming from
Another thing would be
CC: @blazing perch would they be able to retrigger all the typeorm migrations to fix the issue?
I don't mind sharing it, I assume all of the passwords etc are hashed anyway
They are but lets see if we can retrigger migrations first
I am not that familiar with that
Gauthier have dealt with something like this before
Incompatible migrations
He might know
Lets wait for an answer from him
can you summarize the issue?
it's just a db migration that didn't run?
I migrated from a very old snap install of Overseerr, and I've messed it up somehow so that I have a weird intermittent problem with users being unable to request TV series (but seemingly always able to make movie requests)
So the issue is
You know how when you migrate from overseerr -> jellyseerr instead of seerr you have to end up deleting settings.json because migrations didnt run. And that also breaks database where everyone who had that happen had their users perms all fucked up that they can no longer request? (I linked you to all the occurrences of it before but I can if needed).
This user also has the exact same issue happening but they mentioned they didnt migrate to jellyseerr but they had the same settings.json issue and they migrated from very old overseerr db. But I still feel like there was an accidental jellyseerr run due to the error they pasted earlier which cannot happen on seerr. But we are all past that now. The issue is now the seerr migrations were probably skipped. Is there a way for them to retrigger it?
Overseerr -> seerr migration
this migration is triggered when there is no mediaServerType in the settings.json
stop your instance, remove the line with mediaServerType in your settings.json, and start it again
you should see the migration happenign
(which should re-run all the jellyseerr migrations)
did you try that on the old overseerr db?
if you accidentally run a jellyseerr instance on that db, some migrations may have been already ran (like the blacklist one), so if possible the best way would be to start from your old overseerr db and run this again
it was the most recent DB, the one I was using beforfe
I didn't change anything other than deleting that line in the settings json
I don't think I still have the orignal DB either
is it easier to just delete the database entirely and start again? I'm not too precious about keeping a record of my past requests to be honest, I would rather have it work and all of my users are imported from plex in any case
Then yes. Would be the best fix than playing whack-a-mole with the db migrations 😅
You can stop seerr, take a backup of your current db in config/db folder and delete both the db and the settings.json
right I'm just going to nuke it then 🤣 when I recreate the docker will it generate a new one?
You need to reset the config folder
great, I will do that
Lmk how it goes!
yeah, it appears to have worked. I am just re-adding all of my notifications etc!
you can replace your settings.json with the old one you had
so that you don't have to setup this again
oh I've already done it now, didn't take long
it's only a webhook and a the SMTP server
all good then :)
Also little tip