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

Cannot open capture #36

Closed
deanfourie1 opened this issue Mar 20, 2024 · 3 comments · Fixed by #37
Closed

Cannot open capture #36

deanfourie1 opened this issue Mar 20, 2024 · 3 comments · Fixed by #37

Comments

@deanfourie1
Copy link

deanfourie1 commented Mar 20, 2024

The capture uploads successfully, but then nothing happens, it just hangs on the upload screen.

Thanks

image
@lmangani
Copy link
Member

Check the console for errors

@PengyuDeng
Copy link

I also encountered this problem, the /captures user and group is root, but the container is running on node, node does not have /capturesd permissions

@ekoyle
Copy link
Collaborator

ekoyle commented Apr 29, 2024

It looks like permissions were not set for /captures in the Dockerfile.

There is also an issue with the way bind mounts are handled via docker compose. Manually changing the ownership on the captures directory to the correct UID:GID (1000:1000) should make it work with the existing docker-compose.yml .

ekoyle added a commit to ekoyle/node-webshark that referenced this issue Apr 29, 2024
Set inital ownership on /captures in dockerfile. Run entrypoint script
as root so that it can change `root:root` ownership to `node:node` in
the case of docker compose, then use `su` to drop back to the node user.

Fixes QXIP#36
lmangani pushed a commit that referenced this issue May 4, 2024
Set inital ownership on /captures in dockerfile. Run entrypoint script
as root so that it can change `root:root` ownership to `node:node` in
the case of docker compose, then use `su` to drop back to the node user.

Fixes #36
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

Successfully merging a pull request may close this issue.

4 participants