Infos:
- Used Zammad version: -3.6.0-1
- Used Zammad installation source: source / docker-compose from https://github.com/zammad/zammad-docker-compose.git
- Operating system: MacOS 11.0.1
- Browser + version: Firefox 83.0 (64 bit)
I’m testing Zammad in my local docker-compose environment. I cloned the repo from the link above and did a docker-compose up -d
right away. The system is working fine.
I am able to do a full backup with
docker-compose exec zammad-backup /usr/local/bin/backup.sh zammad-backup-once
as mentioned in this thread: How to Restore Zammad Backup in Docker-Compose Install
For restoring in a docker-compose environment, I followed the instructions at https://github.com/zammad/zammad-docker-compose/issues/68#issuecomment-379436262 which were linked in the thread mentioned previously.
When I try to drop the database with the command
docker-compose exec zammad-postgresql su -c 'dropdb zammad_production' - postgres
I get an error…
Expected behavior:
- Database should be dropped
Actual behavior:
- The Error
dropdb: could not connect to database template1: FATAL: role "postgres" does not exist
is reported.
Steps to reproduce the behavior:
- Clone the docker-compose github repo
- Start the instances with
docker-compose up -d
- Create a backup with the command mentioned above
- Follow the restore guide (see link above)