Trellis-database-uploads-migration: problems with DB deployment

I know, it is a little off topic, because the addon is not part of the official roots packet. But maybe someone can help me anyway :slight_smile:

Trellis is set up. Dev environment and provisioning of a fresh DO droplet works fine.

I added the trellis-database-uploads-migration addon. Syncing the uploads folder to the staging environment is fine. Just the DB deploy halts with the following error:

System info:
  Ansible 2.4.2.0; Darwin
  Trellis at "Update `vagrant_box_version` to `>= 201801.02.0`"
---------------------------------------------------
ERROR: dock2dekoration.de is not a valid site name (dock2dekoration.de folder
does not exist).
fatal: [staging_host]: FAILED! => {"changed": false}
	to retry, use: --limit @/Users/develop/Websites/dock2dekoration.de/trellis/database-push.retry

PLAY RECAP ************************************************************************************************************
staging_host               : ok=2    changed=0    unreachable=0    failed=1

These are some of my config files.

Has anyone faced a similar issue?

1 Like

I am having the same issue. Any chance you managed to find the problem?

Yes I found a solution. I had to add the lines proposed in the installation instructions of the addon to an already working dev config to enable deployment.