Skip to content

Commit b53b144

Browse files
authored
Upgrade OS --> 24.04 (#2623)
1 parent fba7709 commit b53b144

40 files changed

+127
-124
lines changed

CHANGELOG.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Please note that BOTH disks need to be imported for the VM to function properly.**
44

5-
- Check the latest commits here: https://github.com/nextcloud/vm/commits/master
5+
- Check the latest commits here: https://github.com/nextcloud/vm/commits/main
66
- Documentation can be found here: https://docs.hanssonit.se/s/W6fMouPiqQz3_Mog/virtual-machines-vm/d/W7Du9uPiqQz3_Mr1/nextcloud-vm-machine-configuration
77

88
PR's are more than welcome. Happy Nextclouding!
@@ -248,7 +248,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
248248
- Add the Azure kernel for Hyper-V VMs
249249
- Shorten the time files are stored in trashbin (can still be configured)
250250
- Escape all Apache Log dirs correctly
251-
- Made some enhancements to scripts in the [not-supported folder](https://github.com/nextcloud/vm/tree/master/not-supported)
251+
- Made some enhancements to scripts in the [not-supported folder](https://github.com/nextcloud/vm/tree/main/not-supported)
252252
- Minor bugfixes and improvements
253253
- And more...
254254

@@ -272,7 +272,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
272272
- ClamAV - improve weekly full-scan tremendously
273273
- Update geoblock database - april
274274
- Speed up the network check if the network already works
275-
- Made some enhancements to scripts in the [not-supported folder](https://github.com/nextcloud/vm/tree/master/not-supported)
275+
- Made some enhancements to scripts in the [not-supported folder](https://github.com/nextcloud/vm/tree/main/not-supported)
276276
- Minor bugfixes and improvements
277277

278278
### Full changelog:
@@ -299,7 +299,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
299299
- Don't break update when enabling app
300300
- Fix not enabled PECL extensions
301301
- Prevent apps from breaking the update due to incompatibility
302-
- Made some enhancements to scripts in the [not-supported folder](https://github.com/nextcloud/vm/tree/master/not-supported)
302+
- Made some enhancements to scripts in the [not-supported folder](https://github.com/nextcloud/vm/tree/main/not-supported)
303303
- Minor bugfixes and improvements
304304

305305
### Full changelog:
@@ -312,7 +312,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
312312
- Ask to get the latest `update.sh` script when running updates from `menu.sh`
313313
- Allow to reinstall Bitwarden RS also if local files are present
314314
- Updated geoblock database files
315-
- Made some enhancements to scripts in the [not-supported folder](https://github.com/nextcloud/vm/tree/master/not-supported)
315+
- Made some enhancements to scripts in the [not-supported folder](https://github.com/nextcloud/vm/tree/main/not-supported)
316316
- Minor bugfixes and improvements
317317

318318
### Full changelog:
@@ -384,7 +384,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
384384
- Allow to reinstall automatic updates
385385
- Improved partition check during the install-script
386386
- Fixed some typo's
387-
- Added more options to the [not-supported folder](https://github.com/nextcloud/vm/tree/master/not-supported) and made some enhancements
387+
- Added more options to the [not-supported folder](https://github.com/nextcloud/vm/tree/main/not-supported) and made some enhancements
388388
- Minor bugfixes and improvements
389389

390390

@@ -422,7 +422,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
422422
- Fixed problems with static-ip
423423
- Added Docker migrate script
424424
- Fixed and issue with ClamAV
425-
- Added more options to the [not-supported folder](https://github.com/nextcloud/vm/tree/master/not-supported) and made some enhancements
425+
- Added more options to the [not-supported folder](https://github.com/nextcloud/vm/tree/main/not-supported) and made some enhancements
426426
- Minor bugfixes and improvements
427427

428428
### Full changelog:
@@ -445,7 +445,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
445445
- SMBmount: Introduce the option to customize the mount before adding as external storage to Nextcloud
446446
- SMBmount: Add the option to utilize inotify to actively watch over externally changed files and folders
447447
- Repository: cleanup by removing duplicate scripts and not-needed functions
448-
- Repository: added the [not-supported folder](https://github.com/nextcloud/vm/tree/master/not-supported) with additional options like creating a SMB-server
448+
- Repository: added the [not-supported folder](https://github.com/nextcloud/vm/tree/main/not-supported) with additional options like creating a SMB-server
449449

450450
- Minor bugfixes and improvements
451451

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ Server installation. Simplified. :cloud:
3232
* [Create a PR](https://help.github.com/articles/creating-a-pull-request/) and improve the code
3333
* Report [your issue](https://github.com/nextcloud/vm/issues/new)
3434
* Help us with [existing issues](https://github.com/nextcloud/vm/issues)
35-
* Test what's not yet released into the stable VM. Please have a look at [this subfolder](https://github.com/nextcloud/vm/tree/master/not-supported) for further information.
35+
* Test what's not yet released into the stable VM. Please have a look at [this subfolder](https://github.com/nextcloud/vm/tree/main/not-supported) for further information.
3636
* Write scripts so that the release process becomes automated with [Vagrant](https://www.vagrantup.com/docs/getting-started/), [Terraform](https://www.terraform.io/) or similar
3737
* **[Donate](https://shop.hanssonit.se/product-category/donate/) or buy our [pre-configured VMs](https://shop.hanssonit.se/product-category/virtual-machine/): 500 GB, 1 TB, 2TB for both VMware, Hyper-V and [more](https://docs.hanssonit.se/s/W6fMouPiqQz3_Mog/virtual-machines-vm/d/W7Du9uPiqQz3_Mr1/nextcloud-vm-machine-configuration?currentPageId=bls17dahv0jgrltpif20)**
3838

3939
**FYI**
4040

41-
Developed by [Daniel Hansson](https://github.com/enoch85) and the Nextcloud community. Nextcloud GmbH does not offer support for the VM in the [master branch](https://github.com/nextcloud/vm/tree/master) (full-version), as we only support manual tarball/zip-package installations. You can download the official Nextcloud VM appliance ([also from this repo](https://github.com/nextcloud/vm/tree/official-basic-vm)) from [our website](https://download.nextcloud.com/vm/Official-Nextcloud-VM.zip) to get a stripped down version for testing if you rather want to skip all the manual steps in our documentation.
41+
Developed by [Daniel Hansson](https://github.com/enoch85) and the Nextcloud community. Nextcloud GmbH does not offer support for the VM in the [maain branch](https://github.com/nextcloud/vm/tree/main) (full-version), as we only support manual tarball/zip-package installations. You can download the official Nextcloud VM appliance ([also from this repo](https://github.com/nextcloud/vm/tree/official-basic-vm)) from [our website](https://download.nextcloud.com/vm/Official-Nextcloud-VM.zip) to get a stripped down version for testing if you rather want to skip all the manual steps in our documentation.
4242

43-
If you want support regarding the full-version VM in master, please contact our partner [Hansson IT](https://www.hanssonit.se/nextcloud-vm).
43+
If you want support regarding the full-version VM in main, please contact our partner [Hansson IT](https://www.hanssonit.se/nextcloud-vm).
4444

4545
## Full documentation
4646
* [VM](https://docs.hanssonit.se/s/W6fMouPiqQz3_Mog/virtual-machines-vm/d/W6fMquPiqQz3_Moi/nextcloud-vm) (the easiest option)
@@ -66,13 +66,13 @@ Please keep in mind that this is only intended for testing and might crash your
6666

6767
The `nextcloud_install_production.sh` script can be run as part of Vagrant provisioning.
6868

69-
See [this subrepo](https://github.com/nextcloud/vm/tree/master/vagrant) for more information.
69+
See [this subrepo](https://github.com/nextcloud/vm/tree/main/vagrant) for more information.
7070

7171
Please report any issues you can find. Improvements are welcome!
7272

7373
## First look
7474
#### Nextcloud
75-
![alt tag](https://github.com/nextcloud/nextcloud.com/blob/master/assets/img/features/VMwelcome.png)
75+
![alt tag](https://github.com/nextcloud/nextcloud.com/blob/main/assets/img/features/VMwelcome.png)
7676
#### Adminer (Database Administration) *not default*
7777
![alt tag](https://i.imgur.com/tiF4chg.png)
7878
#### Webmin (Server Administration GUI) *not default*

addons/deSEC/desec.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ then
140140
# Add DNS renewals with the deSEC hoock script
141141
print_text_in_color "$ICyan" "Preparing for DNS-renewals..."
142142
mkdir -p "$SCRIPTS"/deSEC
143-
curl_to_dir "https://raw.githubusercontent.com/nextcloud/vm/master/addons/deSEC" "hook.sh" "$SCRIPTS"/deSEC
143+
curl_to_dir "https://raw.githubusercontent.com/nextcloud/vm/main/addons/deSEC" "hook.sh" "$SCRIPTS"/deSEC
144144
chmod +x "$SCRIPTS"/deSEC/hook.sh
145-
curl_to_dir "https://raw.githubusercontent.com/nextcloud/vm/master/addons/deSEC" ".dedynauth" "$SCRIPTS"/deSEC
145+
curl_to_dir "https://raw.githubusercontent.com/nextcloud/vm/main/addons/deSEC" ".dedynauth" "$SCRIPTS"/deSEC
146146
check_command sed -i "s|DEDYN_TOKEN=.*|DEDYN_TOKEN=$DEDYNAUTHTOKEN|g" "$SCRIPTS"/deSEC/.dedynauth
147147
check_command sed -i "s|DEDYN_NAME=.*|DEDYN_NAME=$DEDYNDOMAIN|g" "$SCRIPTS"/deSEC/.dedynauth
148148
msg_box "DNS updates for deSEC are now set. This means you don't have to open any ports (80|443) for the renewal process since deSEC TLS renewals will be run with a built in hook. \

addons/fix_invalid_modification_time.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# T&M Hansson IT AB © - 2024, https://www.hanssonit.se/
4-
# Based on: https://raw.githubusercontent.com/nextcloud-gmbh/mtime_fixer_tool_kit/master/solvable_files.sh
4+
# Based on: https://raw.githubusercontent.com/nextcloud-gmbh/mtime_fixer_tool_kit/main/solvable_files.sh
55

66
true
77
SCRIPT_NAME="Fix 'Could not update metadata due to invalid modified time'."

addons/redis-server-ubuntu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ debug_mode
1616
root_check
1717

1818
# Check Ubuntu version
19-
if ! version 18.04 "$DISTRO" 22.04.10
19+
if ! version 18.04 "$DISTRO" 24.04.10
2020
then
21-
msg_box "Your current Ubuntu version is $DISTRO but must be between 18.04 - 22.04.10 to run this script."
21+
msg_box "Your current Ubuntu version is $DISTRO but must be between 18.04 - 24.04.10 to run this script."
2222
msg_box "Please contact us to get support for upgrading your server:
2323
https://www.hanssonit.se/#contact
2424
https://shop.hanssonit.se/"

addons/solvable_files.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# Based on: https://raw.githubusercontent.com/nextcloud-gmbh/mtime_fixer_tool_kit/master/solvable_files.sh
3+
# Based on: https://raw.githubusercontent.com/nextcloud-gmbh/mtime_fixer_tool_kit/main/solvable_files.sh
44

55
true
66
SCRIPT_NAME="Fix 'Could not update metadata due to invalid modified time'."

apps/adminer.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ a2enmod ssl
5353
apt-get update -q4 & spinner_loading
5454
install_if_not adminer
5555
curl_to_dir "http://www.adminer.org" "latest.php" "$ADMINERDIR"
56-
curl_to_dir "https://raw.githubusercontent.com/Niyko/Hydra-Dark-Theme-for-Adminer/master" "adminer.css" "$ADMINERDIR"
56+
curl_to_dir "https://raw.githubusercontent.com/Niyko/Hydra-Dark-Theme-for-Adminer/main" "adminer.css" "$ADMINERDIR"
5757
ln -s "$ADMINERDIR"/latest.php "$ADMINERDIR"/adminer.php
5858

59-
# Only add TLS 1.3 on Ubuntu later than 20.04
60-
if version 20.04 "$DISTRO" 22.04.10
59+
# Only add TLS 1.3 on Ubuntu later than 22.04
60+
if version 22.04 "$DISTRO" 24.04.10
6161
then
6262
TLS13="+TLSv1.3"
6363
fi

apps/collabora_docker.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ true
66
SCRIPT_NAME="Collabora (Docker)"
77
SCRIPT_EXPLAINER="This script will install the Collabora Office Server bundled with Docker"
88
# shellcheck source=lib.sh
9-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
9+
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/main/lib.sh)
1010
# To work with https://github.com/nextcloud/richdocuments/pull/2235
1111

1212
# Check for errors + debug code and abort if something isn't right
@@ -57,7 +57,7 @@ NCDOMAIN=$(nextcloud_occ_no_check config:system:get overwrite.cli.url | sed 's|h
5757

5858
# Curl the library another time to get the correct https_conf
5959
# shellcheck source=lib.sh
60-
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/master/lib.sh)
60+
source /var/scripts/fetch_lib.sh || source <(curl -sL https://raw.githubusercontent.com/nextcloud/vm/main/lib.sh)
6161

6262
# Get all needed variables from the library
6363
nc_update
@@ -135,8 +135,8 @@ a2enmod proxy_http
135135
a2enmod ssl
136136
a2enmod headers
137137

138-
# Only add TLS 1.3 on Ubuntu later than 20.04
139-
if version 20.04 "$DISTRO" 22.04.10
138+
# Only add TLS 1.3 on Ubuntu later than 22.04
139+
if version 22.04 "$DISTRO" 24.04.10
140140
then
141141
TLS13="+TLSv1.3"
142142
fi

apps/fail2ban.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# T&M Hansson IT AB © - 2024, https://www.hanssonit.se/
4-
# Inspired by https://github.com/nextcloud/nextcloudpi/blob/master/etc/nextcloudpi-config.d/fail2ban.sh
4+
# Inspired by https://github.com/nextcloud/nextcloudpi/blob/main/etc/nextcloudpi-config.d/fail2ban.sh
55

66
true
77
SCRIPT_NAME="Fail2ban"

apps/imaginary.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# T&M Hansson IT AB © - 2024, https://www.hanssonit.se/
44
# GNU General Public License v3.0
5-
# https://github.com/nextcloud/vm/blob/master/LICENSE
5+
# https://github.com/nextcloud/vm/blob/main/LICENSE
66

77
true
88
SCRIPT_NAME="Imaginary Docker"

0 commit comments

Comments
 (0)