I
Immich•2y ago
dms

installation all green, but no frontend

Hi guys, installed on my ubuntu docker server, portainer does not give me any errors, all containers running but no frontend... Any hints where to start looking for a solution?? #setup
30 Replies
bo0tzz
bo0tzz•2y ago
What do you mean by "no frontend"? Can you not reach it or are you getting an error?
dms
dmsOP•2y ago
sorry, got a 404, so cannot reach it at all
bo0tzz
bo0tzz•2y ago
Can you post some more detail? Compose file, logs, the URL you're trying to reach, etc
dms
dmsOP•2y ago
check
dms
dmsOP•2y ago
dms
dmsOP•2y ago
docker compose
Daniel
Daniel•2y ago
Oh, so since immich_proxy is on a different network, it can't reach all the other containers
dms
dmsOP•2y ago
so i should add the t2_proxy network to all other containers as well..??
Daniel
Daniel•2y ago
I think it would be best to just have a dedicated "immich network" (bridge) But adding the t2_proxy network might work as well
dms
dmsOP•2y ago
added network immich to all immich containers, restarting now...:-) log from immich_proxy:
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-set-env-variables.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/default.conf.template to /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2023/10/10 17:24:30 [notice] 1#1: using the "epoll" event method
2023/10/10 17:24:30 [notice] 1#1: nginx/1.25.0
2023/10/10 17:24:30 [notice] 1#1: built by gcc 12.2.1 20220924 (Alpine 12.2.1_git20220924-r4)
2023/10/10 17:24:30 [notice] 1#1: OS: Linux 5.10.0-25-amd64
2023/10/10 17:24:30 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2023/10/10 17:24:30 [notice] 1#1: start worker processes
2023/10/10 17:24:30 [notice] 1#1: start worker process 41
2023/10/10 17:24:30 [notice] 1#1: start worker process 42
2023/10/10 17:24:30 [notice] 1#1: start worker process 43
2023/10/10 17:24:30 [notice] 1#1: start worker process 44
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-set-env-variables.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
20-envsubst-on-templates.sh: Running envsubst on /etc/nginx/templates/default.conf.template to /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2023/10/10 17:24:30 [notice] 1#1: using the "epoll" event method
2023/10/10 17:24:30 [notice] 1#1: nginx/1.25.0
2023/10/10 17:24:30 [notice] 1#1: built by gcc 12.2.1 20220924 (Alpine 12.2.1_git20220924-r4)
2023/10/10 17:24:30 [notice] 1#1: OS: Linux 5.10.0-25-amd64
2023/10/10 17:24:30 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2023/10/10 17:24:30 [notice] 1#1: start worker processes
2023/10/10 17:24:30 [notice] 1#1: start worker process 41
2023/10/10 17:24:30 [notice] 1#1: start worker process 42
2023/10/10 17:24:30 [notice] 1#1: start worker process 43
2023/10/10 17:24:30 [notice] 1#1: start worker process 44
Daniel
Daniel•2y ago
It doens't work?
dms
dmsOP•2y ago
nope
bo0tzz
bo0tzz•2y ago
Are you still having the same issue?
dms
dmsOP•2y ago
now i get a host error from cloudflare gateway time out
bo0tzz
bo0tzz•2y ago
Can you test locally without involving cloudflare?
dms
dmsOP•2y ago
the logs of the proxy comtainer give me
start worker process 44
start worker process 44
`
Daniel
Daniel•2y ago
That is know isse, just debug log basically Can you try reaching it locally as bo0tzz mentioned (so just ip address)
dms
dmsOP•2y ago
on local ip :8080 i get a 404
schuhbacca
schuhbacca•2y ago
It would be local ip:2283
dms
dmsOP•2y ago
error 1003: direct access not allowed i created a immich network , bridged attached all containers to that network checking all other containers: tyoesense log:
W20231010 18:09:46.526499 164 controller.cpp:1454] SIGINT was installed with 1
W20231010 18:09:46.526564 164 raft_server.cpp:570] Single-node with no leader. Resetting peers.
W20231010 18:09:46.526572 164 node.cpp:894] node default_group:172.27.0.2:8107:8108 set_peer from 172.25.0.5:8107:8108 to 172.27.0.2:8107:8108
W20231010 18:09:56.542052 164 raft_server.cpp:570] Single-node with no leader. Resetting peers.
W20231010 18:09:46.526499 164 controller.cpp:1454] SIGINT was installed with 1
W20231010 18:09:46.526564 164 raft_server.cpp:570] Single-node with no leader. Resetting peers.
W20231010 18:09:46.526572 164 node.cpp:894] node default_group:172.27.0.2:8107:8108 set_peer from 172.25.0.5:8107:8108 to 172.27.0.2:8107:8108
W20231010 18:09:56.542052 164 raft_server.cpp:570] Single-node with no leader. Resetting peers.
schuhbacca
schuhbacca•2y ago
Are you able to access it via (IP Address of Machine):2283 if you remove all the traefik labels?
dms
dmsOP•2y ago
commented out all traefik labels, compose up, still error 1003 on localip: 2283 😦
schuhbacca
schuhbacca•2y ago
1003 is not a standard HTTP Error code so I am not really sure in that case.
dms
dmsOP•2y ago
i dont mind starting allover if somebody has a good up to date tutorial on this install in combination with traefik...??
schuhbacca
schuhbacca•2y ago
I use traefik with immich. I would reccomend first getting immich setup standard with just the docker compose from the setup instructions. Once that is up and running I followed this tutorial from techno tim for setting up wildcard certificates with traefik for sites: https://www.youtube.com/watch?v=liV3c9m_OX8 Def make sure you can just get a barebones setup working first though before tweaking anything else
Techno Tim
YouTube
Put Wildcard Certificates and SSL on EVERYTHING - Traefik Tutorial
Today, we're going to use SSL for everything. No more self-sign certs. No more http. No more hosting things on odd ports. We're going all in with SSL for our internal services and our external services too. We going to set up a reverse proxy using Traefik, Portainer, and use that to get wildcard certificates from Let's Encrypt. Join me and ...
dms
dmsOP•2y ago
started allover, used the docker compose from the install docs, again this 1003 error...:-(
Alex Tran
Alex Tran•2y ago
So everything works on local IP but not when you accessing over reverse proxy?
dms
dmsOP•2y ago
Hi Alex, nope, cannot get anything working on the local IP's or through traefik...
Alex Tran
Alex Tran•2y ago
Try this, use the default docker-compose then bring down the staack and bring them backup
dms
dmsOP•2y ago
made a mistake in the mappings, got it working thanks to @schuhbacca !

Did you find this page helpful?