-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MariaDB instance not starting after update #138
Comments
Perhaps similar to https://forums.docker.com/t/official-mysql-image-wont-run/1351? The only difference between the versions is the version: f50d0a8. |
Error messages are different. The error occurs with Someone on IRC commented that this might be due to a InnoDB version change from MySQL 5.7. I'm not sure if that is helpful information. |
Just confirming I have this same issue with mariadb:latest and mariadb:10.2.9 the suggested fix from @dmp1ce post here: https://superuser.com/questions/1267663/docker-mariadb-instance-not-starting-after-update. I am going to keep poking around the interwebz. Updated: if I don't do a -v bindmount, then mariadb starts up (latest and 10.2.9), add the bindmount and it errors trying to update modified date of the ibdata1 file in those same versions. pull mysql/mysql-server and the same -v command works (which for me was Also, regarding different error messages... with an empty file folder, I will see the Error code 22 error trying to update the file; but after that, when there are files present in the host folders, there error becomes something like plug-in failed with generic error, and then the unknown/unsupported storage engine message. So, depending on host state, there are different errors in the docker log. Here is the first scenario (empty folder on host):
Here is second flavor ("rocky road" or files already on host):
Hope this helps. |
FYI, I'm seeing the same error. For now I've just downgraded the mariadb container. But...definitely something seems odd with this update. |
For what it's worth, I'm experiencing this issue too, but only on Downgrading to |
I tried downgrading to 10.2, but I still get the error. db:
container_name: db
image: mariadb:latest
ports:
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=ganesh
volumes:
# - "./db:/var/lib/mysql" <--- this guy here
- dbsock:/var/run/mysqld/ |
@vctls From your compose file it looks like you are using a volume, but have switched away from using a bind mount. Is that what you mean fixes the issue? |
Sorry, you're right, it's the bind mount that's causing the issue. I wanted to use that for persistence. |
This was fixed by #168. 👍 |
I am getting the following errors from my log. I only updated the image and restarted. Could a recent change in the image have caused these errors? My host has plenty of space, so I’m not sure why I’m getting the out of space error for
./ibtmp1
The issue occurs when updating from mariadb 10.2.9 to 10.2.10.
The text was updated successfully, but these errors were encountered: