Comments (7)
Should be fixed in https://github.com/stevengoossensB/misp-docker/tree/revert-79-master @helinko tested this as well. If you want a container that is already built, you can also use stevengoossens/misp:patched on dockerhub. Now just waiting until the PR is merged.
from x_old_misp_docker.
Here is the log:
`
Step 8/11 : RUN bash /tmp/INSTALL.sh -c
---> Running in bc65a7679e68
Next step: Checking if we are run as the installer template
Next step: Checking Linux distribution and flavour...
/tmp/INSTALL.sh: line 332: lsb_release: command not found
Next step: We detected the following Linux flavour: Ubuntu
Next step: Checking if we are uptodate and checksums match
tput: No value for $TERM and no -T specified
Next step: Setting MISP variables
Next step: Setting generic MISP variables shared by all flavours
groups: 'misp': no such user
The following DB Passwords were generated...
Admin (root) DB Password: 5b212ac7ec78a01c03a45d7bbdd973195895e8f99db051693b59f27b3d33612a
User (misp) DB Password: 12a7bdfde6659fc9ba83611b067f4e60baa5b1007aa23be31663f34ceda25f92
Next step: Checking for parameters or Unattended Kali Install
Next step: Setting install options with given parameters.
core
/tmp/INSTALL.sh: line 3299: lsb_release: command not found
Installation done!
Removing intermediate container bc65a7679e68
---> 00a860583682
Step 9/11 : VOLUME /var/www/MISP
`
from x_old_misp_docker.
I tried adding lsb-release
to this line https://github.com/MISP/misp-docker/blob/14fbecf1c90c526f8de5fe9abf52422abfc02060/web/Dockerfile#L5
But then it just fails during the build.
Next step: Checking if run as root and misp is
This script cannot be run as a root
rm: cannot remove '/tmp/INSTALL.sh.*': No such file or directory
ERROR: Service 'web' failed to build: The command '/bin/sh -c bash /tmp/INSTALL.sh -c' returned a non-zero code: 1
Earlier on there are also other errors
tput: No value for $TERM and no -T specified
groups: 'misp': no such user
/tmp/INSTALL.sh: line 694: ip: command not found
I'll continue digging tomorrow if no one else has found a fix
from x_old_misp_docker.
Sure. I'm looking into it as well. But sad thing about that INSTALL script is that it requires some command(s) to be executed which is weird within the docker image/container like the ip
command and others without tinkering around a little bit.
from x_old_misp_docker.
Yeah it might be that this is part of a bigger problem, i.e. running install.sh in the container, since it's not intended to be run there. Even in the PR #79 that introduced it, @stevengoossensB says the changes should probably be in a different branch since it's a work in progress. I expect that even if we manage to patch this now, they may just change it upstream tomorrow and then it breaks again.
from x_old_misp_docker.
Looks like this is also a duplicate of #90
from x_old_misp_docker.
Hi,
I created a new PR to revert the changes. I'm indeed still working on the Docker container with the INSTALL script, which indeed requires some tinkering and changes to the INSTALL script to get this fully running.
from x_old_misp_docker.
Related Issues (20)
- MISP SSL Configuration HOT 1
- DEBUG urlib3 POST request failed
- MISP to Sentinel sync failing
- Security Worst Practice: MYSQL_PASSWORD logged in cleartext
- Accessing web Interface from remote host HOT 2
- Request: Build for Apple Silicon ARM64 (M1 Ultra) HOT 2
- Web server failed on Misp Installation HOT 10
- Unable to find MISP related logs HOT 1
- Publish Docker Image to an registry HOT 2
- Import sql db? HOT 2
- An Internal Error Has Occurred. on initial install HOT 2
- misp_db --initialize specified but the data directory has files in it. Aborting.
- MISP files detected as malware backdoor trojan by Defender for endpoint HOT 2
- Feeds are not being downloaded
- Docker compose build fatal error : mkdir: cannot create directory ‘/var/www/MISP’ , could not create leading directories of '/var/www/MISP': Permission denied HOT 1
- misp_web | /usr/bin/env: ‘bash\r’: No such file or directory
- INSTALL_NODB.sh: line 73: syntax error near unexpected token
- Azure (MS EntraID) SSO
- Require Run As Non-Root User
- missing autoload.php HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from x_old_misp_docker.