====== 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|https://github.com/nextcloud/all-in-one]] ===== Network preparations ===== 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. ===== Firewall ===== 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|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 ===== Docker Network driver ===== 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|https://github.com/nextcloud/all-in-one/issues/4621]]