Skip to content
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

Docker, error when searching and recent #105

Open
mrasmith opened this issue Jan 28, 2024 · 5 comments
Open

Docker, error when searching and recent #105

mrasmith opened this issue Jan 28, 2024 · 5 comments

Comments

@mrasmith
Copy link

I'm trying to run a local instance of debridmediamanager (in docker). Most lists work, i.e. browse/today, browse/best etc but I get this errors when I try recent:

Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data

Also when I try use the search feature I get the following error:

Error: Invalid prisma.search.findUnique()invocation: error: Error validating datasourcedb: the URL must start with the protocol mysql://. --> schema.prisma:10 | 9 | provider = "mysql" 10 | url = env("DATABASE_URL") | Validation Error Count: 1

I believe I've set up the database correctly on PlanetScale as described on the setup instructions. I've also entered keys for TMDB, MDBLIST, OMDB and Jackett

Am I missing something else that's required ?

@alceasan
Copy link

Same problem here, using local database in my case. In any case, PlanetScale has already stop offering its free tier, so a local database option should also be included in the setup instructions.

@yowmamasita
Copy link
Collaborator

The ideal migration path would be to self host the database as well. It should be straightforward since I am using Prisma.

@amcgready
Copy link

Unfortunately, I am having the same errors on my end as well.

@12nick12
Copy link

12nick12 commented Jun 9, 2024

Is there a .sql file available to create the correct database schema since it appears the docker container doesn't create the schema on first start.

@st-ivan
Copy link

st-ivan commented Jun 20, 2024

Is there a .sql file available to create the correct database schema since it appears the docker container doesn't create the schema on first start.

facing this same issue. docker setup doesnt provide any search result. did you fix your setup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants