- Dockerfile: Set apache configuration environment variables
- library.sh: Only retry setting up notify_push on failure
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
1.51.0.sh: clear opcache after removing php-json, notify users if php8.2 packages need to be removed
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
* Update nextcloud to 24.0.4
* ncp-update-nc: Upgrade php to version 8.1 when installing NC >= 24
* ncp-update-nc: Use /etc/shadow workaround for installing systemd
* ncp-update-nc: Run nc-limits after php upgrade
* ncp-update-nc: Rollback after failed php upgrade
* ncp-update-nc: Add success message
* ncp-update-nc: Prevent installation of NC >= 24 on debian 10/PHP <= 7.3
* lamp.sh: Install php8.1 from sury.org
* lamp.sh: Use /etc/shadow workaround for installing systemd
* Dockerfile: Install wget, ca-certificates, lsb-release and procps before installing lamp.sh
* Dockerfile: Make sure, ncp-templates are available when installing lamp.sh
* Migrate all scripts to use template for writing opcache.ini and get_nc_config_value for retrieving datadir
* nc-nextcloud.sh Fix crash if nc-datadir has not been installed yet
* opcache.ini.sh: Don't try to get tmpl values from nc-datadir in containers
* letsencrypt: fix active status check
Signed-off-by: nachoparker <nacho@ownyourbits.com>
* letsencrypt: take into account duplicate domains ending in -0001
Signed-off-by: nachoparker <nacho@ownyourbits.com>
* letsencrypt: fix renewal with httpsonly enabled
Signed-off-by: nachoparker <nacho@ownyourbits.com>
* fix inverted template logic for docker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
* library.sh: Move templating to separate function
- Backup old file before templating (and restore on failure)
- Use stderr in the template for debug/info output
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
* library.sh: Fix syntax error
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
* library.sh: Only fallback to default config if explicitly allowed
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
* letsencrypt.sh: Set cert-name
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
* nextcloud.conf.sh: Use certificate named ncp-nextcloud if available
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
* letsencrypt.sh: Support multiple, comma separated domains in field "OTHER_DOMAIN"
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
* nextcloud.conf.sh: Fix path resolution for certificates
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
* letsencrypt.sh: Improve warning about max trusted domains reached
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
* letsencrypt.sh: Fix max trusted domains check
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
* letsencrypt.sh: Fix splitting of domain string by comma
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
* letsencrypt.sh: Fix splitting of domain string to array
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
* adjustments for docker/lxc
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Co-authored-by: nachoparker <nacho@ownyourbits.com>