All config files and folders not visible from file editor and studio code server

Dear all
I don’t know why but I am not able to see the folders and files in both file editor and studio code server.

Firstly, I wanted to upload a picture in the shared folder via SMB and the only folder which was not accessible was the config folder. All others could be opened. The error message from windows is “you do not have permission to access…”

So I decided to upload via file editor. I was surprised to see that no folder and files were visible from it.

I also tried to use studio code server and I was not able to see any file/folder.

So I am in a situation where I cannot edit any yaml file.

Is someone already fix a similar issue? A far as I can remember, I didn’t change anything in the config. The only thing I did was the last update 2022.5.2. I had to roll back to the last backup as zwave JS didn’t work anymore after this update.

Thank you for your help.

SD

1 Like

I just ran into a similar issue after restoring from a backup. I was able to fix this by going into Settings >> AddOns >> File Editor and then restarting the addon. Hope it helps for you too

8 Likes

Thank you riedlem.
It works for file editor as well as studio code.
thanks
SD

Thanks a lot

Same for me
I just uninstalled and reinstalled the file editor Add on and it worked.

Many thanks to you, i ran into the same issue as Sdo, after restarting File Editor - all files are back again.

BR
Peter

Thanks for the help.
It worked for me.

Thanks! Worked for file editor and for the Samba plugin as well.

1 Like

Thanks for the help - it worked!

What the heck … I did not work for me !!!

Restared HA, RPI4, File editor, uninstall and reinstall …still nothing

I can see the files via SSH, please help :slight_smile:

image

1 Like

Restarting the add-on didn’t help. Turning off git in the add-on config did help. Further investigation showed there was git ownership problem. Here is how to check and (at least temporarily) solve it. You’ll need ssh access.

➜  ~ docker exec -it addon_core_configurator bash
core-configurator:/# cd config/
core-configurator:/config# git status
fatal: detected dubious ownership in repository at '/config'
To add an exception for this directory, call:

        git config --global --add safe.directory /config
core-configurator:/config# git config --global --add safe.directory /config
core-configurator:/config# git status
On branch master
...

i have the same problems… no clue, no solution

This editor is killing me, i hate it more than anything !! Always asking permitions for … i don’t know what, it always starts the welcome tab, files and dirs suddently leaving the ui, for no reason… etc
So now, i can’t acces my files, for… no reason, the browse bar disapeared, i tryed EVERITHING. I’m lost, i don’t understant this software (i am a senior dev !!!)
Is there ANY alternative : like a good editor, with a good ui, the basics

Why do everybody uses this crap ? i don’t get id :roll_eyes:

just disable this

2 Likes

The option is available under the Configuration tab of the add-in.

316 / 5,000

Resultados de traducción

Traducción

The same thing happened to me when I changed the configuration of my Home Assistant and started to log in via http. To fix it, I changed it back and when I logged in via https, I could see everything both in the file editor and from visual. From there I concluded that it is a security measure or something that does not allow me to view the files via http.