Zammad init container is throwing error: sed: -e expression #4, char 42: unknown option to `s' while trying to run Zammad docker compose without elastic search, memcached, redis, nginx, websocket and trying to connect to external postgresql through SSH tunnel port forwarding to RDS of EKS of AWS. #337
Operating system (Docker host): Mac M1 Ventura 13.1
Expected behavior
Zammad docker compose should run without elastic search, memcached, redis, nginx, websocket and should be able to connect to external postgresql.
Actual behavior
Zammad init container is throwing error: sed: -e expression # 4, char 42: unknown option to `s'
Steps to reproduce the behavior
Do SSH tunnel for port forwarding to remote host RDS of EKS of AWS.
Remove Zammad backup, elastic search, memcached, redis, nginx, websocket and postgresql services from docker-compose.yml
Map port of host to rails server
give POSTGRESQL_HOST=host.docker.internal and other Postgres related data in the .env
Looks like this issue was because sed couldn't parse some special character in my password. After changing my password, this this issue is resolved. This must be same as #336 and #117 . Hence this can be closed.
Infos
Expected behavior
Actual behavior
Steps to reproduce the behavior
Do SSH tunnel for port forwarding to remote host RDS of EKS of AWS. Remove Zammad backup, elastic search, memcached, redis, nginx, websocket and postgresql services from docker-compose.yml Map port of host to rails server give POSTGRESQL_HOST=host.docker.internal and other Postgres related data in the .env
`--- version: '3'
services:
zammad-init: command: ["zammad-init"] environment:
zammad-data:/opt/zammad
zammad-railsserver: command: ["zammad-railsserver"] ports:
volumes: zammad-data: driver: local`