-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue when initiating NC #2045
Comments
DNS resolution is failing for your Usually the cause is something like:
Since this is a configuration matter or Docker environment matter and not a bug within the image, this is probably best handled at the Nextcloud Help Forum. |
Hi - thank you for your pointers. I was assuming it had something to do with the docker network. The network settings were all correct (as I compared with a mirror server where the stack worked fine). Strangely the problem was caused by a faulty Docker installation, which unfortunately did not log any error messages in Debian or in Docker. But it caused some containers to lack connectivity. Only a fresh docker install solved the issue. After that the stack worked fine without any changes to the stack. |
Not trying to reopen this closed issue, but I just wanted to chime in because this is top in the Google search results for this issue. If anyone is running the Nextcloud docker container in |
like this maybe help you: redis: nginx: nextcloud: networks: |
After installing the official Nextcloud docker image and launching via compose file (Base version - apache), I access the NC server and when trying to initiate setup of the admin user, the web page stops with the following error:
Error
Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for db failed: Temporary failure in name resolution
Create an admin account-->
The text was updated successfully, but these errors were encountered: