Code Generation in CommcareHQ Environment

Hello,

Just moved server to an on-premise and the newly installed CommcareHQ environment is not generating a code, just the barcode.

What can be done?

Thanks.

Hello,

It seems you are missing a setting "BITLY_OAUTH_TOKEN" for your new environment,

You would need to generate a token for yourself for Bitly.

If setup was done using CommCareCloud and you used ansible vault to store sensitive information, you can add this in the vault file. For example, https://github.com/dimagi/commcare-cloud/blob/40044cbc9483331350e127cd334f6601305f10e2/quick_monolith_install/sample-environment/vault.yml.j2#L37

Once it's set, you can run commcare-cloud <env> update-config to update localsettings on the cluster and restart CommCare HQ.

Thank you Manish.

We will work with this direction.

Regards.

Bamidele

Thanks again Manish.

This worked.

Best,
Bamidele

1 Like