root@debian:/home/slcun# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:f0:d2:d0:a5:24 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.169/24 brd 192.168.0.255 scope global dynamic enp3s0
valid_lft 417146520sec preferred_lft 417146520sec
inet6 2408:823c:1610:ec4::54/128 scope global dynamic
valid_lft 6793sec preferred_lft 6793sec
inet6 fe80::2f0:d2ff:fed0:a524/64 scope link
valid_lft forever preferred_lft forever
3: ztnfamwl37: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2800 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether 76:ab:75:8f:79:75 brd ff:ff:ff:ff:ff:ff
inet 10.147.18.187/24 brd 10.147.18.255 scope global ztnfamwl37
valid_lft forever preferred_lft forever
inet6 fda8:4ac5:c10a:eee:7599:9345:7b85:b8b0/88 scope global
valid_lft forever preferred_lft forever
inet6 fe80::74ab:75ff:fe8f:7975/64 scope link
valid_lft forever preferred_lft forever
4: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:c3:1c:17:02 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
inet6 fe80::42:c3ff:fe1c:1702/64 scope link
valid_lft forever preferred_lft forever
47: br-cfdc16b00ba5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:83:ee:d4:48 brd ff:ff:ff:ff:ff:ff
inet 172.18.0.1/16 brd 172.18.255.255 scope global br-cfdc16b00ba5
valid_lft forever preferred_lft forever
inet6 fe80::42:83ff:feee:d448/64 scope link
valid_lft forever preferred_lft forever
51: veth47db8cb@if50: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-cfdc16b00ba5 state UP group default
link/ether 9e:2c:11:e3:47:48 brd ff:ff:ff:ff:ff:ff link-netnsid 2
inet6 fe80::9c2c:11ff:fee3:4748/64 scope link
valid_lft forever preferred_lft forever
53: veth2305f4d@if52: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-cfdc16b00ba5 state UP group default
link/ether 4a:e0:6b:5b:7e:9d brd ff:ff:ff:ff:ff:ff link-netnsid 3
inet6 fe80::48e0:6bff:fe5b:7e9d/64 scope link
valid_lft forever preferred_lft forever
55: veth6c7d8e0@if54: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-cfdc16b00ba5 state UP group default
link/ether de:e9:17:80:d1:30 brd ff:ff:ff:ff:ff:ff link-netnsid 4
inet6 fe80::dce9:17ff:fe80:d130/64 scope link
valid_lft forever preferred_lft forever
57: veth99212ac@if56: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-cfdc16b00ba5 state UP group default
link/ether 86:b7:85:3c:b8:31 brd ff:ff:ff:ff:ff:ff link-netnsid 1
inet6 fe80::84b7:85ff:fe3c:b831/64 scope link
valid_lft forever preferred_lft forever
59: vethb76358c@if58: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
link/ether 6e:5a:bf:d2:a9:13 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fe80::6c5a:bfff:fed2:a913/64 scope link
valid_lft forever preferred_lft forever
root@debian:/home/slcun# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
54d80351283c portainer/portainer-ce:2.21.4 "/portainer" 6 minutes ago Up 6 minutes 0.0.0.0:8000->8000/tcp, :::8000->8000/tcp, 0.0.0.0:9443->9443/tcp, :::9443->9443/tcp, 9000/tcp portainer
f2418df18d28 ghcr.io/immich-app/immich-machine-learning:release "tini -- ./start.sh" 16 hours ago Up 16 hours (healthy) immich_machine_learning
66ed6c95578c ghcr.io/immich-app/immich-server:release "tini -- /bin/bash s…" 17 hours ago Up 17 hours (healthy) 2283/tcp, 0.0.0.0:2283->3001/tcp, [::]:2283->3001/tcp immich_server
4738b1df7950 tensorchord/pgvecto-rs:pg14-v0.2.0 "docker-entrypoint.s…" 17 hours ago Up 17 hours (healthy) 5432/tcp immich_postgres
cb54b592c1e2 redis:6.2-alpine "docker-entrypoint.s…" 17 hours ago Up 17 hours (healthy) 6379/tcp immich_redis
root@debian:/home/slcun# lsof -i:2283
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
docker-pr 24263 root 4u IPv4 61088 0t0 TCP *:2283 (LISTEN)
docker-pr 24269 root 4u IPv6 62672 0t0 TCP *:2283 (LISTEN)
root@debian:/home/slcun# curl 127.0.0.1:2283
curl: (56) Recv failure: 连接被对方重设
root@debian:/home/slcun# curl 192.168.0.169:2283
curl: (7) Failed to connect to 192.168.0.169 port 2283 after 0 ms: Couldn't connect to server
root@debian:/home/slcun# curl 10.147.18.187:2283
curl: (7) Failed to connect to 10.147.18.187 port 2283 after 0 ms: Couldn't connect to server
root@debian:/home/slcun# curl 172.18.0.5:2283
<!doctype html>
<html>
<head>
<!-- (used for SSR) -->
<!-- metadata:tags -->
1
winterbells 53 天前
端口问题,它更新了默认端口,现在内部也是 2283 了。更新一下 docker compose yml
https://github.com/immich-app/immich/releases/tag/v1.118.0 我也被坑了好久 |
2
xyqyear 53 天前 via Android
Immich 经常会有 breaking change ,要时常关注 release 页面。题主这个应该是升级没有改端口映射: https://github.com/immich-app/immich/releases/tag/v1.118.0
|
3
slcun OP @winterbells (lll ¬ω¬) 解决了,好坑。
|