failed to fetch an image or build from source

I was trying to deploy my new project like I have done once before, but it seems that this time I am unable to.

When I run fly deploy, I am get this error: failed to fetch an image or build from source: error building: failed to solve: archive/tar: unknown file mode ?rwxr-xr-x.

I tried to see if it was something that I may have done wrong, so I tried to run fly deploy on an already deployed project and without changing anything, I received the same error at the same stage.

Can i get assistance with this issue?

The Issue turned out to be the local storage link, since a storage link is just a copy of a folder to make it public, this causes permissions issues as docker does not recognize the permissions of a folder copy.

I added the copied folder to docker ignore and used the Entry point script to remake the storage link, this solved my issue.

1 Like