Hi everyone!
I seting up new NextCloud instance, because the old is gone thanks to the hardware malfunction.
My enviortment:
In a docker container:
- nextcloud:24.0.4-apache
- mariadb:10.7
The install and setup is done seen is everything ok. I go to Setting => Overview
I get this “Error occurred while checking server setup”
in the logs: "Error: dns_get_record(): A temporary server error occurred. at /var/www/html/lib/private/Http/Client/DnsPinMiddleware.php#83
I use Nginx Proxy Manager for HTTPS and Pihole (separate container). I think setting is fine because everything else is working normaly. I get SSL cert for the pihole for example.
here is my docker compose file:
version: ‘3’
services:
nextcloud:
container_name: nextcloud
image: nextcloud:24.0.4-apache
ports:
- 50083:80
links:
- db
volumes:
- ./adat:/var/www/html
environment:
- MYSQL_PASSWORD=***
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
- TRUSTED_PROXIES=.duckdns.org
- OVERWRITECLIURL=https://.duckdns.org
- OVERWRITEPROTOCOL=https
- NEXTCLOUD_TRUSTED_DOMAINS=.duckdns.org
- OVERWRITEHOST=.duckdns.org
- SMTP_HOST=smtp.gmail.com
- SMTP_SECURE=ssl
- SMTP_PORT=465
- SMTP_AUTHTYPE=LOGIN
- SMTP_NAME=***
- SMTP_PASSWORD=***
- MAIL_FROM_ADDRESS=***
- MAIL_DOMAIN=gmail.com
restart: unless-stopped
db:
container_name: nextcloud_db
image: mariadb:10.7
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- ./db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=***
- MYSQL_PASSWORD=***
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
restart: unless-stopped
volumes:
adat:
db:
What should I do to get working?