# 【Add-on Guide】Volume management & Filebrowser add-on

**URL:** <https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254>\
**Category:** eWeLink CUBE\
**Created:** [May 29, 2023, 9:33am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254 "2023-05-29T09:33:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Teki](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/teki/32/1161_2.png) [@Teki](https://forum.ewelink.cc/u/Teki)\
**Post date:** [May 29, 2023, 9:33am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/1 "2023-05-29T09:33:27Z")

</div>

In this post, I’ll show you how to manage the files of an add-on via the filebrowser/filebrowser add-on

Take Node-RED as an example.

**Step 1**  
Install the filebrowser/filebrowser add-on

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/8/8baf2fe8c4c0008e2c5602073f6e6f31c1567ef6.png)  
Do not run it for now.

**Step 2**  
Create some volumes for add-ons.  
Here I created a volume named node-red-volume

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/b/b331e6b4ddcbec56eba3261e5d5b624ad509cea9.png)  
You can create more volumes for your other add-ons as well.

**Step 3**  
Run the filebrowser add-on

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/b/bfb235d94eb586769dc6ff5607c9c1132fb5a268.png)

**Explaination**

For the Port section

host port can be any (except for 80), add-on port should be 80

- Additional explanation by Joennuh: Host port can not be 80 (as it is already in use for the UI of the iHost itself) or a port used for another add-on. Apart from that it can be any portnumber from 1 to 65535. It is a common thing to assign above 1024 as most basic things like webservers, mailservers, SSH, DNS, etc.

For the Volume section,

row1 is must, row2&3 are optional but recommended, for storing filebrowser data.

```auto
/srv

```

```auto
/database/filebrowser.db
/config/settings.json

```

row4&5&more are the maps of Host Volume & Filebrowser path  
eg. files on node-red-volume will show in filebrowser node-red-files folder  
`node-red-volume` → `/srv/node-red-files`

(other information: [Installation - File Browser](https://filebrowser.org/installation) )  
run it and open the filebrowser interface

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/6/63dd5e5a0210f6a46ce9ca393d9c37dde3609ed3.png)

the default login info: admin/admin

you’ll see the folders here:

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/2/2852ed23785e7770877533891bb748aa3dd88815.png)

**Step 4**  
Now run the Node-RED add-on  
(if it is running, click More info - click the Delete icon upper right to stop it.)  
Select Volume _node-red-volume_ you created in step 2 and run.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/6/6a8aea17be52b0579d2873b113a829a675eed2da.png)  
After running, the Node-RED add-on files can be seen in filebrowser’s node-red-files folder (you created when running the filebrowser add-on)  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/7/77eb92c3819ee848c50279733602811d8d04e08f.png)

END

---

<div class="post-metadata">

**Author:** ![joennuh](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/joennuh/32/454_2.png) [@joennuh](https://forum.ewelink.cc/u/joennuh)\
**Post date:** [May 29, 2023, 10:41am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/2 "2023-05-29T10:41:42Z")

</div>

A few remarks:

- For users that have already running add-ons: it is not strictly necessary to rebuild a new volume. It only helps you to have a more recognizable name while configuring the run parameters of the filebrowser.
- Host port can not be any. It can not be 80 (as it is already in use for the UI of the iHost itself) or a port used for another add-on. Apart from that it can be any portnumber from 1 to 65535. It is a common thing to assign above 1024 as most basic things like webservers, mailservers, SSH, DNS, etc. have ports below 1024.

@Teki  
If I press the delete button of the Node-RED add-on will all configuration data with my flows and nodes also get lost?  
I’d like to add startup parameters in order to try to correct the incorrect time for timer nodes, but as it seems that only deletion and re-run provides the run configuration dialog I’m afraid all my flows will get lost.

---

<div class="post-metadata">

**Author:** ![Teki](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/teki/32/1161_2.png) [@Teki](https://forum.ewelink.cc/u/Teki)\
**Post date:** [May 29, 2023, 11:22am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/4 "2023-05-29T11:22:29Z")

</div>

From my test delete from ‘More info - upper right delete’ wont delete the data.  
delete by clicking Uninstall on the list will delete the data.  
delete the volume where it runs on will delete the data.  
But I remember Node-RED has a feature allowing you to export flows for backup, it would be better for you to try to find the export menu.  
Or just install any add-ons to test first.

---

<div class="post-metadata">

**Author:** ![fabinhuziica](https://avatars.discourse-cdn.com/v4/letter/f/a88e4f/32.png) [@fabinhuziica](https://forum.ewelink.cc/u/fabinhuziica)\
**Post date:** [May 29, 2023, 10:53pm UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/5 "2023-05-29T22:53:46Z")

</div>

and what would be the path to homeasistant?

---

<div class="post-metadata">

**Author:** ![christiansbalz](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@christiansbalz](https://forum.ewelink.cc/u/christiansbalz)\
**Post date:** [May 29, 2023, 11:19pm UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/6 "2023-05-29T23:19:45Z")

</div>

> [@Teki](#):
>
> You can create more volumes for your other add-ons as well.

ewelink/ewelink-smart-home does not allow editing any value to insert a volume. Any reason for this behavior?

---

<div class="post-metadata">

**Author:** ![Alexie](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/alexie/32/1593_2.png) [@Alexie](https://forum.ewelink.cc/u/Alexie)\
**Post date:** [May 30, 2023, 1:27am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/7 "2023-05-30T01:27:15Z")

</div>

Why you need to edit the ewelink-smart-home value ?

---

<div class="post-metadata">

**Author:** ![ociepa.ekotox](https://avatars.discourse-cdn.com/v4/letter/o/c68b51/32.png) [@ociepa.ekotox](https://forum.ewelink.cc/u/ociepa.ekotox)\
**Post date:** [May 30, 2023, 7:50am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/8 "2023-05-30T07:50:01Z")

</div>

Hello. I set everything according to the instructions, but I only see files in the node-red directory. the homebridge and home-assistant directories are empty.

 ![03](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/9/9d41fb56b04ff2d87e3ce44d0c5e8a5449903d2a.jpeg)  
 ![01](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/b/b64a0a3c793f47bceded5e412d46af3aff8cb203.jpeg)  
 ![02](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/3/336f5d2504d5b0189e817ad5bac6ade4e5f05267.jpeg)

is it possible to display all volumes in filebrowser?

---

<div class="post-metadata">

**Author:** ![Teki](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/teki/32/1161_2.png) [@Teki](https://forum.ewelink.cc/u/Teki)\
**Post date:** [May 30, 2023, 8:10am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/9 "2023-05-30T08:10:46Z")

</div>

create a volume for HomeBridge  
run the Filebrowser and add a volume map like _HomeBridge volume - HomeBridge files_  
run the HomeBridge  
Then you can see the files under _HomeBridge files_ folder

you need to run filebrowser first and then run other add-ons

---

<div class="post-metadata">

**Author:** ![ociepa.ekotox](https://avatars.discourse-cdn.com/v4/letter/o/c68b51/32.png) [@ociepa.ekotox](https://forum.ewelink.cc/u/ociepa.ekotox)\
**Post date:** [May 30, 2023, 8:33am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/10 "2023-05-30T08:33:22Z")

</div>

I did that but I don’t see anything. Will try again later. Is it possible to display all the files on the card in the file browser

---

<div class="post-metadata">

**Author:** ![Alexie](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/alexie/32/1593_2.png) [@Alexie](https://forum.ewelink.cc/u/Alexie)\
**Post date:** [May 30, 2023, 12:12pm UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/11 "2023-05-30T12:12:36Z")

</div>

Make sure you select the corresponding HomeBridge volume when you start homebridge addon – If you start addon without configuration, homebridge will not be installed on the HomeBridge files volume, and there will be no files in it.

Make sure that you create a new Volume and select it when you enable homebridge addon instead of using the default volume configuration. After addon is started, you can see the files addon has written to it when Filebrower is mounted to this volume

---

<div class="post-metadata">

**Author:** ![ociepa.ekotox](https://avatars.discourse-cdn.com/v4/letter/o/c68b51/32.png) [@ociepa.ekotox](https://forum.ewelink.cc/u/ociepa.ekotox)\
**Post date:** [May 30, 2023, 4:37pm UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/12 "2023-05-30T16:37:06Z")

</div>

![Screenshot_20230530_183104_Chrome](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/7/7867965c51685f83dbec0fc1aa1b5f7e268f8d85.jpeg)

What you need to enter in the marked place for home assistant

---

<div class="post-metadata">

**Author:** ![christiansbalz](https://avatars.discourse-cdn.com/v4/letter/c/6f9a4e/32.png) [@christiansbalz](https://forum.ewelink.cc/u/christiansbalz)\
**Post date:** [May 31, 2023, 12:24am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/13 "2023-05-31T00:24:49Z")

</div>

In fact there is really no immediate need, except the possibility of organizing the volumes and eventually performing backups.

Why do you create and manage volumes for other add-ons?

---

<div class="post-metadata">

**Author:** ![ysty89](https://avatars.discourse-cdn.com/v4/letter/y/b5ac83/32.png) [@ysty89](https://forum.ewelink.cc/u/ysty89)\
**Post date:** [May 31, 2023, 6:41am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/14 "2023-05-31T06:41:46Z")

</div>

I suppose you can put, depending on what you need: /config

PS. Not much experience with HA, but if you manage to figure out how to enable add-ons let me know 🙂

---

<div class="post-metadata">

**Author:** ![Alexie](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.ewelink.cc/alexie/32/1593_2.png) [@Alexie](https://forum.ewelink.cc/u/Alexie)\
**Post date:** [May 31, 2023, 7:55am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/15 "2023-05-31T07:55:15Z")

</div>

Some Addons need to modify the configuration file, and ihost cannot provide SSH to enter the Addon to operate the file. Therefore, users can only download the configuration file after mounting the volume of the Addon to filebrower, and then modify and upload the overwrite the config file.

---

<div class="post-metadata">

**Author:** ![cliff](https://avatars.discourse-cdn.com/v4/letter/c/b38774/32.png) [@cliff](https://forum.ewelink.cc/u/cliff)\
**Post date:** [May 31, 2023, 12:33pm UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/16 "2023-05-31T12:33:34Z")

</div>

I have Home Assistant running with filebrowser being able to edit cofiguration.yaml. This is great for me and I really appreciate this and the guide that @Teki provided.  
I followed his steps in [【Add-on Guide】Volume management & Filebrowser add-on](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254)  
But before starting, I created a volume _homeassistant_.  
For filebrowser I mapped this volume with /srv/homeassistant

When adding the Container for Home Assistant, I mapped the volume to _/config_

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/d/d3cd9aeaab1d8157d7667ccc40bbbcd44c759d3b.png)

Please note that I had to install filebrowser in Bridge mode in order to map a port to port 80.  
Home Assistant however was in Host mode, because for some reason it did not find devices in Bridge mode. But maybe I did something wrong there.

Anyway… In filebrowser I now can see and edit files like configuration.yaml

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/ewelinkforum/original/2X/c/ccd0c9586cdf8c8791252d64f0dfd0c0c62e960c.png)

This has another positive effect: We can now restore Backups (by unpacking the archives and uploading the files).

---

<div class="post-metadata">

**Author:** ![Dimas](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@Dimas](https://forum.ewelink.cc/u/Dimas)\
**Post date:** [May 31, 2023, 8:51pm UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/17 "2023-05-31T20:51:48Z")

</div>

I was also able to install hacs, now SonoffLan can be integrated via home assistant, filebrowser opened possibilities…

---

<div class="post-metadata">

**Author:** ![ysty89](https://avatars.discourse-cdn.com/v4/letter/y/b5ac83/32.png) [@ysty89](https://forum.ewelink.cc/u/ysty89)\
**Post date:** [June 1, 2023, 5:09am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/18 "2023-06-01T05:09:15Z")

</div>

Hi Dimas. Any guides / tutorials that you could share for this? Cheers

---

<div class="post-metadata">

**Author:** ![Dimas](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@Dimas](https://forum.ewelink.cc/u/Dimas)\
**Post date:** [June 1, 2023, 6:20am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/19 "2023-06-01T06:20:40Z")

</div>

I followed the tips above and managed to access the home assistant files through the filebrowser, I created a “custom\_components” folder in the root folder of the home assistant.

I downloaded [hacs.zip](https://github.com/hacs/integration/releases) and unzipped it in the custom\_components folder, after that I restarted the home assistant.

Then I enabled hacs in settings \> devices and services \> add integration

Now just add the integrations and themes via hacs.

---

<div class="post-metadata">

**Author:** ![ysty89](https://avatars.discourse-cdn.com/v4/letter/y/b5ac83/32.png) [@ysty89](https://forum.ewelink.cc/u/ysty89)\
**Post date:** [June 1, 2023, 6:34am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/20 "2023-06-01T06:34:00Z")

</div>

To which folder you linked the homeassistant volume? /config? Asking as I am not sure that is the root folder for homeassistant.

Also running homeassistant in host or bridge mode? Not sure on the difference here either.

Thank you

---

<div class="post-metadata">

**Author:** ![cliff](https://avatars.discourse-cdn.com/v4/letter/c/b38774/32.png) [@cliff](https://forum.ewelink.cc/u/cliff)\
**Post date:** [June 1, 2023, 9:51am UTC](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254/21 "2023-06-01T09:51:16Z")

</div>

Yes. A few posts up you will find more infos. Homeassistant in Host mode and yes, the HA container has a volume that is mapped to /config

[Next page](https://forum.ewelink.cc/t/add-on-guide-volume-management-filebrowser-add-on/18254.md?page=2)
