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

neo4j_amundsen couldn't open temporary file #2215

Open
we1she2 opened this issue Nov 22, 2023 · 3 comments
Open

neo4j_amundsen couldn't open temporary file #2215

we1she2 opened this issue Nov 22, 2023 · 3 comments
Labels
status:needs_triage For all issues that need to be processed type:bug An unexpected problem or unintended behavior

Comments

@we1she2
Copy link

we1she2 commented Nov 22, 2023

Hi guys~

This is the bug I encountered

Expected Behavior

docker container neo4j_amundsen works fine

Current Behavior

docker container neo4j_amundsen sed: couldn't open temporary file /var/lib/neo4j/conf/sedP9fspC: Permission denied, and exited with code 4

Possible Solution

Dockerfile add chown&chmod ?

Steps to Reproduce

1.git clone --recursive https://github.com/amundsen-io/amundsen.git
2.cd amundsen
3.docker-compose -f docker-amundsen-local.yml up

Screenshots (if appropriate)

image

Context

neo4j_amundsen exited with code 4

Your Environment

  • Amunsen version used: main branch
  • Docker Compose version: v2.23.0-desktop.1
  • macOS: 14.0
@we1she2 we1she2 added status:needs_triage For all issues that need to be processed type:bug An unexpected problem or unintended behavior labels Nov 22, 2023
Copy link

boring-cyborg bot commented Nov 22, 2023

Thanks for opening your first issue here!

@koumi15cancer
Copy link

koumi15cancer commented Nov 22, 2023

Hi, I've tried to resolve and suggest the solution on my comment here in #2181.

You can set the mount volume to
- ./example/docker/neo4j/conf:/conf instead of

- ./example/docker/neo4j/conf:/var/lib/neo4j/conf

@mikekutzma
Copy link
Contributor

I've solved similar issues by adding user and group_add arguments to my docker compose file, under the neo4j service

services:
    neo4j:
        ...
        user: '1000'
        group_add:
            - '1000'
        ...

Basically the issue is with mounted volumes, and the permissions docker has, more info here
https://stackoverflow.com/a/75219043

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:needs_triage For all issues that need to be processed type:bug An unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants