filebrowser
filebrowser copied to clipboard
Unable to Install FileBrowser on OpenMediaVault 6
Description Following the installation documentation available at https://filebrowser.org/installation is insufficient for being able to achieve a functional installation of File Browser on OpenMediaVault 6, a debian-based distribution. Both the standard installation method and docker installation method.
Expected behaviour I expected the installation to run successfully and to be able to use the service.
What is happening instead? When attempting the direct installation, the CLI reports that the installation is successful, however there is no web interface available on the default port (8080).
When attempting to use the docker installation method, the error message "open /database/filebrowser.db: is a directory" appears in the console and the web interface is inaccessible.
Additional context Docker Install output:
How to reproduce? Install OpenMediaVault 6 and attempt to follow the installation instructions available at https://filebrowser.org/installation
@AT-StephenDetomasi
It's because you need to manually create an empty filebrowser.db file first before starting docker. Along with the settings.json file (if you choose to do so - this is optional as it will just use the defaults). This is because if the mapped files don't exist, docker creates a directory and not a file.
This is stated in the documentation at the bottom of the installation page here
Apologies, the documentation is not very clear about this. How does one create an empty filebrowser.db file? I feel this should probably be added to the installation script if it's required for all new installations.
Is there a flag or run command for the docker container that can do this?
@AT-StephenDetomasi All good no need for apologies. I agree that the docs aren't very clear, especially if someone isn't familiar with containers. This seems to be a common thing when running containers and mapping drives to the host.
To create an empty file you can run the following command (relative to where you want the file created):
Linux
touch filebrowser.db
Windows (powershell)
New-Item -ItemType "file" -Path filebrower.db
As for a flag or run command I'm not sure.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.