Odk Central error version v2023.2.1

Dear All,

i am getting the following error while doing a Docker compose build. Plz help

 ERROR [intermediate 4/8] RUN git describe --tags --dirty > /tmp/sentry-versions/central            0.3s
------
 > [intermediate 4/8] RUN git describe --tags --dirty > /tmp/sentry-versions/central:
#0 0.318 fatal: not a git repository (or any of the parent directories): .git
------
service.dockerfile:6
--------------------
   4 |     COPY . .
   5 |     RUN mkdir /tmp/sentry-versions
   6 | >>> RUN git describe --tags --dirty > /tmp/sentry-versions/central
   7 |     WORKDIR server
   8 |     RUN git describe --tags --dirty > /tmp/sentry-versions/server
--------------------
ERROR: failed to solve: process "/bin/sh -c git describe --tags --dirty > /tmp/sentry-versions/central" did not complete successfully: exit code: 128
ERROR: Service 'service' failed to build : Build failed

Thanks

Could it be due to that?

https://docs.getodk.org/central-upgrade/#upgrading-to-central-v2022-3

In v2022.3, we added Content Security Policy reporting. If you have disabled or customized Sentry, then you will need to modify files/nginx/odk.conf.template. See our documentation about configuring Sentry to learn more about the specific changes that you need to make.

https://docs.getodk.org/central-install-digital-ocean/#central-install-digital-ocean-sentry

The fatal: not a git repository points to something going very wrong.

What host operating system are you installing on?

Are you upgrading or is this a fresh install?

Are you sure you ran git submodule update -i from https://docs.getodk.org/central-install-digital-ocean/#getting-and-setting-up-central?