maykino
(Michael)
July 9, 2019, 4:22am
1
I bought a new good quality sd card, new raspberry pi. I took me 5 days to fully get everything up and running and now out of sudden everything stopped working.
I can’t ssh in, I can’t log in to the UI. The pi responds to ping a minute or two, then stops for a minute or two and responds again. Weird.
tom_l
July 9, 2019, 4:53am
2
Connect a monitor and keyboard to the pi.
LongLocal
(Marco Neuzil)
July 9, 2019, 5:31am
4
have you changed something in the config.yaml and not checked?
maykino
(Michael)
July 9, 2019, 5:45am
5
Possibly, Ive been tweaking the automation for the past few days. Anyway to get it back to work without losing the progress?
tom_l
July 9, 2019, 6:01am
6
Go back in time and create a snapshot and copy it off the SD card.
Or, put the SD card in a PC and recover the config files. You will need software to do this if using a windows machine.
1 Like
LongLocal
(Marco Neuzil)
July 9, 2019, 6:01am
7
To slow…
I think you can access the config.yaml on the sd card if you read the sd card on pc and there looking for the error if there is one.
For test you can load a standard config and check the problem is not on raspi or on the SD card.
maybe a boot file is missing.
Sorry my english is horrible
maykino
(Michael)
July 9, 2019, 8:18pm
8
I was able to find the config file but everything seems to be okay. I ran into some issues while opening the card and I think it’s damaged.
Having in mind I have access to the “old” home assistant folder what do I need to do to copy the old configuration and devices to a new installation?
LongLocal
(Marco Neuzil)
July 9, 2019, 8:21pm
9
You could try if you can create an image. i think with win32 or something similar. Maybe everything can still be read.
tom_l
July 9, 2019, 10:02pm
10
Copy the entire /config directory.
Or the latest snapshot you made from /backup.
maykino
(Michael)
July 10, 2019, 2:50am
11
There is no config folder here. Did you mean the whole “homeassistant” folder? Also, the backup folder is empty.
tom_l
July 10, 2019, 3:03am
12
Yeah the whole homeassistant folder.
maykino
(Michael)
July 10, 2019, 3:03am
13
I just copied the whole folder as suggested above and it worked! Thank you so much guys! You just saved me a lot of work!
tom_l
July 10, 2019, 3:05am
14
Are you using hassio?
If so, get to know the hassio / snapshot page. Create them regularly and copy them off the card.
There are options to automatically do this nightly and save to google drive or dropbox. Search the forum.
paul2nz
(Paul2nz)
July 10, 2019, 12:28pm
15
Try to setup the automatic back-up by following the link below.
1 Like