failed to fetch an image or build from source EBUSY: Device or resource busy, retrying in a bit

Unable to deploy suddenly this morning

==> Building image
Waiting for remote builder fly-builder-green-fire-8860...
WARN Remote builder did not start in time. Check remote builder logs with `flyctl logs -a fly-builder-green-fire-8860`

WARN Failed to start remote builder heartbeat: remote builder app unavailable

Waiting for remote builder fly-builder-green-fire-8860...
WARN Remote builder did not start in time. Check remote builder logs with `flyctl logs -a fly-builder-green-fire-8860`

Error: failed to fetch an image or build from source: error connecting to docker: remote builder app unavailable

Error: Process completed with exit code 1.

$ flyctl logs -a fly-builder-green-fire-8860

2023-07-27T05:47:30Z app[32874ee0c6d118] dfw [info] INFO Main child exited normally with code: 1
2023-07-27T05:47:30Z app[32874ee0c6d118] dfw [info] INFO Starting clean up.
2023-07-27T05:47:30Z app[32874ee0c6d118] dfw [info] INFO Umounting /dev/vdb from /data
2023-07-27T05:47:30Z app[32874ee0c6d118] dfw [info]ERROR error umounting /data: EBUSY: Device or resource busy, retrying in a bit
2023-07-27T05:47:31Z app[32874ee0c6d118] dfw [info]ERROR error umounting /data: EBUSY: Device or resource busy, retrying in a bit
2023-07-27T05:47:32Z app[32874ee0c6d118] dfw [info]ERROR error umounting /data: EBUSY: Device or resource busy, retrying in a bit
2023-07-27T05:47:33Z app[32874ee0c6d118] dfw [info]ERROR error umounting /data: EBUSY: Device or resource busy, retrying in a bit
2023-07-27T05:47:33Z app[32874ee0c6d118] dfw [info] WARN hallpass exited, pid: 294, status: signal: 15 (SIGTERM)
2023-07-27T05:47:33Z app[32874ee0c6d118] dfw [info]2023/07/27 05:47:33 listening on [fdaa:2:817f:a7b:162:ec9:32c8:2]:22 (DNS: [fdaa::3]:53)
2023-07-27T05:47:34Z app[32874ee0c6d118] dfw [info] INFO Sending signal SIGUSR1 to main child process w/ PID 293
2023-07-27T05:47:34Z app[32874ee0c6d118] dfw [info]ERROR error signaling (SIGUSR1) main child process: ESRCH: No such process
2023-07-27T05:47:34Z app[32874ee0c6d118] dfw [info][    7.422746] reboot: Restarting system
2023-07-27T05:47:35Z runner[32874ee0c6d118] dfw [info]machine has reached its max restart count (10)

$ fly doctor

Testing authentication token... PASSED
Testing flyctl agent... PASSED
Testing local Docker instance... Nope
Pinging WireGuard gateway (give us a sec)... PASSED

App specific checks for j***fly:
Checking that app has ip addresses allocated... PASSED
Checking A record for j***fly.dev... PASSED
Checking AAAA record for j***fly.dev... PASSED

Build checks for j***fly:
Checking docker context size (this may take little bit)... PASSED (12 MB)
Checking for .dockerignore... PASSED

Should I keep waiting or is there any way to fix it manually? :face_with_spiral_eyes:

https://community.fly.io/t/postgres-app-only-running-for-an-hour/12597

I solved it through this article, no problem :+1: