Compare commits

...

36 Commits

Author SHA1 Message Date
Simon L
3e08843b14 Merge pull request #3394 from nextcloud/revert-3353-linux-php-socket 2023-09-21 15:41:33 +02:00
Simon L
b3fffb877e Revert "Mastercontainer - use php unix socket" 2023-09-21 15:38:23 +02:00
Simon L
a68b51507b Merge pull request #3391 from jahanson/patch-1 2023-09-21 14:35:01 +02:00
Joe Hanson
94c5c7f417 Correct country code.
'EN' is not listed in ISO 3166 Country codes. I assume this was meant to be 'US'.

Signed-off-by: Joe Hanson <joe@veri.dev>
2023-09-21 06:46:29 -05:00
Simon L
30f1f8ee39 increase to 7.3.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-09-21 13:07:01 +02:00
Simon L
be07b8825f Merge pull request #3390 from nextcloud/nextcloud-container-update 2023-09-21 13:02:47 +02:00
szaimen
59550f15ef nextcloud-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-09-21 10:26:30 +00:00
Simon L
26c9f0ddbb Merge pull request #3387 from nextcloud/dependabot/docker/Containers/fulltextsearch/elasticsearch-8.10.1
Bump elasticsearch from 8.9.2 to 8.10.1 in /Containers/fulltextsearch
2023-09-20 20:34:17 +02:00
Simon L
a6eac17cb7 Make clear that ssh is required
Signed-off-by: Simon L. <szaimen@e.mail.de>
2023-09-20 20:30:30 +02:00
dependabot[bot]
ab3737ac52 Bump elasticsearch from 8.9.2 to 8.10.1 in /Containers/fulltextsearch
Bumps elasticsearch from 8.9.2 to 8.10.1.

---
updated-dependencies:
- dependency-name: elasticsearch
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 12:32:43 +00:00
Simon L
60bb67f13c Merge pull request #3386 from nextcloud/dependabot/docker/Containers/talk/nats-2.10.0-scratch 2023-09-20 14:29:51 +02:00
dependabot[bot]
d33538839d Bump nats from 2.9.22-scratch to 2.10.0-scratch in /Containers/talk
Bumps nats from 2.9.22-scratch to 2.10.0-scratch.

---
updated-dependencies:
- dependency-name: nats
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-20 12:26:13 +00:00
Simon L
133a7500f9 Merge pull request #3361 from nextcloud/enh/noid/clamav-tini 2023-09-19 15:39:02 +02:00
Simon L
5cc01532d6 Merge pull request #3353 from nextcloud/linux-php-socket 2023-09-19 15:38:37 +02:00
Simon L
18b281e425 Merge pull request #3344 from nextcloud/enh/noid/improve-windows-docs 2023-09-19 15:36:23 +02:00
Simon L
5901559835 Merge pull request #3375 from jahanson/patch-1 2023-09-19 15:15:17 +02:00
Joe Hanson
21919d9166 Moved cloudflare tunnel/nextcloud desktop client documentation to more relevant location
Signed-off-by: Joe Hanson <joe@veri.dev>
2023-09-19 05:45:07 -05:00
Joe Hanson
693b1ecb78 Added link to set chunking on Nextcloud Desktop Client
Signed-off-by: Joe Hanson <joe@veri.dev>
2023-09-18 17:32:31 -05:00
Simon L
215200db9d Merge pull request #3369 from lectrician1/patch-1
Remove backup app suggestion
2023-09-18 09:05:30 +02:00
Seth Deegan
c76b652317 Remove backup app suggestion
Remove suggestion to use Backup Nextcloud App as the app is no longer maintained, stable, or reliably works.

Signed-off-by: Seth Deegan <jayandseth@gmail.com>
2023-09-18 02:27:28 -04:00
Simon L
88b5ee6e1b Merge pull request #3343 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-23.05.4.1.1
Bump collabora/code from 23.05.3.1.1 to 23.05.4.1.1 in /Containers/collabora
2023-09-17 22:50:48 +02:00
Simon L
2c25f550dc Merge pull request #3339 from ten0hira/main
typo fix
2023-09-17 22:50:27 +02:00
Simon L
066e811ccf Merge pull request #3364 from nextcloud/talk-container-update
talk update
2023-09-17 19:54:51 +02:00
szaimen
92555a2ed6 talk-update automated change
Signed-off-by: GitHub <noreply@github.com>
2023-09-17 12:03:02 +00:00
Simon L
59a2a51c6d clamav also uses tini internally
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-09-16 20:57:48 +02:00
Simon L
a2c2182989 Merge pull request #3358 from nextcloud/aio-helm-update
Helm Chart updates
2023-09-16 14:40:24 +02:00
szaimen
7d2695ec11 Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2023-09-16 12:07:04 +00:00
Zoey
b972c99616 use php unix socket (3/3)
Signed-off-by: Zoey <zoey@z0ey.de>
2023-09-16 11:22:41 +02:00
Zoey
14acdbcb5a use php unix socket (2/3)
Signed-off-by: Zoey <zoey@z0ey.de>
2023-09-16 11:21:28 +02:00
Zoey
2cd5d65197 https://github.com/nextcloud/all-in-one/pull/3317#discussion_r1322718024 (1/3)
Signed-off-by: Zoey <zoey@z0ey.de>
2023-09-16 11:20:39 +02:00
Simon L
9b51510fa8 Merge pull request #3335 from nextcloud/aio-yaml-update
Yaml updates
2023-09-16 11:16:01 +02:00
Simon L
7a90abde0a improve docs regarding external drives on docker desktop for windows
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-09-14 15:27:09 +02:00
dependabot[bot]
b0eaf7fa8b Bump collabora/code in /Containers/collabora
Bumps collabora/code from 23.05.3.1.1 to 23.05.4.1.1.

---
updated-dependencies:
- dependency-name: collabora/code
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-14 12:23:17 +00:00
ten0hira
aece5c2bfd Merge pull request #1 from ten0hira/ten0hira-patch-1
Typo fix aio-config.twig
2023-09-14 01:27:01 +03:00
ten0hira
24b7b616d5 Typo fix aio-config.twig
Signed-off-by: ten0hira <85587841+ten0hira@users.noreply.github.com>
2023-09-14 01:26:31 +03:00
szaimen
74e73751b1 Yaml updates
Signed-off-by: GitHub <noreply@github.com>
2023-09-13 12:02:30 +00:00
27 changed files with 50 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
# From a file located probably somewhere here: https://github.com/CollaboraOnline/online/tree/master/docker
FROM collabora/code:23.05.3.1.1
FROM collabora/code:23.05.4.1.1
USER root

View File

@@ -1,5 +1,5 @@
# Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile
FROM elasticsearch:8.9.2
FROM elasticsearch:8.10.1
USER root

View File

@@ -3,7 +3,7 @@ FROM php:8.1.23-fpm-alpine3.18
ENV PHP_MEMORY_LIMIT 512M
ENV PHP_UPLOAD_LIMIT 10G
ENV PHP_MAX_TIME 3600
ENV NEXTCLOUD_VERSION 27.1.0
ENV NEXTCLOUD_VERSION 27.1.1
ENV AIO_TOKEN 123456
ENV AIO_URL localhost

View File

@@ -2,7 +2,7 @@ FROM python:3.11.5-alpine3.18
COPY --chmod=775 start.sh /start.sh
ENV RECORDING_VERSION v17.0.3
ENV RECORDING_VERSION v17.1.0
ENV ALLOW_ALL false
ENV HPB_PROTOCOL https
ENV SKIP_VERIFY false

View File

@@ -1,4 +1,4 @@
FROM nats:2.9.22-scratch as nats
FROM nats:2.10.0-scratch as nats
FROM eturnal/eturnal:1.11.1 AS eturnal
FROM strukturag/nextcloud-spreed-signaling:1.1.3 as signaling
FROM alpine:3.18.3 as janus

View File

@@ -141,11 +141,10 @@ services:
- RECORDING_SECRET=${RECORDING_SECRET}
- TALK_RECORDING_HOST=nextcloud-aio-talk-recording
- FULLTEXTSEARCH_PASSWORD=${FULLTEXTSEARCH_PASSWORD}
- REMOVE_DISABLED_APPS=${REMOVE_DISABLED_APPS}
restart: unless-stopped
networks:
- nextcloud-aio
tmpfs:
- /tmp:exec
nextcloud-aio-notify-push:
image: nextcloud/aio-notify-push:latest

View File

@@ -33,6 +33,7 @@ NEXTCLOUD_MOUNT=/mnt/ # This allows the Nextcloud container to access d
NEXTCLOUD_STARTUP_APPS="deck twofactor_totp tasks calendar contacts notes" # Allows to modify the Nextcloud apps that are installed on starting AIO the first time
NEXTCLOUD_TRUSTED_CACERTS_DIR=/usr/local/share/ca-certificates/my-custom-ca # Nextcloud container will trust all the Certification Authorities, whose certificates are included in the given directory.
NEXTCLOUD_UPLOAD_LIMIT=10G # This allows to change the upload limit of the Nextcloud container
REMOVE_DISABLED_APPS=yes # Setting this to no keep Nextcloud apps that are disabled via their switch and not uninstall them if they should be installed in Nextcloud.
TALK_PORT=3478 # This allows to adjust the port that the talk container is using.
UPDATE_NEXTCLOUD_APPS="no" # When setting to "yes" (with quotes), it will automatically update all installed Nextcloud apps upon container startup on saturdays.
IPV6_NETWORK=fd12:3456:789a:2::/64 # IPv6 subnet to use

View File

@@ -7,7 +7,7 @@ Below is described more in detail how the the second way works.
## Run multiple AIO instances on the same server with docker rootless
1. Create as many linux users as you need first. The easiest way is to use `sudo adduser` and follow the setup for that. Make sure to create a strong unique password for each of them and write it down!
1. Log in as each of the users e.g. by opening a new SSH connection and install docker rootless for each of them by following step 0-4 of the [docker rootless documentation](./docker-rootless.md).
1. Log in as each of the users by opening a new SSH connection as the user and install docker rootless for each of them by following step 0-4 of the [docker rootless documentation](./docker-rootless.md).
1. Then install AIO in reverse proxy mode by using the command that is descriebed in step 2 and 3 of the [reverse proxy documentation](./reverse-proxy.md) but use a different `APACHE_PORT` and [`TALK_PORT`](https://github.com/nextcloud/all-in-one#how-to-adjust-the-talk-port) for each instance as otherwise it will bug out. Also make sure to adjust the docker socket and `WATCHTOWER_DOCKER_SOCKET_PATH` correctly for each of them by following step 6 of the [docker rootless documentation](./docker-rootless.md). Additionally, modify `--publish 8080:8080` to a different port for each container, e.g. `8081:8080` as otherwise it will not work.<br>
**⚠️ Please note:** If you want to adjust the `NEXTCLOUD_DATADIR`, make sure to apply the correct permissions to the chosen path as documented at the bottom of the [docker rootless documentation](./docker-rootless.md). Also for the built-in backup to work, the target path needs to have the correct permissions as documented there, too.
1. Now install your webserver of choice on the host system. It is recommended to use caddy for this as it is by far the easiest solution. You can do so by following https://caddyserver.com/docs/install#debian-ubuntu-raspbian or below. (It needs to be installed directly on the host or on a different server in the same network).

View File

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

View File

@@ -72,7 +72,7 @@ spec:
value: nextcloud-aio-talk
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-apache:20230912_084059-latest
image: nextcloud/aio-apache:20230916_091439-latest
name: nextcloud-aio-apache
ports:
- containerPort: {{ .Values.APACHE_PORT }}

View File

@@ -48,7 +48,7 @@ spec:
value: "90"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-clamav:20230912_084059-latest
image: nextcloud/aio-clamav:20230916_091439-latest
name: nextcloud-aio-clamav
ports:
- containerPort: 3310

View File

@@ -37,7 +37,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 {{ .Values.COLLABORA_SECCOMP_POLICY }} --o:remote_font_config.url=https://{{ .Values.NC_DOMAIN }}/apps/richdocuments/settings/fonts.json
- name: server_name
value: "{{ .Values.NC_DOMAIN }}"
image: nextcloud/aio-collabora:20230912_084059-latest
image: nextcloud/aio-collabora:20230916_091439-latest
name: nextcloud-aio-collabora
ports:
- containerPort: 9980

View File

@@ -67,7 +67,7 @@ spec:
value: nextcloud
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-postgresql:20230912_084059-latest
image: nextcloud/aio-postgresql:20230916_091439-latest
name: nextcloud-aio-database
ports:
- containerPort: 5432

View File

@@ -55,7 +55,7 @@ spec:
value: basic
- name: xpack.security.enabled
value: "false"
image: nextcloud/aio-fulltextsearch:20230912_084059-latest
image: nextcloud/aio-fulltextsearch:20230916_091439-latest
name: nextcloud-aio-fulltextsearch
ports:
- containerPort: 9200

View File

@@ -37,7 +37,7 @@ spec:
- env:
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-imaginary:20230912_084059-latest
image: nextcloud/aio-imaginary:20230916_091439-latest
name: nextcloud-aio-imaginary
ports:
- containerPort: 9000

View File

@@ -30,10 +30,7 @@ spec:
- "777"
- /nextcloud-aio-nextcloud
- /nextcloud-aio-nextcloud-trusted-cacerts
- /nextcloud-aio-nextcloud-tmpfs0
volumeMounts:
- name: nextcloud-aio-nextcloud-tmpfs0
mountPath: /nextcloud-aio-nextcloud-tmpfs0
- name: nextcloud-aio-nextcloud-trusted-cacerts
mountPath: /nextcloud-aio-nextcloud-trusted-cacerts
- name: nextcloud-aio-nextcloud
@@ -102,6 +99,8 @@ spec:
value: nextcloud-aio-redis
- name: REDIS_HOST_PASSWORD
value: "{{ .Values.REDIS_PASSWORD }}"
- name: REMOVE_DISABLED_APPS
value: "{{ .Values.REMOVE_DISABLED_APPS }}"
- name: SIGNALING_SECRET
value: "{{ .Values.SIGNALING_SECRET }}"
- name: STARTUP_APPS
@@ -122,7 +121,7 @@ spec:
value: "{{ .Values.TIMEZONE }}"
- name: UPDATE_NEXTCLOUD_APPS
value: "{{ .Values.UPDATE_NEXTCLOUD_APPS }}"
image: nextcloud/aio-nextcloud:20230912_084059-latest
image: nextcloud/aio-nextcloud:20230916_091439-latest
name: nextcloud-aio-nextcloud
ports:
- containerPort: 9000
@@ -136,8 +135,6 @@ spec:
- mountPath: /usr/local/share/ca-certificates
name: nextcloud-aio-nextcloud-trusted-cacerts
readOnly: true
- mountPath: /tmp
name: nextcloud-aio-nextcloud-tmpfs0
volumes:
- name: nextcloud-aio-nextcloud
persistentVolumeClaim:
@@ -148,5 +145,3 @@ spec:
- name: nextcloud-aio-nextcloud-trusted-cacerts
persistentVolumeClaim:
claimName: nextcloud-aio-nextcloud-trusted-cacerts
- emptyDir: {}
name: nextcloud-aio-nextcloud-tmpfs0

View File

@@ -50,7 +50,7 @@ spec:
value: nextcloud-aio-redis
- name: REDIS_HOST_PASSWORD
value: "{{ .Values.REDIS_PASSWORD }}"
image: nextcloud/aio-notify-push:20230912_084059-latest
image: nextcloud/aio-notify-push:20230916_091439-latest
name: nextcloud-aio-notify-push
ports:
- containerPort: 7867

View File

@@ -43,7 +43,7 @@ spec:
value: "{{ .Values.ONLYOFFICE_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-onlyoffice:20230912_084059-latest
image: nextcloud/aio-onlyoffice:20230916_091439-latest
name: nextcloud-aio-onlyoffice
ports:
- containerPort: 80

View File

@@ -38,7 +38,7 @@ spec:
value: "{{ .Values.REDIS_PASSWORD }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-redis:20230912_084059-latest
image: nextcloud/aio-redis:20230916_091439-latest
name: nextcloud-aio-redis
ports:
- containerPort: 6379

View File

@@ -59,7 +59,7 @@ spec:
value: "{{ .Values.TURN_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-talk:20230912_084059-latest
image: nextcloud/aio-talk:20230916_091439-latest
name: nextcloud-aio-talk
ports:
- containerPort: {{ .Values.TALK_PORT }}

View File

@@ -46,7 +46,7 @@ spec:
value: "{{ .Values.RECORDING_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-talk-recording:20230912_084059-latest
image: nextcloud/aio-talk-recording:20230916_091439-latest
name: nextcloud-aio-talk-recording
ports:
- containerPort: 1234

View File

@@ -30,6 +30,7 @@ NEXTCLOUD_MEMORY_LIMIT: 512M # This allows to change the PHP memory lim
NEXTCLOUD_STARTUP_APPS: deck twofactor_totp tasks calendar contacts notes # Allows to modify the Nextcloud apps that are installed on starting AIO the first time
NEXTCLOUD_TRUSTED_CACERTS_DIR: # Setting this to any value allows to automatically import root certificates into the Nextcloud container
NEXTCLOUD_UPLOAD_LIMIT: 10G # This allows to change the upload limit of the Nextcloud container
REMOVE_DISABLED_APPS: yes # Setting this to no keep Nextcloud apps that are disabled via their switch and not uninstall them if they should be installed in Nextcloud.
TALK_PORT: 3478 # This allows to adjust the port that the talk container is using.
UPDATE_NEXTCLOUD_APPS: no # When setting to yes (with quotes), it will automatically update all installed Nextcloud apps upon container startup on saturdays.
NAMESPACE: default # By changing this, you can adjust the namespace of the installation which allows to install multiple instances on one kubernetes cluster

View File

@@ -507,7 +507,7 @@
"container_name": "nextcloud-aio-clamav",
"display_name": "ClamAV",
"image": "nextcloud/aio-clamav",
"init": true,
"init": false,
"expose": [
"3310"
],

View File

@@ -16,7 +16,7 @@
</header>
<div class="content">
<h1>Nextcloud AIO v7.2.1</h1>
<h1>Nextcloud AIO v7.3.0</h1>
{# Add 2nd tab warning #}
<script type="text/javascript" src="second-tab-warning.js"></script>

View File

@@ -1,7 +1,7 @@
<details>
<summary>Click here to view the current AIO config and documentation links</summary><br />
{% if was_start_button_clicked == true %}
Nextclouds config.php file is stored in the nextcloud_aio_nextcloud Docker volume and can by edited by following the <a href="https://github.com/nextcloud/all-in-one#how-to-edit-nextclouds-configphp-file-with-a-texteditor">config.php documentation</a>.<br><br>
Nextclouds config.php file is stored in the nextcloud_aio_nextcloud Docker volume and can be edited by following the <a href="https://github.com/nextcloud/all-in-one#how-to-edit-nextclouds-configphp-file-with-a-texteditor">config.php documentation</a>.<br><br>
You can run Nextcloud's usual occ commands by following the <a href="https://github.com/nextcloud/all-in-one#how-to-run-occ-commands">occ documentation</a></b>.<br><br>
{% endif %}

View File

@@ -2,5 +2,5 @@ The folder path that you enter must start with <b>/</b> and must <b>not</b> end
An example for Linux is <b>/mnt/backup</b>.<br><br>
On Synology it could be <b>/volume1/docker/nextcloud/backup</b>.<br><br>
For macOS it may be <b>/var/backup</b>.<br><br>
On Windows it might be <b>/run/desktop/mnt/host/c/backup</b>. (This path is equivalent to 'C:\backup' on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with '/run/desktop/mnt/host/'. Append to that the exact location on your windows host, e.g. 'c/backup' which is equivalent to 'C:\backup'.)<br><br>
Another option is to enter a specific volume name here: <b>nextcloud_aio_backupdir</b>. This volume needs to be created beforehand manually by you in order to be able to use it.<br><br>
On Windows it might be <b>/run/desktop/mnt/host/c/backup</b>. (This path is equivalent to 'C:\backup' on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with '/run/desktop/mnt/host/'. Append to that the exact location on your windows host, e.g. 'c/backup' which is equivalent to 'C:\backup'.) ⚠️ <b>Please note</b>: This does not work with external drives like USB or network drives and only with internal drives like SATA or NVME drives.<br><br>
Another option is to enter a specific volume name here: <b>nextcloud_aio_backupdir</b>. This volume needs to be created beforehand manually by you in order to be able to use it. See <a href="https://github.com/nextcloud/all-in-one#how-to-create-the-backup-volume-on-windows">this documentation</a> for an example.<br><br>

View File

@@ -209,6 +209,7 @@ Another but untested way is to install Portainer on your TrueNAS SCALE from here
- It is known that the domain validation may not work correctly behind Cloudflare since Cloudflare might block the validation attempt. You can simply skip it in that case by following: https://github.com/nextcloud/all-in-one#how-to-skip-the-domain-validation
- Make sure to [disable Cloudflares Rocket Loader feature](https://help.nextcloud.com/t/login-page-not-working-solved/149417/8) as otherwise Nextcloud's login prompt will not be shown.
- Cloudflare only supports uploading files up to 100 MB in the free plan, if you try to upload bigger files you will get an error (413 - Payload Too Large) if no chunking is used (e.g. for public uploads in the web, or if chunks are configured to be bigger than 100 MB in the clients or the web). If you need to upload bigger files, you need to disable the proxy option in your DNS settings, or you must use another proxy than Cloudflare tunnels. Both options will disable Cloudflare DDoS protection.
- If using Cloudflare Tunnel and the Nextcloud Desktop Client [Set Chunking on Nextcloud Desktop Client](https://github.com/nextcloud/desktop/issues/4271#issuecomment-1159578065)
- Cloudflare only allows a max timeout of 100s for requests which is not configurable. This means that any server-side processing e.g. for assembling chunks for big files during upload that take longer than 100s will simply not work. See https://github.com/nextcloud/server/issues/19223. If you need to upload big files reliably, you need to disable the proxy option in your DNS settings, or you must use another proxy than Cloudflare tunnels. Both options will disable Cloudflare DDoS protection.
- It is known that the in AIO included collabora (Nextcloud Office) does not work out of the box behind Cloudflare. To make it work, you need to add all [Cloudflare IP-ranges](https://www.cloudflare.com/ips/) to the wopi-allowlist in `https://yourdomain.com/settings/admin/richdocuments`
- Cloudflare Proxy might block the Turnserver for Nextcloud Talk from working correctly. You might want to disable Cloudflare Proxy thus. See https://github.com/nextcloud/all-in-one/discussions/2463#discussioncomment-5779981
@@ -286,7 +287,7 @@ Yes. If SELinux is enabled, you might need to add the `--security-opt label:disa
Simply run the following: `sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ your-command`. Of course `your-command` needs to be exchanged with the command that you want to run.
### How to resolve `Security & setup warnings displays the "missing default phone region" after initial install`?
Simply run the following command: `sudo docker exec --user www-data nextcloud-aio-nextcloud php occ config:system:set default_phone_region --value="yourvalue"`. Of course you need to modify `yourvalue` based on your location. Examples are `DE`, `EN` and `GB`. See this list for more codes: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
Simply run the following command: `sudo docker exec --user www-data nextcloud-aio-nextcloud php occ config:system:set default_phone_region --value="yourvalue"`. Of course you need to modify `yourvalue` based on your location. Examples are `DE`, `US` and `GB`. See this list for more codes: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
### How to run multiple AIO instances on one server?
See [multiple-instances.md](./multiple-instances.md) for some documentation on this.
@@ -376,7 +377,6 @@ Not directly but you have multiple options to achieve this:
- Use rsync or rclone for syncing the borg backup archive that AIO creates locally to a remote target (make sure to lock the backup archive correctly before starting the sync; search for "aio-lockfile"; you can find a local example script here: https://github.com/nextcloud/all-in-one#sync-the-backup-regularly-to-another-drive)
- You can find a well written guide that uses rclone and e.g. BorgBase for remote backups here: https://github.com/nextcloud/all-in-one/discussions/2247
- create your own backup solution using a script and borg, borgmatic or any other to backup tool for backing up to a remote target (make sure to stop and start the AIO containers correctly following https://github.com/nextcloud/all-in-one#how-to-enable-automatic-updates-without-creating-a-backup-beforehand)
- Additionally, there is the [backup app](https://apps.nextcloud.com/apps/backup) for remote backups
---
@@ -385,6 +385,20 @@ If you are running AIO in a LXC container, you need to make sure that FUSE is en
---
#### How to create the backup volume on Windows?
As stated in the AIO interface, it is possible to use a docker volume as backup target. Before you can use that, you need to create it first. Here is an example how to create one on Windows:
```
docker volume create ^
--driver local ^
--name nextcloud_aio_backupdir ^
-o device="/host_mnt/e/your/backup/path" ^
-o type="none" ^
-o o="bind"
```
In this example, it would mount `E:\your\backup\path` into the volume so for a different location you need to adjust `/host_mnt/e/your/backup/path` accordingly. Afterwards enter `nextcloud_aio_backupdir` in the AIO interface as backup location.
---
#### Pro-tip: Backup archives access
You can open the BorgBackup archives on your host by following these steps:<br>
(instructions for Ubuntu Desktop)
@@ -556,16 +570,17 @@ You can configure the Nextcloud container to use a specific directory on your ho
- An example for Linux is `--env NEXTCLOUD_DATADIR="/mnt/ncdata"`. ⚠️ Please note: If you should be using an external BTRFS drive that is mounted to `/mnt/ncdata`, make sure to choose a subfolder like e.g. `/mnt/ncdata/nextcloud` as datadir, since the root folder is not suited as datadir in that case. See https://github.com/nextcloud/all-in-one/discussions/2696.
- On macOS it might be `--env NEXTCLOUD_DATADIR="/var/nextcloud-data"`
- For Synology it may be `--env NEXTCLOUD_DATADIR="/volume1/docker/nextcloud/data"`.
- On Windows it might be `--env NEXTCLOUD_DATADIR="/run/desktop/mnt/host/c/ncdata"`. (This path is equivalent to `C:\ncdata` on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with `/run/desktop/mnt/host/`. Append to that the exact location on your windows host, e.g. `c/ncdata` which is equivalent to `C:\ncdata`.)
- Another option is to provide a specific volume name here with: `--env NEXTCLOUD_DATADIR="nextcloud_aio_nextcloud_datadir"`. This volume needs to be created beforehand manually by you in order to be able to use it. e.g. with:
- On Windows it might be `--env NEXTCLOUD_DATADIR="/run/desktop/mnt/host/c/ncdata"`. (This path is equivalent to `C:\ncdata` on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with `/run/desktop/mnt/host/`. Append to that the exact location on your windows host, e.g. `c/ncdata` which is equivalent to `C:\ncdata`.) ⚠️ **Please note**: This does not work with external drives like USB or network drives and only with internal drives like SATA or NVME drives.
- Another option is to provide a specific volume name here with: `--env NEXTCLOUD_DATADIR="nextcloud_aio_nextcloud_datadir"`. This volume needs to be created beforehand manually by you in order to be able to use it. e.g. on Windows with:
```
docker volume create ^
--driver local ^
--name nextcloud_aio_nextcloud_datadir ^
-o device="/host_mnt/c/your/data/path" ^
-o device="/host_mnt/e/your/data/path" ^
-o type="none" ^
-o o="bind"
```
In this example, it would mount `E:\your\data\path` into the volume so for a different location you need to adjust `/host_mnt/e/your/data/path` accordingly.
### Can I use a CIFS/SMB share as Nextcloud's datadir?
@@ -590,7 +605,7 @@ By default, the Nextcloud container is confined and cannot access directories on
- Two examples for Linux are `--env NEXTCLOUD_MOUNT="/mnt/"` and `--env NEXTCLOUD_MOUNT="/media/"`.
- On macOS it might be `--env NEXTCLOUD_MOUNT="/Volumes/your_drive/"`
- For Synology it may be `--env NEXTCLOUD_MOUNT="/volume1/"`.
- On Windows it might be `--env NEXTCLOUD_MOUNT="/run/desktop/mnt/host/d/your-folder/"`. (This path is equivalent to `D:\your-folder` on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with `/run/desktop/mnt/host/`. Append to that the exact location on your windows host, e.g. `d/your-folder/` which is equivalent to `D:\your-folder`.)
- On Windows it might be `--env NEXTCLOUD_MOUNT="/run/desktop/mnt/host/d/your-folder/"`. (This path is equivalent to `D:\your-folder` on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with `/run/desktop/mnt/host/`. Append to that the exact location on your windows host, e.g. `d/your-folder/` which is equivalent to `D:\your-folder`.) ⚠️ **Please note**: This does not work with external drives like USB or network drives and only with internal drives like SATA or NVME drives.
After using this option, please make sure to apply the correct permissions to the directories that you want to use in Nextcloud. E.g. `sudo chown -R 33:0 /mnt/your-drive-mountpoint` and `sudo chmod -R 750 /mnt/your-drive-mountpoint` should make it work on Linux when you have used `--env NEXTCLOUD_MOUNT="/mnt/"`. On Windows you could do this e.g. with `docker exec -it nextcloud-aio-nextcloud chown -R 33:0 /run/desktop/mnt/host/d/your-folder/` and `docker exec -it nextcloud-aio-nextcloud chmod -R 750 /run/desktop/mnt/host/d/your-folder/`.