Hi
I have the following docker-compose file from nextcloud examples:
version: '3'
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=****
env_file:
- db.env
app:
image: nextcloud:apache
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html
networks:
- frontproxy_default
environment:
- MYSQL_HOST=db
- VIRTUAL_HOST=example.org
- LETSENCRYPT_HOST=example.org
- LETSENCRYPT_EMAIL=example@example.org
env_file:
- db.env
depends_on:
- db
volumes:
db:
nextcloud:
networks:
frontproxy_default:
external: true
db.env:
MYSQL_PASSWORD=****
MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud
I can see the startpage, with only the Username and PW.
After I enter those the error message appeared:
Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2006] MySQL server has gone away
Any suggestion??