Hi everyone! I'm new at the forum but I have 9 years experience of Unraid. Sorry for my bad English.
FileBrowser container seems great! Basic functionality seems to be working 100%. Although I would like to add reCaptcha authentication on login.
Documentation says that this can be added with this command:
filebrowser config set --auth.method=json --recaptcha.key site-key --recaptcha.secret private-key
I tried to run this command on Unraid terminal but it always returns timeout:
root@192:~# docker exec -ti FileBrowser /filebrowser config set --auth.method=json --recaptcha.key site-key --recaptcha.secret private-key
2020/01/13 05:53:22 timeout
I get timeout from also from other commands if trying to change config. I can't even print current config using "config cat" command.
Version command seems to be working:
root@192:~# docker exec -ti FileBrowser /filebrowser version
File Browser v2.1.0/6ce44f7
I found this thread with same problem:
https://github.com/filebrowser/filebrowser/issues/627
There is comment:
"You can only either be serving File Browser or execute commands. You can't change the database while its running."
So I think that to change config with commands it is needed to stop the Filebrowser first and then start it again. However I think that this can't be done since this docker container hasn't got bash/shell?
My config:
Host path 1 (shares):
Container Path: /srv
/mnt/user/filebrowser_share/
Host path 2 (database.db):
/mnt/user/appdata/filebrowser/
Container Path: /db/
Config (additional mapping for .filebrowser.json):
/mnt/user/appdata/filebrowser_config/.filebrowser.json
Container Path: /.filebrowser.json
Any help appreciated! Thanks also for great work with this docker container.