Web based updates aren't used in the image, but the button remains enabled and generates an error when clicked. Let's eliminate the web updater button.
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
* Use `find` to located `*.sh`
Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>
* added msg if hook folder does not exist
Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>
* Updated info message
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Dennis Værum <6872940+dvaerum@users.noreply.github.com>
* Update docker-entrypoint.sh
Small adjustments
Signed-off-by: Dennis Værum <6872940+dvaerum@users.noreply.github.com>
---------
Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>
Signed-off-by: Dennis Værum <6872940+dvaerum@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
The header was relevant for Internet Explorer only and was removed from the nextcloud/server code: ea0e45d81e
Signed-off-by: Andrés Maldonado <maldonado@codelutin.com>
Since all DB variables but the host can be set using secrets (by
appending '_FILE' to the variable name), it can be easy for a user to
mis-configure their DB host variable by storing them in
MYSQL_HOST_FILE or POSTGRESQL_HOST_FILE (which is not supported).
When that happens, the auto configuration is skipped.
Such a situation is a bit cumbersome to figure out as nothing
indicates why the auto configuration is skipped.
To make to make it obvious to the user, exit early if DB variables
have been set (using secrets or not), but the host has not been
set (for example, because it was set in MYSQL_HOST_FILE).
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
The auto configuration sections seems to imply that POSTGRES_HOST and
MYSQL_HOST can be file variables, while this is not supported. If all
variables are set as files including the host, the installation will
not be done automatically.
This can be hard to figure out, as during the first start of the
container nothing indicates why the auto configuration is not done.
To try to make it a bit clearer in the README, explicitly mention that
using a file for the hosts variable is not supported.
Furthermore, in the docker secrets section it's currently easy to
misread the fact that the last variable mentioned (the host) is not
using '_FILE'. Since it's anyway not part of the group of variables
that support secrets, remove it from the list to avoid confusion.
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
* Block upgrade if it is not supported
Closes#1809. This prevents the install from getting in a state where none
of the Docker images will accept running given the contents of the volumes.
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
* Update docker-entrypoint.sh
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
* Update docker-entrypoint.sh
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
* Remove extra function
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
* Update docker-entrypoint.sh
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
---------
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>