Closed yurividal closed 4 years ago
I'm currently searching a way to update only filebrowser with caddy? Is there a way to update without installing caddy again?
@hugomassing, caddy includes all the plugins at build time (see https://github.com/filebrowser/filebrowser/pull/399#issuecomment-407251536). I.e. the codebase of the plugins is embedded in caddy, because all of them are built together. Therefore, AFAIK the is no way to update only filebrowser, you need to rebuilt caddy. However, I think that each release is pushed to GitHub releases and Caddy builder at the same time, so if you update Caddy regurlarly you should get the latest version. Might we know a little more about the context?
@yurividal mviereck/x11docker/blob/master/#L1018-L1147 does this with a bash script. We can take it as a reference. Let's write a list of desired features:
no-auth
is used, settings are not available. This should be changed, in order to support the automatic update.The first task should be quite straightforward. Automatically updating filebrowser standalone might require a bit of work. The docker option seems tricky.
I have installed it with https://filebrowser.github.io/get.sh, how can I update filebrowser for the moment?
@VLEFF running the script again should overwrite it with the latest version from https://github.com/filebrowser/filebrowser/releases/latest.
Alternatively, the binary should be located in /usr/local/bin
. So you can just replace it manually. Download the tarball for your arch from the link above, extract it and copy/move the file named filebrowser
.
I'm closing this since this repository will be archived. Please read the information on the README for more information. Thanks for all your contributions!
It would be nice to have a button to check for update releases of file filebrowser. Perhaps a message saying a new version is available, or even a button to automatically download and replace the previous version.