Compare commits

..

34 Commits

Author SHA1 Message Date
Simon L.
9f5710917d restore-instance test: try to fix timeout problem
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-11 12:50:07 +02:00
Simon L.
cc0ff39357 increase to 10.12.0
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-11 11:14:10 +02:00
Simon L.
d01af0a5fb Merge pull request #6282 from nextcloud/enh/noid/update-30.0.9
nextcloud: update to 30.0.9
2025-04-11 11:08:26 +02:00
Simon L.
9550135e3a nextcloud: update to 30.0.9
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-11 11:07:20 +02:00
Simon L.
f49de27ca3 Merge pull request #6280 from nextcloud/enh/noid/improve-button-description
aio-interface: improve description of daily-backup buttons
2025-04-10 13:45:49 +02:00
Simon L.
ae00778180 aio-interface: improve description of daily-backup buttons
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-10 13:44:20 +02:00
Simon L.
fd033ff328 Merge pull request #6279 from nextcloud/enh/noid/press-submit-button
aio-interface: describe that the submit button needs to be pressed in a few places
2025-04-10 13:31:51 +02:00
Simon L.
417af36b5f aio-interface: describe that the submit button needs to be pressed in a few places
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-10 13:29:25 +02:00
Simon L.
9255ff4387 Merge pull request #6278 from nextcloud/enh/noid/remove-prefilled-daily-backup-value
aio-interface: daily-backup: remove the pre-filled value
2025-04-10 12:49:21 +02:00
Simon L.
71b932e910 aio-interface: daily-backup: remove the pre-filled value
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-10 12:48:15 +02:00
Simon L.
d495c1910e Merge pull request #6277 from nextcloud/dependabot/docker/Containers/talk-recording/python-3.13.3-alpine3.21
build(deps): bump python from 3.13.2-alpine3.21 to 3.13.3-alpine3.21 in /Containers/talk-recording
2025-04-10 08:33:38 +02:00
dependabot[bot]
b05d22aa81 build(deps): bump python in /Containers/talk-recording
Bumps python from 3.13.2-alpine3.21 to 3.13.3-alpine3.21.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 05:08:57 +00:00
Simon L.
5564f8be5f Merge pull request #6275 from nextcloud/enh/noid/connect-mastercontainer-to-network
daily-backup.sh: connect mastercontainer to nextcloud-aio network
2025-04-09 16:34:05 +02:00
Simon L.
b82943046d daily-backup.sh: connect mastercontainer to nextcloud-aio network
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-09 16:32:15 +02:00
Simon L.
ca0af37eaa Merge pull request #6274 from nextcloud/dependabot/github_actions/dot-github/workflows/softprops/turnstyle-2.3.2
build(deps): bump softprops/turnstyle from 2.3.1 to 2.3.2 in /.github/workflows
2025-04-09 15:14:29 +02:00
dependabot[bot]
72fe74da71 build(deps): bump softprops/turnstyle in /.github/workflows
Bumps [softprops/turnstyle](https://github.com/softprops/turnstyle) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/softprops/turnstyle/releases)
- [Changelog](https://github.com/softprops/turnstyle/blob/master/CHANGELOG.md)
- [Commits](25dcee5c3f...f9f8ef3f63)

---
updated-dependencies:
- dependency-name: softprops/turnstyle
  dependency-version: 2.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 12:57:07 +00:00
Simon L.
45a3f6ad36 Merge pull request #6271 from nextcloud/dependabot/docker/Containers/talk/nats-2.11.1-scratch
build(deps): bump nats from 2.11.0-scratch to 2.11.1-scratch in /Containers/talk
2025-04-09 08:48:30 +02:00
dependabot[bot]
9d9ef6e4b8 build(deps): bump nats in /Containers/talk
Bumps nats from 2.11.0-scratch to 2.11.1-scratch.

---
updated-dependencies:
- dependency-name: nats
  dependency-version: 2.11.1-scratch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 05:00:12 +00:00
Simon L.
23f7b405ce Merge pull request #6266 from nextcloud/aio-dependency-update
PHP dependency updates
2025-04-08 14:23:02 +02:00
szaimen
25c31323c6 php dependency updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-08 12:03:09 +00:00
Simon L.
7ce74e36e6 fix detail with new aio-alpine syntax
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-08 10:30:33 +02:00
Simon L.
ec20ff8318 Merge pull request #6265 from nextcloud/aio-helm-update
Helm Chart updates
2025-04-08 10:22:05 +02:00
szaimen
4eed6b6f38 Helm Chart updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-08 08:20:51 +00:00
Simon L.
b6b5d59228 Merge pull request #6255 from nextcloud/enh/noid/improve-ghcr.io-check
mastercontainer: improve check for ghcr.io
2025-04-08 10:19:09 +02:00
Simon L.
30cdddebb8 Merge pull request #6256 from nextcloud/dependabot/docker/Containers/imaginary/golang-1.24.2-alpine3.21
build(deps): bump golang from 1.24.1-alpine3.21 to 1.24.2-alpine3.21 in /Containers/imaginary
2025-04-08 10:18:51 +02:00
Simon L.
2a2df5b12b Merge pull request #6257 from nextcloud/dependabot/docker/Containers/watchtower/golang-1.24.2-alpine3.21
build(deps): bump golang from 1.24.1-alpine3.21 to 1.24.2-alpine3.21 in /Containers/watchtower
2025-04-08 10:18:41 +02:00
Simon L.
3345e9a357 rp-docs-apache: adjust comment
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-07 19:24:06 +02:00
Simon L.
4f25a8ff10 Merge pull request #6264 from nextcloud/enh/noid/fix-apache-config
rp-docs: fix apache config
2025-04-07 19:09:14 +02:00
Simon L.
a5c44aae9a rp-docs: fix apache config
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-07 19:07:34 +02:00
Simon L.
1b8d80b204 Merge pull request #6259 from nextcloud/enh/noid/add-libretranslate-warning
libretranslate-cc: add warning that it is deprecated
2025-04-04 12:48:06 +02:00
Simon L.
6dac917936 libretranslate-cc: add warning that it is deprecated
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-03 11:09:06 +02:00
dependabot[bot]
df40236217 build(deps): bump golang in /Containers/watchtower
Bumps golang from 1.24.1-alpine3.21 to 1.24.2-alpine3.21.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 04:39:41 +00:00
dependabot[bot]
855a1d00dc build(deps): bump golang in /Containers/imaginary
Bumps golang from 1.24.1-alpine3.21 to 1.24.2-alpine3.21.

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 04:38:53 +00:00
Simon L.
3dd5407301 mastercontainer: improve check for ghcr.io
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-04-01 23:49:55 +02:00
29 changed files with 70 additions and 55 deletions

View File

@@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v4
- name: Turnstyle
uses: softprops/turnstyle@25dcee5c3fcb84375f3a3f93a3c97ed0d42cfcdc # v2
uses: softprops/turnstyle@f9f8ef3f634144b126a09ea5b3bfe51ddebc700f # v2
with:
continue-after-seconds: 180
env:

View File

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

View File

@@ -20,6 +20,11 @@ APACHE_PORT="$(docker inspect nextcloud-aio-apache --format "{{.Config.Env}}" |
if [ -z "$APACHE_PORT" ]; then
echo "APACHE_PORT is not set which is not expected..."
else
# Connect mastercontainer to nextcloud-aio network to make sure that nextcloud-aio-apache is reachable
# Prevent issues like https://github.com/nextcloud/all-in-one/discussions/5222
docker network connect nextcloud-aio nextcloud-aio-mastercontainer &>/dev/null
# Wait for apache to start
while docker ps --format "{{.Names}}" | grep -q "^nextcloud-aio-apache$" && ! nc -z nextcloud-aio-apache "$APACHE_PORT"; do
echo "Waiting for apache to become available"
sleep 30

View File

@@ -274,10 +274,11 @@ fi
# Check if ghcr.io is reachable
# Solves issues like https://github.com/nextcloud/all-in-one/discussions/5268
if ! curl https://ghcr.io &>/dev/null; then
if ! curl --no-progress-meter https://ghcr.io/v2/ >/dev/null; then
print_red "Could not reach https://ghcr.io."
echo "Most likely is something blocking access to it."
echo "You should be able to fix this by using https://github.com/nextcloud/all-in-one/tree/main/manual-install"
echo "You should be able to fix this by following https://dockerlabs.collabnix.com/intermediate/networking/Configuring_DNS.html"
echo "Another solution is using https://github.com/nextcloud/all-in-one/tree/main/manual-install"
exit 1
fi

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=30.0.8
ENV NEXTCLOUD_VERSION=30.0.9
ENV AIO_TOKEN=123456
ENV AIO_URL=localhost
# AIO settings end # Do not remove or change this line!

View File

@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:latest
FROM python:3.13.2-alpine3.21
FROM python:3.13.3-alpine3.21
COPY --chmod=775 start.sh /start.sh
COPY --chmod=775 healthcheck.sh /healthcheck.sh

View File

@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:latest
FROM nats:2.11.0-scratch AS nats
FROM nats:2.11.1-scratch AS nats
FROM eturnal/eturnal:1.12.1 AS eturnal
FROM strukturag/nextcloud-spreed-signaling:2.0.2 AS signaling
FROM alpine:3.21.3 AS janus

View File

@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:latest
FROM golang:1.24.1-alpine3.21 AS go
FROM golang:1.24.2-alpine3.21 AS go
RUN set -ex; \
apk upgrade --no-cache -a; \

View File

@@ -1,6 +1,11 @@
## LibreTranslate
This container bundles LibreTranslate and auto-configures it for you.
> [!WARNING]
> The LibreTranslate container and app is deprecated!
> Please use the [translate2 app](https://apps.nextcloud.com/apps/translate2) instead.
> You can activate it by first enabling the Docker-Socket-Proxy in the AIO-interface and then heading over to `https://your-nc-domain.com/settings/apps/tools` and installing and enabling the `Local Machine Translation` app.
### Notes
- After the initial startup is done, you might want to change the default language to translate from and to via:
```bash

View File

@@ -1,6 +1,6 @@
name: nextcloud-aio-helm-chart
description: A generated Helm Chart for Nextcloud AIO from Skippbox Kompose
version: 10.10.0
version: 10.11.0
apiVersion: v2
keywords:
- latest

View File

@@ -61,7 +61,7 @@ spec:
value: "{{ .Values.TIMEZONE }}"
- name: WHITEBOARD_HOST
value: nextcloud-aio-whiteboard
image: ghcr.io/nextcloud-releases/aio-apache:20250331_082515
image: ghcr.io/nextcloud-releases/aio-apache:20250408_081359
readinessProbe:
exec:
command:

View File

@@ -36,7 +36,7 @@ spec:
{{- end }}
initContainers:
- name: init-subpath
image: "alpine:3.20"
image: ghcr.io/nextcloud-releases/aio-alpine:20250408_081359
command:
- mkdir
- "-p"
@@ -59,7 +59,7 @@ spec:
value: "{{ .Values.NEXTCLOUD_UPLOAD_LIMIT }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: ghcr.io/nextcloud-releases/aio-clamav:20250331_082515
image: ghcr.io/nextcloud-releases/aio-clamav:20250408_081359
readinessProbe:
exec:
command:

View File

@@ -35,7 +35,7 @@ spec:
value: --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://{{ .Values.NC_DOMAIN }}/apps/richdocuments/settings/fonts.json --o:net.post_allow.host[0]=.+
- name: server_name
value: "{{ .Values.NC_DOMAIN }}"
image: ghcr.io/nextcloud-releases/aio-collabora:20250331_082515
image: ghcr.io/nextcloud-releases/aio-collabora:20250408_081359
readinessProbe:
exec:
command:

View File

@@ -35,7 +35,7 @@ spec:
{{- end }}
initContainers:
- name: init-subpath
image: "alpine:3.20"
image: ghcr.io/nextcloud-releases/aio-alpine:20250408_081359
command:
- mkdir
- "-p"
@@ -64,7 +64,7 @@ spec:
value: nextcloud
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: ghcr.io/nextcloud-releases/aio-postgresql:20250331_082515
image: ghcr.io/nextcloud-releases/aio-postgresql:20250408_081359
readinessProbe:
exec:
command:

View File

@@ -24,7 +24,7 @@ spec:
spec:
initContainers:
- name: init-volumes
image: "alpine:3.20"
image: ghcr.io/nextcloud-releases/aio-alpine:20250408_081359
command:
- chmod
- "777"
@@ -54,7 +54,7 @@ spec:
value: basic
- name: xpack.security.enabled
value: "false"
image: ghcr.io/nextcloud-releases/aio-fulltextsearch:20250331_082515
image: ghcr.io/nextcloud-releases/aio-fulltextsearch:20250408_081359
readinessProbe:
exec:
command:

View File

@@ -38,7 +38,7 @@ spec:
value: "{{ .Values.IMAGINARY_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: ghcr.io/nextcloud-releases/aio-imaginary:20250331_082515
image: ghcr.io/nextcloud-releases/aio-imaginary:20250408_081359
readinessProbe:
exec:
command:

View File

@@ -38,7 +38,7 @@ spec:
# AIO settings start # Do not remove or change this line!
initContainers:
- name: init-volumes
image: "alpine:3.20"
image: ghcr.io/nextcloud-releases/aio-alpine:20250408_081359
command:
- chmod
- "777"
@@ -182,7 +182,7 @@ spec:
value: "{{ .Values.WHITEBOARD_ENABLED }}"
- name: WHITEBOARD_SECRET
value: "{{ .Values.WHITEBOARD_SECRET }}"
image: ghcr.io/nextcloud-releases/aio-nextcloud:20250331_082515
image: ghcr.io/nextcloud-releases/aio-nextcloud:20250408_081359
{{- if eq (.Values.RPSS_ENABLED | default "no") "yes" }} # AIO-config - do not change this comment!
securityContext:
# The items below only work in container context

View File

@@ -55,7 +55,7 @@ spec:
value: "{{ .Values.REDIS_PASSWORD }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: ghcr.io/nextcloud-releases/aio-notify-push:20250331_082515
image: ghcr.io/nextcloud-releases/aio-notify-push:20250408_081359
readinessProbe:
exec:
command:

View File

@@ -24,7 +24,7 @@ spec:
spec:
initContainers:
- name: init-volumes
image: "alpine:3.20"
image: ghcr.io/nextcloud-releases/aio-alpine:20250408_081359
command:
- chmod
- "777"
@@ -42,7 +42,7 @@ spec:
value: "{{ .Values.ONLYOFFICE_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: ghcr.io/nextcloud-releases/aio-onlyoffice:20250331_082515
image: ghcr.io/nextcloud-releases/aio-onlyoffice:20250408_081359
readinessProbe:
exec:
command:

View File

@@ -39,7 +39,7 @@ spec:
value: "{{ .Values.REDIS_PASSWORD }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: ghcr.io/nextcloud-releases/aio-redis:20250331_082515
image: ghcr.io/nextcloud-releases/aio-redis:20250408_081359
readinessProbe:
exec:
command:

View File

@@ -52,7 +52,7 @@ spec:
value: "{{ .Values.TURN_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: ghcr.io/nextcloud-releases/aio-talk:20250331_082515
image: ghcr.io/nextcloud-releases/aio-talk:20250408_081359
readinessProbe:
exec:
command:

View File

@@ -44,7 +44,7 @@ spec:
value: "{{ .Values.RECORDING_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: ghcr.io/nextcloud-releases/aio-talk-recording:20250331_082515
image: ghcr.io/nextcloud-releases/aio-talk-recording:20250408_081359
readinessProbe:
exec:
command:

View File

@@ -48,7 +48,7 @@ spec:
value: redis
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: ghcr.io/nextcloud-releases/aio-whiteboard:20250331_082515
image: ghcr.io/nextcloud-releases/aio-whiteboard:20250408_081359
readinessProbe:
exec:
command:

View File

@@ -72,7 +72,7 @@ find ./ -name '*networkpolicy.yaml' -exec sed -i "s|manual-install-nextcloud-aio
cat << EOL > /tmp/initcontainers
initContainers:
- name: init-volumes
image: "ghcr.io/nextcloud-releases/aio-alpine:$DOCKER_TAG"
image: ghcr.io/nextcloud-releases/aio-alpine:$DOCKER_TAG
command:
- chmod
- "777"
@@ -81,7 +81,7 @@ EOL
cat << EOL > /tmp/initcontainers.database
initContainers:
- name: init-subpath
image: "ghcr.io/nextcloud-releases/aio-alpine:$DOCKER_TAG"
image: ghcr.io/nextcloud-releases/aio-alpine:$DOCKER_TAG
command:
- mkdir
- "-p"
@@ -94,7 +94,7 @@ EOL
cat << EOL > /tmp/initcontainers.clamav
initContainers:
- name: init-subpath
image: "ghcr.io/nextcloud-releases/aio-alpine:$DOCKER_TAG"
image: ghcr.io/nextcloud-releases/aio-alpine:$DOCKER_TAG
command:
- mkdir
- "-p"
@@ -108,7 +108,7 @@ cat << EOL > /tmp/initcontainers.nextcloud
# AIO settings start # Do not remove or change this line!
initContainers:
- name: init-volumes
image: "ghcr.io/nextcloud-releases/aio-alpine:$DOCKER_TAG"
image: ghcr.io/nextcloud-releases/aio-alpine:$DOCKER_TAG
command:
- chmod
- "777"

21
php/composer.lock generated
View File

@@ -2210,26 +2210,29 @@
},
{
"name": "doctrine/deprecations",
"version": "1.1.4",
"version": "1.1.5",
"source": {
"type": "git",
"url": "https://github.com/doctrine/deprecations.git",
"reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9"
"reference": "459c2f5dd3d6a4633d3b5f46ee2b1c40f57d3f38"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/31610dbb31faa98e6b5447b62340826f54fbc4e9",
"reference": "31610dbb31faa98e6b5447b62340826f54fbc4e9",
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/459c2f5dd3d6a4633d3b5f46ee2b1c40f57d3f38",
"reference": "459c2f5dd3d6a4633d3b5f46ee2b1c40f57d3f38",
"shasum": ""
},
"require": {
"php": "^7.1 || ^8.0"
},
"conflict": {
"phpunit/phpunit": "<=7.5 || >=13"
},
"require-dev": {
"doctrine/coding-standard": "^9 || ^12",
"phpstan/phpstan": "1.4.10 || 2.0.3",
"doctrine/coding-standard": "^9 || ^12 || ^13",
"phpstan/phpstan": "1.4.10 || 2.1.11",
"phpstan/phpstan-phpunit": "^1.0 || ^2",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.6 || ^10.5 || ^11.5 || ^12",
"psr/log": "^1 || ^2 || ^3"
},
"suggest": {
@@ -2249,9 +2252,9 @@
"homepage": "https://www.doctrine-project.org/",
"support": {
"issues": "https://github.com/doctrine/deprecations/issues",
"source": "https://github.com/doctrine/deprecations/tree/1.1.4"
"source": "https://github.com/doctrine/deprecations/tree/1.1.5"
},
"time": "2024-12-07T21:18:45+00:00"
"time": "2025-04-07T20:06:18+00:00"
},
{
"name": "felixfbecker/advanced-json-rpc",

View File

@@ -17,7 +17,7 @@
<div class="container">
<main>
<h1>Nextcloud AIO v10.11.0</h1>
<h1>Nextcloud AIO v10.12.0</h1>
{# Add 2nd tab warning #}
<script type="text/javascript" src="second-tab-warning.js"></script>
@@ -101,7 +101,7 @@
{% else %}
<p>AIO is currently in "reverse proxy mode" which means that it can be installed behind a web server or reverse proxy (like Apache, Nginx, Caddy, Cloudflare Tunnel and else) and does not do the TLS proxying itself.</p>
{% endif %}
<p>Please type the domain that will be used for Nextcloud.</p>
<p>Please type in the domain that will be used for Nextcloud and submit it.</p>
{% if skip_domain_validation == true %}
<p><strong>Please note:</strong> The domain validation is disabled so any domain will be accepted here! Make sure you do not make a typo here as you will not be able to change it afterwards!</p>
{% endif %}
@@ -192,7 +192,7 @@
<p>
Please enter the location of the backup archive on your host or a
<a target="_blank" href="https://borgbackup.readthedocs.io/en/stable/usage/general.html#repository-urls">remote borg repo url</a>
if stored remotely; and the encryption password of the backup archive below:
if stored remotely; and the encryption password of the backup archive below and submit all values:
</p>
<form method="POST" action="/api/configuration" class="xhr">
<label>Local backup location</label> <input type="text" id="borg_restore_host_location" name="borg_restore_host_location" value="{{borg_backup_host_location}}" placeholder="/mnt/backup"/><br>
@@ -364,10 +364,10 @@
{% else %}
{% if is_backup_container_running == false and not hasBackupLocation and isApacheStarting != true %}
<h2>Backup and restore</h2>
<p>Please enter the directory path below where backups will be created on the host system. It's best to choose a location on a separate drive and not on your root drive.</p>
<p>Please enter the directory path below where backups will be created on the host system and submit it. It's best to choose a location on a separate drive and not on your root drive.</p>
<p>
To store backups remotely instead, fill in the
<a target="_blank" href="https://borgbackup.readthedocs.io/en/stable/usage/general.html#repository-urls">remote borg repo url</a>.
<a target="_blank" href="https://borgbackup.readthedocs.io/en/stable/usage/general.html#repository-urls">remote borg repo url and submit it</a>.
</p>
<form method="POST" action="/api/configuration" class="xhr">
<label>Local backup location</label> <input type="text" id="borg_backup_host_location" name="borg_backup_host_location" placeholder="/mnt/backup"/><br>
@@ -507,12 +507,12 @@
<h3>Daily backup and automatic updates</h3>
{% if daily_backup_time == "" %}
<p>By entering a time below, you can enable daily backups. It will create them at the entered time in 24h format. E.g. <strong>04:00</strong> will create backups at 4 am UTC and <strong>16:00</strong> at 4 pm UTC. When creating the backup, containers will be stopped and restarted after the backup is complete.</p>
<p>By entering a time below and submitting it, you can enable daily backups. It will create them at the entered time in 24h format. E.g. <strong>04:00</strong> will create backups at 4 am UTC and <strong>16:00</strong> at 4 pm UTC. When creating the backup, containers will be stopped and restarted after the backup is complete.</p>
<form method="POST" action="/api/configuration" class="xhr">
<input type="text" name="daily_backup_time" value="04:00" placeholder="04:00"/>
<input type="text" name="daily_backup_time" placeholder="04:00"/>
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
<input type="submit" value="Submit backup time" /><br>
<input type="submit" value="Submit daily backup time and settings" /><br>
<input type="checkbox" id="automatic_updates" name="automatic_updates" checked="checked"><label for="automatic_updates">Automatically update all containers, the mastercontainer and on saturdays your Nextcloud apps</label><br>
<input type="checkbox" id="success_notification" name="success_notification" checked="checked"><label for="success_notification">Send notifications about successful backups (notifications about unsuccessful backups will always be sent)</label>
</form>
@@ -526,12 +526,12 @@
<input type="hidden" name="delete_daily_backup_time" value="yes"/>
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
<input type="hidden" name="{{csrf.keys.value}}" value="{{csrf.value}}">
<input type="submit" value="Disable or change daily backups" />
<input type="submit" value="Disable or change daily backup settings" />
</form>
{% endif %}
<h3>Back up additional directories and docker volumes of your host</h3>
<p>Below you can enter directories and docker volumes of your host that will be backed up into the same borg backup archive.</p>
<p>Below you can enter directories and docker volumes of your host that will be backed up into the same borg backup archive. Make sure to press the submit button after changing anything.</p>
<form method="POST" action="/api/configuration" class="xhr">
<textarea id="additional_backup_directories" name="additional_backup_directories" rows="4" cols="50" placeholder="/directory/on/the/host&#10;my_custom_docker_volume">{{ additional_backup_directories }}</textarea>
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">
@@ -584,7 +584,7 @@
{% else %}
{% if timezone == "" %}
<p>To get the correct time values for certain Nextcloud features, set the timezone for Nextcloud to the one that your users mainly use. Please note that this setting does not apply to the mastercontainer and any backup option.</p>
<p>You can configure the timezone for Nextcloud below:</p>
<p>You can configure the timezone for Nextcloud below (Do not forget to submit the value!):</p>
<form method="POST" action="/api/configuration" class="xhr">
<input type="text" id="timezone" name="timezone" placeholder="Europe/Berlin" />
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">

View File

@@ -184,7 +184,7 @@
{% if collabora_additional_options == "" %}
<p>You can configure additional options for collabora below.</p>
<p>(This can be used for configuring the net.content_security_policy and more)</p>
<p>(This can be used for configuring the net.content_security_policy and more. Make sure to submit the value!)</p>
<form method="POST" action="/api/configuration" class="xhr">
<input type="text" name="collabora_additional_options" />
<input type="hidden" name="{{csrf.keys.name}}" value="{{csrf.name}}">

View File

@@ -60,7 +60,7 @@ test('Restore instance', async ({ page: setupPage }) => {
await containersPage.getByRole('button', { name: 'Check backup integrity' }).click();
await expect(containersPage.getByRole('main')).toContainText('Last check successful!', { timeout: 5 * 60 * 1000 });
await containersPage.getByRole('button', { name: 'Restore selected backup' }).click();
await expect(containersPage.getByRole('main')).toContainText('Backup container is currently running:');
await expect(containersPage.getByRole('main')).toContainText('Backup container is currently running:', { timeout: 1 * 60 * 1000 });
// Verify a successful backup restore
await expect(containersPage.getByRole('main')).toContainText('Last restore successful!', { timeout: 3 * 60 * 1000 });

View File

@@ -139,8 +139,9 @@ Add this as a new Apache site config:
RequestHeader set X-Real-IP %{REMOTE_ADDR}s
AllowEncodedSlashes NoDecode
ProxyPass / http://localhost:11000/ nocanon # Adjust to match APACHE_PORT and APACHE_IP_BINDING. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md#adapting-the-sample-web-server-configurations-below
ProxyPassReverse / http://localhost:11000/ # Adjust to match APACHE_PORT and APACHE_IP_BINDING. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md#adapting-the-sample-web-server-configurations-below
# Adjust the two lines below to match APACHE_PORT and APACHE_IP_BINDING. See https://github.com/nextcloud/all-in-one/blob/main/reverse-proxy.md#adapting-the-sample-web-server-configurations-below
ProxyPass / http://localhost:11000/ nocanon
ProxyPassReverse / http://localhost:11000/
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]