23 Commits

Author SHA1 Message Date
Moritz Breitbach
fc0b75b2be
Fix typo in nc-format-USB.sh
Signed-off-by: Moritz Breitbach <moritz.breitbach@t-online.de>
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2024-08-19 04:58:38 +02:00
Tobias K
8d4fc3b8f9
library.sh: Detect DB_PREFIX dynamically if possible
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2024-05-04 11:50:31 +02:00
Tobias Knöppler
362c8288f5
Remove unnecessary clear_opcache calls, as opcache is now disabled for cli
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2023-01-22 01:21:08 +01:00
Tobias Knöppler
f121aac809
library.sh: Simplify clear_opcache
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2023-01-22 01:21:06 +01:00
Tobias Knöppler
9afbf0b5b5
Implement clear-php-opcache.sh
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2023-01-22 01:21:00 +01:00
Tobias Knöppler
b675d61e61
Upgrade to PHP 8.1 when installing NC >= 24 (#1554)
* 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
2022-09-15 17:31:15 +02:00
Tobias Knöppler
851d1b89a8 Improve robustness of nc-format-usb (#1533)
- Prevent users from breaking their system if datadir is on USB
- Support systems that don't use an SD card as root disk
2022-08-18 10:20:18 +02:00
nachoparker
06ba8a0411 nc-scan: check for maintenance mode enabled
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2022-03-02 14:53:28 -07:00
nachoparker
f71c8c864f nc-maintenance: add is_active
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2020-03-15 22:23:50 -06:00
nachoparker
0fc23905c0 add ncp-previews
Signed-off-by: nachoparker <nacho@ownyourbits.com>

add ncp-previews

Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-10-27 21:35:12 -06:00
nachoparker
d9384817c2 nc-scan-auto: recursive and home-only options
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-05-11 11:14:19 -06:00
nachoparker
a6e33b104c update UPDATE config section 2019-04-05 00:47:25 -06:00
Tanarri
dec80d87af Adjust naming of "data dir" to "data directory" to be consistent (#869) 2019-03-31 20:22:22 -06:00
nachoparker
d7bbe2516e nc-scan: improvements 2019-03-13 00:24:34 -06:00
nachoparker
e03b095325 nc-previews: improvements 2019-03-13 00:24:06 -06:00
nachoparker
a9d4775214 upgrade to NC15.0.5 2019-03-05 11:22:12 -07:00
chiyi4488
602b3f22b2 add nc-maintenance-mode (#809) 2019-02-22 17:03:01 -07:00
nachoparker
b4bb86d39d upgrade to NC15.0.4 2019-02-07 17:53:08 -07:00
nachoparker
8ca3535a01 added nc-update-nc-apps and nc-update-nc-apps-auto 2019-01-30 09:13:31 -07:00
nachoparker
2c943b72e5 upgrade to NC15.0.2 2019-01-12 12:27:19 -07:00
nachoparker
0ff1df9b5c upgrade to NC15 2019-01-10 18:18:59 -07:00
nachoparker
5bf8492bf0 nc-update-nextcloud: fix accidentally deleted line 2019-01-08 22:43:05 -07:00
nachoparker
d5c1f0058b rework to use JSON based cfg and more 2019-01-04 18:14:52 -07:00