#Deployment issue

1 messages · Page 1 of 1 (latest)

lone parcel
#

I just deployed for the first time. Smooth sailing for the deployment and connected my subdomain (verified) Problem: The app is working in the dev environment but when I try to create the first credentials in the db i get the following message: Failed to add credential. Can you have a look to see what is happening?

tribal cloudBOT
#

Hey Paul
We are checking this, please give us a moment

daring lakeBOT
#

Hey Paul
We have fixed the issue. Please check.

Regards

Kamran

lone parcel
#

Thanks. I will check tomorrow Kamran. Busy today unfortenately.

lone parcel
#

Thanks. I am a bit confused because the contents of my dev db is in the live version now. Your collegae told me this was not going to be the case. Is this correct or not? He said:

Hey,

When you deploy your current job, only the codebase and the current state of the app’s environment are deployed. This includes your code, dependencies, and environment variables (like API keys or credentials you’ve set up), but not the contents of your development database.

#

It is working so that is great but I do like to know how it functions.

daring lakeBOT
#

Hi Paul,
Glad to know its working for you.

So how deployment works iS:
when you deploy a job for the first time, we copy code and the data from preview database to production database.
When you re-deploy the same job: then we only copy the latest code but not the preview data.

Hope this clarifies.

Regards

Kamran