#[SOLVED] Cannot GET /api/server-info/config

1 messages · Page 1 of 1 (latest)

prime veldt
#

I'm getting the following error message when trying to login to immich

I just updated to 1.79.1. Not sure why this is happening. All of my pods are running (this is running in k8s). No log output other than the browser errors and I can't connect with the app. Any help would be appreciated.

#

I still can't access the website anymore. Could it be permission related? What permissions do the image files need to have? I just changed them to uid/gid 1000 from an old permission set

prime veldt
#

Here is the browser console

prime veldt
#

Downgrading to 1.79.0 didn't fix it. It must be permission based

prime veldt
#

setting the photos library to 777 permissions didn't seem to help.

glad knot
#

Are you sure the server container is running and working?

#

This shouldn't be related to library permissions at all

left magnet
#

Looks like an issue with your reverse proxy?

prime veldt
#

I'll take a look again but yes the server is definitely running. I'm using the nginx ingress controller in kubernetes for the proxy.

glad knot
#

It could be running but still broken, have you checked the logs?

#

And can you post your helm values/manifests for immich?

left magnet
prime veldt
#

I'll do that when I get home. Thanks! I have been looking at the logs and I haven't seen one thing come through.

prime veldt
#

So here is what I've collected. Basically none of the API calls are working, and the logs aren't showing anything. Unless I'm looking in the wrong area? Top console is the server, bottom console is the web.

left magnet
#

are you using immich-proxy or no?

#

It looks like the response is coming from express, which indicates nodejs is handling it. If you click on the third tab "response", does it have a response body?

#

I'm guessing you are not using immich-proxy and the /api part isn't being stripped off of the request to the immich container

prime veldt
#

I am not using immich proxy. The response just says 404 not found at the api path.

glad knot
rain fern
#

it's best always to use immich-proxy, and if you want additional reverse proxies, put them in front of immich-proxy

prime veldt
#

So I took a look at my config again. I have based my setup based on several kuernetes@home builds (which I believe @glad knot is also a member of). Looking at my configuration compared to several others they appear to all be extremely similar if not identical. You can find my helm release here:

https://github.com/ModestTG/jace-cluster/blob/main/kubernetes/apps/media/immich/app/web/helmrelease.yaml

Based on the reading of the Reverse Proxy page, it looks like my configuration is doing the "Replacing the Default Reverse Proxy" with this snippet in my HelmRelease:

https://github.com/ModestTG/jace-cluster/blob/745ba8395bd9a5b186a4818b9c1c84b0f69afc85/kubernetes/apps/media/immich/app/web/helmrelease.yaml#L61

This seems to be working for others, yet, not for me. I haven't seen any chatter on the K8S@home discord but maybe I missed it? Hopefully this helps.

GitHub

Contribute to ModestTG/jace-cluster development by creating an account on GitHub.

GitHub

Contribute to ModestTG/jace-cluster development by creating an account on GitHub.

glad knot
#

That does look correct to me, but I don't use this rewrite method myself so I'm not certain. If you want to stick with that, it might be better to open a support thread over in kah? The alternative is using immich-proxy I guess

left magnet
#

The rewrite is supposed to be in the location block though

glad knot
#

Oh @prime veldt I think I may know what's causing you the issue, sec

#

On the latest ingress-nginx chart, config snippet annotations are disabled by default and you need to allow them by setting controller.allowSnippetAnnotations: true on the ingress-nginx helmrelease

prime veldt
#

I'll give that a test when I get home. Thanks for digging and finding that!!

prime veldt