Brilliant!!!
Indeed the PWD I chose just for the sake of testing was the problem and the log showed it as it was I have been pawned .
Thanks a lot for helping out again !
Brilliant!!!
Indeed the PWD I chose just for the sake of testing was the problem and the log showed it as it was I have been pawned .
Thanks a lot for helping out again !
Hello,
I know more people had this problem before but even with this forum post I canât figure it out.
Iâm very sure I got my zvol path correct but I still got an error message when I run the command:
âdd if=/mnt/MainStorage/Storage/hassos_vm.img of=/dev/zvol/MainStorage/LinuxmintVM2-Homeassistantâ
I get this message: âdd /dev/zvol/MainStorage/LinuxmintVM2-Homeassistant: Operation not supportedâ
If someone can help me that would be awesome!
Hi,
Check the structure of your dataset in Storage -> Pool and also see my post 97 above. Operation not supported is likely due to the incorrect destination specified for zvol (try to keep the names simple and also keep in mind that all names are case sensitive).
@Petrica ust like to say thank you for sharing this way of installing HassOS on FreeNAS. I wanted to have Supervisor still to manage the add-ons and this way of installation worked out of the box. This is a huge upgrade in speed and reliability compared to my old RPi3 + microSD card, which will be used as a remote instance for running Deconz Zigbee gateway.
I have setup deconz on my Rasberry Pi 3. For zigbee switches that require listening to deconz_events, I have created a trigger-based sensor template which will update the state of the sensor. That way the main HassOS instance on the FreeNAS server can see the state change and an automation / script can be created based on the remote sensor value.
template:
- trigger:
- platform: event
event_type: 'deconz_event'
event_data:
id: 'round'
sensor:
- name: round_switch
state: '{{ trigger.event.data.event }}'
This seems more semantic and easier to maintain for me. Will this cause any issue in the long term?
If this works for you then I donât see any problem in the long run.
In fact, I also use a two HA instance setup, the second one (VM on TrueNAS) being accessible from internet to integrate with Google Assistant so that I donât have all the devices shared with Google.
Last night I fucked up and needed to reinstall HASS and recover from a snapshot. This is my preferred way to install but something weird is happening suddenly.
I gave the VM 1GiB of Memory and the zvol has 65GB of storage⌠but when I go to upload my snapshot I am getting an âout of memoryâ error and it forces Home Assistant to restart. Help?
Can you turn off the VM and change the RAM size to 2 GiB (I think it asks for GiB not GB as unit)?
I did this and upped RAM to 4. But - itâs seemingly still fucked up. That said this error did go away.
Does the screen show only âWelcome to Home Assistantâ and âhomeassistant login:â?
Sorry - just seeing this reply. I ended up giving up and just buying a Blue. Thanks for all of your willingness to help though!
first now it seemes it is called haos_ova-7.6.vdi Copied this in my user dir on my Mac.
VBoxManage clonehd source/haos_ova-7.6.vdi destination/haos_ova-7.6.img --format raw
VBoxManage: error: Could not find file for the medium â/Users/bobwalberg/source/haos_ova-7.6.vdiâ (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium, callee nsISupports
VBoxManage: error: Context: âOpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())â at line 191 of file VBoxManageDisk.cpp
Iâm not using MacOS but seems that the command to convert the image in VirtualBox is incorrect, most probably the culprit being the need for case sensitive arguments for location of files.
Anyway, the guide is quite old and there wasnât an img file offered at that time of writing so the conversion with VirtualBox is no longer necessary (now thereâs the Generic x86-64 image).
Hmm, where do i find the Generic x86-64 image?
Middle of the page (https://github.com/home-assistant/operating-system/releases/download/7.6/haos_generic-x86-64-7.6.img.xz)
I dit this:
dd if=/mnt/walbergstore/media/downloads/haos_generic-x86-64-7.6.img of=/dev/zvol/walbergstore/Homeassistant
I dit this in Shell of Truenas scale
I had stored haos_generic-x86-64-7.6.img on /mnt/walbergstore/media/downloads See picture and the Zvol is Homeassistant and is on /mnt/walbergstore/
Nothing happens
First of all - thank you! The tutorial to install HA as a VM on FreeNAS (TrueNAS Scale) still works without any issues.
Question though - has anyone managed to get the VM to work with Traefik, Cloudflare certificate and external domain to work? Can you share you configuration and solution?
I suggest to retry the dd command on a fresh zvol (if there would have been errors then they would have shown here). It depends on the disks speed, but it would take several minutes until completion. Can you check the size of the img file?
Also, you might want to delete the last printscreen from your post.