Tinybird Integration Failing on tinybird-deploy

I am following these instructions, How To Install Ghost With Docker (preview) - Ghost Developer Docs
I get to this step and I get this error.

ERROR: Datasource datasources/ds_7460.datasource: Data sources can’t be deleted. Use --allow-destructive-operations to override.

Deployment failed

And I can’t figure out to log out to try and reset the install to start over with Tinybird integration.

I found these files:
/var/lib/docker/volumes/ghost_tinybird_files/_data/.tinyb
/var/lib/docker/volumes/ghost_tinybird_home/_data/.tinyb

So I can delete to reset the tinybird authentication so I could retry the steps. I still haven’t figured out why I get the error at step, docker compose run --rm tinybird-deploy

I was able to fix it.

  1. I had to modified the compose.yml file under the tinybird-deploy to add the parameter —allow-destructive-operations to the tb-wrapper command
  2. Had to get the workspace admin token from tinybird dashboard because it wasn’t provided from the command tinybird-login get-tokens.
1 Like

Thanks for reporting this. It looks like a change in Tinybird’s onboarding caused this to occur. They’re aware, and working on a fix now so it shouldn’t be a problem long term. Glad you were able to find this workaround for now!

1 Like