nextcloud / docker

⛴ Docker image of Nextcloud
https://hub.docker.com/_/nextcloud/
GNU Affero General Public License v3.0
6.06k stars 1.83k forks source link

docker-compose doesn't complete final steps #813

Closed blackerking closed 5 years ago

blackerking commented 5 years ago

Hey there, I am trying to make a yaml file with all neccassary inputs. Nextcloud is using the complete input file but doesn't finishs and asks for another logincredentials. Is there an other environment flag missing?

    environment:
     NEXTCLOUD_ADMIN_USER: ${NEXTCLOUD_ADMIN_USER}
     NEXTCLOUD_ADMIN_PASSWORD: ${NEXTCLOUD_ADMIN_PASSWORD}
     MYSQL_DATABASE: ${MYSQL_DATABASE}
     MYSQL_USER: ${MYSQL_USER}
     MYSQL_PASSWORD: ${MYSQL_PASSWORD}
     MYSQL_HOST: mariadb
J0WI commented 5 years ago

What is the output of docker logs?

blackerking commented 5 years ago

At first it seems the Database is unreachable after some time it initiate... docker logs dockerimages_nextcloud_1 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.22.0.3. Set the 'ServerName' directive globally to suppress this message AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.22.0.3. Set the 'ServerName' directive globally to suppress this message [Thu Jul 25 09:43:18.005977 2019] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.25 (Debian) PHP/7.3.7 configured -- resuming normal operations [Thu Jul 25 09:43:18.008053 2019] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND' 127.0.0.1 - - [25/Jul/2019:09:45:40 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.25 (Debian) PHP/7.3.7 (internal dummy connection)" 127.0.0.1 - - [25/Jul/2019:09:45:41 +0000] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.25 (Debian) PHP/7.3.7 (internal dummy connection)"

unfortunately it saves the credentials(stored in the .env) but ask for an another Admin Account(to create).

blackerking commented 5 years ago

I've found my error: Environment strings don't like " and = at first char.