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

Running the server container - Error #47

Open
mdaugherty112 opened this issue Jun 22, 2018 · 1 comment
Open

Running the server container - Error #47

mdaugherty112 opened this issue Jun 22, 2018 · 1 comment

Comments

@mdaugherty112
Copy link

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.

@0xIn7rud3r
Copy link

I faced this error. Make sure you have following directory structure created and write permissions assigned.

opt/gocrack/
├── files
│   ├── engine
│   ├── import
│   ├── task
│   └── temp

Also following parameters in config.yaml file.

file_manager:
  engine_file_path: /opt/gocrack/files/engine
  task_file_path: /opt/gocrack/files/task
  import_path: /opt/gocrack/files/import
  temp_path: /opt/gocrack/files/temp

PS: Its recommended to keep base path as "/opt/gocrack/". if using different location you may need to edit it at few other places before build.

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