Skip to content
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

[Bug] CasaOS installs with no IP #1400

Closed
bigverm23 opened this issue Sep 14, 2023 · 10 comments
Closed

[Bug] CasaOS installs with no IP #1400

bigverm23 opened this issue Sep 14, 2023 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@bigverm23
Copy link

Describe the bug

CasaOS installs successfully but cannot be accessed by Host IP

To Reproduce

Steps to reproduce the behavior:

  1. curl -fsSL https://get.casaos.io | sudo bash

Expected behavior

OS should install and present with an IP address to access.

Screenshots

image

Desktop (please complete the following information):

 - OS:Ubuntu 23.04
 - Browser Edge,Chrome, Firefox
 - Linux 6.2.0-32-generic

System Time

Run timedatectl and share the output

               Local time: Thu 2023-09-14 09:59:08 EDT
           Universal time: Thu 2023-09-14 13:59:08 UTC
                 RTC time: Thu 2023-09-14 13:59:08
                Time zone: America/New_York (EDT, -0400)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Logs

Run following command to collect corresponding logs:

sudo journalctl -xef -u casaos-gateway
sudo journalctl -xef -u casaos-user-service
sudo journalctl -xef -u casaos-local-storage
sudo journalctl -xef -u casaos-app-management
sudo journalctl -xef -u casaos.service
@bigverm23 bigverm23 added the bug Something isn't working label Sep 14, 2023
@bigverm23 bigverm23 changed the title [Bug] [Bug] CasaOS installs with no IP Sep 14, 2023
@jerrykuku
Copy link
Contributor

Can you share a bit about your hardware? Is he a physical machine or a virtual machine?

@bigverm23
Copy link
Author

bigverm23 commented Sep 17, 2023 via email

@jerrykuku
Copy link
Contributor

Can you share the results after running ip a?

@bigverm23
Copy link
Author

bigverm23 commented Sep 17, 2023

I should all that Im bridging two nics through netplan

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
valid_lft forever preferred_lft forever
2: enp24s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether 00:d8:61:34:ec:37 brd ff:ff:ff:ff:ff:ff
3: enp25s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master lan1 state UP group default qlen 1000
link/ether a0:36:9f:a0:26:30 brd ff:ff:ff:ff:ff:ff
4: enp25s0f1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master dmz1 state UP group default qlen 1000
link/ether a0:36:9f:a0:26:31 brd ff:ff:ff:ff:ff:ff
5: dmz1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 3e:80:20:74:fb:e8 brd ff:ff:ff:ff:ff:ff
inet 10.0.10.6/24 brd 10.0.10.255 scope global dynamic noprefixroute dmz1
valid_lft 51023sec preferred_lft 51023sec
inet6 fe80::3c80:20ff:fe74:fbe8/64 scope link
valid_lft forever preferred_lft forever

@jerrykuku
Copy link
Contributor

Thanks for the feedback, please run ifconfig to see if this command exists?

@bigverm23
Copy link
Author

lan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.8 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 fe80::d41e:3dff:fe38:1aa0 prefixlen 64 scopeid 0x20
ether d6:1e:3d:38:1a:a0 txqueuelen 1000 (Ethernet)
RX packets 162852389 bytes 463728518408 (463.7 GB)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 112289115 bytes 228763661735 (228.7 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

@jerrykuku
Copy link
Contributor

Is that all the information?

@bigverm23
Copy link
Author

br-26ce73918dc1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.18.0.1 netmask 255.255.0.0 broadcast 172.18.255.255
inet6 fe80::42:13ff:fe68:b312 prefixlen 64 scopeid 0x20
ether 02:42:13:68:b3:12 txqueuelen 0 (Ethernet)
RX packets 9498101 bytes 8666790186 (8.6 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9192436 bytes 8549296098 (8.5 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-da6ee810de5d: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.24.0.1 netmask 255.255.0.0 broadcast 172.24.255.255
inet6 fe80::42:dff:fe4f:c7c9 prefixlen 64 scopeid 0x20
ether 02:42:0d:4f:c7:c9 txqueuelen 0 (Ethernet)
RX packets 98973196 bytes 219638941934 (219.6 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 146977428 bytes 450048713799 (450.0 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

dmz1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.10.6 netmask 255.255.255.0 broadcast 10.0.10.255
inet6 fe80::3c80:20ff:fe74:fbe8 prefixlen 64 scopeid 0x20
ether 3e:80:20:74:fb:e8 txqueuelen 1000 (Ethernet)
RX packets 848795 bytes 592334693 (592.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1128622 bytes 116914008 (116.9 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.17.0.1 netmask 255.255.0.0 broadcast 172.17.255.255
inet6 fe80::42:44ff:fea5:774d prefixlen 64 scopeid 0x20
ether 02:42:44:a5:77:4d txqueuelen 0 (Ethernet)
RX packets 125 bytes 7904 (7.9 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 211756 bytes 30582007 (30.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp24s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 00:d8:61:34:ec:37 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp25s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether a0:36:9f:a0:26:30 txqueuelen 1000 (Ethernet)
RX packets 377466180 bytes 480432662698 (480.4 GB)
RX errors 0 dropped 33533 overruns 22148 frame 0
TX packets 236177434 bytes 237520569821 (237.5 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xf7620000-f763ffff

enp25s0f1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether a0:36:9f:a0:26:31 txqueuelen 1000 (Ethernet)
RX packets 1150704 bytes 624076219 (624.0 MB)
RX errors 0 dropped 11385 overruns 0 frame 0
TX packets 1299592 bytes 125806122 (125.8 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xf7600000-f761ffff

lan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.8 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 fe80::d41e:3dff:fe38:1aa0 prefixlen 64 scopeid 0x20
ether d6:1e:3d:38:1a:a0 txqueuelen 1000 (Ethernet)
RX packets 163110697 bytes 463999570151 (463.9 GB)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 112432350 bytes 229356013753 (229.3 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 4406959 bytes 861353627 (861.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4406959 bytes 861353627 (861.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth2350827: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::fc20:84ff:fe37:a7b4 prefixlen 64 scopeid 0x20
ether fe:20:84:37:a7:b4 txqueuelen 0 (Ethernet)
RX packets 791721 bytes 405202074 (405.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1587019 bytes 757394682 (757.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth4335375: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::68f5:8ff:fe9e:4a8d prefixlen 64 scopeid 0x20
ether 6a:f5:08:9e:4a:8d txqueuelen 0 (Ethernet)
RX packets 80399 bytes 14226767 (14.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 125368 bytes 14826481 (14.8 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth0b6c43b: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::9820:91ff:feb4:21c6 prefixlen 64 scopeid 0x20
ether 9a:20:91:b4:21:c6 txqueuelen 0 (Ethernet)
RX packets 60597120 bytes 4081244005 (4.0 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 81936380 bytes 407371213623 (407.3 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth1667fe1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::741c:d5ff:fe85:e3ca prefixlen 64 scopeid 0x20
ether 76:1c:d5:85:e3:ca txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 246246 bytes 33529752 (33.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth1e8554f: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::90fd:cff:fe97:99f2 prefixlen 64 scopeid 0x20
ether 92:fd:0c:97:99:f2 txqueuelen 0 (Ethernet)
RX packets 32654 bytes 11490911 (11.4 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 610879 bytes 95028553 (95.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth1f4638c: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::b48c:dcff:fee7:4404 prefixlen 64 scopeid 0x20
ether b6:8c:dc:e7:44:04 txqueuelen 0 (Ethernet)
RX packets 20821 bytes 36244127 (36.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 600373 bytes 91201627 (91.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth2e1a5e5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::e899:73ff:fe21:8c98 prefixlen 64 scopeid 0x20
ether ea:99:73:21:8c:98 txqueuelen 0 (Ethernet)
RX packets 7575805 bytes 14788903824 (14.7 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8369896 bytes 14784076096 (14.7 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth389dcdb: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::2c48:9dff:fee0:733 prefixlen 64 scopeid 0x20
ether 2e:48:9d:e0:07:33 txqueuelen 0 (Ethernet)
RX packets 188646 bytes 181569867 (181.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 790879 bytes 448862421 (448.8 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth3ee8882: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::44e5:bff:fe44:cd7e prefixlen 64 scopeid 0x20
ether 46:e5:0b:44:cd:7e txqueuelen 0 (Ethernet)
RX packets 3538343 bytes 806228963 (806.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3234247 bytes 1778570243 (1.7 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth4f30a6b: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::88c4:64ff:fe88:5fdd prefixlen 64 scopeid 0x20
ether 8a:c4:64:88:5f:dd txqueuelen 0 (Ethernet)
RX packets 766 bytes 7047030 (7.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 573212 bytes 83262642 (83.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth630ffeb: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::a0b3:9eff:fe6d:ae64 prefixlen 64 scopeid 0x20
ether a2:b3:9e:6d:ae:64 txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 239971 bytes 32670493 (32.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth6a55640: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::6806:cbff:fe71:e546 prefixlen 64 scopeid 0x20
ether 6a:06:cb:71:e5:46 txqueuelen 0 (Ethernet)
RX packets 9056439 bytes 8726452295 (8.7 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8696998 bytes 8472381013 (8.4 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth78adfc2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::4ca1:16ff:fe6e:9fa3 prefixlen 64 scopeid 0x20
ether 4e:a1:16:6e:9f:a3 txqueuelen 0 (Ethernet)
RX packets 27832 bytes 1606342 (1.6 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 272058 bytes 34540500 (34.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth7975c03: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::145b:29ff:fe28:6401 prefixlen 64 scopeid 0x20
ether 16:5b:29:28:64:01 txqueuelen 0 (Ethernet)
RX packets 73511 bytes 299167125 (299.1 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 659939 bytes 195064941 (195.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth7f53721: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::3887:1bff:feff:567a prefixlen 64 scopeid 0x20
ether 3a:87:1b:ff:56:7a txqueuelen 0 (Ethernet)
RX packets 13871 bytes 966656 (966.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 590540 bytes 85113398 (85.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

veth8d3d4ba: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::1049:38ff:fee1:d937 prefixlen 64 scopeid 0x20
ether 12:49:38:e1:d9:37 txqueuelen 0 (Ethernet)
RX packets 51 bytes 3546 (3.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 211582 bytes 30562187 (30.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

vethaa07eba: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::687d:eeff:fec6:8008 prefixlen 64 scopeid 0x20
ether 6a:7d:ee:c6:80:08 txqueuelen 0 (Ethernet)
RX packets 12 bytes 824 (824.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 43 bytes 6954 (6.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

vethbd931ec: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::c413:48ff:fee1:d20e prefixlen 64 scopeid 0x20
ether c6:13:48:e1:d2:0e txqueuelen 0 (Ethernet)
RX packets 86557 bytes 183492488 (183.4 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 724072 bytes 303803972 (303.8 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

vethd56c9cc: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::4cd:2eff:fe40:a064 prefixlen 64 scopeid 0x20
ether 06:cd:2e:40:a0:64 txqueuelen 0 (Ethernet)
RX packets 88022 bytes 107590003 (107.5 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 691319 bytes 538247218 (538.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

vethe0e430f: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::c894:38ff:fe13:f82d prefixlen 64 scopeid 0x20
ether ca:94:38:13:f8:2d txqueuelen 0 (Ethernet)
RX packets 8381681 bytes 76960907233 (76.9 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 19248683 bytes 9791612915 (9.7 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

vethf869aa4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::5cbd:f9ff:fe00:7d1d prefixlen 64 scopeid 0x20
ether 5e:bd:f9:00:7d:1d txqueuelen 0 (Ethernet)
RX packets 8900788 bytes 89031707517 (89.0 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 18698027 bytes 1781077495 (1.7 GB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

@jerrykuku
Copy link
Contributor

Maybe it's a problem with your bridge, the install script only detects the IP address of the actual physical NIC that is present. Bridged networks are not recognized.

@jerrykuku
Copy link
Contributor

This Issue hasn't been updated for over 14 days, I will close it. if you still have problems you can reopen it or create a new Issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants