Seeing that HASSOS 5 is stable now, I endeavored to upgrade from a supervised install on Rasbpian to HASSOS 5 64-bit on my Raspberry Pi 4. However when I flash my SSD and try to upload my snapshot I get an HTTP status code 413: Request Entity Too Large
with response Maximum request body size 1073741824 exceeded, actual body size 1073743456
. So I guess HASSOS canât take snapshots more than 1gb? Mine is 3.58gb. Bummer thereâs no warning about that when downloading a snapshot! Iâm going to try to work around this (perhaps complete HA setup, ssh the backup to the pi, then restore? Or maybe try to strip some things out of my snapshot?) and Iâll update here with my progress.
I would suggest reporting this as a bug. Anyone who is using addons for long term data storage on their systemâs full backup is likely to be over a gig. Especially with the new âmediaâ folder.
Although, I just checked my weekly backup and theyâre significantly smaller, but I donât use either feature I just talked about
Ok this wasnât as bad as I thought it would be originally. The supervisor can handle large snapshots just fine, just not over HTTP. Hereâs what I did to work around:
- Complete setup as normal
- Install the Samba add on (and set a password in Configuration)
- Connect to the
backup
share via Samba - Upload my snapshot
- Go to the Supervisor -> Snapshots menu, snapshot should show up
- Restore snapshot
I dug into the snapshot a bit and itâs definitely my MariaDB thatâs huge. For some reason my DB didnât restore properly anyways with the snapshot restore â still investigating why that is.
looks like itâs a known issue that MariaDB snapshots do not work
Yeah, but you should be able to upload it during onboarding - thatâs the point of the upload button.
Your lovelace setup isnât stored in the database, itâs in the .storage directory. The issue with mariadb should only have affected your history.
Yeah, but you should be able to upload it during onboarding - thatâs the point of the upload button.
100% agree.
Your lovelace setup isnât stored in the database, itâs in the .storage directory.
Yeah, strangely, once I reset my MariaDB and blew away my backup, my Lovelace worked again
So my snapshot was too big because of my MariaDB database. And MariaDB snapshots donât even work in the first place
I also have 1.9Gb snapshot how can this be? Just database???
Just created a backup and tried to upload it back using the lovelace interface. I get the âUploaded snapshot is too largeâ error.
Backup is only +/-30MBâŚ
Copied over the backup using scp and all went fine⌠So the backup file itself is valid.
Used versions: