-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[Bug]: Cannot connect to localhost. Error: EACCES: permission denied, scandir '/app/public/.well-known'] #2496
Comments
The sudo chmod -R 755 /path/to/app/public/.well-known Make sure to replace
|
@dosu thank you - which app are we talking about? Docker? Quivr? A filesystem in a container? |
To address the Here's a concise guide to adjust your Dockerfile for setting the correct permissions:
# Example snippet from Dockerfile
RUN chown -R nextjs:nodejs ./public
By following these steps, you should be able to resolve the permission issues and ensure your Dockerized Next.js application can access the necessary directories without encountering
|
This isn't helpful. I installed everything according to the (rather simple) instructions, I don't think I should have this permission error, but either way I don't know how to run that command, I can't find /public/.well-known |
@joewinke Hey I tried to reproduce but I can't. Can you try to rebuild it ? with |
@StanGirard Thank you very much for helping. I ran it and it rebuilt, and then it began looping the same errors. Here is the log from running
|
@StanGirard any ideas? |
Can you try to do a |
@StanGirard Git pull worked, then I did
|
Experienced the same. My workaround was run the frontend as root. Simply comment or delete the |
What happened?
I installed supabase, and can connect.
I installed docker and docker compose, and they are running in mac gui.
I ran docker and it gives the log output. It just keeps looping between 'backend-core ... 200 OK messages' and the
web ... [Error: EACCES: permission denied, scandir '/app/public/.well-known'] { web | errno: -13, web | code: 'EACCES', web | syscall: 'scandir', web | path: '/app/public/.well-known' web | }
When I go to localhost:3000 it says unable to connect.
Relevant log output
Twitter / LinkedIn details
No response
The text was updated successfully, but these errors were encountered: