Diese Version (2024/05/18 22:18) ist ein Entwurf.
Überprüfungen: 0/1
Die zuvor bestätigte Version (2024/04/22 10:21) ist verfügbar.Diff

Docker: Nextcloud AIO

Nextcloud is a fantastic Software for storing and sharing Files plus PIM- Data. With Nextcloud All In One (AIO) you can even have your own private Hosting of Videocalls plus dozens of Features for Teaming without any other Company beiing involved.

As you do have Docker running as described before, you can easyly install a running Instance of Nextcloud to you PC. Heres the original doc: https://github.com/nextcloud/all-in-one

As i do have IPV6 only to reach the server, it is very important to set up networking the right way to make nextcloud-aio work.

Per default, only ipv4 networking will be set up by nextcloud-aio. So the setup will check the adress and will fail.

Further you need to have a network, that is called exactly „nextcloud-aio“ with ipv6.

Set up the network in Docker first, here for example with the script docker-ncaio-network.sh

#!/bin/bash
#nextcloud must have that network-name!
docker network create --subnet="2001:db8:3::/64" --driver bridge --ipv6 nextcloud-aio --gateway="2001:db8:3::1"

The subnet and gateway are free to choose, but make sure it does not interfere with some existing network. If you are not sure, use the given ones.

According to this: https://github.com/nextcloud/all-in-one?tab=readme-ov-file#how-to-resolve-firewall-problems-with-fedora-linux-rhel-os-centos-suse-linux-and-others there are problems with firewalld and docker which leads to Docker Containers not beeing able to communicate to each other.

So, do this as the Docker- User (in rootless- mode) before:

sudo sed -i 's/FirewallBackend=nftables/FirewallBackend=iptables/g' /etc/firewalld/firewalld.conf
sudo systemctl restart firewalld
systemctl --user restart docker

There may be other problems with networking, so use another driver for networking like described here: https://github.com/nextcloud/all-in-one/issues/4621

Diese Website verwendet Cookies. Durch die Nutzung der Website stimmen Sie dem Speichern von Cookies auf Ihrem Computer zu. Außerdem bestätigen Sie, dass Sie unsere Datenschutzbestimmungen gelesen und verstanden haben. Wenn Sie nicht einverstanden sind, verlassen Sie die Website.Weitere Information
  • content/serverbasics/docker-nextcloud_aio.txt
  • Zuletzt geändert: 2024/05/18 22:18
  • von Daniel