#Installation VM
1 messages · Page 1 of 1 (latest)
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"
so looks like manually choosing Slot A works, but still, many errors appears when booting up even though it works now
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?
i am very sleepy do you mind doing it tomorrow or anothre day?
No that's fine.
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?
Check the logs.
Seems like your adapter is missing.
adapter? my zigbee stick?
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
What VM software do you use?
virtual box
on a mac mini
i am pretty sure it sees it, cuz i am able to add it again
Try to power off the VM then and start it again. Also share a picture of the VM's options.
alr, i just turned it back one, do you want to see a pic of the usb port or what page?
Yes. USB settings.
bruh i lost my phone one sec
Why would you need your phone for a screenshot?
cuz i cant take a screenshot on my old mac mini
its aready a miracle if it loads HA ahaha
ok so
It says invalid settings detected.
after the restart its working
Yay.
oh thats because i have put too much memory
i have put like 7 of 8
and it says it might stop the OS to work
2 is enough.
Minecraft on HAOS? Kinda stupid in my opinion.
You can limit it its memory.
It will use all of it over time due to cache. Leave at least 2G to the OS.
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”
mhh
You can run login and then systemctl --failed on the VM.
right now?
Yes.
Probably network related.

What does journalctl -ru systemd-time-wait-sync.service say?
How is the VM's networking configured?
ethernet one sec
I want to see the VM config for networking.
yeah
can you tell me also if i set up adguard home correctly? cuz maybe its that
Perhaps. See this: https://github.com/home-assistant/operating-system/issues/896
Just check if something was blocked for the VM's ip.
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
Oh that explains some things.
damn
HAOS cannot resolve shit during boot.
Do not run important services in HAOS.
Perhaps put it and minecraft in another VM?
Or run it on a separate device.
Yes.
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
Just create a debian VM, then follow their docs.
Yes. It's what you have.
what does debian mean?
Debian is an operating system.
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?
No. HAOS cannot resolve things at boot because the resolver which is a addon on HAOS is not started yet.
and to have it started it needs wifi?
No.

That has no relation.
ok then i dont understand what adguard does with all this
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.
so what i need to do is, have this server already started before i start HAOS?
thats about debian?
A very simple way would be to let HAOS itself use another DNS server, not adguard.
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?
But this doesn't need to be answered solely by me. Maybe we can close the thread and you ask in the open channels.
but if i do that, then adguard will not work right?
Yes it will.
but then the question is, did i set it up wrongly then?
Like I said, read a bit about DNS and DHCP. I'm mobile and explaining all this is too hard right now.
ok but
so everyone that uses adguard home on their router they also have a different VM for adguard?
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.
OH
so you would want HA to use the normal IP and then everything else will use adguard home once HA started

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.
one more thing though if its not a stupid question, why would i need another VM, i still dont get it
i see, but how would you run adguard home from HA on a different VM
HA has nothing to do with adguard.
It just happens that it has an addon for it. Adguard can run outside of HA.
ok, but then why is it an addon if i cant use it?
I didn't say you can't use it.
i am still confused on why all this wont work if i followed the setup guide
Some addons are just a stupid idea.
No.
and how do other people use it without problems?
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.
ok, so just to confirm, at the end the problem of all my booting and stuff its the wifi and adguard home?
I think it's related to your DNS basically being unreachable.
I don't know for sure though.
👍 ok, well i will check and see for adguard and see how it goes after, thank you
WiFi? I thought you use ethernet.
Maybe.
💀 damn
on the VM?
how do i stop from giving me the other stuff from the other code, i cant type
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?
Try this: #1194551982342545510 message
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.
so not 8.8.8.8?
for the command
Doesn't matter. You can also use 8.8.8.8.
Try servers then rather than server.
I usually test my commands but I'm not at my PC.
says “command completed successfully”
Now just follow the rest. You can change the ip and DNS in the GUI under network. I might be slower to respond now.
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
This rest: #1194551982342545510 message
Forget about the second VM for now. You're not ready yet 😄
😂
you mean not the code, but like what they talked about in general in all that thread?
No, I meant my message.
Click it again and see what it highlights.
Uh. I made an oopsie.
it highlights the thinkerer message with the code
Yeah I see. Sorry. I mean this: #1239740630847197274 message
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
what should i put this as? https://ibb.co/BBztWR5
leave it default as it is?
Leave as is but change the DNS.
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
No you change the DNS in HAOS.
I'd also like to see your router's DHCP and DNS sertings.
oh still in this page https://ibb.co/BBztWR5 ?
Yes.
so DNS server, just 1.1.1.1
Yes.
What you linked looks more like the DHCP reservations. Not sure why it says DNS.
no clue, very confusing, one sec
you want dynamic DNS?
welp theres nothing in the dynamic DNS page... https://ibb.co/DtFfpX6
thisi is IPv4 instead https://ibb.co/wMN1vKz
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.
ok the “dynamic dns” tab?

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
probably not
i never changed settings in adguard home i am pretty sure
ohhh
here? https://ibb.co/Gkqb9mM
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?
so put it to disabled?
ok so
its in the "start of the ip"
ok so this is what i see
then when i click "edit" this is what i see =
do you want me to add a connection here?https://ibb.co/JFR8vJM
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.
So basically you cannot automatically hand out your adguard to your clients.
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
You should do that anyways.
to use 1.1.1.1?
The router itself.
you mean to do this?
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.
ok but i am confused then, didnt we just say we cant do it?
Yes that's why I said it WAS the plan.
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?
I'm not following.
i know, but i dont get the part you say "you should do that anyways"
Do you know how DHCP works?
it gives ips to devices?
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.
ok, is there a BUT about this?
This is somewhat advanced.
And you lose your existing leases.
If adguard goes down you have a problem, obviously.
so its basically what its already happening..
so my only option remains to turn off adguard?
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.
so? what does that mean?
🤔
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?
oh that? you mean its fixed?
Maybe. Did you have adguard as DNS server set in your router previously?
ye i thtink so
Then yeah. You see, HAOS asked your router for the ip of the timeserver, your router asked adguard. Adguard was down.
i am trying to find where i set adguard home, i am not sure where i did it
In your case the only option is to let the router ask adguard again.
yeah i understood all that part
But... Let HAOS itself not use the router/adguard but 1.1.1.1. Makes sense?
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?
Yeah. You already gave HAOS a static ip and 1.1.1.1 as ip formitself and the dns plugin.
HAOS should be fine.
Now you just have to tell your router to ise the adguard ip as its DNS.
Yeah but you clients ask the router and your router asks adguard.
You just have to take caution not to cause a loop or a dependency issue like with HAOS.
so now everything its working
that happens every time i boot up HA right?
Adguard should not ask the router for example.
which is doing it right now?
I don't know how you configured it.
I think it uses quad9 or so by default.
Go to work with nslookup.
in VM?
No.
where do i use that command?
on my terminal right here? ok
nslookup blockeddomainhere iphere.
As ip try your router, adguard/HAOS and 1.1.1.1.
I guess you know where this is going.
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
What does it say?
Oh come on. Blockeddomain is supposed to be something that is blocked on your adguard.
Alright now try that domain with the others.
Other DNS servers.
so other devices?
Your router and adguard. Should result in the same.
ok ill try on another mac
No?
i am confused then ahah
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
i am sorry🥲
Try that ip.
its all diferent
Show me.
I'm not joking. That's what it should return.
That's not so great.
Check the DNS settings in the router again.
It should be the adguard ip.
WAIT
THERE YOU
GO
thats where i setup adguard
thanks, now i rememeber where i put the ips and stuff
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.
btw yeah, the ipv4 was already adguard home ip
so yeah
Hmm.
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.
a static lease as in a static ip?
Yeah but on the router side.
You don't want the router to give .165 to anything else.
ah mhh
ok, thats a good question on how to do it 
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?
You want to configure a static lease or reservation for the 165 ip in the router.
ok but i am not really sure how do i do that
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.
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.
i opened so many pages, tabs and whatever, that i have no clue
wanna continue this later or tomorrow?
i cant really do much on my own, so please :)
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.
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💀😂
I'd recommend you ask in one of the main channels. #zigbee-archived for example.
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.
me and impact kinda found the problem, but i am not sure what i need to do at the end of what he said
here
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
💀
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.
"they should default to a backup" wht does that mean?
thats what impact suggest, but it was cool to have it on HA, i could see all stuff directly from HA app

Your router config should allow you to specify 3 DNS nameservers (some allow for more, but usually not in consumer gear).
there was a problem in all this though, let me find it
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.
wait what? why
how
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.
so lets say perphaps i have a rasberry pi right here right now, for free
should i switch to that?
😅
Well, I would never recommend a rPi, but sure. That would work.
not sure what model is it though
oh so mac is better than a raspberry?
Personally I'd just go on eBay or Amazon and find a $100-$150 mini PC and use that.
i see but, cant afford it right now, unfortunately
Anything is better than a rPi. They are "good enough", but there are much better options for them.
Then go with the rPi. Is it at least a 3b+?
i see, well ill stick with the mac then for a bit
i am not sure, i need to check
Ok. As long as you don't shut it down, you'll be fine, I guess 🤷♂️
I mean... the same way you are now?
so i would need to make a new virtual box machine?
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.
ok so, just tell me what i should.
fix adguard? change VM? change device? etc
without spending a lot of money if possible zero😅
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.
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.
no i meant it like, do what you said but without moving HA to VMware? or should i move HA and then also do the thingy for adguard?
Yup. Here's what I would do:
- Get Fusion Player
- Install HAOS there in a VM.
- Remove the AdGuard Addon
- Install docker-desktop
- Install AdGuard in a docker container.
and i will still able to see adguard on HA?
Yeah, you juust point the integration to your new AdGuard install.
Actually, since it should be the same IP address, you might not have to do anything. I'm not sure.
100% sure i should do this? ill start making stuff
Well, the way you're doing it now DOESN'T WORK. 😄
😂💀
its just buggy i guess
anyway ill create some backup for HA right now, so i have them
But, I bet you that you will see less issues on a better hypervisor and getting your DNS sorted out.
why isnt this VM suggest as first in the website then?
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.
if my mac is slow to load stuff, for example to open apps, to turn on and etc
is it a problem for HA?
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.
ah
well, damn
cuz for example it took like 1 min to open safari app and then to open home assistant ui
😅
Yeah, you're basically trying to use a desktop machine as a server and it's screaming at you to stop doing that 🙂
well it was already slow before, its really old now but yes
Mac Mini 2012?
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.
no
didnt change anything to it
https://ibb.co/XWHhtzQ
i think update fucked up everything
💀
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.
yeah 8 gb
Give it time. On your hardware, it could take up to 45 minutes to a couple of hours to complete.
damn wtf
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.
i might do a fresh install of the pc too at this point
at least i remove all the useless stuff

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.
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
Probably, but you can't really swap that out.
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
Yeah, I get it.
lol oooorrrrrr get a second or third job 😉
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.
😂😂😂
me, i cant work :/
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.
Ahhhh... ok, yeah. That sucks... Just tell them you need a better computer to do stuff on. lol
bro just got killed
ahhaa and they will say, isnt that 900$ gaming pc you have already not enough
💀💀💀😂😂😂😂😂
my HA just restarted, and by having adguard home off, i got no errors on the boot up :/
Interesting, I wonder if it fell back to your router for DNS?
Ah, there ya go. So, one problem "solved".
well, if i am going to use adguard somewhere else yes
but yeah
is zigbee2m always slow to start up?
Shouldn't be, but on your system, hard to say if it's normal/abnormal.
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.
Try restarting the VM. That usually occurs if a backup is already in progress or HA is under a lot of load.
And that's from HAOS?
yes
That's a problem with the virtual hard drive. Did you switch over to Fusion or are you still using VB?
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
Yup. Get off VB. Seriously. Try any other hypervisor.
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 ?
10-30 seconds.
WHAT
Sometimes less. BUT... I run Container on a pretty powerful machine.
No addons or anything like that.
i see, but you have them on another thingy running?
I have other containers on other servers, yeah.
Eh, I've been in IT for a long time, so this is all second nature to me.
also normal to take a lot of time to do a backup?
Again, on your hardware... probably.
damn

the machine to run ha is on a windows?
like a windows pc thats what i mean
My HA server? No. Linux.
i see
(Debian 12 to be specific)
lol soooo not the same 😉
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?
That seems awfully small. Take a look at your /backups directory and see what's in there?
thaats on like file editor in HA?
or do i need to go to my file explore
Yeah, you can use the file editor I think.
wait though
cuz those backups are being stored to an external drive
this is where i save them
Ok, then you're good. The backup should have been copied there.
@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?
Sorry… just saw this. Yeah, looks like you have to jump through hoops to download Fusion now. 😔
through hoops?
so what should i do?
🥺
Didn’t you say you had a rPi laying around?
i even reinstalled macos
💀
yeah.. but you said mac is better

That was before I knew how old your Mac is. lol
Use the rPi. Even if it’s a 3b+ or whatever, still going to be better than running on your Mac at this point.
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
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.
ok ill check which rpi i have
is the 4 good enough?
Yeah, the 4 is plenty for HAOS.
ok! good to know
how and what do i use to run ha?
Download the rPi image and flash it to a SD Card using the raspberry imager. https://www.home-assistant.io/installation/raspberrypi
i never used a rpi before so give me a minute
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.
okok but what do you mean by download the rpi image and flash it
also looks like i already have a 16 gb sd card inside
it looks like its asking for a 32 gb or bigger
You can start on a 16gb card, but yeah, 32gb is typically the minimum. You can get those pretty cheap.
i stole a 128 gb from my drone
If you want to sacrifice that, that would be better 😊
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
No. You need it to connect to your Mac so you can run the imager.
Those are super cheap on Amazon.
so the download needs to be done on the mac first and then i can put the SD card in the rPi
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
You shouldn’t have to. Give it about 20 minutes or so and try to connect via the browser.
wait whut
oh so just like that
no inside configuration?
theres no way its that easy
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.
damn, on the website it does say preparing home assistant
There ya go…
yes, but idk which is which ahha
all over again? no.. i cant sorry ahahah
OMG. lol you’re a hot mess.
Look at the latest created date on the files. Use the most recent.
Now, here’s the nice thing. If it fails, you can just reimage the sd card again.
okok
lmao. HOT MESS!!!
anyway i am restoring a random one, lets see ahaha
its a small size backup, its not like Music assistant 100 mb
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.
configuration files?
like backup or what?
config files arent saved in backups?
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.
bruh what are you talking about?? i did a fresh install yesterday, theres nothing in my mac anymore...
💀

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

😂
Now you just need to clean things up and you should have a MUCH better experience.
Most of those will be fixed through reconfiguration of your integrations.
what happens if i restore an older "core backup"
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
Whenever you restore a backup, HA resets to the state at the time of the backup.
But, the addons should have been restored with the backup file already.
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..
Oh ok. You have the individual addon backups tho?
i guess
maybe not for all of them
wait i might have done a big brain move one sec

I COOKED bro
So, I think you can restore the individual addons from each backup (I don’t use HAOS, so not sure).
i connected the cloud storage that has all the backups
and i can see all of them again
Ahhhh… perfect.
Go for it. Like I said, worse comes to worse, you can always start over.
Okie
lol no problem. Happy to help.
At this point, you’re like a pet project of mine. Hahaha 😂
indeed
bro is running 2 HA now
need the ip too?
for the zigbee stick, do i just plug it in?
Yup. Into one of the USB2 ports.
IP for what?
lol ohhhhh you still have the VM on your Mac running?
Hahahaha blame my old age.
😂
idk if its normal, but its taking a long time to restart after restoring the full backup
That’s normal.
still no sign of life
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.
the minecraft addon might taking all the time
ahaha, gotta unistall that
lol or Plex. Plex is a big boy…
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
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
wait "given you don’t have a lot of addons" how many do you even have? hahaa
it's ok i aint really using Plex local server yet much
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.
damn i see, what about adguard home now
Ohhhhh yeah. Forgot about adguard. Should be fine to stay there, but you might run into that dns issue again.
yeah, and theres no way for me to fix this?
🥲
Hmmmm you could, but it would require another rPi (or some other 24x7 always on machine).
mac?
so at that point ill run plex too no?
Things like AdGuard that do DNS resolution for your network should be on something that always runs.
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.
my mac has been always running yeah
at least i give a purpose to the mac, if not it will just take dust
Ah, ok. Well, there ya go. Just run the docker version on your Mac and point your router to that.
Yup, I get that.
Download docker desktop on your Mac. It’s easy.
Then just follow the instructions on the adguard website.
alr, i will do it a bit later, ill check better if HA works well and all!
Thank you again boss!
You’re welcome ☺️ Let me know if you run into other issues.
i just checked the rPi on the monitor and it appeared a message "Error returned from supervisor: system is not ready with state: setup"
anything to worry about?
Yup. Reboot it and let it try to setup again. This was after you restored your main backup?
Turn off the pi. Let it sit for 30 seconds and then plug it back in.
just straight up unplug the cable?
Yup
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
Yup. They should have a section for running it under docker in their docs.
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
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.
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?
Yup. You can also do it through docker desktop too.
In Finder, create the folders, the use the path of those folders (like /Users/{your username}/{where you created the folders})
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.
oh sorry, all this in the terminal again
Well, you CAN use desktop as well, but it’s easier in terminal imho.
/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
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
Nope. Leave the /opt/ stuff alone.
so yeah like this
i havent changed the opt i have changed only the one after -v
Perfect. Try running it.
it answered with
???
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
Try running docker ps -an and see what it returns.
cant find image 'ps:latest' locally
Ugh. Typo. Sorry. docker ps -a (I’m on mobile atm)
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 ~ %
Ah, there ya go! It’s running!
You should be able to open the http://Mac IP address:3000 in a browser.
this right http://127.17.0.2:3000/ ?
its the one that Docker gave me in the logs page
just that it doesnt work
Yeah, that’s the docker internal address. It might work, but I doubt it.
didnt work
Just use the IP address for your Mac.
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.
i havent done it yet, but i was checking the rPi performance..
and it says 1.5 gb of 2gb of ram are being used
Yeah, that sounds about right.
😨
ah, so its good?
Like I said... don't overload it and you should be fine.
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.
vs code?
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)
studio code server?
Yeah, that. Avoid it.
Your hardware will choke and call you names.
lol do you? I don't remember seeing it in your addons.
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.
😂😂
lol whatever... shut up... 😛
File editor or add the SAMBA Share addon and edit it over the network. Either one works better than the addon does.
proceeding to unistall it then
samba share means i can also do it remotely?
or what does that mean
Yup. Samba share shares out your config and other folders that you can access from another machine on the network.
but what?
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

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. 🙂
no no vscode i can remove it
I want you to have the best experience you can within your budget 🙂
i didnt know about that, it was the only addon that i visually "learned" how to use and i dint know about others
lol there's always at least 3 ways to do anything in HA (usually).
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.
ok got it working i think
Woot!
if i live my interent connection, will i still see them under network?
Ummmm... over VPN, you might be able to.
All depends on how you have your VPN setup.
oh so remotely means from other devices on the same internet
thats what you meant?

Yeah, locally, 100%. VPN, depends on how you have VPN setup and where it terminates into your network.
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
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.
ok ok ty
Anytime:)
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
Hmmmm... no, I have no idea about that...
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
Sure. What ya got?
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
Yup. Alternately, you can use a compose file as well.
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
Hmmmm. Ok. hold on, let me test it on my system.
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.
just desktop or inside the adguard?
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
Yup. That's fine
done
Alright... now, in your terminal, go to that folder: cd /Users/homeassistantserver/Desktop/AdGuard/
Then run docker compose up -d
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
Make sure it matches what I put in.
i copied and pasted