20 Commits

Author SHA1 Message Date
Tobias K
8da59ef850
ncp-dist-upgrade: Write dist-upgrade logs to disk
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2024-05-02 12:01:52 +02:00
Tobias Knöppler
9fb334cc25
install.sh,ncp.sh,1.54.0.sh: Disable root login via ssh
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2024-05-01 15:46:59 +02:00
Tobias Knöppler
a0c6b213e6
/etc/ncp-dist-upgrade*: Implement dist-upgrade for bullseye->bookworm and add integration tests for it
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2024-05-01 15:46:57 +02: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
56e1ff45ee
opcache.ini.sh: Increase interned_strings_buffer as recommended by NC
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
2023-01-22 01:21:05 +01:00
thecalcaholic
1d7ce6d8cd
ncp-dist-upgrade: Fix attempt to install php version that is not in apt repositories of bullseye
Signed-off-by: thecalcaholic <6317548+theCalcaholic@users.noreply.github.com>
2022-09-27 20:20:48 +02: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
thecalcaholic
5bf6505ac5 library.sh: Don't use {release}-security package source if not available in sources.list 2022-08-12 14:26:32 +02:00
Tobias K
bc13877dc8
ncp-dist-upgrade: Detect availability of bullseye-security package source more robustly
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2022-04-28 21:41:03 +02:00
Tobias K
a799eec113
Merge branch 'master' into devel 2022-04-12 12:41:27 +02:00
Tobias Knöppler
1f57b10e97
ncp-dist-upgrade: Fix invalid target for apt-get on Raspbian 2022-04-09 15:25:32 +02:00
Tobias K
d42a0c8cd5
metrics.sh: Reinstall metrics when upgrading
- Upgrade ncp-metrics-exporter to v1.1.0
- Install prometheus-node-exporter-collectors when dist-upgrading from buster

Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
2022-04-08 15:07:34 +02:00
nachoparker
c9610e4d5c ncp-dist-upgrade: fix VM grub-pc issue
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2022-03-03 09:45:14 -07:00
Zendai
062c803d20 ncp-dist-upgrade: add DHCP fix for raspios
Added a sed -i statement that changes the necessary line in /etc/systemd/system/dhcpcd.service.d/wait.conf so DHCP works after a reboot.

Signed-off-by: ZendaiOwl victorray91@pm.me

fix
2022-03-03 09:44:52 -07:00
nachoparker
9bf5ff032c update to Debian 11 Bullseye
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2022-03-02 14:53:24 -07:00
nachoparker
0a866caca4 save and restore maintenance mode status in ncp-apps
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2021-10-18 08:01:48 -06:00
nachoparker
8b8779f650 fix armbian sources
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-08-18 15:33:41 -06:00
nachoparker
212bd467ab update: restore smbclient after dist upgrade
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-07-20 10:46:34 -06:00
nachoparker
5bc9057377 update: remove dist upgrade notification after upgrade
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-07-20 10:46:33 -06:00
nachoparker
e4bd5feb66 move to buster/PHP7.3
Signed-off-by: nachoparker <nacho@ownyourbits.com>
2019-07-18 03:55:39 -06:00