Skip to content

Commit 697dddd

Browse files
authored
Merge branch 'main' into desec-apps
2 parents 3792d1d + b3fe723 commit 697dddd

File tree

159 files changed

+2354
-1174
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+2354
-1174
lines changed

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ body:
3838
id: screenshots
3939
attributes:
4040
label: Screenshots, Videos, or Pastebins
41-
description: If applicable, add screenshots and/or a short video to help explain your problem. You can use https://0bin.net for long error messages or logs.
41+
description: If applicable, add screenshots and/or a short video to help explain your problem. You can use https://paste.sh for long error messages or logs.
4242
- type: textarea
4343
id: additional-context
4444
attributes:

.github/workflows/check-code-with-shellcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
name: Github Actions
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v5
1414
- name: Run Shellcheck
1515
uses: ludeeus/action-shellcheck@master
1616
with:

.github/workflows/reviewdog.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Shellcheck testing
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v5
1515
- name: shellcheck
1616
uses: reviewdog/action-shellcheck@v1
1717
with:
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: spelling or typos
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v5
2929
- name: misspell
3030
uses: reviewdog/action-misspell@v1
3131
with:

CHANGELOG.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,21 @@
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!
99

1010
### Different versions
1111
If you run Hyper-V or want 500 GB, 1 TB or 2 TB VM you can download it from [T&M Hansson IT's shop](https://shop.hanssonit.se/product-category/virtual-machine/nextcloud/).
1212

13+
## All future releases
14+
15+
### Full changelog:
16+
- [VM](https://github.com/nextcloud/vm/releases/)
17+
- [Nextcloud](https://nextcloud.com/changelog/)
18+
19+
1320
## 26.0.0
1421

1522
### Full changelog:
@@ -241,7 +248,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
241248
- Add the Azure kernel for Hyper-V VMs
242249
- Shorten the time files are stored in trashbin (can still be configured)
243250
- Escape all Apache Log dirs correctly
244-
- 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)
245252
- Minor bugfixes and improvements
246253
- And more...
247254

@@ -265,7 +272,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
265272
- ClamAV - improve weekly full-scan tremendously
266273
- Update geoblock database - april
267274
- Speed up the network check if the network already works
268-
- 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)
269276
- Minor bugfixes and improvements
270277

271278
### Full changelog:
@@ -292,7 +299,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
292299
- Don't break update when enabling app
293300
- Fix not enabled PECL extensions
294301
- Prevent apps from breaking the update due to incompatibility
295-
- 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)
296303
- Minor bugfixes and improvements
297304

298305
### Full changelog:
@@ -305,7 +312,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
305312
- Ask to get the latest `update.sh` script when running updates from `menu.sh`
306313
- Allow to reinstall Bitwarden RS also if local files are present
307314
- Updated geoblock database files
308-
- 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)
309316
- Minor bugfixes and improvements
310317

311318
### Full changelog:
@@ -377,7 +384,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
377384
- Allow to reinstall automatic updates
378385
- Improved partition check during the install-script
379386
- Fixed some typo's
380-
- 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
381388
- Minor bugfixes and improvements
382389

383390

@@ -415,7 +422,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
415422
- Fixed problems with static-ip
416423
- Added Docker migrate script
417424
- Fixed and issue with ClamAV
418-
- 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
419426
- Minor bugfixes and improvements
420427

421428
### Full changelog:
@@ -438,7 +445,7 @@ This release is quite huge, including Ubuntu 22.04 (minimal), PHP-FPM 8.1, and P
438445
- SMBmount: Introduce the option to customize the mount before adding as external storage to Nextcloud
439446
- SMBmount: Add the option to utilize inotify to actively watch over externally changed files and folders
440447
- Repository: cleanup by removing duplicate scripts and not-needed functions
441-
- 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
442449

443450
- Minor bugfixes and improvements
444451

README.md

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ Server installation. Simplified. :cloud:
1717
--------------------
1818

1919
## Dependencies:
20-
(Ubuntu Server 22.04 LTS *minimal* 64-bit)
20+
(Ubuntu Server 24.04 LTS *minimal* 64-bit)
2121
<br>
22-
(Linux Kernel: 5.15)
22+
(Linux Kernel: 6.8)
2323
- Apache 2.4
24-
- PostgreSQL 14
25-
- PHP-FPM 8.1
24+
- PostgreSQL 16
25+
- PHP-FPM 8.3
2626
- Redis Memcache (latest stable version from PECL)
2727
- PHP-igbinary (latest stable version from PECL
2828
- PHP-smbclient (latest stable version from PECL)
@@ -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 [main 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,7 +66,7 @@ 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

@@ -106,17 +106,18 @@ Please report any issues you can find. Improvements are welcome!
106106
* You? :)
107107

108108
## Special thanks to
109-
* [Ezra Holm](https://github.com/ezraholm50) @ [Tech and Me](https://www.techandme.se)
109+
* Ezra Holm @ [Tech and Me](https://www.techandme.se)
110110
* [Luis Guzman](https://github.com/Ark74) @ [SwITNet](https://switnet.net)
111111
* [Stefan Heitmüller](https://github.com/morph027) @ [morph027's Blog](https://morph027.gitlab.io/)
112112
* [Lorenzo Faleschini](https://github.com/penzoiders)
113113
* [Georg Großmann](https://github.com/ggeorgg)
114114
* [liao20081228](https://github.com/liao20081228)
115115
* [aaaskew](https://github.com/aaaskew)
116-
117-
[Nextcloud Server]: https://bit.ly/2CHIUkA
118-
[app store]: https://bit.ly/2HUy4v9
119-
[\*nix]: https://bit.ly/2UaCC7b
120-
[A+ security-rated]: https://bit.ly/2mvlyJ3
121-
[Collabora Online]: https://bit.ly/2WjVVZ8
122-
[ONLYOFFICE]: https://bit.ly/2FA0TKj
116+
* IP address data powered by [IPinfo](https://ipinfo.io/)
117+
118+
[Nextcloud Server]: http://shortio.hanssonit.se/r1Rx0GqXa9
119+
[app store]: http://shortio.hanssonit.se/Rz1GEXt9dL
120+
[\*nix]: http://shortio.hanssonit.se/52hOTQbhdh
121+
[A+ security-rated]: http://shortio.hanssonit.se/aMTjg0SJi3
122+
[Collabora Online]: http://shortio.hanssonit.se/IKjBoOfQOT
123+
[ONLYOFFICE]: http://shortio.hanssonit.se/oRLShCfRK3

addons/0-byte-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-
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2024, https://www.hanssonit.se/
44
true
55
SCRIPT_NAME="Check for 0-Byte files"
66
# shellcheck source=lib.sh

addons/automatic_updates.sh

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

3-
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2024, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Automatic Updates"
@@ -42,7 +42,7 @@ mkdir -p "$VMLOGS"/updates
4242
crontab -u root -l | { cat; echo "0 $AUT_UPDATES_TIME * 1-12 6 $SCRIPTS/update.sh minor >> $VMLOGS/updates/update-\$(date +\%Y-\%m-\%d_\%H:\%M).log 2>&1"; } | crontab -u root -
4343
if yesno_box_yes "Do you want to reboot your server after every update? *recommended*"
4444
then
45-
sed -i "s|exit|/sbin/shutdown -r +1|g" "$SCRIPTS"/update.sh
45+
sed -i "s|exit|/sbin/shutdown -r +10|g" "$SCRIPTS"/update.sh
4646
echo "exit" >> "$SCRIPTS"/update.sh
4747
fi
4848

addons/cookielifetime.sh

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

3-
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2024, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="Set Cookie Lifetime"

addons/database_shrinking.sh

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

3-
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2024, https://www.hanssonit.se/
44
# Copyright © 2021 Simon Lindner (https://github.com/szaimen)
55

66
true

addons/deSEC/desec.sh

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

3-
# T&M Hansson IT AB © - 2023, https://www.hanssonit.se/
3+
# T&M Hansson IT AB © - 2024, https://www.hanssonit.se/
44

55
true
66
SCRIPT_NAME="deSEC Registration"
@@ -140,17 +140,17 @@ 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. \
149149
The hook files will end up in $SCRIPTS/deSEC, please don't touch that folder unless you know what you're doing. \
150150
You can read more about it here: https://github.com/desec-io/desec-certbot-hook
151151
152152
Please remember that you still need to open the port you choose to make your server publicly available.
153-
You can read more about that here: https://goo.gl/iUGE2U"
153+
You can read more about that here: http://shortio.hanssonit.se/ffOQOXS6Kh"
154154

155155
# Run the TLS script
156156
run_script LETS_ENC activate-tls

0 commit comments

Comments
 (0)