Nextcloud docker multiple warnings

I have my Nextcloud instance running on Docker. Recently, after a sudden server restart (hosted on-premise), the application is not resolving to the correct internal IP address.

Steps Taken:

  • Modified /etc/hosts to map the Nextcloud domain to the internal IP.
  • Adjusted netplan configurations.
  • Checked and allowed necessary firewall rules for Docker and the server.
  • Attempted to flush DNS caches using resolvectl flush-caches.

Despite these efforts, the issue persists. When pinging the Nextcloud domain from inside the server, it resolves to an incorrect external IP address.

Question: Could the incorrect resolution to the external IP address instead of the internal IP be causing the issue?

Additional Information:

  • The server is running on-premise.
  • The issue began after an unexpected server restart.
  • Modifications to /etc/hosts and netplan configurations did not resolve the issue.
  • Firewall rules have been reviewed and adjusted without success.
    Environment:

Nextcloud version: 29.0.3 (Nextcloud Hub 8)
Operating system: Ubuntu Server 22.04
Docker version: 27.0.3

Any assistance in resolving this issue would be greatly appreciated.

Thank you.

hello @ari1 welcome to the forum :handshake:

I don’t get the exact meaning of

does it mean “internal IP address”, “internal DNS”? from which POV - client, server?

Please explain what in detail what do you expect and what you see now. Post you docker config and describe your network/system…