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

"Unexpected token < in JSON at position 0" #94

Open
speeder925 opened this issue Dec 20, 2024 · 4 comments
Open

"Unexpected token < in JSON at position 0" #94

speeder925 opened this issue Dec 20, 2024 · 4 comments

Comments

@speeder925
Copy link

speeder925 commented Dec 20, 2024

Hello, I have tried to download Immich Power Tools on Unraid, but I have ran into a problem while setting it up. I have confirmed that I changed all of the variables to their correct values, such as the Postgres username, password, name, and URL, but when I try to run it it says "Unexpected token < in JSON at position 0". Is this a user error?

@rapmarz16
Copy link

i have same issue

@rapmarz16
Copy link

@speeder925 If you are using unraid, i resolved this my adding a variable key EXTERNAL_IMMICH_URL with my external url and the regular URL with my host and port and that seemed to fix it. though i still have errors in the logs about assets and albums not defined so its still not fully functioning

@speeder925
Copy link
Author

I don't currently have an external URL for my immich instance, just an internal one with my unraid system's IP address and port. I tried making that variable with my internal URL but I'm still getting the same issue unfortunately.

@robklingler
Copy link

I was receiving the same error message and was able to fix it by removing the trailing / in my IMMICH_URL variable. I changed it from "http://10.0.0.10:2283/" to "http://10.0.0.10:2283" and immediately started working after updating the container. Hopefully this is helpful to others...

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

3 participants