Thanks for the feedback. Well there is really no reason that it would correlate with the files location… In the things that changed, I see 1) the fact that the modified code is embedded in the script (and therefore not modified using the script we had made) ; 2) that I have updated the code to mount smb (but perhaps you are using local mounts?) and 3) that HA itself was updated and it could have modified behaviors also…
If we want to be systematic :
3) The best way to check for 3 would be to revert to an addon prior to 21-11-2023
2) That’s harder, but it would require to either mount using localdisk (if the disk is connected to the device) or smb (using for example SAMBA NAS addon)
We can mimick what happened… Actually it’s quite funny but I now see that there was several invalid elements in the script that I actually corrected when implementing it in the final code. If you want to mimick exactly what occured, you can try this script :
EDIT : I’ve pushed a new version based on Hurlenko’s container (another change since July). It should be the closest to my point 1) of mimicking what the code was in July, not taking into account the other updates to HA (point 1) and mounting codes (point 2)
Nailed it! Just downloaded the new version and it works great, super fast loading! For my own learning, does the new version just implement the above script, or did it include additional changes? Thanks again!
Great! Thanks for the fast feedback. This version reverts the upstream image to Hurlenko’s instead of the official Filebrowser one, implements by default the thumbnails disabling (can be enabled from the options) and corrects the cache folder (useful only if thumbnails are enabled).
Is there a way that I can create a link to directly access a file using filebrowser?
My use case: I am creating a weekly watchman report and want to have a persistent notification so that I don’t forget checking it. This could include a direct link to the file to open in FileBrowser - but it does not work by adding path & file to the link. Checking the FileBrowser features it seems like it should work. Any comments?
I am a happy user of this addon and it works just great besides on small issues that i cant figure out.
Everytime i try to open a file or try to download it i get 401: unauthorized
And i think it worked at some point down the line but i did not use it that often.
Does that make any sense?
Its a supervised bare metal hass with all updates and the filebrowser is at version 401: Unauthorized
I am using duckdns with ssl and ngnix
Pleae let me know if any info is missing that would help for troubleshooting
I think you need to use the “share” feature in a file context menu.however it does not work with ingress as HA uses its own securit system. As such, you need to use an external port, expose it in your router, then share file while accessing the add-on directly with poer
Hello and thx for your reply…unfortunate found it just now…
Will take a look what you are saying and trying to make some sense out of it…will comeback if i need help
Lol my autocorrect stripped my answer from any meaning. What i meant is that it might be due to your added nginx layer. You might try to download the files in 3 ways : at home from within HA (using ingress) ; at home using ip:port (so direct access) ; and using your external domain. That way you can see at which level is. Watchout that when using ingress links (that contain in the url /api/hassio_ingress) you MUST be logged into homeassistant from that same browser to have the necessary authentification headers
First of all, thanks for the work with the add-ons! It’s been an integral part of my home.
If I may ask, is there a way to get around the file permission check? After I uploaded my library to Immich, the chown command started to take upwards of 30 minutes to finish.
It might be the best compromise possible, as the only way I know to ensure all permissions are correct is by checking them all. However, for a 50k+ file library it starts adding up and I myself would happily take the risk.
Hi, i think you need to disable the option to disable passwords in the add-on options. This will however reset your database… But allow you to login. Hopefully… I would suggest to check the official site documentation also this could help : GitHub - filebrowser/filebrowser: 📂 Web File Browser
hi
after installation of this addon, i set noauth to false.
but the addons didnt start.
any ideas what im doing wrong?
here is the log:
/etc/cont-init.d/00-global_var.sh: executing
NoAuth=‘false’
certfile=‘fullchain.pem’
disable_thumbnails=‘true’
keyfile=‘privkey.pem’
ssl=‘false’
/etc/cont-init.d/00-local_mounts.sh: executing
/etc/cont-init.d/00-smb_mounts.sh: executing
/etc/cont-init.d/01-config_yaml.sh: executing
Setting permissions for the config.yaml directory
Load environment variables from /config/config.yaml if existing
If accessing the file with filebrowser it should be mapped to /addon_configs/db21ed7f-filebrowser/config.yaml
Wiki here on how to use : Add‐ons feature : add env variables · alexbelgium/hassio-addons Wiki · GitHub
… no env variables found, exiting
/etc/cont-init.d/01-custom_script.sh: executing
Execute /addon_configs/db21ed7f-filebrowser/filebrowser.sh if existing
Wiki here : Home · alexbelgium/hassio-addons Wiki · GitHub
/etc/cont-init.d/20-folders.sh: executing
find: /homeassistant/addons_config: No such file or directory
Error : /etc/cont-init.d/20-folders.sh exiting 1
/etc/cont-init.d/99-run.sh: executing
[10:28:24] WARNING: Auth method change, database reset
[10:28:24] INFO: Default username/password : admin/admin
[10:28:24] INFO: Starting…
2024/04/21 10:28:25 No config file used
2024/04/21 10:28:25 Listening on [::]:8080
[10:28:26] INFO: Started !
Hi, congrats you have found an error in my programmation logic it looks for an addons_config folder in /config which was my legacy folder for addons, and still used for around half of them. I’ll correct the code but if you want to start the current version you can create the folder manually. HA has a particular way of managing the /config : if /homeassistant folder you must create the folder /homeassistant/addons_config if only /config exists (and contain your files sur as configuration.yaml you should create the folder there hope it’s not too confusing
Good day, I have a question. If I need to give access to a certain file, that is, to share it. Well, when I pass the link to another person, he asks for a login password. How can I make it so that it does not ask for a password? Thanks in advance