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

JSON log file error #25

Open
droberson opened this issue Mar 3, 2022 · 1 comment
Open

JSON log file error #25

droberson opened this issue Mar 3, 2022 · 1 comment

Comments

@droberson
Copy link
Owner

Got this error when dropping permissions. Also does not show the reason for the error:

[Thu Mar 3 16:58:40 2022] FATAL: Unable to open JSON log file:

@domingo13
Copy link

It's a filesystem permission issue.

I changed the docker-compose.yml volume definition to another location on the filesystem where I could give broader permissions and then it worked.
Like this:

version: '2'
services:
ssh-honeypot:
image: 'local/ssh-honeypot:latest'
build: .
ports:
- '22:2022'
volumes:
- ${PWD}/ssh-honeypot-log:/home/honeycomb/log
- rsa:/home/honeycomb/rsa
networks:
default:
restart: unless-stopped

volumes:
log:
driver: local
rsa:
driver: local

networks:
default:

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

2 participants