Failed due to unhealthy allocations (]\\app)

Already have an app and it is already deployed. Made some small changes to one of my routes and tested it locally and seemed to be working. But when I deploy it, it gives me this error.

Logs are attached below

flyctl deploy
Update available 0.1.19 → v0.1.26.
Run “flyctl.exe version upgrade” to upgrade.
==> Verifying app config
Validating C:\Users\arul4\OneDrive\Documents\Learning-Management-System\backend\fly.toml
Platform: nomad
✓ Configuration is valid
→ Verified app config
==> Building image
Remote builder fly-builder-cool-night-1548 ready
==> Creating build context
→ Creating build context done
==> Building image with Docker
→ docker host: 20.10.12 linux x86_64
[+] Building 326.5s (0/1)
[+] Building 20.4s (15/15) FINISHED
=> [internal] load remote build context 0.0s
=> copy /context / 2.4s
=> [internal] load metadata for Docker 0.2s
=> [builder 1/8] FROM Docker 0.0s
=> CACHED [builder 2/8] RUN apt-get update; apt install -y curl 0.0s
=> CACHED [builder 3/8] RUN curl | bash 0.0s
=> CACHED [builder 4/8] RUN volta install node@16.17.0 0.0s
=> CACHED [builder 5/8] RUN mkdir /app 0.0s
=> CACHED [builder 6/8] WORKDIR /app 0.0s
=> [builder 7/8] COPY . . 1.6s
=> [builder 8/8] RUN npm install 5.7s
=> CACHED [stage-1 2/4] COPY --from=builder /root/.volta /root/.volta 0.0s
=> [stage-1 3/4] COPY --from=builder /app /app 1.9s
=> [stage-1 4/4] WORKDIR /app 0.0s
=> exporting to image 3.4s
=> => exporting layers 3.4s
=> => writing image sha256:b595f31004302a7cf9d4ea36c2190841fc5e514c45cdf8d989eca88c282e1c47 0.0s
=> => naming to 0.0s
→ Building image done
==> Pushing image to fly
The push refers to repository []
5f70bf18a086: Layer already exists
797ffd50a805: Pushed
18627c0fc337: Layer already exists
974e52a24adf: Layer already exists
deployment-01H210M2Q2FS3CNGJVTEEAWF3W: digest: sha256:52f3223487a2f7bb57674ae2615ada85455ebe4db11d8771a245a9b6e2cebcca size: 1160
→ Pushing image done
image size: 890 MB

Watch your app at Sign In · Fly

==> Creating release
→ release v55 created

WARN Apps v1 Platform is deprecated. We recommend migrating your app with:
fly migrate-to-v2 -c C:\Users\arul4\OneDrive\Documents\Learning-Management-System\backend\fly.toml
→ You can detach the terminal anytime without stopping the deployment
==> Monitoring deployment
Logs: Sign In · Fly

2 desired, 1 placed, 0 healthy, 1 unhealthy
→ v55 failed - Failed due to unhealthy allocations - not rolling back to stable job version 55 as current job has same specification and deploying as v56

→ Troubleshooting guide at Troubleshooting your Deployment · Fly Docs
Error: abort

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