owncloud - docker - mysql

  • Is anybody running an actual owncloud (8.x) inside a docker container (docker-plugin) connected to the mysql-plugin?
    Would be nice to get a template for the docker settings of the owncloud-container for this standard configuration.


    Thanks in advance.

    • Offizieller Beitrag

    I'm not but are you having problems connecting to mysql?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Yes!


    Normally first call of OC sets up the database (user and database name) in mySQL by means of the root@localhost (password) access, but starting OC as a docker container, I am just getting error codes from mySQL.

  • on the first start the owncloud you can take the mysql options. put the 127.0.0.1 in to the mysql options. It works on my sytem

    omv 6.x | 64 bit | omvextrasorg 6.x |
    used plugins: omv-extras | portainer | rsnapshot | antivirus
    used container: portainer/portainer | nextcloud/all-in-one | linuxserver/swag | paperless-ngx | jellyfin/jellyfin | lmscommunity/logitechmediaserver | adguard/adguardhome |

  • Thanks for the hint. I have tried out all of these options.


    I guess the error is in the way the container data path are linked to the host, as the alternative approach with nginx worked (but causes other problems to me). So I asked for a template on working docker settings.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!