ddev / ddev-redis

Redis service for DDEV
Apache License 2.0
23 stars 8 forks source link

Fatal error, can't open config file '/usr/local/etc/redis/redis.conf': No such file or directory #11

Closed joelpittet closed 1 year ago

joelpittet commented 1 year ago
❯ ddev logs -s redis
1:C 04 Jan 2023 06:36:54.695 # Fatal error, can't open config file '/usr/local/etc/redis/redis.conf': No such file or directory

This just started happening I'm using on macOS 13.1 with and M1

ddev version v1.21.4
colima version 0.5.2
git commit: 6b5b6fe0540e708f0c9d6e8919fab292c671fc72

runtime: docker
arch: aarch64
client: v20.10.13
server: v20.10.20

limactl version 0.14.2
rfay commented 1 year ago

My bet is that in your ~/.colima/default/colima.yaml you have an empty mountType statement. Change it to mountType: sshfs. This is a bug in upgrading colima and the default type.

joelpittet commented 1 year ago

@rfay I think that was totally it, thanks sending that. I changed to vz and that also fixed it (but if I change back I'll be explicit on the mount type)

rfay commented 1 year ago

FYI I don't think colima supports changing back and forth of mountType or vmType. Make sure you ddev snapshot --all before doing things like that.