Compare commits

...

44 Commits

Author SHA1 Message Date
Simon L
f0e206b60d add some more docs for facerecognition
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-10 12:24:45 +01:00
Simon L
d9c90afd00 increase to 7.10.0
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-10 12:00:50 +01:00
Simon L
e06f22e01b Merge pull request #4028 from nextcloud/fix/4027/fix-postgres-variable
notify-push - fix postgres_user variable
2024-01-10 12:00:14 +01:00
Simon L
6b47d8dce1 Merge pull request #4021 from nextcloud/enh/4006/datadir-check
borgbackup - add check for .ocdata file for datadir
2024-01-10 11:59:50 +01:00
Simon L
031d4cd19c notify-push - fix postgres_user variable
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-10 11:58:31 +01:00
Simon L
6e8fee9d9e Merge pull request #4024 from nextcloud/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2024-01-10 08:55:34 +01:00
nextcloud-command
40062e6fb7 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-01-10 04:09:14 +00:00
Simon L
a7d915b40d Merge pull request #4020 from nextcloud/aio-helm-update
Helm Chart updates
2024-01-09 13:32:28 +01:00
Simon L
0be0c00a2c borgbackup - add check for .ocdata file for datadir
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-09 13:17:24 +01:00
szaimen
a8cbdbf19f Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2024-01-09 12:08:30 +00:00
Simon L
2dc4358b9f Merge pull request #3999 from nextcloud/enh/noid/add-facerecognition
community-containers - add facerecognition
2024-01-09 10:37:51 +01:00
Simon L
b04fd9c07c Merge pull request #4014 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-23.05.6.5.1
Bump collabora/code from 23.05.6.4.1 to 23.05.6.5.1 in /Containers/collabora
2024-01-09 10:37:02 +01:00
Simon L
0c14a7d222 Merge pull request #4015 from nextcloud/dependabot/docker/Containers/clamav/clamav/clamav-1.2.1-25
Bump clamav/clamav from 1.2.1-24 to 1.2.1-25 in /Containers/clamav
2024-01-09 10:36:21 +01:00
Simon L
2d4dd545e0 Merge pull request #4018 from kri164/patch-1
Update readme.md mistypo
2024-01-09 10:17:09 +01:00
kri164
8e1884e832 Update readme.md mistypo
Correct MSA port 578 -> 587

Signed-off-by: kri164 <52274164+kri164@users.noreply.github.com>
2024-01-09 09:13:34 +01:00
dependabot[bot]
9a30bd1527 Bump clamav/clamav from 1.2.1-24 to 1.2.1-25 in /Containers/clamav
Bumps clamav/clamav from 1.2.1-24 to 1.2.1-25.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 13:00:00 +00:00
dependabot[bot]
592e910da6 Bump collabora/code in /Containers/collabora
Bumps collabora/code from 23.05.6.4.1 to 23.05.6.5.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 12:54:06 +00:00
Simon L
a126cfceaf enable previews for modern file formats and add some docs
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-05 22:40:52 +01:00
Simon L
8fc41130a0 address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-05 10:52:09 +01:00
Simon L
2197a3bdbf add fuse hint regarding alpine linux
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-05 10:26:01 +01:00
Simon L
bd3fc82923 community-containers - add facerecognition
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-04 12:19:39 +01:00
Simon L
5ca8025dcd increase to 7.9.1
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-02 12:33:48 +01:00
Simon L
53a9012b43 Merge pull request #3992 from nextcloud/enh/noid/re-add-secret
talk-recording - re-add secret to backend conf
2024-01-02 11:32:22 +01:00
Simon L
7fcc519d44 talk-recording - re-add secret to backend conf
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-02 11:29:55 +01:00
Simon L
8bf71c1052 Merge pull request #3972 from PreciousChicken/add-skeleton-directory-context
Add context to custom skeleton directory howto in readme
2024-01-02 11:01:12 +01:00
Simon L
df49342fb1 Merge pull request #3981 from nextcloud/dependabot/docker/Containers/clamav/clamav/clamav-1.2.1-24
Bump clamav/clamav from 1.2.1-21 to 1.2.1-24 in /Containers/clamav
2024-01-02 10:56:13 +01:00
Simon L
a13be4c09a Merge pull request #3970 from nextcloud/dependabot/docker/Containers/nextcloud/php-8.1.27-fpm-alpine3.18
Bump php from 8.1.26-fpm-alpine3.18 to 8.1.27-fpm-alpine3.18 in /Containers/nextcloud
2024-01-02 10:55:56 +01:00
Simon L
a46cbc0974 Merge pull request #3969 from nextcloud/dependabot/docker/Containers/mastercontainer/php-8.2.14-fpm-alpine3.18
Bump php from 8.2.13-fpm-alpine3.18 to 8.2.14-fpm-alpine3.18 in /Containers/mastercontainer
2024-01-02 10:55:39 +01:00
Simon L
cde30ac81d Merge pull request #3955 from nextcloud/dependabot/docker/Containers/collabora/collabora/code-23.05.6.4.1
Bump collabora/code from 23.05.5.4.1 to 23.05.6.4.1 in /Containers/collabora
2024-01-02 10:53:52 +01:00
Simon L
28c6ba50fc Merge pull request #3941 from nextcloud/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2024-01-02 10:52:58 +01:00
Simon L
7c6574f389 Merge pull request #3935 from nextcloud/dependabot/docker/Containers/fulltextsearch/elasticsearch-8.11.3
Bump elasticsearch from 8.11.0 to 8.11.3 in /Containers/fulltextsearch
2024-01-02 10:52:41 +01:00
Simon L
c1dab5790c Merge pull request #3931 from tar-xz/main
Unify `<your-nc-domain>` throughout the doc
2024-01-02 10:52:14 +01:00
dependabot[bot]
12b914f731 Bump clamav/clamav from 1.2.1-21 to 1.2.1-24 in /Containers/clamav
Bumps clamav/clamav from 1.2.1-21 to 1.2.1-24.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-01 12:59:44 +00:00
William Wong
2cd8eaa269 Merge branch 'nextcloud:main' into main 2023-12-30 18:50:35 +08:00
nextcloud-command
8a296415fd Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2023-12-30 04:28:18 +00:00
Simon L
507b17d8a9 adjust the main features to make clear that most are optional
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-12-29 22:58:52 +01:00
dependabot[bot]
5c5c66cedd Bump php in /Containers/nextcloud
Bumps php from 8.1.26-fpm-alpine3.18 to 8.1.27-fpm-alpine3.18.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-28 12:57:47 +00:00
dependabot[bot]
ef257bbce9 Bump php in /Containers/mastercontainer
Bumps php from 8.2.13-fpm-alpine3.18 to 8.2.14-fpm-alpine3.18.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-28 12:15:32 +00:00
PreciousChicken
055c55ebfd Add context to custom skeleton directory howto
Currently the README section that describes how to change the custom
skeleton directory does not explain why an administrator may wish to
do this.  This addition to the documentation provides context: a custom
skeleton directory is created to change the default files and folders
that ship with Nextcloud.

Signed-off-by: J Hackman <gene@preciouschicken.com>
2023-12-28 12:10:37 +00:00
dependabot[bot]
275e6099dd Bump collabora/code in /Containers/collabora
Bumps collabora/code from 23.05.5.4.1 to 23.05.6.4.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-21 12:14:23 +00:00
Simon L
d38468d0b4 Merge pull request #3951 from nextcloud/aio-helm-update
Helm Chart updates
2023-12-20 16:39:58 +01:00
szaimen
66a04cb436 Helm Chart updates
Signed-off-by: GitHub <noreply@github.com>
2023-12-20 15:38:41 +00:00
dependabot[bot]
f9601276f0 Bump elasticsearch from 8.11.0 to 8.11.3 in /Containers/fulltextsearch
Bumps elasticsearch from 8.11.0 to 8.11.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-15 12:56:02 +00:00
William Wong
5c3be60532 Unify <your-nc-domain> throughout the doc
Signed-off-by: William Wong <46506352+tar-xz@users.noreply.github.com>
2023-12-14 10:34:57 +00:00
28 changed files with 108 additions and 35 deletions

View File

@@ -69,6 +69,11 @@ if [ "$BORG_MODE" = backup ]; then
exit 1
elif ! [ -f "/nextcloud_aio_volumes/nextcloud_aio_database_dump/database-dump.sql" ]; then
echo "database-dump is missing. Cannot perform backup!"
echo "Please check the database container logs!"
exit 1
elif ! [ -f "/nextcloud_aio_volumes/nextcloud_aio_nextcloud_data/.ocdata" ]; then
echo "The .ocdata file is missing in Nextcloud datadir which means it is invalid!"
echo "Is the drive where the datadir is located on still mounted?"
exit 1
fi

View File

@@ -1,5 +1,5 @@
# Probably from this file: https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/1.1/alpine/Dockerfile
FROM clamav/clamav:1.2.1-21
FROM clamav/clamav:1.2.1-25
COPY clamav.conf /tmp/clamav.conf

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.5.4.1
FROM collabora/code:23.05.6.5.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.11.0
FROM elasticsearch:8.11.3
USER root

View File

@@ -5,7 +5,7 @@ FROM docker:24.0.7-cli as docker
FROM caddy:2.7.6-alpine as caddy
# From https://github.com/docker-library/php/blob/master/8.2/alpine3.18/fpm/Dockerfile
FROM php:8.2.13-fpm-alpine3.18
FROM php:8.2.14-fpm-alpine3.18
EXPOSE 80
EXPOSE 8080

View File

@@ -1,4 +1,4 @@
FROM php:8.1.26-fpm-alpine3.18
FROM php:8.1.27-fpm-alpine3.18
ENV PHP_MEMORY_LIMIT 512M
ENV PHP_UPLOAD_LIMIT 10G

View File

@@ -45,7 +45,7 @@ fi
echo "notify-push was started"
# Set sensitive values as env
export DATABASE_URL="postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST/$POSTGRES_DB"
export DATABASE_URL="postgres://oc_$POSTGRES_USER:$POSTGRES_PASSWORD@$POSTGRES_HOST/$POSTGRES_DB"
export REDIS_URL="redis://:$REDIS_HOST_PASSWORD@$REDIS_HOST"
# Run it

View File

@@ -26,6 +26,8 @@ listen = 0.0.0.0:1234
[backend]
allowall = ${ALLOW_ALL}
# The secret below is still needed if allowall is set to true, also it doesn't hurt to be here
secret = ${RECORDING_SECRET}
backends = backend-1
skipverify = ${SKIP_VERIFY}
maxmessagesize = 1024

View File

@@ -0,0 +1,35 @@
{
"aio_services_v1": [
{
"container_name": "nextcloud-aio-facerecognition",
"display_name": "Computing container for facerecognition",
"documentation": "https://github.com/nextcloud/all-in-one/tree/main/community-containers/facerecognition",
"image": "matiasdelellis/facerecognition-external-model",
"image_tag": "initial",
"internal_port": "5000",
"restart": "unless-stopped",
"environment": [
"TZ=%TIMEZONE%",
"API_KEY=some-super-secret-api-key"
],
"aio_variables": [
"nextcloud_memory_limit=4096M"
],
"nextcloud_exec_commands": [
"php /var/www/html/occ app:install facerecognition",
"php /var/www/html/occ app:enable facerecognition",
"php /var/www/html/occ config:system:set facerecognition.external_model_url --value nextcloud-aio-facerecognition:5000",
"php /var/www/html/occ config:system:set facerecognition.external_model_api_key --value some-super-secret-api-key",
"php /var/www/html/occ face:setup -m 5",
"php /var/www/html/occ face:setup -M 4G",
"php /var/www/html/occ config:app:set facerecognition analysis_image_area --value 4320000",
"php /var/www/html/occ config:system:set enabledFaceRecognitionMimetype 0 --value image/jpeg",
"php /var/www/html/occ config:system:set enabledFaceRecognitionMimetype 1 --value image/png",
"php /var/www/html/occ config:system:set enabledFaceRecognitionMimetype 2 --value image/heic",
"php /var/www/html/occ config:system:set enabledFaceRecognitionMimetype 3 --value image/tiff",
"php /var/www/html/occ config:system:set enabledFaceRecognitionMimetype 4 --value image/webp",
"php /var/www/html/occ face:background_job --defer-clustering &"
]
}
]
}

View File

@@ -0,0 +1,31 @@
## Facerecognition
This container bundles the external model of facerecognition and auto-configures it for you.
### Notes
- This container needs imaginary in order to analyze modern file format images. Make sure to enable imaginary in the AIO interface before adding this container.
- Facerecognition is by default disabled for all users, if you want to enable facerecognition for all users, you can run the following before adding this container:
```bash
# Go into the container
sudo docker exec --user www-data -it nextcloud-aio-nextcloud bash
```
Now inside the container:
```bash
NC_USERS_NEW=$(php occ user:list | sed 's|^ - ||g' | sed 's|:.*||')
mapfile -t NC_USERS_NEW <<< "$NC_USERS_NEW"
for user in "${NC_USERS_NEW[@]}"
do
php occ user:setting "$user" facerecognition full_image_scan_done false
php occ user:setting "$user" facerecognition enabled true
done
# Exit the container shell
exit
```
- If facerecognition shall analyze shared files & folders (`sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:app:set facerecognition handle_shared_files --value true`), groupfolders (`sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:app:set facerecognition handle_group_files --value true`) and/or external storages (`sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:app:set facerecognition handle_external_files --value true`) in Nextcloud, you need to enable support for it manually first by running the mentioned commands before adding this container. See https://github.com/matiasdelellis/facerecognition/wiki/Settings#hidden-settings for further notes on each of these settings.
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack
### Repository
https://github.com/matiasdelellis/facerecognition-external-model
### Maintainer
https://github.com/matiasdelellis

View File

@@ -3,7 +3,7 @@ This container bundles stalwart mail server and auto-configures it for you.
### Notes
- This is only intended to run on a VPS with static ip-address.
- Check with `sudo netstat -tulpn` that no other service is using port 25, 143, 465, 578, 993 nor 4190 yet as otherwise the container will fail to start.
- Check with `sudo netstat -tulpn` that no other service is using port 25, 143, 465, 587, 993 nor 4190 yet as otherwise the container will fail to start.
- You need to configure a reverse proxy in order to run this container since stalwart needs a dedicated (sub)domain! For that, you might have a look at https://github.com/nextcloud/all-in-one/tree/main/community-containers/caddy.
- Currently, only `mail.$NC_DOMAIN` is supported as subdomain! So if Nextcloud is using `your-domain.com`, Stalwart will use `mail.your-domain.com`.
- The data of Stalwart will be automatically included in AIOs backup solution!

View File

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

View File

@@ -57,7 +57,7 @@ spec:
value: nextcloud-aio-talk
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-apache:20231212_115941-latest
image: nextcloud/aio-apache:20240109_092105-latest
name: nextcloud-aio-apache
ports:
- containerPort: {{ .Values.APACHE_PORT }}

View File

@@ -50,7 +50,7 @@ spec:
value: "90"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-clamav:20231212_115941-latest
image: nextcloud/aio-clamav:20240109_092105-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:20231212_115941-latest
image: nextcloud/aio-collabora:20240109_092105-latest
name: nextcloud-aio-collabora
ports:
- containerPort: 9980

View File

@@ -61,7 +61,7 @@ spec:
value: nextcloud
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-postgresql:20231212_115941-latest
image: nextcloud/aio-postgresql:20240109_092105-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:20231212_115941-latest
image: nextcloud/aio-fulltextsearch:20240109_092105-latest
name: nextcloud-aio-fulltextsearch
ports:
- containerPort: 9200

View File

@@ -27,7 +27,7 @@ spec:
- env:
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-imaginary:20231212_115941-latest
image: nextcloud/aio-imaginary:20240109_092105-latest
name: nextcloud-aio-imaginary
ports:
- containerPort: 9000

View File

@@ -158,7 +158,7 @@ spec:
value: "{{ .Values.TIMEZONE }}"
- name: UPDATE_NEXTCLOUD_APPS
value: "{{ .Values.UPDATE_NEXTCLOUD_APPS }}"
image: nextcloud/aio-nextcloud:20231212_115941-latest
image: nextcloud/aio-nextcloud:20240109_092105-latest
name: nextcloud-aio-nextcloud
ports:
- containerPort: 9000

View File

@@ -50,7 +50,7 @@ spec:
value: nextcloud-aio-redis
- name: REDIS_HOST_PASSWORD
value: "{{ .Values.REDIS_PASSWORD }}"
image: nextcloud/aio-notify-push:20231212_115941-latest
image: nextcloud/aio-notify-push:20240109_092105-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:20231212_115941-latest
image: nextcloud/aio-onlyoffice:20240109_092105-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:20231212_115941-latest
image: nextcloud/aio-redis:20240109_092105-latest
name: nextcloud-aio-redis
ports:
- containerPort: 6379

View File

@@ -37,7 +37,7 @@ spec:
value: "{{ .Values.TURN_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-talk:20231212_115941-latest
image: nextcloud/aio-talk:20240109_092105-latest
name: nextcloud-aio-talk
ports:
- containerPort: {{ .Values.TALK_PORT }}

View File

@@ -33,7 +33,7 @@ spec:
value: "{{ .Values.RECORDING_SECRET }}"
- name: TZ
value: "{{ .Values.TIMEZONE }}"
image: nextcloud/aio-talk-recording:20231212_115941-latest
image: nextcloud/aio-talk-recording:20240109_092105-latest
name: nextcloud-aio-talk-recording
ports:
- containerPort: 1234

View File

@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.17.0@c620f6e80d0abfca532b00bda366062aaedf6e5d"/>
<files psalm-version="5.19.0@06b71be009a6bd6d81b9811855d6629b9fe90e1b"/>

View File

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

View File

@@ -3,14 +3,14 @@ The official Nextcloud installation method. Nextcloud AIO provides easy deployme
Included are:
- Nextcloud
- Nextcloud Office
- High performance backend for Nextcloud Files
- High performance backend for Nextcloud Talk and TURN-server
- Nextcloud Talk Recording-server
- Backup solution (based on [BorgBackup](https://github.com/borgbackup/borg#what-is-borgbackup))
- Imaginary (for previews of heic, heif, illustrator, pdf, svg, tiff and webp)
- ClamAV (Antivirus backend for Nextcloud)
- Fulltextsearch
- Nextcloud Office (optional)
- High performance backend for Nextcloud Talk and TURN-server (optional)
- Nextcloud Talk Recording-server (optional)
- Backup solution (optional, based on [BorgBackup](https://github.com/borgbackup/borg#what-is-borgbackup))
- Imaginary (optional, for previews of heic, heif, illustrator, pdf, svg, tiff and webp)
- ClamAV (optional, Antivirus backend for Nextcloud)
- Fulltextsearch (optional)
<details><summary>And much more:</summary>
- Simple web interface included that enables easy installation and maintenance
@@ -388,7 +388,7 @@ Not directly but you have multiple options to achieve this:
---
#### Failure of the backup container in LXC containers
If you are running AIO in a LXC container, you need to make sure that FUSE is enabled in the LXC container settings. Otherwise the backup container will not be able to start as FUSE is required for it to work.
If you are running AIO in a LXC container, you need to make sure that FUSE is enabled in the LXC container settings. Also, if using Alpine Linux as host OS, make sure to add fuse via `apk add fuse`. Otherwise the backup container will not be able to start as FUSE is required for it to work.
---
@@ -663,7 +663,7 @@ Some Nextcloud apps require additional php extensions that must be bundled withi
You can do so by adding `--env NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS="imagick extension1 extension2"` to the docker run command of the mastercontainer (but before the last line `nextcloud/all-in-one:latest`! If it was started already, you will need to stop the mastercontainer, remove it (no data will be lost) and recreate it using the docker run command that you initially used) and customize the value to your fitting. It must be a string with small letters a-z, digits 0-9, spaces, dots and hyphens or '_'. You can find available extensions here: https://pecl.php.net/packages.php. By default `imagick` is added. If you want to keep it, you need to specify it as well.
### What about the pdlib PHP extension for the facerecognition app?
The [facerecognition app](https://apps.nextcloud.com/apps/facerecognition) requires the pdlib PHP extension to be installed. Unfortunately, it is not available on PECL nor via PHP core, so there is no way to add this into AIO currently. However you can vote up [this issue](https://github.com/goodspb/pdlib/issues/56) to bring it to PECL and there is the [recognize app](https://apps.nextcloud.com/apps/recognize) that also allows to do face-recognition.
The [facerecognition app](https://apps.nextcloud.com/apps/facerecognition) requires the pdlib PHP extension to be installed. Unfortunately, it is not available on PECL nor via PHP core, so there is no way to add this into AIO currently. However you can use [this community container](https://github.com/nextcloud/all-in-one/tree/main/community-containers/facerecognition) in order to run facerecognition.
### How to enable hardware-transcoding for Nextcloud?
⚠️⚠️⚠️ Warning: this only works if the `/dev/dri` device is present on the host! If it does not exists on your host, don't proceed as otherwise the Nextcloud container will fail to start! If you are unsure about this, better do not proceed with the instructions below.
@@ -688,8 +688,8 @@ You can move the whole docker library and all its files including all Nextcloud
### How to edit Nextclouds config.php file with a texteditor?
You can edit Nextclouds config.php file directly from the host with your favorite text editor. E.g. like this: `sudo docker run -it --rm --volume nextcloud_aio_nextcloud:/var/www/html:rw alpine sh -c "apk add --no-cache nano && nano /var/www/html/config/config.php"`. Make sure to not break the file though which might corrupt your Nextcloud instance otherwise. In best case, create a backup using the built-in backup solution before editing the file.
### Custom skeleton directory
If you want to define a custom skeleton directory, you can do so by copying your skeleton files `sudo docker cp --follow-link /path/to/nextcloud/skeleton/ nextcloud-aio-nextcloud:/mnt/ncdata/skeleton/`, applying the correct permissions with `sudo docker exec nextcloud-aio-nextcloud chown -R 33:0 /mnt/ncdata/skeleton/` and `sudo docker exec nextcloud-aio-nextcloud chmod -R 750 /mnt/ncdata/skeleton/` and setting the skeleton directory option with `sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:system:set skeletondirectory --value="/mnt/ncdata/skeleton"`. You can read further on this option here: [click here](https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/config_sample_php_parameters.html?highlight=skeletondir#:~:text=adding%20%3Fdirect%3D1-,'skeletondirectory',-%3D%3E%20'%2Fpath%2Fto%2Fnextcloud)
### How to change default files by creating a custom skeleton directory?
All users see a set of [default files and folders](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/default_files_configuration.html) as dictated by Nextcloud's configuration. To change these default files and folders a custom skeleton directory must first be created; this can be accomplished by copying your skeleton files `sudo docker cp --follow-link /path/to/nextcloud/skeleton/ nextcloud-aio-nextcloud:/mnt/ncdata/skeleton/`, applying the correct permissions with `sudo docker exec nextcloud-aio-nextcloud chown -R 33:0 /mnt/ncdata/skeleton/` and `sudo docker exec nextcloud-aio-nextcloud chmod -R 750 /mnt/ncdata/skeleton/` and setting the skeleton directory option with `sudo docker exec --user www-data -it nextcloud-aio-nextcloud php occ config:system:set skeletondirectory --value="/mnt/ncdata/skeleton"`. Further information is available in the Nextcloud documentation on [configuration parameters for the skeleton directory](https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/config_sample_php_parameters.html#skeletondirectory).
### Fail2ban
You can configure your server to block certain ip-addresses using fail2ban as bruteforce protection. Here is how to set it up: https://docs.nextcloud.com/server/stable/admin_manual/installation/harden_server.html#setup-fail2ban. The logpath of AIO is by default `/var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/data/nextcloud.log`. Do not forget to add `chain=DOCKER-USER` to your nextcloud jail config (`nextcloud.local`) otherwise the nextcloud service running on docker will still be accessible even if the IP is banned. Also, you may change the blocked ports to cover all AIO ports: by default `80,443,8080,8443,3478` (see [this](https://github.com/nextcloud/all-in-one#explanation-of-used-ports)). Apart from that there is now a community container that can be added to the AIO stack: https://github.com/nextcloud/all-in-one/tree/main/community-containers/fail2ban

View File

@@ -505,7 +505,7 @@ myNextcloudApp.use((req, res) => {
proxy.web(req, res, {}, onProxyError);
});
vhost.use(vhostFunc('<your-nextcloud-domain>', myNextcloudApp));
vhost.use(vhostFunc('<your-nc-domain>', myNextcloudApp));
const httpServer = http.createServer(app);
httpServer.listen('80');
@@ -579,7 +579,7 @@ The examples below define the dynamic configuration in YAML files. If you rather
http:
routers:
nextcloud:
rule: "Host(`<your-nextcloud-domain>`)"
rule: "Host(`<your-nc-domain>`)"
entrypoints:
- "https"
service: nextcloud