Can't enable Public albums sharing using quickstart.sh

Hi, I'm currently self hosting my ente photos using the quickstart.sh command with docker to create it. But I can't manage to make public albums works. My compose.yaml config :
web:
image: ghcr.io/ente-io/web
# Uncomment what you need to tweak.
ports:
- 3000:3000 # Photos web app
# - 3001:3001 # Accounts
- 3002:3002 # Public albums
# - 3003:3003 # Auth
# - 3004:3004 # Cast
environment:
ENTE_API_ORIGIN: https://api.*****.xyz
ENTE_ALBUMS_ORIGIN: https://albums.*****.xyz
web:
image: ghcr.io/ente-io/web
# Uncomment what you need to tweak.
ports:
- 3000:3000 # Photos web app
# - 3001:3001 # Accounts
- 3002:3002 # Public albums
# - 3003:3003 # Auth
# - 3004:3004 # Cast
environment:
ENTE_API_ORIGIN: https://api.*****.xyz
ENTE_ALBUMS_ORIGIN: https://albums.*****.xyz
And my museum.yaml :
apps:
public-albums: https://albums.*****.xyz
apps:
public-albums: https://albums.*****.xyz
I tried using https://help.ente.io/self-hosting/faq/sharing but it doesn't work... Thank you.
Album sharing | Ente Help
Getting album sharing to work using an self-hosted Ente
4 Replies
Ducky
Ducky4mo ago
Remember to use /solved to mark your thread as solved once your question is answered.
Keerthana
Keerthana4mo ago
Hey there, did you try restarting the cluster for changes to take effect? This setup is correct
Cornbread1400
Cornbread1400OP4mo ago
Yes I tried but when i try to access albums, it says 404 error, it may be due to my reverse proxy configuration My nginx config :
server {
listen [::]:443 ssl;
listen *:443 ssl;
server_name albums.******.xyz;

ssl_certificate server.crt;
ssl_certificate_key server.pem;

location / {
proxy_pass http://localhost:3002/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
server {
listen [::]:443 ssl;
listen *:443 ssl;
server_name albums.******.xyz;

ssl_certificate server.crt;
ssl_certificate_key server.pem;

location / {
proxy_pass http://localhost:3002/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Keerthana
Keerthana4mo ago
Try removing the trailing slash for proxy_pass, they are known to be problematic. Keys I think isn't the problem here

Did you find this page helpful?