#I tried the same thing on ubuntu but am

1 messages ยท Page 1 of 1 (latest)

brazen compass
#

How?

#

docker run?

#

Compose file?

hollow dawn
#

docker run

brazen compass
#

Did you check that Ubuntu's firewall is disabled?

#

Great, share the run command

wide bladeBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

hollow dawn
# brazen compass Did you check that Ubuntu's firewall is disabled?

I'm figuring out how to do that right now. Am new to linux.
This is the command I used:

docker run -d --name homeassistant --privileged --restart=unless-stopped -e TZ=Asia/Kolkata -v /home/raj/homeassistant:/config -v /run/dbus:/run/dbus:ro --network=host ghcr.io/home-assistant/home-assistant:stable
wide bladeBOT
#

@hollow dawn When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.

You have to change this every time (thank the Discord devs for that).

brazen compass
#

Ok, so host networking is correct

#

Either the container isn't running, or Ubuntu is being Ubuntu again

#

Running HAOS as a VM on Windows may better suit you

hollow dawn
#

Any way to run it on wifi/

#

?

brazen compass
#

Please... I asked already... turn of the damn ping @hollow dawn

hollow dawn
#

Sorry... I didn't know about this....

brazen compass
#

That's why I sent you that... which you ignored ๐Ÿ˜‰

#

You need to sort out the Ubuntu firewall crap

#

Sadly I can't help with that as I won't run Ubuntu

hollow dawn
#

ubuntu firewall is inactive as per sudo ufw status

brazen compass
#

I just know from many posts here that it does stupid stuff

#

Check the HA log file/container status

#

Make sure HA is running

hollow dawn
brazen compass
#

The VM doesn't know or care about wifi

#

if you replace the OS with HAOS then that can use WiFi - if the hardware is supported

#

it's just a bad idea

hollow dawn
#

ok

#

the HA log files are blank...

brazen compass
#

What about the container logs?

hollow dawn
#

Where do I find those?

brazen compass
#

docker logs NAME_OF_CONTAINER

hollow dawn
#

Ok I think I'm going to give it a shot with vmware workstation and if wifi works with that, I'll just go with that otherwise a raspberry pi or something.
THanks

hollow dawn
#

Would you happen to know anything about this?

brazen compass
#

I don't use HAOS, or add-ons

hollow dawn
#

ok thanks

hollow dawn
brazen compass
#

Container (Docker) all the way

hollow dawn
#

On linux I'm guessing?
If so what distro?

brazen compass
#

Debian

hollow dawn
#

ok Thanks

#

Is it user friendly for beginners?

#

Debian

brazen compass
#

Without knowing how much of a beginner to any form of Linux you are ... yes/no/maybe

#

As long as you have some Linux experience it's just another distro

hollow dawn
#

haha ya I guess that makes sense

hollow dawn
#

Turns out the mistake in my docker command was that I hadn't included this argument:
-p 8123:8123

#

But now it runs and keeps on exiting

brazen compass
#

Well, you don't need or want that

#

There's a reason the docs don't show that ๐Ÿ˜‰

#

You have to use host networking (which only works on Linux)

#

And if it's exiting you've got logs... look at them ๐Ÿ˜‰

hollow dawn
#

Where do I put host networking in this command?

docker run -d --name homeassistant --privileged --restart=unless-stopped -e TZ=Asia/Kolkata -v /home/raj/homeassistant:/config -v /run/dbus:/run/dbus:ro --network=host ghcr.io/home-assistant/home-assistant:stable
brazen compass
#

You already have

#
--network=host
#

Though you really should move to compose

hollow dawn
#

I don't know what compose it I'll have to figure that out

#

What are the benefits of moving to compose?

brazen compass
#

You get a YAML file that describes the container definition

#

You can back that up, and making changes is easier than remembering what else you had on the command line 6 months ago

hollow dawn
brazen compass
#

No, that only works for HAOS

hollow dawn
#

So what url do use to access the container ha?

hollow dawn
#

I tried http://<ip-address>:8123/ but that doesn't seem to be working

brazen compass
#

Well, that's what you use

#
  1. Check the container is running
  2. Check the container logs
  3. Check the HA log file in the config folder
hollow dawn
#

These are the container logs:

2024-02-06 20:50:32 s6-rc: info: service s6rc-oneshot-runner: starting
2024-02-06 20:50:32 s6-rc: info: service s6rc-oneshot-runner successfully started
2024-02-06 20:50:32 s6-rc: info: service fix-attrs: starting
2024-02-06 20:50:32 s6-rc: info: service fix-attrs successfully started
2024-02-06 20:50:32 s6-rc: info: service legacy-cont-init: starting
2024-02-06 20:50:32 s6-rc: info: service legacy-cont-init successfully started
2024-02-06 20:50:32 s6-rc: info: service legacy-services: starting
2024-02-06 20:50:32 services-up: info: copying legacy longrun home-assistant (no readiness notification)
2024-02-06 20:50:32 s6-rc: info: service legacy-services successfully started
#

Where can I find the config folder?

brazen compass
#
-v /home/raj/homeassistant:/config
hollow dawn
#

There are a few home-assistant.log files in my homeassistant folder but they are all empty

#

There is no config folder as such in the homeassistant folder

#

only a configuration.yaml

wide bladeBOT
#

If you're having problems with your updates to your configuration: