Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-31486

mariadb crash after startup on bitnami redmine Containers

Details

    Description

      i did below operation

      1. curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/redmine/docker-compose.yml > docker-compose.yml
      2. docker-compose up -d
      3. marinadb and redmine containers were started
      4. but, after few seconds mariadb container was crashed and stop all containers. attach log file

      Attachments

        Issue Links

          Activity

            danblack Daniel Black added a comment -

            Appears to be a duplicate of MDEV-31347

            danblack Daniel Black added a comment - Appears to be a duplicate of MDEV-31347
            danblack Daniel Black added a comment - - edited

            Not sure how repeatable it was, but testing with the latest build of 10.6 appears to be successful a few time I tested.

            compose modified

            version: '2'
            services:
              mariadb:
                image: quay.io/mariadb-foundation/mariadb-devel:10.6
                volumes:
                  - 'mariadb_data:/var/lib/mysql'
                environment:
                  - MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=yes
                  - MARIADB_USER=bn_redmine
                  - MARIADB_PASSWORD=rm
                  - MARIADB_DATABASE=bitnami_redmine
              redmine:
                image: docker.io/bitnami/redmine:5
                ports:
                  - '8080:3000'
                volumes:
                  - 'redmine_data:/bitnami/redmine'
                depends_on:
                  - mariadb
                environment:
                  # ALLOW_EMPTY_PASSWORD is recommended only for development.
                  - ALLOW_EMPTY_PASSWORD=yes
                  - REDMINE_DATABASE_HOST=mariadb
                  - REDMINE_DATABASE_PORT_NUMBER=3306
                  - REDMINE_DATABASE_USER=bn_redmine
                  - REDMINE_DATABASE_PASSWORD=rm
                  - REDMINE_DATABASE_NAME=bitnami_redmine
            volumes:
              mariadb_data:
                driver: local
              redmine_data:
                driver: local
            

            Note: this was assuming a MDEV-31347 bug fix, and wasn't tested under WSL.

            danblack Daniel Black added a comment - - edited Not sure how repeatable it was, but testing with the latest build of 10.6 appears to be successful a few time I tested. compose modified version: '2' services: mariadb: image: quay.io/mariadb-foundation/mariadb-devel:10.6 volumes: - 'mariadb_data:/var/lib/mysql' environment: - MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=yes - MARIADB_USER=bn_redmine - MARIADB_PASSWORD=rm - MARIADB_DATABASE=bitnami_redmine redmine: image: docker.io/bitnami/redmine:5 ports: - '8080:3000' volumes: - 'redmine_data:/bitnami/redmine' depends_on: - mariadb environment: # ALLOW_EMPTY_PASSWORD is recommended only for development. - ALLOW_EMPTY_PASSWORD=yes - REDMINE_DATABASE_HOST=mariadb - REDMINE_DATABASE_PORT_NUMBER=3306 - REDMINE_DATABASE_USER=bn_redmine - REDMINE_DATABASE_PASSWORD=rm - REDMINE_DATABASE_NAME=bitnami_redmine volumes: mariadb_data: driver: local redmine_data: driver: local Note: this was assuming a MDEV-31347 bug fix, and wasn't tested under WSL.
            danblack Daniel Black added a comment - - edited

            Being WSL - it seems it would be MDEV-28580 / https://github.com/microsoft/WSL/issues/8443 (particularly if this occurs every time)

            danblack Daniel Black added a comment - - edited Being WSL - it seems it would be MDEV-28580 / https://github.com/microsoft/WSL/issues/8443 (particularly if this occurs every time)
            danblack Daniel Black added a comment -

            Sorry ma3107gao, its a WSL bug that writing a work around for would be a large code restructure that I don't want to attempt on a stable version.

            danblack Daniel Black added a comment - Sorry ma3107gao , its a WSL bug that writing a work around for would be a large code restructure that I don't want to attempt on a stable version.
            ma3107gao Masato Nagao added a comment -

            Thank you for your inquiry.
            I changed db to postresql and avoid this problem.

            ma3107gao Masato Nagao added a comment - Thank you for your inquiry. I changed db to postresql and avoid this problem.

            People

              danblack Daniel Black
              ma3107gao Masato Nagao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.