I installed the latest Raspbian Stretch image on a USB and booted from it and then I used Dale3h’s script which installs Docker and then installs the Hassio container and the Supervisor container. I restored my snapshot and it was all working except for a couple of things I needed to do.
change the ssh port from 22 to something else. You will still be able to use port 22 to ssh into the host.
I needed to uninstall and reinstall the configurator addon - I’m using the one in Daniels own repo as it is kept better up-to-date than the official repo.
I needed to uninstall and reinstall Daniel Welsh’s Dropbox backup addon. Neither configurator or dropbox would start till I did that!
Dale3h’s script can be found here:
If you login on port 22 (to the host) you will find all the config files at /usr/share/hassio/homeassistant
If you login on ssh port in addon, you will find everything in the ‘right’ place anyway.
I haven’t timed it but I think it’s a fair bit faster.
I am also noticing a database error so I’m going to delete the database and restart.
Note this is NOT running HassOS or ResinOS it’s running Raspbian and Hass.io
EDIT: I just deleted the database and restarted. It took less than a minute!
Also I’m currently running 0.76.0b3 with the new auth and also legacy_api and lovelace.
the web interface will show the HA logo for a bit but it will go blank/dead and will then load the GUI. You aren’t going to see anything interesting on the ssh screen.
don’t connect using ssh!!!
I am not sure whether this is related to GPIO issues, but I can’t get PiFace to work.
Logs:
Error during setup of component rpi_pfio
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/rpi_pfio.py", line 25, in setup
pifacedigital = PFIO.PiFaceDigital()
File "/usr/local/lib/python3.6/site-packages/pifacedigitalio/core.py", line 82, in __init__
self.init_board()
File "/usr/local/lib/python3.6/site-packages/pifacedigitalio/core.py", line 107, in init_board
h=self.hardware_addr, b=self.bus, c=self.chip_select))
pifacedigitalio.core.NoPiFaceDigitalDetectedError: No PiFace Digital board detected (hardware_addr=0, bus=0, chip_select=0).
Would it be worth adding to the blog post that you should manually add additional add-on repositories before restoring backup, if you want those add-ons to be restored?
That has happened to me when I restored a HassOS snapshot on A Debian system and might have happened when I changed from 32bit to 64bit but it’s not normal to need to do it.
Not sure what was the issue, my hassio was very slow after the new update. Now i am on rasbian and the worst part is i cant install hassos inside it.If anyone could help me on virtual machine installation on raspbian and running hassos ? need your inputs please
I have also had to do this before when I have restored snapshots but I just moved to HassOS and the snapshot from resinos installed everything. Boot time is definitely longer on hassos - just over 5 minutes for me. Log shows various add-ons and services taking over 10 seconds to load. Http site feels very responsive.