Lost my config files

I have been using Studio Code Server coupled with GitHub for some time, but never checked if GitHub was working correctly.

Separately I used OneDrive to backup my c:\Documents folder under which GitHub stores repositories. OneDrive seems to move the folders to a new location.

When I now go into HA and open SCS I see nothing. I even tried using File Editor and see nothing.

If I open Terminal I do not see anything in the config folder.

But I can reboot HA with no problem, so I assume that the config files are somewhere, probably where they are expected to be, but I just can’t see them because of the SCS or GitHub settings.

Clearly I am nervous about losing my entire setup, so any and all help is greatly appreciated.

Is there any other information that is required to make the diagnosis easier?

you might need to restart the host to fix this issue, see /config folder is empty? - #10 by kiwidan

Thanks Dan, I tried that, and see that I even contributed to the thread you posted.

But I still can’t see anything. Whether I use Terminal, SCS, or File Editor I get nothing.

haven’t had the issue for a long time but also didn’t need to restore any backups. I assume there is some kind of permission problems

➜  ~ ls -al
total 164
drwxr-xr-x    1 root     root          4096 Apr 12 21:14 .
drwxr-xr-x    1 root     root          4096 Mar 27 19:17 ..
drwxr-xr-x    2 root     root          4096 Mar 27 19:17 .config
lrwxrwxrwx    1 root     root            16 Mar 27 19:17 .gitconfig -> /data/.gitconfig
drwxr-xr-x    1 root     root          4096 Mar 27 07:40 .oh-my-zsh
lrwxrwxrwx    1 root     root            10 Mar 27 19:17 .ssh -> /data/.ssh
-rw-r--r--    1 root     root           942 Mar 27 08:12 .tmux.conf
-rw-r--r--    1 root     root         36714 Mar 29 20:19 .zcompdump-a0d7b954-ssh-5.9
-r--r--r--    1 root     root         84168 Mar 29 20:19 .zcompdump-a0d7b954-ssh-5.9.zwc
-rw-------    1 root     root          8270 Apr 12 21:14 .zsh_history
-rwxr-xr-x    1 root     root          3182 Mar 27 08:12 .zshrc
lrwxrwxrwx    1 root     root             7 Mar 27 19:17 addons -> /addons
lrwxrwxrwx    1 root     root             7 Mar 27 19:17 backup -> /backup
lrwxrwxrwx    1 root     root             7 Mar 27 19:17 config -> /config
lrwxrwxrwx    1 root     root             6 Mar 27 19:17 media -> /media
lrwxrwxrwx    1 root     root             6 Mar 27 19:17 share -> /share
lrwxrwxrwx    1 root     root             4 Mar 27 19:17 ssl -> /ssl
➜  ~ 

This is my result

I don’t have the .config but the rest seems to be what I would expect.

But you might be right about some authority settings. I use SambaShare and I have been able to see the config folder from my Windows laptop, but when I try to open it from File Explorer I get a permissions error.

But I can see the other folders from my Windows laptop, such as backups.

Quite possible that samba is messing up with the permissions, but no clue how to address this.

Could also be one of the add-on’s that creates issues as you mentioned in other thread that access was restored after updating some of them.

Thanks for the suggestion Dan. Unfortunately I have had Samba running very successfully for at least 12 months. I have been using a different backup solution that runs on an RPi 4 that takes a full backup of the entire HA folder structure.

Since it has been running successfully, I can only assume that something has changed on the HA side. And I have no idea what that could be.

…and magically the config folder is back again after the latest update to core. :wink: