Florian
Florian

Reputation: 41

DDEV OCI runtime exec failed (TYPO3 `ddev typo3cms` command)

Recently I have issues with DDEV. It’s across different git repositories, so I think that has to do with DDEV or Colima.

ddev typo3cms cache:flush
OCI runtime exec failed: exec failed: unable to start container process: exec /mnt/ddev_config/.global_commands/web/typo3cms: operation not permitted: unknown
ddev typo3cms database:updateschema safe
OCI runtime exec failed: exec failed: unable to start container process: exec /mnt/ddev_config/.global_commands/web/typo3cms: operation not permitted: unknown
Failed to run typo3cms database:updateschema safe: exit status 126

After ddev poweroff ddev start, the above commands work again. But after a while (15 Minutes) I see the same error messages again.

Upvotes: 0

Views: 329

Answers (1)

Florian
Florian

Reputation: 41

For me, the solution was to run colima delete.

Before you do that, try the following step suggested by @rfay

You can also experiment with a new profile for colima for debugging reasons (without losing anything) with

colima stop
colima start mynewprofile --cpu 4 --memory 6 --disk 100 --vm-type=qemu --mount-type=sshfs --dns=1.1.1.1

And you can then switch between profiles using docker context use colima (for the default profile) or docker context use colima-mynewprofile

Upvotes: 0

Related Questions