1143 Commits

Author SHA1 Message Date
nachoparker
110311fef6 nextcloud-domain: make sure redis is running before it starts
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.39.2
2021-09-20 09:59:32 -06:00
nachoparker
6290c1f472 nc-static-IP: take into account httpsonly
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.39.1
2021-09-13 14:07:06 -06:00
nachoparker
c10d4bd8fb upgrade to NC21.0.4
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.39.0
2021-09-12 16:55:46 -06:00
nachoparker
3bf746bad0 raspi: allow oldstable origins
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.38.6
2021-08-25 14:59:04 -06:00
nachoparker
e23b252f92 nc-init: drop News for 32-bit :(
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.38.5
2021-08-17 09:57:12 -06:00
nachoparker
bb720be490 build: make sure we clean /.ncp-image in old builds
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.38.4
2021-08-17 07:49:19 -06:00
nachoparker
9642cf91d4 unattended-upgrades: update raspbian origins
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.38.3
2021-08-17 07:47:17 -06:00
nachoparker
956eea4624 nc-restore: try to detect old datadir in dataless restoration
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.38.2
2021-08-16 20:41:14 -06:00
Tobias K
4f29d94a02
nextcloud.conf.sh: Prevent apache config test output to end up in generated template
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
v1.38.1
2021-08-16 21:26:08 +02:00
nachoparker
6e2dca5d52 upgrade to NC20.0.12
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.38.0
2021-08-09 17:37:34 -06:00
nachoparker
b8c14093ad letsencrypt: ability to disable it and roll back to self-signed certificates
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.37.9
2021-08-09 17:25:55 -06:00
nachoparker
5a05b8990f nextcloud: remove beta option
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.37.8
2021-08-09 17:16:38 -06:00
rababerladuseladim
6aefb5de1c remove unused USER variable from ncp apps nc-notify-updates and nc-update-nc-apps-auto (#1307)
* remove unused USER variable

Signed-off-by: Henning Schiebenhoefer <henning.schiebenhoefer@posteo.de>

* remove unused USER variable

Signed-off-by: Henning Schiebenhoefer <henning.schiebenhoefer@posteo.de>
2021-08-09 17:16:38 -06:00
schoetju
1d696f0678 nc-backup-auto.sh: don't smash ncp.log
append to log instead of clearing it
see https://github.com/nextcloud/nextcloudpi/issues/1232#issuecomment-891524543
v1.37.7
2021-08-09 17:16:38 -06:00
Tobias K
fa1c0c7f81 nextcloud_tests.py: Fix detection of non-critical warnings
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2021-08-09 17:16:38 -06:00
Tobias K
f93c183ecc nextcloud_tests.py: Ignore warning about unset default phone region
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2021-08-09 17:16:38 -06:00
Tobias K
b8402459b1 metrics.sh: Fix inverted is_active result
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
v1.37.6
2021-08-09 17:16:38 -06:00
Tobias K
fb102d233c metrics.sh: Fix USER variable being ignored
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
v1.37.5
2021-08-09 17:16:38 -06:00
Tobias K
e49203249b nextcloud.conf.sh: Allow any user name for metrics endpoint and fix docker build
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>
v1.37.4
2021-08-09 17:16:35 -06:00
Tobias Knöppler
b8a990e264
Add ncp-app for prometheus (system) metrics
* 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>
v1.37.3
2021-08-02 15:12:56 -06:00
nachoparker
4300e30d78 unattended-upgrades: update raspbian origins
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.37.2
2021-07-31 20:38:17 -06:00
Tobias K
7660530a4e nextcloud_tests.py: Don't fail if the only warning is the missing imagick php module
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2021-07-28 22:42:19 -06:00
Tobias K
1cb8580cd6 ncp-update: Fix failure to determine latest version in some cases
ncp.sh: Make branch configurable

Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2021-07-28 22:42:19 -06:00
nachoparker
b1ffd709da ncp-app: bump to NC21
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.37.1
2021-07-26 21:02:57 -06:00
nachoparker
b837403a7c build: fix docker build /etc/hosts
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-07-26 21:02:50 -06:00
nachoparker
665ed28ae6 build: trap and curl installer fixes
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-07-25 14:59:07 -06:00
nachoparker
effdd6cdb3 upgrade to NC20.0.11
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.37.0
2021-07-25 07:23:48 -06:00
Tobias K
33067ddfde
activation_tests, nextcloud_tests: Make ports configurable 2021-07-07 15:41:30 +02:00
nachoparker
7b809d114b ncp-web: fix port checking for IPv6 dual stack
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.36.3
2021-06-02 13:57:42 -06:00
nachoparker
1a8ac71543 ncp-web: fix port checking
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.36.2
2021-05-12 21:49:42 -06:00
nachoparker
bd0c23d9f9 build: bail out upon any error in docker builds
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-05-12 21:49:42 -06:00
nachoparker
67aa5994d6 lamp: allow only TLSv12 and TLSv13
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.36.1
2021-05-12 21:49:42 -06:00
Huizerd
7aef967f09 Namecheap dynamic DNS client
Signed-off-by: Huizerd <15855769+Huizerd@users.noreply.github.com>
v1.36.0
2021-05-12 21:49:42 -06:00
nachoparker
8d76a6b849 ncp-web: fix display of big files for 32 bit
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.35.2
2021-05-12 21:49:42 -06:00
nachoparker
0ee3aa9186 ncp-web: fix backup download for big files in 32-bit
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.35.1
2021-05-12 21:49:39 -06:00
nachoparker
be30663c7a upgrade to NC20.0.8
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.35.0
2021-02-27 08:09:03 -07:00
nachoparker
ffe332ccfb docker: tag multi-arch images as well
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-02-27 08:07:47 -07:00
Leandro Lucarella
7d15924c8c nc-autoupdate-ncp: Append to log instead of replace
Signed-off-by: Leandro Lucarella <luca@llucax.com>
v1.34.9
2021-01-20 06:54:05 -07:00
lixin
b1a9617a1e Improve documentation
update English doc, optimize the directory structure, add simplified Chinese translation

Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-01-20 06:52:15 -07:00
nachoparker
abf668d6b4 update: cleanup
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-01-20 06:48:00 -07:00
nachoparker
117b8ea9d9 nc-automount: udiskie verbose output
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.34.8
2021-01-20 06:47:08 -07:00
nachoparker
b978184ce6 docker: fix datadir path contents
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.34.7
2021-01-19 17:25:32 -07:00
nachoparker
84ccf94af7 docker: fix datadir path
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.34.6
2021-01-18 22:09:16 -07:00
nachoparker
afa39fb6e7 ncp-config: shorten descriptions
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.34.5
2021-01-18 22:08:47 -07:00
nachoparker
3a3b6a7042 btrfs-sync: check for existing keys
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.34.4
2021-01-17 20:11:09 -07:00
nachoparker
6cb682abe2 update cron interval
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.34.3
2021-01-17 20:11:06 -07:00
nachoparker
20bd14fe7b wizard: fix letsencrypt empty email
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.34.2
2021-01-17 20:02:26 -07:00
nachoparker
5a16d57cf5 build: add odroid HC4, C2, C4
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-01-17 16:40:36 -07:00
nachoparker
23eecffd1d unattended-upgrades: fix raspbian origin
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.34.1
2021-01-01 14:34:55 -07:00
nachoparker
ec428a288f upgrade to NC20.0.4
Signed-off-by: nachoparker <nacho@ownyourbits.com>
v1.34.0
2021-01-01 13:56:35 -07:00