Closed migasQ closed 10 months ago
@migasQ I believe it is related to using docker exec
rather than docker run
. This leads to missing ENV variables, which in turn leads to nulldb
being used as database driver. Please use docker run
instead and it should work.
https://docs.zammad.org/en/latest/install/docker-compose.html - How to run rails/rake commands in containers
Thanks for your prompt response! That was indeed the issue. I did a merge request for a docu extension to run an interactive rails shell with ENV set because I don't like running commands blindly without autocomplete, etc. The merge request is here: https://github.com/zammad/zammad-documentation/pull/404
And another comment: The backup script does not backup the file storage. I made a proposal for the backup schript so that the full /opt/zammad folder is included: https://github.com/zammad/zammad-docker-compose/pull/390
Infos
Expected behavior
Store::File.move('DB', 'File')
Actual behavior
Steps to reproduce the behavior
chown 1000:1000 -R *
for that folder because I saw some access error in the frontend when trying to add an attachment, after running the command attachments are added just fine=> True
was shown directly whithout any waiting