I had the same error.
Make sure '/config/database' is owned by abc:users.
In Unraid/Docker tab, click ownCloud icon -> Console
Run command: ls -l /config
If it doesn't say "... abc users ... database", run command: chown abc:users /config/database
..that solved it for me.