Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
AgeCommit message (Collapse)Author
2021-08-10metrics.sh: Fix inverted is_active resultv1.37.6Tobias K
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2021-08-10metrics.sh: Fix USER variable being ignoredv1.37.5Tobias K
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2021-08-10nextcloud.conf.sh: Allow any user name for metrics endpoint and fix docker buildv1.37.4Tobias K
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> nextcloud.conf.sh: Fix apps overwriting each other during templating Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> nextcloud.conf.sh: Make --default mode failsafe (don't expect apps to be installed) Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> nextcloud.conf.sh: Allow any user name for metrics endpoint Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> nextcloudpi/Dockerfile: Copy the templates directory to the container Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> lamp/Dockerfile: Copy the templates directory to the container Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> install.sh: Ensure templates are available before executing nc-nextcloud.sh Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2021-08-03Add ncp-app for prometheus (system) metricsv1.37.3Tobias Knöppler
* metrics.{sh,cfg}: Implement ncp-app for prometheus (system) metrics letsencrypts.sh, nc-nextcloud.sh, nextcloud.conf.sh: Introduce templating/generator concept to allow multiple ncp apps to edit the same file without conflicts library.sh: Add convenience function find_app_param Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * letsencrypt.sh: Remove commented code Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * metrics.cfg: Deactivate by default - Add title, description and remove TODO entries Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * metrics.sh: Restart apache after enabling proxy_http Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * update.sh: Update ncp-templates directory during updates Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * update.sh: Copy ncp-templates directory, not just its content Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * metrics.sh,update.sh: Disable metrics in docker for now Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * metrics.sh: Disable prometheus-node-exporter via systemctl Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * metrics.sh: Move apache mod configuration to updates Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * metrics.cfg: Remove invalid parameter type Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * metrics.sh: Create /etc/default/prometheus-node-exporter via heredoc Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * nextcloud.conf.sh: Prevent template parsing error if metrics.sh is disabled (i.e. on docker) Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * metrics.cfg: Add info directing users to my preconfigured ncp dashboard Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * Various fixes - metrics.sh: Fix is_active function always returning 1 - metrics.sh: Fix apache2 reload potentially interrupting web ui - nc-nextcloud.sh: exit if nextcloud.conf templating fails - various readability and code style improvements Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * letsencrypt.sh: Use consistent return codes in tmpl_letsencrypt_domain Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * nextcloud.conf.sh: Remove obsolete return code escape Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * nextcloud.conf.sh: Ensure that the snakeoil self-signed cert exists before enabling it Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com> * updates/1.36.4.sh: Reload apache in the background instead of restarting it blockingly Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2021-08-01unattended-upgrades: update raspbian originsv1.37.2nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-07-29ncp-update: Fix failure to determine latest version in some casesTobias K
ncp.sh: Make branch configurable Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2021-07-25build: trap and curl installer fixesnachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-06-02ncp-web: fix port checking for IPv6 dual stackv1.36.3nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-05-13ncp-web: fix port checkingv1.36.2nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-05-13build: bail out upon any error in docker buildsnachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-05-13Namecheap dynamic DNS clientv1.36.0Huizerd
Signed-off-by: Huizerd <15855769+Huizerd@users.noreply.github.com>
2021-01-20nc-autoupdate-ncp: Append to log instead of replacev1.34.9Leandro Lucarella
Signed-off-by: Leandro Lucarella <luca@llucax.com>
2021-01-20nc-automount: udiskie verbose outputv1.34.8nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-01-18btrfs-sync: check for existing keysv1.34.4nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-01-18update cron intervalv1.34.3nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-01-18wizard: fix letsencrypt empty emailv1.34.2nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-01-02unattended-upgrades: fix raspbian originv1.34.1nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-01-01upgrade to NC20.0.4v1.34.0nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-12-13nc-update-nc: improve error messagesv1.33.1nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-12-01nc-update-nc: ncp apps might not existv1.32.1nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-11-28upgrade to NC20.0.2v1.32.0nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-11-28build: use 64bit RaspiOS imagenachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-11-28pre-initialize docker imagenachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-10-20nc-info: fixed api change for portchecker (#1194)v1.30.1dsmic
Signed-off-by: detlef <ds2@physik.de>
2020-09-12nc-previews: fix killing generate-allv1.29.10nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-09-08nc-restore: also set tempdirectoryv1.29.9nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-08-31nc-limits: minimum 6 PHP threads (for NC talk)v1.29.8nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-08-31do not hsts preload by default, only serve hsts header over httpsv1.29.7Giuseppe C
Signed-off-by: Giuseppe C <AvverbioPronome@users.noreply.github.com>
2020-08-30ncp-update-nc: check for ncc commands before using themv1.29.4nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-08-30nc-static-IP: Restricting gateway to onev1.29.3Brooks
Signed-off-by: Brooks <603632+bmbeverst@users.noreply.github.com> Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-08-29upgrade to NC19.0.2v1.29.0nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-08-02ncp-backup-auto: fix exit status for cronv1.28.4Leandro Lucarella
Signed-off-by: Leandro Lucarella <luca@llucax.com> * Update bin/ncp/BACKUPS/nc-backup-auto.sh Co-authored-by: nachoparker <nacho@ownyourbits.com>
2020-08-02ncp-autoupdate-apps: dont fail cron if no updatesv1.28.3nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-08-02nc-limits: adjust db sizev1.28.2nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-08-02nc-ramlogs: pin versionv1.28.1nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-06-13ncp-autoupdate: cronjob write to the log only (#1144)v1.26.2Leandro Lucarella
Cronjobs should not have any output, unless the cronjob fails, otherwise an e-mail notification is sent with the output. This cronjob in particular is also reporting results via Nextcloud notification, so having an e-mail with logs saying the same as the notification is not particularly useful. Instead we just redirect all output to the /var/log/ncp.log so the user can debug in case of problems and doesn't receive spurious e-mails when all works fine. Signed-off-by: Leandro Lucarella <luca@llucax.com> Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-06-13ncp-web: fix port checkingv1.26.1nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-04-06nc-backup-auto: fix notify_adminv1.24.1nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-03-27nc-init: add indices after installing appsnachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-03-16nc-snapshot-auto: read datadir location during executionv1.22.3nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-03-16nc-maintenance: add is_activev1.22.2nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-03-16samba: option to apply only to a NC group (#1048)v1.22.1Tobias K
Signed-off-by: Tobias Knöppler Co-authored-by: nachoparker <nacho@ownyourbits.com>
2020-03-03Add nc-trusted-proxies (#1094)v1.22.0paschaef
Signed-off-by: paschaef <45995338+paschaef@users.noreply.github.com> Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-02-28redis: make sure we have the right permissions for conf filev1.20.11nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-02-12fail2ban: fix regex for NC18v1.20.10Haraade
2020-02-05add notify_admin functionalityv1.20.9nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-01-27fail2ban: update regex for NC17v1.20.7Georgiy Sitnikov
Fix for #1065 based on https://gist.github.com/GAS85/957e0b1a4f30120225a7be09b173eb24
2020-01-22ncp-config: dont save passwordsv1.20.6Tobias Knöppler
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com> Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-01-14nc-ramlogs: disable armbian-ramlog when inactivev1.20.3nachoparker
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-01-01Extend the ssh configuration check by calling the echo command if the first ↵v1.20.2Florian Wallner
check fails. Signed-off-by: Florian Wallner <florian.wallner@exxcellent.de> Signed-off-by: nachoparker <nacho@ownyourbits.com>