Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.3.34, 10.8.3
-
Docker 4.11.1 on Windows 10, WSL2 backend, Ubuntu 20.04
Description
I have a Laravel application inside Docker container, which crashes when trying to run migrations.
docker-compose.yml:
mysql:
|
container_name: web__mysql
|
build:
|
context: .
|
dockerfile: ./.docker/services/mysql/Dockerfile
|
restart: unless-stopped
|
tty: true
|
ports:
|
- "3306:3306"
|
volumes:
|
- ./.docker/services/mysql/data:/var/lib/mysql
|
environment:
|
MARIADB_DATABASE: db
|
MARIADB_USER: web
|
MARIADB_PASSWORD: password
|
MARIADB_ROOT_PASSWORD: root
|
SERVICE_TAGS: dev
|
SERVICE_NAME: mysql
|
TZ: Europe/Riga
|
networks:
|
- app
|
Dockerfile:
FROM mariadb:latest
|
ENV TZ=Europe/Riga
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
No matter which version I pick, everytime i run migrations, the database server crashes with this error:
InnoDB: preallocating 147456 bytes for file ./db/events_places.ibd failed with error 2
|
This always happens on this query:
alter table `events_places` add unique `events_places_place_id_event_id_unique`(`place_id`, `event_id`)) |
If you need all queries that were run before that, I can provide. In attachment there is log from Docker terminal.
Attachments
Issue Links
- relates to
-
MDEV-28580 Server crash when creating an index after adding a foreign key
-
- Closed
-
-
MDEV-29015 InnoDB: Assertion failure in file /home/buildbot/buildbot/build/mariadb-10.3.35/storage/innobase/fil/fil0fil.cc line 968
-
- Closed
-
-
MDEV-34938 Under Windows Subsystem for Linux, InnoDB crashes on ALTER TABLE or OPTIMIZE TABLE
-
- Closed
-
-
MDEV-35501 innodb.log_file_name fails with "Could not measure size of ..."
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Link |
This issue relates to |
Link |
This issue relates to |
Fix Version/s | 10.3 [ 22126 ] |
Link |
This issue relates to |
Fix Version/s | 10.5.27 [ 29902 ] | |
Fix Version/s | 10.6.20 [ 29903 ] | |
Fix Version/s | 10.11.10 [ 29904 ] | |
Fix Version/s | 11.2.6 [ 29906 ] | |
Fix Version/s | 11.4.4 [ 29907 ] | |
Fix Version/s | 11.6.2 [ 29908 ] | |
Fix Version/s | 10.3(EOL) [ 22126 ] | |
Assignee | Daniel Black [ danblack ] | Marko Mäkelä [ marko ] |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Link |
This issue relates to |