Not able to connect to blueos after installation on Jetson

I followed help from here Jetson Nano as Companion Computer - #12 by EliotBR to install on my jetson orin nano–and everything seemed to install fine after that, and the system rebooted.

I am trying to connect to blue OS on my nano through wifi, but i get a page not found everytime.

i ran

docker ps -a
CONTAINER ID   IMAGE                                  COMMAND                 CREATED             STATUS    PORTS     NAMES
eaab8df3ff92   bluerobotics/blueos-bootstrap:master   "/bin/sh -c /main.py"   About an hour ago   Created             blueos-bootstrap

i can see a container installed on my system under /var/lib/docker/containers

any help to troubleshoot would be appreciated, thanks!

Hi! blueos-core should be running, too. Check both container logs for hints:

docker logs blueos-bootstrap
docker logs blueos-core

just tried running both the commands,
docker logs blueos-bootstrap : doesnt output anything on the terminal
docker logs blueos-core: returns this-Error: No such container: blueos-core

additionally i installed it again(because i didnt record the installation logs) and this is the screenshot of the last part of the installation

output of

docker ps -a
CONTAINER ID   IMAGE                                  COMMAND                 CREATED         STATUS    PORTS     NAMES
6d879f1febaa   bluerobotics/blueos-bootstrap:master   "/bin/sh -c /main.py"   7 minutes ago   Created             blueos-bootstrap

i want to confirm im doing the correct thing by just entering http://blueos.local on my nano after the reboot is done

oh, you don’t have an /etc/rc.local, interesting. That is not strictly necessary, though.

run docker start blueos-boostrap and bootstrap should start and start blueos-core with it.

@axppxsky, let us know how it goes :slight_smile:

@patrickelectric thanks for the help!

i ran docker start blueos-boostrap and both the containers started running.

however when i type http://blueos.local, it looks like the page is connected but nothing shows on screen


{posting container logs in replies below}

container logs for blueos-core

container logs for blueos-bootstrap

can you check the browser console? also I recommend a ctrl+f5 for refreshing with no cache.

oh nevermind, core seems to be dying.

(I’m making lunch, brb)

1 Like

appreciate it :slight_smile:

Check if you have any logs in /var/logs/blueos.

Feel free to upload them here. As bootstrap is complaining that it is unable to talk to version-chooser. I would check its logs first.

these are the logs i found under /var/logs/services /version-chooser

logfile_11-10-2023_14:38:05.log (27.9 KB)
logfile_11-10-2023_14:38:26.log (625.8 KB)

there are also other logs under services
var/logs/blueos/services$ ls
ardupilot-manager cable-guy major_tom version-chooser
bag-of-holding commander mavlink-camera-manager wifi-manager
beacon helper nmea-injector
bootstrap kraken pardal
bridget log-zipper ping

could it be a mistake in my installation?

i forked the repo, made the change and ran this command
sudo su -c 'curl -fsSL https://raw.githubusercontent.com/bluerobotics/blueos-docker/master/install/install.sh | bash'

i just replaced the url with mine

can you show me the output of docker ps -a ?

also try accessing version-chooser api directly:
http://blueos.local:8081/v1.0/ui/
try using the IP directly as well.

lastly, docker inspect blueos-core could be useful for diagnostics. make sure there’s nothing private in there though. it includes a lot of data.

output of

docker ps -a
CONTAINER ID   IMAGE                                  COMMAND                  CREATED             STATUS             PORTS     NAMES
9bc7b2e747d1   bluerobotics/blueos-core:factory       "/bin/sh -c '/bin/ba…"   About an hour ago   Up About an hour             blueos-core
6d879f1febaa   bluerobotics/blueos-bootstrap:master   "/bin/sh -c /main.py"    16 hours ago        Up 16 hours                  blueos-bootstr

i am able to open the version chooser api, but im unsure what i must enter in it

to access the IP i just pasted 192.168.2.2 on the browser and its the same screenshot as above where a blank page opens

i can see a lot of aspects private when i run inspect, how can i change it?

docker inspect blueos-core 
[
    {
        "Id": "9bc7b2e747d1c1540ef1c8a2a4a5c4d67be096a268b1b491c9bc794a7f3e7aaf",
        "Created": "2023-11-10T14:38:16.018085106Z",
        "Path": "/bin/sh",
        "Args": [
            "-c",
            "/bin/bash -i /usr/bin/start-blueos-core && sleep infinity"
        ],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 3864,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2023-11-10T14:38:17.11674373Z",
            "FinishedAt": "0001-01-01T00:00:00Z"
        },
        "Image": "sha256:2096b439266ae3114fc7a7b9bf7f4d85d4d586b307bd60e8926ed2097bf4cdc6",
        "ResolvConfPath": "/var/lib/docker/containers/9bc7b2e747d1c1540ef1c8a2a4a5c4d67be096a268b1b491c9bc794a7f3e7aaf/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/9bc7b2e747d1c1540ef1c8a2a4a5c4d67be096a268b1b491c9bc794a7f3e7aaf/hostname",
        "HostsPath": "/var/lib/docker/containers/9bc7b2e747d1c1540ef1c8a2a4a5c4d67be096a268b1b491c9bc794a7f3e7aaf/hosts",
        "LogPath": "/var/lib/docker/containers/9bc7b2e747d1c1540ef1c8a2a4a5c4d67be096a268b1b491c9bc794a7f3e7aaf/9bc7b2e747d1c1540ef1c8a2a4a5c4d67be096a268b1b491c9bc794a7f3e7aaf-json.log",
        "Name": "/blueos-core",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": null,
        "HostConfig": {
            "Binds": [
                "/dev/:/dev/:rw",
                "/sys/:/sys/:ro",
                "/var/run/wpa_supplicant/wlan0:/var/run/wpa_supplicant/wlan0:rw",
                "/tmp/wpa_playground:/tmp/wpa_playground:rw",
                "/var/run/docker.sock:/var/run/docker.sock:rw",
                "/var/logs/blueos:/var/logs/blueos:rw",
                "/run/udev:/run/udev:ro",
                "/home/pi/.ssh:/home/pi/.ssh:rw",
                "/etc/blueos:/etc/blueos:rw",
                "/etc/machine-id:/etc/machine-id:ro",
                "/etc/dhcpcd.conf:/etc/dhcpcd.conf:rw",
                "/usr/blueos/userdata:/usr/blueos/userdata:rw",
                "/usr/blueos/extensions:/usr/blueos/extensions:rw",
                "/usr/blueos/bin:/usr/blueos/bin:rw",
                "/etc/resolv.conf.host:/etc/resolv.conf.host:ro",
                "/root/.config/blueos:/root/.config:rw"
            ],
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "host",
            "PortBindings": null,
            "RestartPolicy": {
                "Name": "",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "host",
            "Dns": null,
            "DnsOptions": null,
            "DnsSearch": null,
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": true,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": [
                "label=disable"
            ],
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": null,
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": null,
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "KernelMemory": 0,
            "KernelMemoryTCP": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": false,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "MaskedPaths": null,
            "ReadonlyPaths": null
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/82fb601c4925eeb4df2ffdb78995368a976f01d1995bea7254d9a2149c5e02a5-init/diff:/var/lib/docker/overlay2/563d4d7e63e993151fce22b700379b481bbcc77181c3a4c6886645881d407d60/diff:/var/lib/docker/overlay2/961601b09d832d673415f3818536090be28c59c10ad036a73077e6f88c993bac/diff:/var/lib/docker/overlay2/2f5e7e4555255f6d4851a6e28a6ed5bb9c66060a9a6a5ad1a150924f14e280e2/diff:/var/lib/docker/overlay2/200b7fa647e91009e871c3b25e0fed5b20d19a88b394d185e8d9ff9ce1f535f6/diff:/var/lib/docker/overlay2/516d9f07a3be65a33c968585bb27b8b3d1d740c8a2e3805085f8bf233d9d2fd5/diff:/var/lib/docker/overlay2/f1c132aeb4111eef4dfa8aa33ad0eef0d55e422851459935699040199e44525c/diff:/var/lib/docker/overlay2/8531fa6d1580b084efdc296bd8fa4782f7c32fcc0cd97f58dfc813e62d3d4a60/diff:/var/lib/docker/overlay2/f4053740a5206b14191a248b6a02090eb4688f3aa3bada62137f633283da35b0/diff:/var/lib/docker/overlay2/1a318ae9a509d9f9da6d5c75ec44444187ba3f67b8454ec9d0eb6fe96bd65fcf/diff:/var/lib/docker/overlay2/fae38d9ab867386498a1413998e617ebc4652a48ec00ffe2ae25f9dc328c7362/diff:/var/lib/docker/overlay2/cd3101550edc3453272eb92441b60bcde60b44ff4b4c920687638d00f6e39699/diff:/var/lib/docker/overlay2/de4427724173e3ccd44a1eb244c5fa7af85cf97eef0b491ffc5e8fe6a9bae19f/diff:/var/lib/docker/overlay2/93923c063f97479703ff0a7a6387ad9e4324961c0a71a39639313c51d154378d/diff:/var/lib/docker/overlay2/8acce86645b1ef697659683b20ea62e31015a662369aa0a7bf3ca9b4a10846a7/diff:/var/lib/docker/overlay2/727b3b1e78a6363d59b9bc563d364fe3bd106fd64e553754406a98a35c93663f/diff:/var/lib/docker/overlay2/9508c660e388ee1ad85415b4c481a024e0d0e96a1c3f1710b85274ecf64158ca/diff:/var/lib/docker/overlay2/ecce7bc430135a6c6f3357255b204cc61e09765c906c1bc3f9bd148359cd19ad/diff:/var/lib/docker/overlay2/0ba5fe4a444bfd84ad3a44926123cadd5b7102ab84f167047e0aea4396beeb46/diff:/var/lib/docker/overlay2/ec62960ab08bad94d2d010deff0c1675e89c0713b2ff27f1647d3f1e5ba25a67/diff:/var/lib/docker/overlay2/9fab718f79b48c550d9f3c42726be1f63f2289cd78f7895996525a4b2e7669cb/diff:/var/lib/docker/overlay2/6d59982f984cfa951a9f0b92d8b7e9e1ed71412703af5ec90410b6a0e85f80b0/diff:/var/lib/docker/overlay2/8667c33eba4a274a206c90e058cf594b8defb6295f3b1a94df5ad1b53ec712cd/diff:/var/lib/docker/overlay2/c05e6f184c859a1c5d032274d7328c0fea21a308b3dc1ab2e31175de03fb00c5/diff:/var/lib/docker/overlay2/a14c3177fcb4968191eeb25a31adcab764c6c9ac33bb2e04389007f9acfc8c7e/diff:/var/lib/docker/overlay2/49d449b1e1c0ee97af5e6416ae36962aa67922bcc253406245b9f88d8af9587f/diff:/var/lib/docker/overlay2/69884916d7205cff6336be4743485ee704a22090f3f3a93390154e84dd585444/diff:/var/lib/docker/overlay2/e3ac40fa2adf001cee5ef388f6c524c68c41966ead431de45ce8f8b2b23a78b3/diff:/var/lib/docker/overlay2/227ae658172311649ca3ad81fc6d45c04d4dfc5887bbf9b23a3ed9e61c5d2ccb/diff:/var/lib/docker/overlay2/f9113a54a50e86b3816ee7259518a624c5cf59660da123a3abea5a536582f1fd/diff:/var/lib/docker/overlay2/4170924ebbced325f5ba3a17e0ec2ae3bf52d8cb9f134f257adaf458ea42872b/diff:/var/lib/docker/overlay2/c540c2052aef2aac77bed973f5e9e25dc15d19b180b87d8497df73f71ae6d03d/diff:/var/lib/docker/overlay2/ddcc633238ba9c1c1df2fa8e2e000602cd4e1a16ab33c3d8046b4db8c947390d/diff:/var/lib/docker/overlay2/3c15d8605f04e7235c80ccad7fdb1867c1be74a402cc31c9f21ff640aabefa50/diff:/var/lib/docker/overlay2/de5fbd65cc3aeabb014ac030dcd035c7648cfa51cc261a7a7e9e7d3238f57ab3/diff:/var/lib/docker/overlay2/625da44362086e09e3e09b3d09687779bf241bfc49a2d0fc5909926916089310/diff:/var/lib/docker/overlay2/8f9f4df634bd3172d4beac8592d2a24e86e51c9faa28586e62cfa453bd3a34a7/diff:/var/lib/docker/overlay2/73300ea808d372fe45a3d121ab80c2dff558f558cf39d3adcb762556d6ca237b/diff",
                "MergedDir": "/var/lib/docker/overlay2/82fb601c4925eeb4df2ffdb78995368a976f01d1995bea7254d9a2149c5e02a5/merged",
                "UpperDir": "/var/lib/docker/overlay2/82fb601c4925eeb4df2ffdb78995368a976f01d1995bea7254d9a2149c5e02a5/diff",
                "WorkDir": "/var/lib/docker/overlay2/82fb601c4925eeb4df2ffdb78995368a976f01d1995bea7254d9a2149c5e02a5/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/home/pi/.ssh",
                "Destination": "/home/pi/.ssh",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/etc/dhcpcd.conf",
                "Destination": "/etc/dhcpcd.conf",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/var/run/wpa_supplicant/wlan0",
                "Destination": "/var/run/wpa_supplicant/wlan0",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/etc/machine-id",
                "Destination": "/etc/machine-id",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/usr/blueos/userdata",
                "Destination": "/usr/blueos/userdata",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/usr/blueos/bin",
                "Destination": "/usr/blueos/bin",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/root/.config/blueos",
                "Destination": "/root/.config",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/sys",
                "Destination": "/sys",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/var/run/docker.sock",
                "Destination": "/var/run/docker.sock",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/var/logs/blueos",
                "Destination": "/var/logs/blueos",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/etc/blueos",
                "Destination": "/etc/blueos",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/dev",
                "Destination": "/dev",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/tmp/wpa_playground",
                "Destination": "/tmp/wpa_playground",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/run/udev",
                "Destination": "/run/udev",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/usr/blueos/extensions",
                "Destination": "/usr/blueos/extensions",
                "Mode": "rw",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "bind",
                "Source": "/etc/resolv.conf.host",
                "Destination": "/etc/resolv.conf.host",
                "Mode": "ro",
                "RW": false,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "blueos",
            "Domainname": "",
            "User": "",
            "AttachStdin": false,
            "AttachStdout": false,
            "AttachStderr": false,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "LANG=C.UTF-8",
                "GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568",
                "PYTHON_VERSION=3.9.17",
                "PYTHON_PIP_VERSION=23.0.1",
                "PYTHON_SETUPTOOLS_VERSION=58.1.0",
                "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/9af82b715db434abb94a0a6f3569f43e72157346/public/get-pip.py",
                "PYTHON_GET_PIP_SHA256=45a2bb8bf2bb5eff16fdd00faef6f29731831c7c59bd9fc2bf1f3bed511ff1fe"
            ],
            "Cmd": [
                "/bin/sh",
                "-c",
                "/bin/bash -i /usr/bin/start-blueos-core && sleep infinity"
            ],
            "Image": "bluerobotics/blueos-core:factory",
            "Volumes": {
                "/dev/": {},
                "/etc/blueos": {},
                "/etc/dhcpcd.conf": {},
                "/etc/machine-id": {},
                "/etc/resolv.conf.host": {},
                "/home/pi/.ssh": {},
                "/root/.config": {},
                "/run/udev": {},
                "/sys/": {},
                "/tmp/wpa_playground": {},
                "/usr/blueos/bin": {},
                "/usr/blueos/extensions": {},
                "/usr/blueos/userdata": {},
                "/var/logs/blueos": {},
                "/var/run/docker.sock": {},
                "/var/run/wpa_supplicant/wlan0": {}
            },
            "WorkingDir": "",
            "Entrypoint": null,
            "OnBuild": null,
            "Labels": {}
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "9f813d554e8150d9296b3978d0bb5a238db450a76908861787b10d561eb60b85",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/default",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "",
            "Gateway": "",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "",
            "IPPrefixLen": 0,
            "IPv6Gateway": "",
            "MacAddress": "",
            "Networks": {
                "host": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "6cf9784f7a9a1ab477bf5186426993beab56785e83e68304b4a1c3fca3bd0615",
                    "EndpointID": "af06e8eea23863e56be2eea611835ff5e2f8886c9b3b3975ee1c028957cdd0ab",
                    "Gateway": "",
                    "IPAddress": "",
                    "IPPrefixLen": 0,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "",
                    "DriverOpts": null
                }
            }
        }
    }
]

Things seem to be running. can you check the browser console when you open http://192.168.2.2 ?

this is what appears on the screen

looks like the connection isnt secure? can i do something about it? is there any other method i can use to try connecting

I am not sure of what is your browser. U tthere should be some more useful in the developer tools console on it.

i am using firefox on my jetson right now, does this work better with some other browser?

what happens if you run 0.0.0.0 ?
If you are running it locally, you should open via localhost or the computer ip.