Compare commits

...

19 Commits

Author SHA1 Message Date
Simon L.
eda27a1236 Merge pull request #6642 from nextcloud/aio-yaml-update
Yaml updates
2025-07-10 14:18:25 +02:00
szaimen
382108c971 Yaml updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-10 12:03:56 +00:00
Simon L.
3110b9adb1 Merge pull request #6641 from nextcloud/nextcloud-container-update
Nextcloud dependency update
2025-07-10 13:48:54 +02:00
szaimen
6ddcd3b116 nextcloud-update automated change
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-07-10 11:47:59 +00:00
Simon L.
78ec604a4b increase to 11.4.0
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-10 11:26:09 +02:00
Simon L.
a2002396f5 Merge pull request #6631 from nextcloud/enh/6564/add-diun-enable-false
CreateContainer: Also add `diun.enable: false` to all managed containers
2025-07-10 11:21:21 +02:00
Simon L.
ba78457cf4 Merge pull request #6620 from nextcloud/enh/6619/make-hint-more-visible
restore-instance: make hint more visible that backup needs to be restored two times if the backup contained any community container data
2025-07-10 11:21:07 +02:00
Simon L.
bfc1cf8cde Merge pull request #6617 from nextcloud/enh/noid/improve-db-import
db-import: improve the import process by using the `smart` mode and a higher timeout
2025-07-10 11:20:28 +02:00
Simon L.
b59cf8a040 Merge pull request #6612 from nextcloud/enh/noid/collabora-startup-logs
collabora: change startup logs from trace to warning
2025-07-10 11:20:18 +02:00
Simon L.
00744cd7f4 Merge pull request #6637 from nextcloud/dependabot/docker/Containers/docker-socket-proxy/haproxy-3.2.3-alpine
build(deps): bump haproxy from 3.2.2-alpine to 3.2.3-alpine in /Containers/docker-socket-proxy
2025-07-10 10:55:30 +02:00
Simon L.
7048c406e2 Merge pull request #6633 from nextcloud/dependabot/docker/Containers/imaginary/golang-1.24.5-alpine3.21
build(deps): bump golang from 1.24.4-alpine3.21 to 1.24.5-alpine3.21 in /Containers/imaginary
2025-07-10 10:55:18 +02:00
Simon L.
733083dfe2 Merge pull request #6629 from nextcloud/dependabot/docker/Containers/redis/redis-7.2.10-alpine
build(deps): bump redis from 7.2.9-alpine to 7.2.10-alpine in /Containers/redis
2025-07-10 10:55:05 +02:00
dependabot[bot]
0bab98fdec build(deps): bump haproxy in /Containers/docker-socket-proxy
Bumps haproxy from 3.2.2-alpine to 3.2.3-alpine.

---
updated-dependencies:
- dependency-name: haproxy
  dependency-version: 3.2.3-alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 04:34:58 +00:00
dependabot[bot]
3270767272 build(deps): bump golang in /Containers/imaginary
Bumps golang from 1.24.4-alpine3.21 to 1.24.5-alpine3.21.

---
updated-dependencies:
- dependency-name: golang
  dependency-version: 1.24.5-alpine3.21
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-09 04:44:55 +00:00
Simon L.
aeb133e86c CreateContainer: Also add diun.enable: false to all managed containers
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-08 15:53:30 +02:00
dependabot[bot]
80d23c01d6 build(deps): bump redis in /Containers/redis
Bumps redis from 7.2.9-alpine to 7.2.10-alpine.

---
updated-dependencies:
- dependency-name: redis
  dependency-version: 7.2.10-alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-08 05:35:29 +00:00
Simon L.
b538bc7155 restore-instance: make hint more visible that backup needs to be restored two times if the backup contained any community container data
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-04 19:31:51 +02:00
Simon L.
fc0d21cc49 db-import: improve the import process by using the smart mode and a higher timeout
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-04 13:36:55 +02:00
Simon L.
4cf1a3839b collabora: change startup logs from trace to warning
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-07-03 15:17:12 +02:00
10 changed files with 18 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:latest
FROM haproxy:3.2.2-alpine
FROM haproxy:3.2.3-alpine
# hadolint ignore=DL3002
USER root

View File

@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:latest
FROM golang:1.24.4-alpine3.21 AS go
FROM golang:1.24.5-alpine3.21 AS go
ENV IMAGINARY_HASH=1d4e251cfcd58ea66f8361f8721d7b8cc85002a3

View File

@@ -8,7 +8,7 @@ ENV SOURCE_LOCATION=/usr/src/nextcloud
ENV REDIS_DB_INDEX=0
# AIO settings start # Do not remove or change this line!
ENV NEXTCLOUD_VERSION=31.0.6
ENV NEXTCLOUD_VERSION=31.0.7
ENV AIO_TOKEN=123456
ENV AIO_URL=localhost
# AIO settings end # Do not remove or change this line!

View File

@@ -128,7 +128,9 @@ EOSQL
fi
# Shut down the database to be able to start it again
pg_ctl stop -m fast
# The smart mode disallows new connections, then waits for all existing clients to disconnect and any online backup to finish
# Wait for 1800s to make sure that a checkpoint is completed successfully
pg_ctl stop -m smart -t 1800
# Change database port back to default
export PGPORT=5432

View File

@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:latest
# From https://github.com/docker-library/redis/blob/master/7.2/alpine/Dockerfile
FROM redis:7.2.9-alpine
FROM redis:7.2.10-alpine
COPY --chmod=775 start.sh /start.sh

View File

@@ -253,7 +253,7 @@ services:
- "9980"
environment:
- aliasgroup1=https://${NC_DOMAIN}:443
- extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:mount_jail_tree=false --o:logging.level=warning --o:home_mode.enable=true --o:remote_font_config.url=https://${NC_DOMAIN}/apps/richdocuments/settings/fonts.json --o:net.post_allow.host[0]=.+
- extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:mount_jail_tree=false --o:logging.level=warning --o:logging.level_startup=warning --o:home_mode.enable=true --o:remote_font_config.url=https://${NC_DOMAIN}/apps/richdocuments/settings/fonts.json --o:net.post_allow.host[0]=.+
- dictionaries=${COLLABORA_DICTIONARIES}
- TZ=${TIMEZONE}
- server_name=${NC_DOMAIN}

View File

@@ -377,7 +377,7 @@
"internal_port": "9980",
"environment": [
"aliasgroup1=https://%NC_DOMAIN%:443",
"extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:mount_jail_tree=false --o:logging.level=warning --o:home_mode.enable=true %COLLABORA_SECCOMP_POLICY% --o:remote_font_config.url=https://%NC_DOMAIN%/apps/richdocuments/settings/fonts.json --o:net.post_allow.host[0]=.+",
"extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:mount_jail_tree=false --o:logging.level=warning --o:logging.level_startup=warning --o:home_mode.enable=true %COLLABORA_SECCOMP_POLICY% --o:remote_font_config.url=https://%NC_DOMAIN%/apps/richdocuments/settings/fonts.json --o:net.post_allow.host[0]=.+",
"dictionaries=%COLLABORA_DICTIONARIES%",
"TZ=%TIMEZONE%",
"server_name=%NC_DOMAIN%",

View File

@@ -585,7 +585,8 @@ readonly class DockerActionManager {
}
// All AIO-managed containers should not be updated externally via watchtower but gracefully by AIO's backup and update feature.
$requestBody['Labels'] = ["com.centurylinklabs.watchtower.enable" => "false", "org.label-schema.vendor" => "Nextcloud"];
// Also DIUN should not send update notifications. See https://crazymax.dev/diun/providers/docker/#docker-labels
$requestBody['Labels'] = ["com.centurylinklabs.watchtower.enable" => "false", "diun.enable" => "false", "org.label-schema.vendor" => "Nextcloud"];
// Containers should have a fixed host name. See https://github.com/nextcloud/all-in-one/discussions/6589
$requestBody['Hostname'] = $container->GetIdentifier();

View File

@@ -17,7 +17,7 @@
<div class="container">
<main>
<h1>Nextcloud AIO v11.3.0</h1>
<h1>Nextcloud AIO v11.4.0</h1>
{# Add 2nd tab warning #}
<script type="text/javascript" src="second-tab-warning.js"></script>
@@ -163,7 +163,7 @@
</form>
{% endif %}
<p>Choose the backup that you want to restore and click on the button below to restore the selected backup. This will restore the whole AIO instance. Please note that the current AIO passphrase will be kept and the previous AIO passphrase will not be restored from backup!</p>
<p><strong>Please note:</strong> If the backup that you want to restore contained any <a target="_blank" href="https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers">community container</a>, but you did not specify the same community containers via environmental variable while creating this new AIO instance, you need to restore the same backup a second time after this attempt so that the community container data is also correctly restored.</p>
<p><strong>Important:</strong> If the backup that you want to restore contained any <a target="_blank" href="https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers">community container</a>, you need to restore the same backup a second time after this attempt so that the community container data is also correctly restored.</p>
<form method="POST" action="/api/docker/restore" class="xhr" id="restore_selection">
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
@@ -173,7 +173,7 @@
{% endfor %}
</select><br>
<input type="checkbox" id="restore-exclude-previews" name="restore-exclude-previews"><label for="restore-exclude-previews">Exclude previews from restore which will speed up the restore process but will trigger a scan of the preview folder as soon as the Nextcloud container starts the next time</label><br>
<input type="submit" value="Restore selected backup"/>
<input type="submit" value="Restore selected backup" onclick="return confirm('⚠️ Important: If the backup that you want to restore contained any community container, you need to restore the same backup a second time after this attempt so that the community container data is also correctly restored.')"/>
</form>
{% endif %}
{% elseif borg_backup_mode == 'restore' %}

View File

@@ -59,6 +59,10 @@ test('Restore instance', async ({ page: setupPage }) => {
// Check integrity and restore backup
await containersPage.getByRole('button', { name: 'Check backup integrity' }).click();
await expect(containersPage.getByRole('main')).toContainText('Last check successful!', { timeout: 5 * 60 * 1000 });
containersPage.once('dialog', dialog => {
console.log(`Dialog message: ${dialog.message()}`)
dialog.accept()
});
await containersPage.getByRole('button', { name: 'Restore selected backup' }).click();
await expect(containersPage.getByRole('main')).toContainText('Backup container is currently running:', { timeout: 1 * 60 * 1000 });