Closed karel1980 closed 1 year ago
@karel1980 hm, but error states that you run out of disk space, see below
[ERROR] InnoDB: Error number 28 means 'No space left on device'
[ERROR] InnoDB: Could not set the file size of './ibdata1'. Probably out of disk space
Did you try to "purge" docker VMs/images etc or check your drive space?
I'm pretty confident that it's not (really) a space issue: I've run both of these commands before retrying, but the error remains the same
I found some sources which indicate it may be a permission problem. I'll try to verify this
@karel1980 yes, possible, we added "volumes" in our other project https://github.com/ever-co/ever-gauzy/blob/develop/docker-compose.yml#L19, and I think it also prevents some kind of such issues on some OS... You can try to mount volumes (example link is for PostgreSQL, so you have to adjust path that relevant for MySQL)
I can confirm that it works if I simply add
. volumes:
- ./demo-mysql:/var/lib/mysql
One final thing I forgot to mention earlier, I'm running all of these with export DOCKER_DEFAULT_PLATFORM=linux/amd64
.
I also tried using mysql:8 as image. This also allows mysql to start up (even without the volume
addition), but ultimately this doesn't work because the client / server versions are incompatible.
I'm okay with this being closed, but maybe adding the volume would be simple enough an improvement to the 'get started quickly' workflow for new users.
OK, thank you @karel1980 we will just add that volumes in the current docker-compose files, it should be good for everyone! (we do it in all our other projects already).
Also, we will see if we can upgrade to MySQL v8, because I think TypeORM totally support it and should be almost no changes in the code, except maybe updates to some packages / tiny fixes for that, thank you for the hint!
Describe the bug Following the instructions from https://docs.traduora.co/docs/getting-started does not seem to work There appears to be a problem with the mysqldb container. Its logs look like this: