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
Do not run it for now.
Step 2
Create some volumes for add-ons.
Here I created a volume named node-red-volume
You can create more volumes for your other add-ons as well.
Step 3
Run the filebrowser add-on
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.
/srv
/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 )
run it and open the filebrowser interface
the default login info: admin/admin
you’ll see the folders here:
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.
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)
END