Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When setting up the repo with astro-cli I ran into this error (using an M1 Mac with colima instead of docker): #2

Closed
jeerapsun opened this issue Mar 25, 2025 · 0 comments

Comments

@jeerapsun
Copy link
Owner

When setting up the repo with astro-cli I ran into this error (using an M1 Mac with colima instead of docker):

Error: error building, (re)creating or starting project containers: 
    Error response from daemon: error while creating mount source path '~/dev/ebook-etl-elt/include/postgres': 
        chown ~/dev/ebook-etl-elt/include/postgres: permission denied

tldr:

If you hit that error, try a astro dev restart before digging into the weeds trying to troubleshoot docker volume mount permissions

More context

I did a slight amount of digging after getting the error up top, and it may be related to this rancher-desktop issue.

In that issue discussion someone mentioned that the combo of error while creating mount source path & chown ... permission denied might indicate that the directory ${PWD}/include/postgres isn't created when chown is executed.

Long story short, I checked my repo and the directory had been created, so I tried astro dev restart and airflow started up without issues.

Hopefully the simple restart works for others, because the thicket of weeds otherwise looks like it's been growing a while -- maybe consider trying podman instead (if not actual factual docker) before bushwhacking in 😆), especially as it turns out it's already been discovered the problem affects astro-cli

Originally posted by @hanleybrand in astronomer/ebook-etl-elt#1

@jeerapsun jeerapsun pinned this issue Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant