certat / do-portal

This project is in maintenance mode and will only receive bug fixes, but no new features. A new version of this software is being developed.
5 stars 5 forks source link

Docker-compose: Service 'portal-frontend' failed to build #113

Closed vetsolution closed 4 years ago

vetsolution commented 4 years ago

Hello,

I cant build do-portal with the docker--comose file provided. A log of the last line of the build:

Step 13/16 : RUN    cp config/envs/docker.json config/envs/devel.json     && cp config/envs/docker.json config/envs/production.json     && PATH=$(npm bin):$PATH grunt
 ---> Running in 3ffa5019df08
Loading "Gruntfile.js" tasks...ERROR
>> Error: Unable to read "secret.json" file (Error code: ENOENT).

jit-grunt: Plugin for the "default" task not found.
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings

Warning: Task "default" failed. Use --force to continue.

Aborted due to warnings.

Execution Time (2020-03-25 09:35:07 UTC-0)
loading tasks  131ms  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 99%
Total 132ms

ERROR: Service 'portal-frontend' failed to build: The command '/bin/sh -c cp config/envs/docker.json config/envs/devel.json     && cp config/envs/docker.json config/envs/production.json     && PATH=$(npm bin):$PATH grunt' returned a non-zero code: 3

Any one encounter this ?

Many thanks

MarkHofstetter commented 4 years ago

hi, which branch are you trying to build, (and just out of personal interest what are you planing to do?)

cheers Mark

vetsolution commented 4 years ago

Hello Mark, I'm on the master branch. It seem that is the command 'PATH=$(npm bin):$PATH grunt' which cause troubles.

I want to have a platform where I can centralize and treat several security feeds, so I look after IntelMQ for the centralization and now I'm looking for an interface to ease the analysis of the events

Regards

MarkHofstetter commented 4 years ago

I just added an example for secret.json to the master branch it should work now.

But I doubt that this part of the software is going to help you much with IntelMQ. This is some sort of a hierarchical contact database for "certs"

ghost commented 4 years ago

I want to have a platform where I can centralize and treat several security feeds, so I look after IntelMQ for the centralization and now I'm looking for an interface to ease the analysis of the events

This software is mainly for management of contact information with an integration (lookup) for IntelMQ. An optional component is the stats portal, but I recommend to use it stand-alone if you do not need the rest of this.

For a broader discussion I invite you to join the mailinglist, where you can ask for ideas on what you are trying to achieve. There are various users there which could also add some experience and insights: https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-users

vetsolution commented 4 years ago

I pull the last revision and I still encounter the issue. I'm not very familiar with npm stuff so it is difficult for me to debug what going on.

I'm interested in the contact database

Thank you for your help

ghost commented 4 years ago

@davewood Can you have a look please?

MarkHofstetter commented 4 years ago

and you copied secret.json.example to secrete.json?

vetsolution commented 4 years ago

Nope misread your previous comment, it builds now ;) Maybe specify it install doc ? https://github.com/certat/do-portal/blob/master/docs/01_INSTALL.md

Thank you

ghost commented 4 years ago

Thanks for the bug report @vetsolution and for the fix @MarkHofstetter