Per my initial post, I do have a volume for config and data. See my compose config above which includes:
volumes:
- ./data:/var/cells/data
- ./cellsdir:/var/cells
While the code may appear check the conditions you mentioned, has the following been tested?
- Existing install, existing data, new database
- New install, existing data, existing database
- Existing install, existing data, existing database
Please advise. The same error in the original post is exhibited when instantiated new services with existing volumes.