Home Assistant Add-on: Git pull - [Error] Copy files to backup directory failed
Closed this issue · 1 comments
x5500 commented
Describe the issue you are experiencing
Home Assistant Add-on: Git pull doesn't work as expected:
It's fails on access to existing /config directory.
Running on Home Assistant OS 13.1, default installation.
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Which add-on are you reporting an issue with?
Git pull
What is the version of the add-on?
Current version: 7.14.1
Steps to reproduce the issue
- install Home Assistant OS 13.1
- Install and configure add-on 'Git pull'
- Got error in add-on log
...
System Health information
System Information
version | core-2024.9.0 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.12.4 |
os_name | Linux |
os_version | 6.6.46-haos |
arch | x86_64 |
timezone | Europe/Berlin |
config_dir | /config |
Home Assistant Cloud
logged_in | false |
---|---|
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
Home Assistant Supervisor
host_os | Home Assistant OS 13.1 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2024.08.0 |
agent_version | 1.6.0 |
docker_version | 26.1.4 |
disk_total | 6.5 GB |
disk_used | 4.8 GB |
healthy | true |
supported | true |
host_connectivity | true |
supervisor_connectivity | true |
ntp_synchronized | true |
virtualization | |
board | generic-x86-64 |
supervisor_api | ok |
version_api | ok |
installed_addons | Mosquitto broker (6.4.1), Zigbee2MQTT (1.40.1-1), Terminal & SSH (9.14.0), Git pull (7.14.1), File editor (5.8.0) |
Dashboards
dashboards | 9 |
---|---|
resources | 21 |
views | 13 |
mode | storage |
Recorder
-- | --
estimated_db_size | 618.27 MiB
database_engine | sqlite
database_version | 3.45.3
Anything in the Supervisor logs that might be useful for us?
No response
Anything in the add-on logs that might be useful for us?
-------------- ADD-ON LOG: -----------------------------
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
Check SSH connection
[Warn] No valid SSH connection for https
[Info] Start adding SSH key
[Info] Setup deployment_key on id_rsa
[Warn] Git repository doesn't exist
[Info] Backup configuration to /tmp/config-2024-09-07_12-59-31
cp: can't stat '/config/*': No such file or directory
[Error] Copy files to backup directory failed
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
-------------- EOF LOG --------------------------------
Additional information
-------------- SYSTEM INFORMATION ----------------
System information
OS Version: Home Assistant OS 13.1
Home Assistant Core: 2024.9.0
-------------- LS of root direcory ---------------------
[core-ssh ~]$ uname -a
Linux core-ssh 6.6.46-haos #1 SMP PREEMPT_DYNAMIC Wed Aug 21 16:24:58 UTC 2024 x86_64 Linux
[core-ssh ~]$ ls -l /
total 120
drwxr-xr-x 2 root root 4096 Sep 5 01:28 addon_configs
drwxr-xr-x 2 root root 4096 Feb 21 2024 addons
drwxr-xr-x 3 root root 4096 Sep 7 14:54 backup
drwxr-xr-x 1 root root 4096 Mar 18 23:46 bin
drwxr-xr-x 2 root root 12288 Mar 18 23:46 command
lrwxrwxrwx 1 root root 14 Sep 7 16:08 config -> /homeassistant
drwxr-xr-x 4 root root 4096 Sep 7 16:08 data
drwxr-xr-x 16 root root 3280 Sep 6 21:38 dev
drwxr-xr-x 1 root root 4096 Sep 7 16:09 etc
drwxr-xr-x 2 root root 4096 Jan 26 2024 home
drwxrwxr-x 4 root root 4096 Sep 7 16:28 homeassistant
-rwxr-xr-x 1 root root 1012 Nov 20 2023 init
drwxr-xr-x 1 root root 4096 Sep 7 16:09 lib
drwxr-xr-x 2 root root 4096 Feb 21 2024 media
drwxr-xr-x 2 root root 4096 Jan 26 2024 mnt
drwxr-xr-x 2 root root 4096 Jan 26 2024 opt
drwxr-xr-x 6 root root 4096 Nov 20 2023 package
dr-xr-xr-x 297 root root 0 Sep 7 16:08 proc
drwxr-xr-x 1 root root 4096 Sep 7 16:20 root
drwxr-xr-x 1 root root 4096 Sep 7 16:08 run
drwxr-xr-x 2 root root 4096 Jan 26 2024 sbin
drwxr-xr-x 2 root root 4096 Feb 21 2024 share
drwxr-xr-x 2 root root 4096 Jan 26 2024 srv
drwxr-xr-x 2 root root 4096 Feb 21 2024 ssl
dr-xr-xr-x 12 root root 0 Sep 7 16:08 sys
drwxrwxrwt 1 root root 4096 Sep 7 16:20 tmp
drwxr-xr-x 1 root root 4096 May 9 10:23 usr
drwxr-xr-x 1 root root 4096 May 9 10:23 var
github-actions commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.