Failed to execute script docker-compose

Sorry about my English

System: Ubuntu 20.10
Docker Version: 20.10.8, build 3967b7d28e
Compose version: 1.29.2, build 5becea4c

I was trying to upgrade my Sentry version from 21.6.3 to 21.9.0 when I got the following error output:

Building dependency tree...
Reading state information...
The following additional packages will be installed:
Suggested packages:
  anacron logrotate checksecurity
Recommended packages:
  default-mta | mail-transport-agent
The following NEW packages will be installed:
  cron sensible-utils
0 upgraded, 2 newly installed, 0 to remove and 15 not upgraded.
Need to get 114 kB of archives.
After this operation, 314 kB of additional disk space will be used.
Get:1 bullseye/main amd64 sensible-utils all 0.0.14 [14.8 kB]
Get:2 bullseye/main amd64 cron amd64 3.0pl1-137 [99.6 kB]
^[[91mdebconf: delaying package configuration, since apt-utils is not installed
^[[0mFetched 114 kB in 0s (431 kB/s)
Selecting previously unselected package sensible-utils.
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ...>
Preparing to unpack .../sensible-utils_0.0.14_all.deb ...
Unpacking sensible-utils (0.0.14) ...
Selecting previously unselected package cron.
Preparing to unpack .../cron_3.0pl1-137_amd64.deb ...
Unpacking cron (3.0pl1-137) ...
Setting up sensible-utils (0.0.14) ...
Setting up cron (3.0pl1-137) ...
Adding group `crontab' (GID 101) ...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Removing intermediate container c35afbb8d1cc
 ---> 9a1d71c982b2
Step 4/5 : COPY /
 ---> ee8396d300da
Step 5/5 : ENTRYPOINT ["/"]
 ---> Running in b5db544683ee
Removing intermediate container b5db544683ee
 ---> 2b38d4371ea3
Successfully built 2b38d4371ea3
Successfully tagged snuba-cleanup-onpremise-local:latest
[11771] Failed to execute script docker-compose
Traceback (most recent call last):
  File "docker-compose", line 3, in <module>
  File "compose/cli/", line 81, in main
  File "compose/cli/", line 203, in perform_command
  File "compose/metrics/", line 18, in wrapper
  File "compose/cli/", line 380, in build
  File "compose/", line 519, in build
  File "compose/", line 501, in build_service
  File "compose/", line 1133, in build
  File "compose/", line 1948, in build
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp6gcdiyuv'
An error occurred, caught SIGERR on line 4
Cleaning up...

And after this exit, try giving the following command: docker-compose up -d

Error output:

Recreating sentry_onpremise_geoipupdate_1          ... done
Recreating sentry_onpremise_clickhouse_1           ... done
Recreating sentry_onpremise_postgres_1             ... done
Recreating sentry_onpremise_memcached_1            ... done
Recreating sentry_onpremise_zookeeper_1            ... done
Recreating sentry_onpremise_smtp_1                 ... done
Recreating sentry_onpremise_symbolicator_1         ... done
Recreating sentry_onpremise_redis_1                ... done
Recreating sentry_onpremise_symbolicator-cleanup_1 ... done
Recreating sentry_onpremise_kafka_1                ... done
Recreating sentry_onpremise_snuba-subscription-consumer-transactions_1 ... done
Recreating sentry_onpremise_snuba-transactions-cleanup_1               ... done
Recreating sentry_onpremise_snuba-outcomes-consumer_1                  ... done
Recreating sentry_onpremise_snuba-api_1                                ... done
Recreating sentry_onpremise_snuba-cleanup_1                            ... done
Recreating sentry_onpremise_snuba-sessions-consumer_1                  ... done
Recreating sentry_onpremise_snuba-subscription-consumer-events_1       ... done
Recreating sentry_onpremise_snuba-transactions-consumer_1              ... done
Recreating sentry_onpremise_snuba-replacer_1                           ... done
Recreating sentry_onpremise_snuba-consumer_1                           ... done

ERROR: for worker  Container "3fdc6ee6b481" is unhealthy.

ERROR: for cron  Container "3fdc6ee6b481" is unhealthy.

ERROR: for ingest-consumer  Container "3fdc6ee6b481" is unhealthy.

ERROR: for web  Container "3fdc6ee6b481" is unhealthy.

ERROR: for sentry-cleanup  Container "3fdc6ee6b481" is unhealthy.

ERROR: for post-process-forwarder  Container "3fdc6ee6b481" is unhealthy.

ERROR: for subscription-consumer-events  Container "3fdc6ee6b481" is unhealthy.

ERROR: for subscription-consumer-transactions  Container "3fdc6ee6b481" is unhealthy.
ERROR: Encountered errors while bringing up the project.

Can you help me please?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.