Steps to reproduce
-
Follow the steps on how to install owncloud with docker-compose on the owncloud documentation on how to isntall owncloud on docker and use the command and the docker-compose.yml file in that guide.
-
setup your .env file as in that guide: same OWNCLOUD_DOMAIN and OWNCLOUD_TRUSTED_DOMAINS
also tried OWNCLOUD_TRUSTED_DOMAINS = localhost,172.0.0.1
why does that variable talk about domains when we’re providing host-IP’s anyway and how to do provide proper domains/network ip’s?
- do docker-compose up -d and after it started run command : “docker-compose logs --follow owncloud”
Expected behaviour
owncloud docker should run without problems and i should be able to connect to it on <LAN IPADDRESS of host running the docker-composer-containers on port set in .env: :8080 and start using and configuring my owncloud installation
Actual behaviour
server isn’t starting
I’m seeing a error that the provided docker-compose file doesn’t setup the mariaDB-srver correctly to allow traffic from the setup docker-network:
owncloud_server | Installing server database…
owncloud_server | Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1130] Host ‘172.20.0.4’ is not allowed to connect to this MariaDB server
owncloud_server | →
Server configuration
Operating system:
arm32v7 or arm64v8 armbian ubuntu 20.04 (not sure which one) on a pine64+
Web server:
the one provide in docker-image 10.11
Database:
the one configured in the by owncloud provided docker-compose.yml file
PHP version:
the one used in the docker-container provider by owncloud
ownCloud version: (see ownCloud admin page)
the one used in ownclouds docker-container 10:11
Updated from an older ownCloud or fresh install:
fresh install
Where did you install ownCloud from:
throuh docker with docker-compose file provided by owncloud in the documentation from owncloud’s site.
Signing status (ownCloud 9.0 and above):
?
how to sign into a server that can’t even start correctly?
The content of config/config.php:
as provided in the docker-container version 10:11 as used through the docker-compose.yml file provided by your own documentation
-- i can't post the link to your own website or your own github 'cause you don't allow links --
List of activated apps:
none installed as it's fresh install from guide in documentation
Are you using external storage, if yes which one: local/smb/sftp/…
no
Are you using encryption: yes/no
no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…
no
Client configuration
Browser:
who cares: server isn’t even starting
Operating system:
who cares: server isn’t even starting
Logs
ownCloud log (data/owncloud.log)
owncloud_server | Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1130] Host '172.20.0.4' is not allowed to connect to this MariaDB server
owncloud_server | ->
tl;dr: 3 questions:
- why is the provided docker-compose.yml file in the documentation about installing on docker not working?
- can a working version be provided and the documentation be adjusted for it?
- how do i get fix it to get it running with docker-compose?