#Installation VM

1 messages · Page 1 of 1 (latest)

junior cargo
#

@fallen dew sorry for getting you back now, could please help and check with me if my instllation and the other thing i showed you the other day work?

#

because i just started my HA again and it took 9 min of the docker application to start

#

and its still booting in slot B

#

also it just said "Home asssitant CLI not starting! jump into emergency console..."

#

i restarted and just got: "Error returned from Supervisor: System is not ready with state: setup"

junior cargo
#

so looks like manually choosing Slot A works, but still, many errors appears when booting up even though it works now

fallen dew
#

There's so many conversations across all my server I can't possibly remember every one of them. I gotta know the context. You write too many messages for me to find it. What errors?

junior cargo
fallen dew
#

No that's fine.

junior cargo
#

also i am having a problem with Zigbee2MQTT, it says its on but every time i got to the tab/page it says " do you want to start it?"

#

The add-on seems to not be ready, it might still be starting. Do you want to try again?

fallen dew
#

Check the logs.

junior cargo
#

this is what i get

fallen dew
#

Seems like your adapter is missing.

junior cargo
#

adapter? my zigbee stick?

junior cargo
#

if i go to HA hardware page and search for the zigbee dongle i do not see it in there

#

i am not sure what i need to do though, i have it enabled it on the Virtual Machine, so it should technically see it

fallen dew
#

What VM software do you use?

junior cargo
#

on a mac mini

#

i am pretty sure it sees it, cuz i am able to add it again

fallen dew
#

Try to power off the VM then and start it again. Also share a picture of the VM's options.

junior cargo
fallen dew
#

Yes. USB settings.

junior cargo
#

bruh i lost my phone one sec

fallen dew
#

Why would you need your phone for a screenshot?

junior cargo
#

cuz i cant take a screenshot on my old mac mini

#

its aready a miracle if it loads HA ahaha

#

ok so

fallen dew
#

It says invalid settings detected.

junior cargo
#

after the restart its working

fallen dew
#

Yay.

junior cargo
#

i have put like 7 of 8

#

and it says it might stop the OS to work

fallen dew
#

2 is enough.

junior cargo
#

well

#

my minecraft server is using a lot tho

fallen dew
#

Minecraft on HAOS? Kinda stupid in my opinion.

junior cargo
#

haha true

#

but it was a fun idea

#

memory is at 3 of 7 after restart

fallen dew
#

You can limit it its memory.

junior cargo
#

lili?

#

oh

fallen dew
#

It will use all of it over time due to cache. Leave at least 2G to the OS.

junior cargo
#

yeah but if i do then it will work badly the server

#

it already says limit reached or something in the minecraft logs

#

anyway thats fine, ill see about that after

#

do you mind checking with me, why that timed and failed thing happens when booting up?

#

i dont see the text anymore, but it was about something maybe with like “agent” or systemcl”

fallen dew
#

Timed and failed?

#

When you tell me what it said exactly maybe.

junior cargo
#

mhh

fallen dew
#

You can run login and then systemctl --failed on the VM.

junior cargo
#

right now?

fallen dew
#

Yes.

junior cargo
#

it also gave me like a Kernel failed

fallen dew
#

Probably network related.

junior cargo
fallen dew
#

What does journalctl -ru systemd-time-wait-sync.service say?

#

How is the VM's networking configured?

junior cargo
fallen dew
#

I want to see the VM config for networking.

junior cargo
#

it takes a minute for me to add it as a link sorry

fallen dew
#

Yeah I hate that images are blocked.

#

Looks fine.

junior cargo
#

yeah

junior cargo
fallen dew
junior cargo
fallen dew
#

Just check if something was blocked for the VM's ip.

junior cargo
#

this is how i set it up on the router, idk if its correct

#

every time HA is off wifi will not work as the ip its connected to HA

fallen dew
#

Oh that explains some things.

junior cargo
#

damn

fallen dew
#

HAOS cannot resolve shit during boot.

junior cargo
#

DAMN

#

😅

#

so then how do i set it up?

#

💀

fallen dew
#

Do not run important services in HAOS.
Perhaps put it and minecraft in another VM?

#

Or run it on a separate device.

junior cargo
#

wait the adguard home?

#

i am confused

fallen dew
#

Yes.

junior cargo
#

how do i do that?

#

i followed the adguard home instractions: Configure your devices To start using AdGuard Home, you need to configure your devices to use it. AdGuard Home DNS server is listening on the following addresses: 192.168.1.165 172.30.32.1 127.0.0.1 ::1

fallen dew
#

Just create a debian VM, then follow their docs.

junior cargo
#

wut

#

still using virtual box?

fallen dew
#

Yes. It's what you have.

junior cargo
#

what does debian mean?

fallen dew
#

Debian is an operating system.

junior cargo
#

ok so let me understand this, the problem is that my wifi is connected directly to my HAOS, which means HA cannot load and boot because its not connected to the wifi yet

#

am i right?

fallen dew
#

No. HAOS cannot resolve things at boot because the resolver which is a addon on HAOS is not started yet.

junior cargo
#

and to have it started it needs wifi?

fallen dew
#

No.

junior cargo
fallen dew
#

That has no relation.

junior cargo
#

ok then i dont understand what adguard does with all this

fallen dew
#

I'm not sure how to explain it simpler. You might want to read up on the basics of how DNS works.

#

Basically HAOS depends upon itself to make google.com into a ip. The service which provides that function is not active during boot.

junior cargo
#

so what i need to do is, have this server already started before i start HAOS?

fallen dew
#

Yes.

junior cargo
#

thats about debian?

fallen dew
#

A very simple way would be to let HAOS itself use another DNS server, not adguard.

junior cargo
#

but i am confused in one thing, how would i need to set my adguard home in my router then, how other people do it? did i do anything wrong?

fallen dew
#

But this doesn't need to be answered solely by me. Maybe we can close the thread and you ask in the open channels.

junior cargo
fallen dew
#

Yes it will.

junior cargo
#

but then the question is, did i set it up wrongly then?

fallen dew
#

Like I said, read a bit about DNS and DHCP. I'm mobile and explaining all this is too hard right now.

junior cargo
#

ok but

#

so everyone that uses adguard home on their router they also have a different VM for adguard?

fallen dew
#

No. Like I said the simplest way is that HAOS uses 1.1.1.1 or something and the rest use adguard.

#

Just depends how you set up your networking stuff. In my case adguard queries my router. Other let the router query adguard.

junior cargo
#

OH

#

so you would want HA to use the normal IP and then everything else will use adguard home once HA started

fallen dew
#

But if you don't know the basics of DHCP and DNS nothing will ring a bell and I don't want to explain those basics to you. Or anyone.

#

Yep.

#

You might have to give HAOS a static ip to be able to set a fixed DNS server for it to use. It s a good idea anyways if you run a DNS server on it.

junior cargo
#

one more thing though if its not a stupid question, why would i need another VM, i still dont get it

fallen dew
#

To run stuff outside of HAOS.

#

See link for why.

junior cargo
#

i see, but how would you run adguard home from HA on a different VM

fallen dew
#

HA has nothing to do with adguard.

junior cargo
#

but i use the plugin from it

#

if HA is not on, the plugin is not on too

fallen dew
#

It just happens that it has an addon for it. Adguard can run outside of HA.

junior cargo
#

ok, but then why is it an addon if i cant use it?

fallen dew
#

I didn't say you can't use it.

junior cargo
#

i am still confused on why all this wont work if i followed the setup guide

fallen dew
#

Some addons are just a stupid idea.

junior cargo
#

for the router

#

so you are not using the addon?

fallen dew
#

No.

junior cargo
#

and how do other people use it without problems?

fallen dew
#

I'd recommend you ask them.

#

Look the reason I'm so snippy is because I want you to learn the basics of DHCP and DNS first.
If you want a real answer I'd need to have you run nslookup, show me your router and adguard configs. set a static ip and DNS and all that jazz which isn't feasible if you don't know the basics. I also can't do this right now due to being mobile and I get pinged all the time in a thread like this. Others can help you with this too. I think the thread served its purpose.

junior cargo
#

ok, so just to confirm, at the end the problem of all my booting and stuff its the wifi and adguard home?

fallen dew
#

I think it's related to your DNS basically being unreachable.

#

I don't know for sure though.

junior cargo
#

👍 ok, well i will check and see for adguard and see how it goes after, thank you

fallen dew
#

WiFi? I thought you use ethernet.

junior cargo
#

ah

#

true..

#

well its still a dns problem or no?

fallen dew
#

Maybe.

junior cargo
#

💀 damn

fallen dew
#

Like I said I'd need to diagnose and see your configs.

#

ha network info for example.

junior cargo
#

on the VM?

#

how do i stop from giving me the other stuff from the other code, i cant type

fallen dew
#

CTRL+C.

#

Or Q. Depends.

junior cargo
#

idk if this is important, but from when i got the new router and modem, the IPv6 it always been disabled, idk if need it?

fallen dew
#

No.

#

What does ha dns info say?

junior cargo
fallen dew
#

You also want to use a static ip for HAOS and 1.1.1.1 as DNS server.

#

You should reserve the ip in your router to avoid conflicts.

junior cargo
#

for the command

fallen dew
#

Doesn't matter. You can also use 8.8.8.8.

junior cargo
#

sorry for the command in the vm

fallen dew
#

Try servers then rather than server.

#

I usually test my commands but I'm not at my PC.

junior cargo
#

says “command completed successfully”

fallen dew
#

Now just follow the rest. You can change the ip and DNS in the GUI under network. I might be slower to respond now.

junior cargo
#

its ok, i think i will do it later, i need to go to work soon anyway

#

as the rest you mean, with what? with the other VM or what you said about

fallen dew
#

Forget about the second VM for now. You're not ready yet 😄

junior cargo
#

smart 😂

junior cargo
fallen dew
#

No, I meant my message.

#

Click it again and see what it highlights.

#

Uh. I made an oopsie.

junior cargo
#

it highlights the thinkerer message with the code

fallen dew
junior cargo
#

mindblown oh you meant your other message

#

ok sounds good

#

the good question is what is what i had earlier, i forgot what it was earlier 💀💀💀

#

but i will try thank you

#

leave it default as it is?

fallen dew
#

Leave as is but change the DNS.

junior cargo
#

also for chaning the DNS server to 1.1.1.1 where should i do that in the network interface? https://ibb.co/Pwz6KS5

#

i am pretty sure when i did the adguard home thingy i did it on the IPv4 address distribution

fallen dew
#

No you change the DNS in HAOS.

#

I'd also like to see your router's DHCP and DNS sertings.

junior cargo
fallen dew
#

Yes.

junior cargo
#

you mean this page?

junior cargo
fallen dew
#

Yes.

#

What you linked looks more like the DHCP reservations. Not sure why it says DNS.

junior cargo
#

no clue, very confusing, one sec

#

you want dynamic DNS?

fallen dew
#

Hmm. You can set which DNS ip the DHCP clients get. You want to set that to the HAOS ip.

#

The router itself should use 1.1.1.1 as well.

junior cargo
#

ok the “dynamic dns” tab?

fallen dew
#

Can't give you specifics.

#

No.

junior cargo
fallen dew
#

Did you enable DHCP in adguard?

#

And before you ask, no you should probably not.

#

My guess is service in that picture is what you want to change tomthe adguard ipl

junior cargo
#

i never changed settings in adguard home i am pretty sure

#

ohhh

#

in service i can only choose between "disabled" and or "DHCP server"

#

do you want me to change the "start ip" to 1.1.1.1?

fallen dew
#

No.

fallen dew
#

Show me.

junior cargo
#

its in the "start of the ip"

#

ok so this is what i see

#

then when i click "edit" this is what i see =

fallen dew
#

That last part is the reservation for HAOS I talked about.

#

There has to be a place where you can define which DNS server the DHCP client get sent.

junior cargo
#

sorry here

#

u sure its not here?

fallen dew
#

Unlikely.

#

The terms it uses are very strange.

junior cargo
#

this is the list of tabs i have

fallen dew
#

No.

#

Not sure about your router model.

junior cargo
#

its cr1000a yes

#

so its not possible..

fallen dew
#

So basically you cannot automatically hand out your adguard to your clients.

junior cargo
#

he says this though: Now, you might ask, why not just change the router in the broadband ethernet settigns so it uses 1.1.1.1? Well, I COULD

fallen dew
#

You should do that anyways.

junior cargo
#

to use 1.1.1.1?

fallen dew
#

The router itself.

fallen dew
#

Yes as I explained earlier.

#

The router uses that, any client connected to the router will get your adguard handed out. Well that was the plan.

#

You really need to google some of this stuff.

junior cargo
#

ok but i am confused then, didnt we just say we cant do it?

fallen dew
#

Yes that's why I said it WAS the plan.

junior cargo
#

are you saying i need to make a dns and then with all devices i need to change it and put it which ever ill put for the router?

fallen dew
#

I'm not following.

junior cargo
fallen dew
#

Do you know how DHCP works?

junior cargo
#

it gives ips to devices?

fallen dew
#

The anyways part was to kake the router use 1.1.1.1. not to hand ojt 1.1.1.1 to clients.

#

It also tells the clients which DNS server to use. That's the part which we want to change to adguard's ip.
The router itself uses 1.1.1.1 to resolve the requests.

#

Technically you don't have to change it bit it's good practice to not use your provider's DNS servers.

#

What you can do is to disable the router's DHCP server and use adguard's.

junior cargo
#

ok, is there a BUT about this?

fallen dew
#

This is somewhat advanced.

#

And you lose your existing leases.

#

If adguard goes down you have a problem, obviously.

junior cargo
fallen dew
#

Kinda but you won't even get an ip.

#

Have fun troubleshooting anything that way.

junior cargo
#

so my only option remains to turn off adguard?

fallen dew
#

There's lots of options but I do not want to recommend them to you.

#

The actual issue you ran into is already solved by setting a static ip and using 1.1.1.1 for DNS in HAOS btw.

junior cargo
#

so? what does that mean?

fallen dew
#

🤔

#

The issue you have right now is that your clients will not get the adguard DNS set via DHCP. HAOS is not the problem we try to solve right now. Remember the time sync?

junior cargo
#

the time sync?

#

the problem is my router i know

fallen dew
#

This.

junior cargo
#

oh that? you mean its fixed?

fallen dew
#

Maybe. Did you have adguard as DNS server set in your router previously?

junior cargo
#

ye i thtink so

fallen dew
#

Then yeah. You see, HAOS asked your router for the ip of the timeserver, your router asked adguard. Adguard was down.

junior cargo
#

i am trying to find where i set adguard home, i am not sure where i did it

fallen dew
#

In your case the only option is to let the router ask adguard again.

junior cargo
fallen dew
#

But... Let HAOS itself not use the router/adguard but 1.1.1.1. Makes sense?

junior cargo
#

and i also understood that the fix would be that my computer that is using HA needs to connect to the router with a different DNS so it can start without problems

#

and then when HA is started all the other devices will use the adguard ip

#

this would have been the fix to the problems right?

fallen dew
#

Yeah. You already gave HAOS a static ip and 1.1.1.1 as ip formitself and the dns plugin.

#

HAOS should be fine.

junior cargo
#

right, but my routuer cant do it?

#

like they said on the reddit?

fallen dew
#

Now you just have to tell your router to ise the adguard ip as its DNS.

junior cargo
#

exactly ok

#

but we cant do that

fallen dew
#

Yeah but you clients ask the router and your router asks adguard.

junior cargo
#

makes sense

#

and it works when HA is on cuz also adguard is on

fallen dew
#

You just have to take caution not to cause a loop or a dependency issue like with HAOS.

junior cargo
#

so now everything its working

junior cargo
fallen dew
#

Adguard should not ask the router for example.

junior cargo
#

which is doing it right now?

fallen dew
#

I don't know how you configured it.

#

I think it uses quad9 or so by default.

#

Go to work with nslookup.

junior cargo
#

in VM?

fallen dew
#

No.

junior cargo
#

where do i use that command?

fallen dew
#

On one of your PCs.

#

You want to try resolving a blocked domain.

junior cargo
#

on my terminal right here? ok

fallen dew
#

nslookup blockeddomainhere iphere.

#

As ip try your router, adguard/HAOS and 1.1.1.1.

#

I guess you know where this is going.

junior cargo
#

this?

fallen dew
#

I talked about nslookup 4 times. Don't copy my typo.

#

I'm still mobile. It happens.

junior cargo
#

no its ok, but i am confused what code i need to use on the terminal now

#

is it like this? nslookup blockeddomainhere 1.1.1.1

fallen dew
#

😦

#

Yes.

junior cargo
#

ok

#

didnt work

fallen dew
#

What does it say?

junior cargo
fallen dew
#

Exit out of this.

#

If you see the > it's wrong.

junior cargo
fallen dew
#

Oh come on. Blockeddomain is supposed to be something that is blocked on your adguard.

junior cargo
#

💀

#

😅😂

#

i got this one

fallen dew
#

Alright now try that domain with the others.

junior cargo
#

others?

#

others devices

#

i see

fallen dew
#

Other DNS servers.

junior cargo
#

so other devices?

fallen dew
#

Your router and adguard. Should result in the same.

junior cargo
#

ok ill try on another mac

fallen dew
#

No.

#

Just change the ip at the end.

junior cargo
#

ah

#

random numbers?

fallen dew
#

No?

junior cargo
#

i am confused then ahah

fallen dew
#

The ip of your router and the ip of adguard/HAOS.

#

This is exhausting 😦

junior cargo
#

oh so now its this?
To start using AdGuard Home, you need to configure your devices to use it. AdGuard Home DNS server is listening on the following addresses: 192.168.1.165

junior cargo
fallen dew
#

Try that ip.

junior cargo
#

its all diferent

fallen dew
#

Show me.

junior cargo
fallen dew
#

That's perfect.

#

Now with the router's ip.

junior cargo
#

oke

fallen dew
#

I'm not joking. That's what it should return.

junior cargo
#

ahhaah i believe dont worry

#

i have no clue

#

also

fallen dew
#

That's not so great.

#

Check the DNS settings in the router again.

#

It should be the adguard ip.

junior cargo
#

WAIT

#

THERE YOU

#

GO

#

thats where i setup adguard

#

thanks, now i rememeber where i put the ips and stuff

fallen dew
#

Now the clients will ask the router, the router will ask adguard, adguard will block and then ask 1.1.1.1 or whatever you set.

#

HAOS should not depend upon adguard since it is hosting it but you took care of that.

junior cargo
#

so yeah

fallen dew
#

Hmm.

junior cargo
#

well of course it was, thats whre i set it up time ago

fallen dew
#

Your router didn't respond to the DNS request.

#

Other than that all you have to do is give HAOS a static lease in the router as I explained earlier and see that adguard uses 1.1.1.1 as its reference.

junior cargo
#

a static lease as in a static ip?

fallen dew
#

Yeah but on the router side.

#

You don't want the router to give .165 to anything else.

junior cargo
#

ah mhh

#

ok, thats a good question on how to do it ponder

#

i found this `"Static IPs per se cannot be configured other than on the device itself.

Static IP means that a device has an IP address without querying a DHCP server.

Unless you are looking for Static DHCP Lease Reservations, which are not static IPs ipso facto."`
is this by any chance connected to what we are doing?

fallen dew
#

You want to configure a static lease or reservation for the 165 ip in the router.

junior cargo
#

ok but i am not really sure how do i do that

fallen dew
#

You should figure out why your router doesn't respond to nslookup first.

#

Trial and error.

#

Or just do what I did. Google DHCP reservation verizon.

junior cargo
#

would it be that?

fallen dew
#

No.

#

You had it earlier and I even told you that.

#

I'm done with this topic for the day. My neck is killing me and I have stuff that needs my attention.

junior cargo
#

wanna continue this later or tomorrow?
i cant really do much on my own, so please :)

fallen dew
#

I told you everything you need to know, just gotta google it. If you rely on me spoon feeding you everything this will not end well or in a timely manner.

junior cargo
#

ok but i would prefer someone help, as you know a lot more, and i dont want to mess it up again

#

look what happen after googling it stuff💀😂

junior cargo
#

during the night my zigbee addon crashed again

#

and now it gives the same problem

fallen dew
#

Channels are great to single out a single issue but we're beyond that. I'm gonna leave the thread but feel free to ping me if you specifically need an answer from me.

junior cargo
#

me and impact kinda found the problem, but i am not sure what i need to do at the end of what he said

junior cargo
#

so what my problem is, is that i run adguard home on HA, but every time i reboot my HA my wifi doesnt work, because it uses the adguard home ip, so when booting up HA i get some errors

#

@olive spire

#

so every time my HA is off, my wifi doesnt work for any devices

#

💀

olive spire
#

Well yeah, obvs... if you are using AdGuard for DNS resolution, and your clients are pointed to that, then they should default to a backup (if you have one), otherwise, they are just going to crap out.

#

Another reason to move HA (and addons) on to their own 24x7 machine.

junior cargo
#

"they should default to a backup" wht does that mean?

junior cargo
olive spire
#

Your router config should allow you to specify 3 DNS nameservers (some allow for more, but usually not in consumer gear).

junior cargo
#

there was a problem in all this though, let me find it

olive spire
#

You're not understanding. If you move HA off your Mac and onto dedicated hardware. This wouldn't be an issue at all.

#

You'd still have your "cool" factor, but HA would be running 24x7 doing it's thing. Any addons would be doing the same thing. Then, you just point your DNS to that new machine and it doesn't matter if you shut down your Mac or not.

olive spire
#

And I'm guessing you are running into a problem with HA starting because it is looking for DNS resolution, but the AdGuard addon hasn't started yet. So, it errors out.

junior cargo
#

so lets say perphaps i have a rasberry pi right here right now, for free

#

should i switch to that?

#

😅

olive spire
#

Well, I would never recommend a rPi, but sure. That would work.

junior cargo
#

not sure what model is it though

junior cargo
olive spire
#

Personally I'd just go on eBay or Amazon and find a $100-$150 mini PC and use that.

junior cargo
#

i see but, cant afford it right now, unfortunately

olive spire
#

Then go with the rPi. Is it at least a 3b+?

junior cargo
#

i see, well ill stick with the mac then for a bit

junior cargo
olive spire
#

Ok. As long as you don't shut it down, you'll be fine, I guess 🤷‍♂️

junior cargo
#

ok so, how exactly would i do the thing for the addons on a mac?

olive spire
#

I mean... the same way you are now?

junior cargo
#

so i would need to make a new virtual box machine?

olive spire
#

Personally, I'd ditch AdGuard until you have something more stable OR run AdGuard in a new VM.

#

Or under docker... or something outside of HA.

#

that's where your main problems are coming from.

junior cargo
#

ok so, just tell me what i should.
fix adguard? change VM? change device? etc

#

without spending a lot of money if possible zero😅

olive spire
#

I mean, that's up to you bud! I can give you suggestions on what I would do, but it's up to you to implement them.

#

Personally, I'd install docker and setup AdGuard there. That way you can still restart HA without the DNS problems.

junior cargo
#

and not use VMware?

olive spire
#

An entire VM for AdGuard is overkill, imho. You could, I just don't see a reason for it. Every VM consumes system resources differently than a docker container does.

junior cargo
olive spire
#

Yup. Here's what I would do:

  1. Get Fusion Player
  2. Install HAOS there in a VM.
  3. Remove the AdGuard Addon
  4. Install docker-desktop
  5. Install AdGuard in a docker container.
junior cargo
#

and i will still able to see adguard on HA?

olive spire
#

Yeah, you juust point the integration to your new AdGuard install.

junior cargo
#

ah cool

#

ok

olive spire
#

Actually, since it should be the same IP address, you might not have to do anything. I'm not sure.

junior cargo
#

100% sure i should do this? ill start making stuff

olive spire
#

Well, the way you're doing it now DOESN'T WORK. 😄

junior cargo
#

😂💀

#

its just buggy i guess

#

anyway ill create some backup for HA right now, so i have them

olive spire
#

But, I bet you that you will see less issues on a better hypervisor and getting your DNS sorted out.

junior cargo
olive spire
#

Docs aren't always the latest and greatest and this is more opinion than anything else. I mean, you can go through the forums and look for all the issues raised with VirtualBox.

junior cargo
#

if my mac is slow to load stuff, for example to open apps, to turn on and etc

#

is it a problem for HA?

olive spire
#

No, it's a problem that you are running a hypervisor on your Mac Mini (and whatever else). While you can, that doesn't always mean you should.

#

Oh, wait... do you mean that if it would affect HA performance? Then, yes, it can.

junior cargo
#

ah

#

well, damn

#

cuz for example it took like 1 min to open safari app and then to open home assistant ui

#

😅

olive spire
#

Yeah, you're basically trying to use a desktop machine as a server and it's screaming at you to stop doing that 🙂

junior cargo
#

well it was already slow before, its really old now but yes

olive spire
#

Mac Mini 2012?

junior cargo
#

2014

#

i might need to reset it all and start from zero eh?

olive spire
#

Eh, just as bad. Have you updated the components in it? I have a 2012 that is DOG SLOW, but it runs Ubuntu just fine as a server.

junior cargo
#

no

#

didnt change anything to it

#

💀

olive spire
#

Ugh... ok... well, there ya go. You're expecting a 10 year old machine to do stuff it's not really meant to do. The CPU is pretty much as basic as you can get, and you probably only have like 8GB ram in it. If even that much.

olive spire
junior cargo
#

damn wtf

olive spire
#

You're on pretty much underpowered, ancient hardware... lol plus, you've not swapped out any of the components, so I can only imagine how slow your HD is and how much work it's doing right now.

junior cargo
#

i might do a fresh install of the pc too at this point

#

at least i remove all the useless stuff

olive spire
#

Makes sense, I suppose? But seriously... you might need to spend some money on either the Mac Mini or get yourself a mini PC. You can get more RAM and a SSD for your Mac Mini fairly cheap.

junior cargo
#

but at this point i think its also cpu related

#

we used a lot this pc, i used to play minecraft on it and shit

#

its getting old

olive spire
#

Probably, but you can't really swap that out.

junior cargo
#

ye at that poin the solution is just a new pc, but i really dont have money right, i need to get a new phone first..

#

💀

#

even that has a slow cpu ahahha

olive spire
#

Yeah, I get it.

junior cargo
#

i wish my parents took smart home more seriusly

#

😂

olive spire
#

lol oooorrrrrr get a second or third job 😉

junior cargo
#

they didnt even say thank you for all the automation we have, for example turning on or off all the lights at night, automatically so they dont have to click shit and they can just go to sleep.

#

😂😂😂

junior cargo
#

so i need to relay on my parents money, which they dont want to use for this stuff...

#

💀

#

btw i just got a message: Home Assistant CLI has been terminated.

olive spire
#

Ahhhh... ok, yeah. That sucks... Just tell them you need a better computer to do stuff on. lol

junior cargo
#

bro just got killed

junior cargo
#

💀💀💀😂😂😂😂😂

#

my HA just restarted, and by having adguard home off, i got no errors on the boot up :/

olive spire
#

Interesting, I wonder if it fell back to your router for DNS?

junior cargo
#

i removed the ip of adgurad from my router

#

so thats why

olive spire
#

Ah, there ya go. So, one problem "solved".

junior cargo
#

well, if i am going to use adguard somewhere else yes

#

but yeah

#

is zigbee2m always slow to start up?

olive spire
#

Shouldn't be, but on your system, hard to say if it's normal/abnormal.

junior cargo
#

i see

#

compared to all other addons it takes more time

#

now its on and working..

#

ill download backup on my laptop and then ill fresh install the mac mini

#

why this Creating a backup is not possible right now because the system is in freeze state.

olive spire
#

Try restarting the VM. That usually occurs if a backup is already in progress or HA is under a lot of load.

junior cargo
#

also i got this

olive spire
#

And that's from HAOS?

junior cargo
#

yes

olive spire
#

That's a problem with the virtual hard drive. Did you switch over to Fusion or are you still using VB?

junior cargo
#

still using vb

#

this come out when rebooting

#

also got error returned form supervisor: system is not ready with state: setup

#

this is so buggy

olive spire
#

Yup. Get off VB. Seriously. Try any other hypervisor.

junior cargo
#

i need to get the backup first... AHAH taking years lmao

#

how much does it take you to enter your dashbord from when you click on boot up ?

olive spire
#

10-30 seconds.

junior cargo
#

WHAT

olive spire
#

Sometimes less. BUT... I run Container on a pretty powerful machine.

junior cargo
#

thats crazy

#

😂

olive spire
#

No addons or anything like that.

junior cargo
#

i see, but you have them on another thingy running?

olive spire
#

I have other containers on other servers, yeah.

junior cargo
#

💀 damn

#

too much for me to understand lol

#

it literally just started now

olive spire
#

Eh, I've been in IT for a long time, so this is all second nature to me.

junior cargo
#

also normal to take a lot of time to do a backup?

olive spire
#

Again, on your hardware... probably.

junior cargo
#

the machine to run ha is on a windows?

#

like a windows pc thats what i mean

olive spire
#

My HA server? No. Linux.

junior cargo
#

i see

olive spire
#

(Debian 12 to be specific)

junior cargo
#

well my virtual box was linux💁‍♂️

#

😂😂😂

olive spire
#

lol soooo not the same 😉

junior cargo
#

i just got Unknown error, see supervisor logs

#

while trying to do a backup

#

:/

#

again, it happened again

#

would the core be the full backup? or just the main things?

#

should i just save that one and then use just that for restoring?

olive spire
#

That seems awfully small. Take a look at your /backups directory and see what's in there?

junior cargo
#

or do i need to go to my file explore

olive spire
#

Yeah, you can use the file editor I think.

junior cargo
#

cuz those backups are being stored to an external drive

#

this is where i save them

olive spire
#

Ok, then you're good. The backup should have been copied there.

junior cargo
#

mh ok

#

i am gonna fresh install then

junior cargo
#

@olive spire hey sorry, do you know by any chance how to download VMware?

#

the website changed from the video i sent, so i dont understand what i need to do

#

oh well i am fucked

#

how do you get it for windows or whatever else?

olive spire
#

Sorry… just saw this. Yeah, looks like you have to jump through hoops to download Fusion now. 😔

junior cargo
#

so what should i do?

#

🥺

olive spire
#

Didn’t you say you had a rPi laying around?

junior cargo
#

i even reinstalled macossmart 💀

junior cargo
olive spire
#

That was before I knew how old your Mac is. lol

junior cargo
#

hey hey now its pretty decent with the reinstall

olive spire
#

Use the rPi. Even if it’s a 3b+ or whatever, still going to be better than running on your Mac at this point.

junior cargo
#

is it possible and does it make sense to use the rpi for ha and then addons on the mac?

#

cuz how can i run a lot of addons on the rpi it wont handle it

olive spire
#

Nope. But, one thing I saw was that you’re using the Plex addon. That would be better as a docker container.

#

Don’t run a lot of addons? You don’t have the hardware (yet) to do everything you want to do. Cold hard facts man… 😔

#

So, were it me, I’d put HAOS on the rPi with a few addons THAT YOU NEED. Things like Plex and stuff I’d run with docker on your Mac. Still going to be slow, but at least better and with fewer issues.

#

But, you’d be surprised how much a rPi can really handle. Even the 3b+ can do a lot better than trying to shoehorn everything onto the Mac.

junior cargo
#

ok ill check which rpi i have

olive spire
#

Yeah, the 4 is plenty for HAOS.

junior cargo
#

ok! good to know

junior cargo
olive spire
junior cargo
#

i never used a rpi before so give me a minute

olive spire
#

lol it’s just like any other computer really, but you don’t have to keep a keyboard and monitor connected to it. It’s a little server.

junior cargo
#

also looks like i already have a 16 gb sd card inside

#

it looks like its asking for a 32 gb or bigger

olive spire
#

You can start on a 16gb card, but yeah, 32gb is typically the minimum. You can get those pretty cheap.

junior cargo
#

i stole a 128 gb from my drone

olive spire
#

If you want to sacrifice that, that would be better 😊

junior cargo
#

yeah its ok

#

SD Card reader. This is already part of most laptops, but you can purchase a standalone USB adapter if you don’t have one. The brand doesn’t matter, just pick the cheapest.

#

whats this?

#

i dont think i need it right? cuz i can connect my SD card directly to the rpi

olive spire
#

No. You need it to connect to your Mac so you can run the imager.

#

Those are super cheap on Amazon.

junior cargo
#

so the download needs to be done on the mac first and then i can put the SD card in the rPi

olive spire
#

Yup. Exactly.

junior cargo
#

ok i already have one no worries

#

ok so i plug it to the mac

olive spire
#

Yup. Download raspberry imager on the Mac

#

Plug in your sd card and flash it.

junior cargo
#

ok already installed, plugging it into rPi

#

i think i connected everything, but idk how to show it on my monitor

#

😅

#

power, sd card, black cave for hdmi, keyboard and ethernet are connected

olive spire
#

You shouldn’t have to. Give it about 20 minutes or so and try to connect via the browser.

junior cargo
#

wait whut

#

oh so just like that

#

no inside configuration?

#

theres no way its that easy

olive spire
#

On a clean install, it should just work, install itself and then be available from the browser. You can connect a keyboard and monitor as you have and see more details, but you generally shouldn’t have to.

junior cargo
#

damn, on the website it does say preparing home assistant

olive spire
#

There ya go…

junior cargo
#

damn, bru on the mac it took me years

#

its asking me to restore from backup so

olive spire
#

Do it. You still have your backup file, right?

#

OR you can start clean. Up to you.

junior cargo
#

yes, but idk which is which ahha

junior cargo
olive spire
#

OMG. lol you’re a hot mess.

junior cargo
#

bruh they are all called: 0535793.tar

#

how do i know ahhahaha

olive spire
#

Look at the latest created date on the files. Use the most recent.

junior cargo
#

also it says 2030

#

i am in the future

olive spire
#

Now, here’s the nice thing. If it fails, you can just reimage the sd card again.

junior cargo
#

okok

olive spire
junior cargo
#

i literally have a file from May 24 2030

#

😂

#

scammed me

junior cargo
#

anyway i am restoring a random one, lets see ahaha

#

its a small size backup, its not like Music assistant 100 mb

olive spire
#

lol good luck. At worst, you’ll have to recreate some automations and such. However, the nice thing is that if you still have the configuration files on your Mac, you can copy those over to the rPi using the Samba Share addon.

junior cargo
#

like backup or what?

#

config files arent saved in backups?

olive spire
#

No. In your VM on the Mac, all your HA files are still there in their current state.

#

They are, but since you don’t know how recent your backup is, they might not match your current ones.

junior cargo
#

💀

olive spire
#

Ohhhhhhhhhhhh right right. Lol coffee is still kicking in!!!

junior cargo
#

I AM IN!

olive spire
junior cargo
#

😂

olive spire
#

Now you just need to clean things up and you should have a MUCH better experience.

junior cargo
#

🥲

olive spire
#

Most of those will be fixed through reconfiguration of your integrations.

junior cargo
#

because now i need to add the addons backups and i am not sure which is which

#

even if its an older addon backup, what happens

olive spire
#

Whenever you restore a backup, HA resets to the state at the time of the backup.

junior cargo
#

damn so

#

if i put a newer one and then an old one, it goes to the old one

#

💀

olive spire
#

But, the addons should have been restored with the backup file already.

junior cargo
#

no

#

because it wasnt a full backup it was just the core backup

#

i wasnt able to do a full backup yesterday because i had problems..

olive spire
#

Oh ok. You have the individual addon backups tho?

junior cargo
#

i guess

#

maybe not for all of them

#

wait i might have done a big brain move one sec

#

I COOKED bro

olive spire
#

So, I think you can restore the individual addons from each backup (I don’t use HAOS, so not sure).

junior cargo
#

i connected the cloud storage that has all the backups

#

and i can see all of them again

olive spire
#

Ahhhh… perfect.

junior cargo
#

also looks the full backup yesterday worked

#

should i do that one?

olive spire
#

Go for it. Like I said, worse comes to worse, you can always start over.

junior cargo
#

ALR!

#

for the zigbee addon, should i run it on rPi right?

olive spire
#

Z2M? Yeah.

#

Plex, I would throw on your Mac as a docker container.

junior cargo
#

ok

#

ill show you what i have one sec

olive spire
#

Okie

junior cargo
#

bro ty so much!

#

❤️

olive spire
#

lol no problem. Happy to help.

#

At this point, you’re like a pet project of mine. Hahaha 😂

junior cargo
#

indeed

#

bro is running 2 HA now

#

need the ip too?

#

for the zigbee stick, do i just plug it in?

olive spire
#

Yup. Into one of the USB2 ports.

olive spire
junior cargo
#

😂

olive spire
#

lol ohhhhh you still have the VM on your Mac running?

junior cargo
#

nop

#

bro already forgot that i dont have VM and its a fresh install mac

#

😅

olive spire
#

Hahahaha blame my old age.

junior cargo
#

😂

#

idk if its normal, but its taking a long time to restart after restoring the full backup

olive spire
#

That’s normal.

junior cargo
#

still no sign of life

olive spire
#

It has to restore all the files, db, configs, addons, containers, etc.

#

But, grab some coffee, eat a donut and let it do its thing. It can take up to 45 minutes, but can go longer as well.

junior cargo
#

the minecraft addon might taking all the timesmile ahaha, gotta unistall that

olive spire
#

lol or Plex. Plex is a big boy…

junior cargo
#

i see

#

I AM IN!

#

ok one sec

#

let me finish to watch F1

#

ok this are my addons, what should i keep on the rPi and what not etc

olive spire
#

Eh, I would just move Plex off. But, given you don’t have a lot of addons, it can probably stay there without too many issues.

#

You’re just not going to be transcoding 4k streams very smoothly. lol

junior cargo
junior cargo
olive spire
#

lol I don’t have addons. I run Container and I have about 25 other containers running on other servers.

#

But I’ve seen people running 20+ addons on bigger systems.

junior cargo
#

damn i see, what about adguard home now

olive spire
#

Ohhhhh yeah. Forgot about adguard. Should be fine to stay there, but you might run into that dns issue again.

junior cargo
#

🥲

olive spire
#

Hmmmm you could, but it would require another rPi (or some other 24x7 always on machine).

junior cargo
#

so at that point ill run plex too no?

olive spire
#

Things like AdGuard that do DNS resolution for your network should be on something that always runs.

olive spire
# junior cargo mac?

You could run it as a container on your Mac, but if you turn the Mac off, adguard will also be off, so same issue.

junior cargo
#

my mac has been always running yeah

#

at least i give a purpose to the mac, if not it will just take dust

olive spire
#

Ah, ok. Well, there ya go. Just run the docker version on your Mac and point your router to that.

#

Yup, I get that.

junior cargo
#

ok, now i am not sure how the all docker things work

#

😅

olive spire
#

Download docker desktop on your Mac. It’s easy.

#

Then just follow the instructions on the adguard website.

junior cargo
#

alr, i will do it a bit later, ill check better if HA works well and all!
Thank you again boss!

olive spire
#

You’re welcome ☺️ Let me know if you run into other issues.

junior cargo
#

anything to worry about?

olive spire
#

Yup. Reboot it and let it try to setup again. This was after you restored your main backup?

junior cargo
#

yes

#

how do i reboot it? from home assistant or turn of the rpi?

olive spire
#

Turn off the pi. Let it sit for 30 seconds and then plug it back in.

junior cargo
#

just straight up unplug the cable?

olive spire
#

Yup

junior cargo
#

ok

#

ok

#

so no error this time, nice!

#

now.. i have installed and logged in Docker, wtf i need to do now ahahha

#

oh you said to check adguard home lets see

olive spire
#

Yup. They should have a section for running it under docker in their docs.

junior cargo
#

yep

#

is "pulling" means like installing/downloading?

olive spire
#

Yeah. Exactly.

#

Once you get the basics down, we can work on doing it better.

junior cargo
#

yeah i am very confused on what i am clicking ahahha

#

The image exposes two volumes for data and configuration persistence. You should create a data directory on a suitable volume on your host system, e.g. /my/own/workdir, and a configuration directory on a suitable volume on your host system, e.g. /my/own/confdir.

#

i am not sure what this means

olive spire
#

Just create a folder on your Mac. Name it AdGuard and then create the two subfolders. Then, in the docker config, pass those two folders.

junior cargo
#

i think i messed up something

#

`Pull the Docker image
This command will pull the latest stable version:

docker pull adguard/adguardhome`
how do you run this code?

#

on the mac terminal?

olive spire
#

Yup. You can also do it through docker desktop too.

junior cargo
#

i see

#

i am not so sure how to set the two folders

olive spire
#

In Finder, create the folders, the use the path of those folders (like /Users/{your username}/{where you created the folders})

junior cargo
#

no i made the folders

#

but idk how to set tehm up on docker

olive spire
#

docker run --name adguardhome
--restart unless-stopped
-v /my/own/workdir:/opt/adguardhome/work
-v /my/own/confdir:/opt/adguardhome/conf\

#

Set them in the -v params.

junior cargo
#

oh sorry, all this in the terminal again

olive spire
#

Well, you CAN use desktop as well, but it’s easier in terminal imho.

junior cargo
#

/Users/homeassistantserver/Desktop/AdGuard/confdir
/Users/homeassistantserver/Desktop/AdGuard/workdir

#

this are my paths for the folders

#

where do i need to put instead of what

olive spire
#

lol

#

-v /Users/…:/opt/…

junior cargo
#

no ok but do i change also the /opt/?

#

docker run --name adguardhome\ --restart unless-stopped\ -v /Users/homeassistantserver/Desktop/AdGuard/confdir:/opt/adguardhome/work\ -v /Users/homeassistantserver/Desktop/AdGuard/workdir:/opt/adguardhome/conf\

#

or like this

olive spire
#

Nope. Leave the /opt/ stuff alone.

junior cargo
#

i havent changed the opt i have changed only the one after -v

olive spire
#

Perfect. Try running it.

junior cargo
#

it answered with

olive spire
#

???

junior cargo
#

thats all

#

lol

#

`Last login: Sun May 19 13:58:12 on ttys000
homeassistantserver@Mini-di-Home ~ % docker run --name adguardhome
--restart unless-stopped
-v /Users/homeassistantserver/Desktop/AdGuard/confdir:/opt/adguardhome/work\
-v /Users/homeassistantserver/Desktop/AdGuard/workdir:/opt/adguardhome/conf\

`

#

it looks like this

olive spire
#

Try running docker ps -an and see what it returns.

junior cargo
#

cant find image 'ps:latest' locally

olive spire
#

Ugh. Typo. Sorry. docker ps -a (I’m on mobile atm)

junior cargo
#

homeassistantserver@Mini-di-Home ~ % docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
8b3cf3214e58 adguard/adguardhome:latest "/opt/adguardhome/Ad…" 33 minutes ago Up 33 minutes 53/udp, 53/tcp, 80/tcp, 67-68/udp, 443/tcp, 443/udp, 853/tcp, 853/udp, 3000/tcp, 3000/udp, 5443/tcp, 6060/tcp, 5443/udp AdGuardHome
homeassistantserver@Mini-di-Home ~ %

olive spire
#

Ah, there ya go! It’s running!

#

You should be able to open the http://Mac IP address:3000 in a browser.

junior cargo
olive spire
#

Hmmmmm no. That doesn’t look right.

junior cargo
junior cargo
olive spire
#

Yeah, that’s the docker internal address. It might work, but I doubt it.

junior cargo
#

didnt work

olive spire
#

Just use the IP address for your Mac.

junior cargo
#

ok

#

nop not working

#

192.168.1.189:3000

#

this is the mac ip

olive spire
#

Hmmmm maybe it’s not port 3000 🤔

#

I gotta run in a few, but check out the docs. They should list the port to use.

junior cargo
#

and it says 1.5 gb of 2gb of ram are being used

olive spire
#

Yeah, that sounds about right.

junior cargo
#

😨

junior cargo
olive spire
#

Like I said... don't overload it and you should be fine.

junior cargo
#

👍

#

whats overload? just addons or other stuff too?

olive spire
#

Yup... but, you're going to want to squirrel away some money to get something better eventually. You can get by on 2GB ram as long as you don't go crazy with addons.

#

Yup. Like, don't throw VS.Code server on it, the pi will start crashing from a lack of memory.

#

Keep addons to the things you ACTUALLY NEED.

#

And, if there is an addon that you want (like Plex or something like that), see if you can throw it onto docker on your Mac... split the load as much as you can.

#

But I would DEF save up to get yourself a cheap mini pc. You can find some decent ones on eBay for $100-$150 that will blow both the mac and pi out of the water.

olive spire
#

If you don't know what it is, don't worry about it 🙂 (it's a code editor/IDE, but VERY heavy in ram and cpu usage)

olive spire
#

Yeah, that. Avoid it.

junior cargo
#

bruh

olive spire
#

Your hardware will choke and call you names.

junior cargo
#

i literally have it on

#

AHAHHAA

#

💀

#

i use it sometimes to change config and stuff

olive spire
#

lol do you? I don't remember seeing it in your addons.

junior cargo
olive spire
#

Myy "personal" recommendation is to remove it/disable it. We've got a lot of forum posts about it just going nuts with ram/cpu usage.

junior cargo
#

😂😂

olive spire
#

lol whatever... shut up... 😛

junior cargo
#

lmao

#

so what do i use instead

#

file editor?

olive spire
#

File editor or add the SAMBA Share addon and edit it over the network. Either one works better than the addon does.

junior cargo
#

proceeding to unistall it then

#

samba share means i can also do it remotely?

#

or what does that mean

olive spire
#

Yup. Samba share shares out your config and other folders that you can access from another machine on the network.

junior cargo
#

but

#

mh ok

olive spire
#

but what?

junior cargo
#

its just that

#

i use a vpn to use ha remotely

#

so i am not sure what samba would do if i already have ha accessible remotely

olive spire
#

Having HA remotely and having the /config directory shared are two different things. So, while you can access HA via VPN, you may not be able to access the files on your HA remotely (without File Editor or vs.code). With that said, if you want to keep the addon, keep it... it's just been known and reported to cause issues with usage and you're already on underpowered hardware. It's really your choice. 🙂

junior cargo
#

no no vscode i can remove it

olive spire
#

I want you to have the best experience you can within your budget 🙂

junior cargo
#

i didnt know about that, it was the only addon that i visually "learned" how to use and i dint know about others

olive spire
#

lol there's always at least 3 ways to do anything in HA (usually).

junior cargo
#

💀

#

yeah its pretty open

#

but how do you use samba share now

olive spire
#

Once you install the addon and configure it, you should be able to see it in your Finder. under Network.

#

Then you can edit on your Mac.

#

Or you can use the File Editor as well. Both work. But, if you use the share, you can download and use vs.code on your Mac.

junior cargo
#

ok got it working i think

olive spire
#

Woot!

junior cargo
#

if i live my interent connection, will i still see them under network?

olive spire
#

Huh? if you live your internet connection? What do you mean?

#

Ohhhhhh... leave?

junior cargo
#

like

#

when i am in the airport

#

outside my house

olive spire
#

Ummmm... over VPN, you might be able to.

#

All depends on how you have your VPN setup.

junior cargo
#

oh so remotely means from other devices on the same internet

#

thats what you meant?

olive spire
#

Yeah, locally, 100%. VPN, depends on how you have VPN setup and where it terminates into your network.

junior cargo
#

AH i see i see okok ty

#

one more quetion, do you know if theres a better "Media" / "Media Sources" tab?

#

because its a bit ugly and a bit annoying

olive spire
#

Better? Not really, that's baked into HA itself. You might be able to find a custom integration, but I don't know of any.

olive spire
#

Anytime:)

junior cargo
#

i connect an external storage to music assistant, but when i click play on one of the songs i have it doesnt start

#

any idea?

#

damn not even if its a spotify song... its so slow and it doesnt play any musics

olive spire
#

Hmmmm... no, I have no idea about that...

junior cargo
#

hey, i am still stuck with this Docker thing, could help me through it?

#

i dont really understand what the docs say i need to do

olive spire
#

Sure. What ya got?

junior cargo
#

I think i am at the "create and run the conteiner" step now:
is it this what i need to run?
docker run --name adguardhome\ --restart unless-stopped\ -v /Users/homeassistantserver/Desktop/AdGuard/confdir:/opt/adguardhome/work\ -v /Users/homeassistantserver/Desktop/AdGuard/workdir:/opt/adguardhome/conf\ -p 53:53/tcp -p 53:53/udp\ -p 67:67/udp -p 68:68/udp\ -p 80:80/tcp -p 443:443/tcp -p 443:443/udp -p 3000:3000/tcp\ -p 853:853/tcp\ -p 784:784/udp -p 853:853/udp -p 8853:8853/udp\ -p 5443:5443/tcp -p 5443:5443/udp\ -d adguard/adguardhome

#

from what tehy put in the website i only changed the part at

  • v
    the one we said yesterday
olive spire
#

Yup. Alternately, you can use a compose file as well.

junior cargo
#

no idea what it is but ok, one sec, let me try and run this again on the mac

#

`"docker run" requires at least 1 argument.
See 'docker run --help'.

Usage: docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Create and run a new container from an image
zsh: command not found: -v
homeassistantserver@Mini-di-Home ~ %`

#

i got that

olive spire
#

Interesting... 🤔

#

So wait, you had this running yesterday, right?

junior cargo
#

well running yes

#

working idk

#

i was stuck yesterdey here too so idk

olive spire
#

Hmmmm. Ok. hold on, let me test it on my system.

junior cargo
#

this is how my docker app looks like

#

idk if it helps?

olive spire
#

Damn I hate docker commands sometimes...

#

Ok, do this... on your mac, create a file called docker-compose.yml. Put it in your /Users/homeassistantserver/Desktop/ folder.

junior cargo
#

just desktop or inside the adguard?

olive spire
#

In the folder up there ^^^

#

In that file, paste this in: services: adguardhome: container_name: adguardhome restart: unless-stopped volumes: - /Users/homeassistantserver/Desktop/AdGuard/confdir:/opt/adguardhome/work - /Users/homeassistantserver/Desktop/AdGuard/workdir:/opt/adguardhome/conf ports: - 53:53/tcp - 53:53/udp - 67:67/udp - 68:68/udp - 80:80/tcp - 443:443/tcp - 443:443/udp - 3000:3000/tcp - 853:853/tcp - 784:784/udp - 853:853/udp - 8853:8853/udp - 5443:5443/tcp - 5443:5443/udp image: adguard/adguardhome

junior cargo
#

?

olive spire
#

Yup. That's fine

junior cargo
#

done

olive spire
#

Alright... now, in your terminal, go to that folder: cd /Users/homeassistantserver/Desktop/AdGuard/

#

Then run docker compose up -d

junior cargo
#

homeassistantserver@Mini-di-Home AdGuard % docker compose up -d
yaml: line 1: did not find expected ',' or '}'
homeassistantserver@Mini-di-Home AdGuard %

#

i think i didnt create the file correctly

#

i am not 100% sure how to do it on mac

olive spire
#

Make sure it matches what I put in.

junior cargo
#

i copied and pasted

olive spire
#

It's YAML, so it has to be exact.

#

If you have to type it, type it... sometime Text edit on Mac does weird things.

#

I have to run for a bit, but I'll be back in like 30-45 minutes.

junior cargo
#

could you maybe just send me a file already made?

#

just to be sure

junior cargo
#

homeassistantserver@Mini-di-Home AdGuard % docker compose up -d
zsh: command not found: docker

#

i am trying again, but now it says this