-
-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support for postgresql #421
Conversation
I will be reviewing this and creating a preview tag this week c: |
For anyone wanting to test migrating you can use pgloader to test. Swap out the username, password, ip and database. You have to run jellyseerr once to create the schema before migrating.
|
I've been testing this for the last ~wk (8 days) with no issues. Had to add the following for the migration to work though:
( From here ) I added 9 multi-season shows in rapid succession, something that normally would've resulted in shows getting added to sonarr, but either not searched, set to unmonitored, or equally odd behaviors - this time, it went through flawlessly. GREAT work!! 👍 |
Thanks! Doing dev work I always expect users to somehow put their head underwater if I asked them to QA a toilet, which can be helpful to find those edge case bugs. |
Great work so far, @zackhow! I managed to get this working after rebasing on I notice this hasn't had any progress in a while, are you still able/willing to work on it, @zackhow? I'm willing to lend a hand, or take it to the finish line myself if you're unable. I've noticed these finishing touches would be required, in order for this to be production-ready:
Docker ContainerI built a Docker container based on this PR, and also disabled (hardcoded) strict CA verification for anyone using self-signed certs on their Postgres instance. My requests stack is now backed entirely by Postgres (Jellyseerr, Prowlarr, Radarr, and Sonarr), yay!
My fun with migratingI was unable to use the I ended up having to build a custom container from this PR, and also using this pgloader script:
You can download the seed DB I used (there's no data in it, just the schema) from here. It's from Jellyseerr v1.7.0, and it matches with the container I linked above. Hopefully this info will help anyone wanting to test and/or develop this PR. |
Hello, |
@KtaHD use environment variables.
|
Thank you @ralgar for the response: This is my setup: version: '3' I keep receiving this error, i don't know how should i setup sslmode=disable or something: 2023-12-16T04:35:51.934Z [info]: Commit Tag: abd80c1 |
@KtaHD Thanks for catching this. This is partially an issue with how TypeORM has handled TLS connection parameters. The only way to set I've come up with a simple workaround though. You won't be able to choose a specific SSL mode, but you can either enable or disable SSL entirely with I've built a new container image, under the same tag as before. Please let me know if it works for you. |
If anyone else is having trouble with the discover page not working - I had to change the column types for |
@ralgar Thanks for the fix, i configured SSL on my Postgres instance anyway just in case and it works. The issues that i tough i can fix is not yet resolved by using postgres, the app is still loading painfully slow (using ip, not domain). |
@KtaHD that could be dns. Try adding
If a container |
Always the DNS... Thank you @Fallenbagel, you're a legend. I still have issues making Docker Network accepting Pi-Hole as his Lord and Savior. |
I don't know if we can fix the Requests menu using this, if i delete something from there it reappears. Also there must be something with the notifications, because i left the container opened today and it sent like 10 emails to confirm that a movie is available now |
superseded by #628 |
Near the same as my PR in overseerr. Opening this here for others to test out. I haven't run into any issues myself so a second set of eyes would be good.
I also tested migrating an overseerr sqlite db but would also like more testing for that if possible.