Creating a snapshot is not possible right now because the system is in freeze state

Tags: #<Tag:0x00007fc40a8da7e0>

Hello all

Just tried to do a snapshot, I am getting following error message:

Creating a snapshot is not possible right now because the system is in freeze state.

I also noticed this in the log:

21-02-18 12:40:49 WARNING (MainThread) [supervisor.jobs] 'SnapshotManager.do_snapshot_full' blocked from execution, system is not running - CoreState.FREEZE
I am currently on:
Core: core-20212.2.3
Supervisor: supervisor-2021.02.9
OS: 5.11

I have restarted Core and Supervisor but no joy.

Please help
Thank you

3 Likes

Same to me

Same here! What to do?

core-2021.2.3
supervisor-2021.02.11

Here, the same.
Any news?

Thks

Update: it is working again; bad network connection; solved :+1:
Sorry & Thks

Same here,
Creating a snapshot is not possible right now because the system is in freeze state.

core-2021.2.3
supervisor-2021.02.11

I started a create snapshot several hours ago, unclear from supervisor log if it is still running but snapshot has not been created?

I have the same issue. “Creating a snapshot is not possible right now because the system is in freeze state.”

Bump!

No answers at all.

To work around, I am using Auto Backup feature from HACS. That seems to create the snapshots.

What is the difference, to do it manually and through Auto Backup?

The same.

Has anyone checked the integrity of the auto snapshot?

I’ve also had this problem. Attempting to create a snapshot freezes the Supervisor.

EDIT: After some experimenting, it seems the problem is including the Media folder in the Snapshot. At least on my system, this freezes the Supervisor and the Snapshot is never created.

Same here. Unchecking Media doesn’t fix this issue for me.

Im still getting this problem every time I update to 2021.03.
I get Backup errors

is there a fix or work around for this?

Cheers

The latest Core update fixed it for me… 2021.3.1

Not for me. The update didn’t fix my issue. How big is your database?

I have only been on HA for less than a year and only about 20-30 devices/sensors so pretty small I would guess.

Same thing here on 2021.3.1. The samba backups seem to run fine. Backing up manually gets me the freeze error.

I restored back to core 2021.2.3. Snapshot working again.

Same issue here on an rpi4 4GB, wasn’t happening before.

System Health

version: core-2021.3.2
installation_type: Home Assistant OS
dev: false
hassio: true
docker: true
virtualenv: false
python_version: 3.8.7
os_name: Linux
os_version: 5.4.83-v7l
arch: armv7l
timezone: Europe/Rome

I’ve the same issue. In addition, continous reboots of HA. Stay on newest 2021.3.1.
How can I restore a backup if supervisor is not running? I’ve no chance to do a restore sitting in front of Supervisor an try it somtimes but no luck.

21-03-06 05:53:25 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-03-06 06:01:49 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-03-06 06:01:51 INFO (MainThread) [supervisor.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup
21-03-06 06:12:22 ERROR (SyncWorker_3) [supervisor.docker.interface] Can't read stats from homeassistant: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=900)
21-03-06 06:14:21 INFO (MainThread) [supervisor.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup
21-03-06 06:27:25 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-03-06 06:27:36 INFO (MainThread) [supervisor.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup
21-03-06 06:33:56 INFO (MainThread) [supervisor.api.snapshots] Downloading snapshot 352e0911
21-03-06 06:47:59 INFO (MainThread) [supervisor.snapshots] Found 9 snapshot files
21-03-06 07:11:08 INFO (MainThread) [supervisor.snapshots] Found 9 snapshot files
21-03-06 07:12:11 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-03-06 07:27:06 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-03-06 07:29:55 INFO (MainThread) [supervisor.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup
21-03-06 07:35:20 INFO (MainThread) [supervisor.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup
21-03-06 07:36:44 INFO (MainThread) [supervisor.snapshots] Found 15 snapshot files
21-03-06 07:36:44 ERROR (MainThread) [supervisor.snapshots.snapshot] Can't read snapshot tarfile /data/backup/Test2502.tar: empty file
21-03-06 07:36:44 ERROR (MainThread) [supervisor.snapshots.snapshot] Can't read snapshot tarfile /data/backup/test 26.tar: unexpected end of data
21-03-06 07:36:45 ERROR (MainThread) [supervisor.snapshots.snapshot] Can't read snapshot tarfile /data/backup/core_2021.2.3.tar: empty file
21-03-06 07:36:46 ERROR (MainThread) [supervisor.snapshots.snapshot] Can't read snapshot tarfile /data/backup/test_26.tar: empty file
21-03-06 07:39:48 INFO (MainThread) [supervisor.api.security] /snapshots access from cebe7a76_hassio_google_drive_backup
21-03-06 08:00:12 INFO (SyncWorker_7) [supervisor.docker.interface] Stopping homeassistant application
21-03-06 08:03:53 INFO (SyncWorker_7) [supervisor.docker.interface] Cleaning homeassistant application
21-03-06 08:03:54 INFO (MainThread) [supervisor.homeassistant] Update pulse/client.config: /data/tmp/homeassistant_pulse
21-03-06 08:03:54 INFO (SyncWorker_4) [supervisor.docker.homeassistant] Starting Home Assistant homeassistant/raspberrypi4-64-homeassistant with version 2021.3.2
21-03-06 08:03:54 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
21-03-06 08:04:21 INFO (MainThread) [supervisor.snapshots] Found 15 snapshot files
21-03-06 08:06:55 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-03-06 08:48:12 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-03-06 08:50:55 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: 
21-03-06 08:57:35 ERROR (MainThread) [supervisor.homeassistant.api] Error on call http://172.30.32.1:8123/api/config: [Errno 104] Connection reset by peer
21-03-06 08:59:57 INFO (MainThread) [supervisor.snapshots] Found 15 snapshot files

could do a restore with 2021.2.3, now snapshot is running. let’s wait an see. log is green.

Same issue here, started with 2021.3.
Could not create snapshot at upgrade.
And when try to run manually, similar issue reported.

Usually nothing important is the logs, but as now try to do manually,
this now in Core log in red:
(and I can reach my HA cloud from my phone ‘outside’)

2021-03-06 17:50:02 ERROR (MainThread) [homeassistant.components.system_health] Error fetching system info for cloud - can_reach_cloud
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/system_health/__init__.py", line 212, in async_check_can_reach_url
    await session.get(url, timeout=5)
  File "/usr/local/lib/python3.8/site-packages/aiohttp/client.py", line 544, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 905, in start
    self._continue = None
  File "/usr/local/lib/python3.8/site-packages/aiohttp/helpers.py", line 656, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
2021-03-06 17:54:08 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /snapshots/new/full request
2021-03-06 17:54:08 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /snapshots/new/full -