mandiant / mandiant/gocrack

Running the server container - Error

Open
#47 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.3k
Forks
238
PR merge metrics
No merged PRs in 30d

Description

When I run the docker run -it for the server I get the following error:
Adding user `gocrack' ...
Adding new group `gocrack' (1000) ...
Adding new user `gocrack' (1000) with group `gocrack' ...
Creating home directory `/home/gocrack' ...
Copying files from `/etc/skel' ...
{"time":"2018-06-22T17:58:34Z","level":"fatal","error":"file_manager.task_file_path has to be a valid, writable folder","message":"Failed to initialize server"}

I know task_file_path is from the config file and has a value: /opt/gocrack_server/files/task
Any help would be appreciated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the server container with the reported docker run command and inspect the configuration value /opt/gocrack_server/files/task. Check whether that path exists and is writable inside the container; done means the server initializes without the fatal task_file_path error. No source file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
backend, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.