Skip to content

Can not login to caldera 5.0 #2984

@sidomir7

Description

@sidomir7

Hi, I can not login to the caldera web app wit red or blue account.
I followed Docker Deployment from README.

image

This are logs from docker build.

sudo docker build . --build-arg WIN_BUILD=true -t caldera:latest
[sudo] password for sidi:
[+] Building 819.9s (11/34)                                                                                                                                                                                                         docker:default
[+] Building 823.0s (11/34)                                                                                                                                                                                                         docker:default
[+] Building 1717.3s (35/35) FINISHED                                                                                                                                                                                               docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                                                          0.1s
 => => transferring dockerfile: 3.85kB                                                                                                                                                                                                        0.0s
 => [internal] load metadata for docker.io/library/ubuntu:23.04                                                                                                                                                                               2.5s
 => [internal] load .dockerignore                                                                                                                                                                                                             0.0s
 => => transferring context: 333B                                                                                                                                                                                                             0.0s
 => [ 1/30] FROM docker.io/library/ubuntu:23.04@sha256:5a828e28de105c3d7821c4442f0f5d1c52dc16acf4999d5f31a3bc0f03f06edd                                                                                                                      16.5s
 => => resolve docker.io/library/ubuntu:23.04@sha256:5a828e28de105c3d7821c4442f0f5d1c52dc16acf4999d5f31a3bc0f03f06edd                                                                                                                         0.0s
 => => sha256:ea1285dffce8a938ef356908d1be741da594310c8dced79b870d66808cb12b0f 424B / 424B                                                                                                                                                    0.0s
 => => sha256:f4cdeba72b994748f5eb1f525a70a9cc553b66037ec37e23645fbf3f0f5c160d 2.30kB / 2.30kB                                                                                                                                                0.0s
 => => sha256:6360b371721185fefbbad6763ab745900f1b2f7714570234473232dd575fc07f 26.89MB / 26.89MB                                                                                                                                             12.4s
 => => sha256:5a828e28de105c3d7821c4442f0f5d1c52dc16acf4999d5f31a3bc0f03f06edd 1.13kB / 1.13kB                                                                                                                                                0.0s
 => => extracting sha256:6360b371721185fefbbad6763ab745900f1b2f7714570234473232dd575fc07f                                                                                                                                                     1.7s
 => [internal] load build context                                                                                                                                                                                                             0.5s
 => => transferring context: 80.62MB                                                                                                                                                                                                          0.3s
 => [ 2/30] RUN ln -snf /usr/share/zoneinfo/UTC /etc/localtime &&     echo UTC > /etc/timezone                                                                                                                                               13.1s
 => [ 3/30] WORKDIR /usr/src/app                                                                                                                                                                                                              0.1s
 => [ 4/30] ADD . .                                                                                                                                                                                                                           3.9s
 => [ 5/30] RUN if [ -z "$(ls plugins/stockpile)" ]; then echo "stockpile plugin not downloaded - please ensure you recursively cloned the caldera git repository and try again."; exit 1; fi                                                 0.3s
 => [ 6/30] RUN apt-get update &&     apt-get -y install python3 python3-pip python3-venv git curl golang-go                                                                                                                                511.9s
 => [ 7/30] RUN if [ "true" = "true" ] ; then apt-get -y install mingw-w64; fi                                                                                                                                                              271.2s
 => [ 8/30] RUN python3 -m venv /opt/venv/caldera                                                                                                                                                                                             5.2s
 => [ 9/30] RUN pip3 install --no-cache-dir -r requirements.txt                                                                                                                                                                             120.9s
 => [10/30] RUN python3 -c "import app; import app.utility.config_generator; app.utility.config_generator.ensure_local_config();";                                                                                                            0.8s
 => [11/30] WORKDIR /usr/src/app/plugins/sandcat/gocat                                                                                                                                                                                        0.1s
 => [12/30] RUN go mod tidy && go mod download                                                                                                                                                                                                8.4s
 => [13/30] WORKDIR /usr/src/app/plugins/sandcat                                                                                                                                                                                              0.1s
 => [14/30] RUN if [ "true" = "true" ] ; then cp ./update-agents.sh ./update-agents-copy.sh; fi                                                                                                                                               0.6s
 => [15/30] RUN if [ "true" = "true" ] ; then tr -d '\15\32' < ./update-agents-copy.sh > ./update-agents.sh; fi                                                                                                                               0.6s
 => [16/30] RUN if [ "true" = "true" ] ; then rm ./update-agents-copy.sh; fi                                                                                                                                                                  0.6s
 => [17/30] RUN ./update-agents.sh                                                                                                                                                                                                           71.7s
 => [18/30] RUN mkdir /tmp/gocatextensionstest                                                                                                                                                                                                0.8s
 => [19/30] RUN cp -R ./gocat /tmp/gocatextensionstest/gocat                                                                                                                                                                                  0.8s
 => [20/30] RUN cp -R ./gocat-extensions/* /tmp/gocatextensionstest/gocat/                                                                                                                                                                    1.0s
 => [21/30] RUN cp ./update-agents.sh /tmp/gocatextensionstest/update-agents.sh                                                                                                                                                               0.9s
 => [22/30] WORKDIR /tmp/gocatextensionstest                                                                                                                                                                                                  0.1s
 => [23/30] RUN mkdir /tmp/gocatextensionstest/payloads                                                                                                                                                                                       0.8s
 => [24/30] RUN ./update-agents.sh                                                                                                                                                                                                            1.3s
 => [25/30] RUN if [ ! -d "/usr/src/app/plugins/atomic/data/atomic-red-team" ]; then       git clone --depth 1 https://github.com/redcanaryco/atomic-red-team.git         /usr/src/app/plugins/atomic/data/atomic-red-team;                 122.3s
 => [26/30] WORKDIR /usr/src/app/plugins/emu                                                                                                                                                                                                  0.1s
 => [27/30] RUN if [ $(grep -c "\- emu" ../../conf/local.yml)  ]; then     apt-get -y install zlib1g unzip;                    pip3 install -r requirements.txt;                   ./download_payloads.sh;                         fi        30.7s
 => [28/30] WORKDIR /usr/src/app                                                                                                                                                                                                              0.1s
 => [29/30] RUN apt-get update &&     apt-get install -y nodejs npm &&     (cd plugins/magma && npm install) &&     (cd plugins/magma && npm run build) &&     apt-get remove -y nodejs npm &&     apt-get autoremove -y &&     apt-get cl  438.2s
 => [30/30] WORKDIR /usr/src/app                                                                                                                                                                                                              0.4s
 => exporting to image                                                                                                                                                                                                                       87.6s
 => => exporting layers                                                                                                                                                                                                                      86.6s
 => => writing image sha256:dbc6c7cbe2a42265240816fbff83a3e0fa91158a778a0651f707bb0b5a467172                                                                                                                                                  0.4s
 => => naming to docker.io/library/caldera:latest                                

Metadata

Metadata

Labels

bugIndicates an unexpected problem or unintended behavior

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions