Build fails with "Directory not empty" error on website service
bizzareus
HOBBYOP

17 days ago

Details to include:

Service: website (ID: 073abfbf-ef60-44b2-9a29-092f45cef057)

Project: business manager

Environment: production

Repo: bizzareus/business-manager (main, /website)

Error: phase PHASE_SETUP failed (exit 1): clear dest before re-clone: Directory not empty (os error 39)

Failing deployments: 022f2d40-9290-4492-9d91-7ba4eec71f2d, f365a3fb-3c06-41a5-b764-d16cf4e9d64f, 4adce9ff-344f-4653-bb37-05aa1ba17f84

What you tried: multiple redeploys, empty commit push, waiting

Solved

1 Replies

Status changed to Awaiting Railway Response Railway 17 days ago


17 days ago

We've switched your website service off our new Express deploy path. Redeploy and it should build.

That path keeps a persistent filesystem between builds, and yours had corrupt entries under website/app/rss.xml and website/public/images that git couldn't read or delete. Every retry reused the same filesystem, which is why the empty commits and waiting didn't help. Nothing in your repo caused it, your api and worker services built fine from the same commits.

Off that path, the build starts clean.


Status changed to Awaiting User Response Railway 17 days ago


Railway
BOT

10 days ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 10 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...