-
Notifications
You must be signed in to change notification settings - Fork 58
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
Upgrading from v4 to v5 to v6 #214
Comments
Skip version 5 all together. I see that you are using traefik, you need to forward the proto. As follow is part of my docker compose:
|
BTW looking at your traefik setup: This is bad practice:
If traefik is compromised your all server is F***. Here is some reading material : https://github.com/wollomatic/socket-proxy :) |
Also there is a change in the volumes. Here is some details (I think you can infer what needs changing):
|
I would also suggest to use doozle https://dozzle.dev/ It is very very nice to get the logs of your container in real time. |
traefik is my edge TLS termination so this is unnecessary? so what you're saying about lychee is that it's a straight upgrade from 4.13 to 6 once the volumes have been finagled? |
This still necessary for Lychee to know which kind of prefix to use: http or https in the links.
In theory yes. |
Unfortunately I see the same type of issue with a straight jump to v6. Logs appear to be happy the migrations were all conducted successfully, alas the gallery has no images anymore. You can see what I mean here.
|
I see, go to your lychee
And you should be back on track. |
Oh. Well there we are. Any need to supply https or not? |
I would supply it :) PS: if you edit directly the |
There is some kind of bug / weirdness with how that is parsed.
If I supply The traefik middleware lines are unnecessary too. |
Yes, that is why the proto forwarding is needed. See here: #214 (comment) They may be unnecessary for basic setup, but are necessary to enable WebAuthn. |
The built-in diagnostics state the same error regardless of whether I include those lines for traefik or not. |
Interesting. That should not be the case. |
I attempted to upgrade yesterday from v4 to v5 but all the thumbnails dissapeared and no files would load in the new v5 interface - I didn't even try v6.
Could you provide some migration instructions from 4.13 -> +onwards please? Running via docker if it helps - compose.yaml.
Running instance is at https://gallery.ktz.cloud.
Thanks!
The text was updated successfully, but these errors were encountered: