jacobalberty / unifi-docker

Unifi Docker files
MIT License
2.17k stars 458 forks source link

Restore issue, devises are offilene #767

Closed madurani closed 1 month ago

madurani commented 2 months ago

I started container with command:

[root@tms2028 ~]# docker run -d --init --restart=unless-stopped -p 8080:8080 -p 8443:8443 -p 3478:3478/udp -e TZ='Europe/Bratislava' -e UNIFI_UID=1002 -e UNIFI_GID=1002 -e RUNAS_UID0=false -e BIND_PRIV=false -v /svc/tms2028/unifi:/unifi --name unifi jacobalberty/unifi

Unifi started and work properly. Then I restored data in web gui from backup file from physical unifi console. All data/devices are in configuration but all devices are offline:

image

image

when I join to container i can ping devices, for example ip address of switch 192.168.0.232 and telnet to port 22 is reachable too:

[root@tms2028 log]# docker exec -it 2cd1b5247782 /bin/bas
root@2cd1b5247782:/unifi# ping 192.168.0.232
PING 192.168.0.232 (192.168.0.232) 56(84) bytes of data.
64 bytes from 192.168.0.232: icmp_seq=1 ttl=63 time=2.76 ms
64 bytes from 192.168.0.232: icmp_seq=2 ttl=63 time=1.02 ms
64 bytes from 192.168.0.232: icmp_seq=3 ttl=63 time=1.09 ms
^C
--- 192.168.0.232 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 1.019/1.624/2.761/0.804 ms
root@2cd1b5247782:/unifi# 

root@2cd1b5247782:/unifi# telnet 192.168.0.232 22
Trying 192.168.0.232...
Connected to 192.168.0.232.
Escape character is '^]'.
SSH-2.0-dropbear_2020.81

Could You please advise what can be wrong?

github-actions[bot] commented 1 month ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.