MISP / misp-docker

A production ready Dockered MISP
GNU General Public License v3.0
152 stars 90 forks source link

Redis password? #9

Closed yaleman closed 1 month ago

yaleman commented 9 months ago

One of the MISP diagnostics notes that not setting a Redis password is an "error" level fail - is there a way to set the MISP connection password in the MISP config of this container?

ostefano commented 9 months ago

Consider that in this setup Redis is not exposed to any service besides the containers listed in docker-compose.yml so it is safe to ignore the error.

If you still want to set a password, I guess you could follow these instructions https://copyprogramming.com/howto/how-to-use-redis-username-with-password-in-docker-compose, and modify the scripts used to configure MISP inside the core directory, but also research how to propagate Redis credentials to the misp-modules.

yaleman commented 9 months ago

Thanks for the response - I'm using the packaged container from the repo but not the docker-compose file, would you be open to me PR'ing in a configurable option?

ostefano commented 9 months ago

Sure, as long as we can make it optional, PRs are more than welcome 👍

ostefano commented 9 months ago

@yaleman you'd probably found this already https://misp.github.io/misp-modules/install/ it's quite informative as the env variables that the misp-modules container needs to have configured.

Diogo-Rego commented 1 month ago

After setting up a password for Redis in the Docker container and adding it to the MISP Core configuration file, the following error occurred.

Steps to Reproduce

  1. Configure the Redis container with a password in the docker-compose.yml file:
---
volumes:
  redis_data: {}
services:
  redis:
    image: redis:latest
    ports:
      - 6379:6379
    command: '--requirepass redisPassword'
    volumes:
      - redis_data:/data

Add the Redis password to the MISP Core configuration file core/files/etc/misp-docker/minimum_config.defaults.json:

{
  (...)
  "MISP.redis_password": {
    "default_value": "redisPassword"
  },
  (...)
  "SimpleBackgroundJobs.redis_password": {
    "default_value": "redisPassword"
  },
  (...)
}
  1. Run the container and check the logs.

Expected Result

MISP Core should connect to Redis using the configured password without any errors.

Actual Result

The following error occurred (include details of the error message or unexpected behavior):

5b14bc7b-8f97-4aec-878c-1d7dc7e0b16b

ostefano commented 1 month ago

Indeed @Diogo-Rego , some work needs to be done to support Redis passwords in MISP. I have no spare cycles at the moment, but happy to review PRs.

ostefano commented 1 month ago

@Diogo-Rego @yaleman new PR is ready (and should work correctly AFAIK). Please test: https://github.com/MISP/misp-docker/pull/107

Diogo-Rego commented 1 month ago

@Diogo-Rego @yaleman new PR is ready (and should work correctly AFAIK). Please test: #107

redis-1         | 1:C 12 Aug 2024 10:04:39.532 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
db-1            | 2024-08-12 10:04:39+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.8+maria~ubu2204 started.
misp-core-1     | 2024-08-12 10:04:45,408 WARN For [program:nginx], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
misp-core-1     | 2024-08-12 10:04:45,408 WARN For [program:php-fpm], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
misp-core-1     | 2024-08-12 10:04:45,408 WARN For [program:cron], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
misp-core-1     | 2024-08-12 10:04:45,408 INFO Included extra file "/etc/supervisor/conf.d/10-supervisor.conf" during parsing
misp-core-1     | 2024-08-12 10:04:45,408 INFO Included extra file "/etc/supervisor/conf.d/50-workers.conf" during parsing
misp-core-1     | 2024-08-12 10:04:45,408 INFO Set uid to user 0 succeeded
misp-core-1     | 2024-08-12 10:04:45,410 INFO RPC interface 'supervisor' initialized
misp-core-1     | 2024-08-12 10:04:45,410 INFO RPC interface 'supervisor' initialized
misp-core-1     | 2024-08-12 10:04:45,410 CRIT Server 'unix_http_server' running without any HTTP authentication checking
misp-core-1     | 2024-08-12 10:04:45,411 INFO supervisord started with pid 7
db-1            | 2024-08-12 10:04:39+00:00 [Warn] [Entrypoint]: /sys/fs/cgroup///memory.pressure not writable, functionality unavailable to MariaDB
db-1            | 2024-08-12 10:04:39+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
misp-core-1     | 2024-08-12 10:04:46,413 INFO spawned: 'cron' with pid 8
misp-core-1     | 2024-08-12 10:04:46,414 INFO spawned: 'nginx' with pid 9
mail-1          | using non-split configuration scheme from /etc/exim4/exim4.conf.template
mail-1          |     1 LOG: MAIN
mail-1          |     1   exim 4.96 daemon started: pid=1, -q15m, listening for SMTP on port 25 (IPv6 and IPv4)
mail-1          |   274 Exim version 4.96 uid=100 gid=102 pid=274 D=80001
mail-1          |   274 Berkeley DB: Berkeley DB 5.3.28: (September  9, 2013)
mail-1          |   274 Support for: crypteq iconv() IPv6 GnuTLS TLS_resume move_frozen_messages DANE DKIM DNSSEC Event I18N OCSP PIPECONNECT PRDR Queue_Ramp SOCKS SRS TCP_Fast_Open
mail-1          |   274 Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmjz dbmnz dnsdb dsearch nis nis0 passwd
mail-1          |   274 Authenticators: cram_md5 external plaintext
mail-1          |   274 Routers: accept dnslookup ipliteral manualroute queryprogram redirect
mail-1          |   274 Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
mail-1          |   274 Fixed never_users: 0
mail-1          |   274 Configure owner: 0:0
mail-1          |   274 Size of off_t: 8
mail-1          |   274 LOG: queue_run MAIN
misp-modules-1  | 2024-08-12 10:04:46,485 - misp-modules - INFO - Launch MISP modules server from current directory.
misp-modules-1  | 2024-08-12 10:04:46,487 - misp-modules - WARNING - Helpers failed cache.py due to Redis not running or not installed. Helper will be disabled.
misp-modules-1  | 2024-08-12 10:04:46,488 - misp-modules - INFO - MISP modules slack imported
misp-modules-1  | 2024-08-12 10:04:46,488 - misp-modules - INFO - MISP modules testaction imported
misp-modules-1  | 2024-08-12 10:04:46,491 - misp-modules - INFO - MISP modules mattermost imported
misp-modules-1  | 2024-08-12 10:04:46,492 - misp-modules - INFO - MISP modules threatanalyzer_import imported
misp-modules-1  | 2024-08-12 10:04:46,492 - misp-modules - INFO - MISP modules openiocimport imported
misp-modules-1  | 2024-08-12 10:04:46,492 - misp-modules - INFO - MISP modules taxii21 imported
misp-modules-1  | 2024-08-12 10:04:46,492 - misp-modules - INFO - MISP modules joe_import imported
misp-modules-1  | 2024-08-12 10:04:46,495 - misp-modules - INFO - MISP modules url_import imported
misp-modules-1  | 2024-08-12 10:04:46,496 - misp-modules - INFO - MISP modules import_blueprint imported
misp-modules-1  | 2024-08-12 10:04:46,496 - misp-modules - INFO - MISP modules csvimport imported
misp-modules-1  | 2024-08-12 10:04:46,496 - misp-modules - INFO - MISP modules cof2misp imported
misp-modules-1  | 2024-08-12 10:04:46,496 - misp-modules - INFO - MISP modules mispjson imported
misp-modules-1  | 2024-08-12 10:04:46,496 - misp-modules - INFO - MISP modules vmray_summary_json_import imported
misp-modules-1  | 2024-08-12 10:04:46,496 - misp-modules - INFO - MISP modules testimport imported
misp-modules-1  | 2024-08-12 10:04:46,497 - misp-modules - INFO - MISP modules email_import imported
misp-modules-1  | 2024-08-12 10:04:46,498 - misp-modules - INFO - MISP modules goamlimport imported
misp-modules-1  | 2024-08-12 10:04:46,498 - misp-modules - INFO - MISP modules ocr imported
misp-modules-1  | 2024-08-12 10:04:46,498 - misp-modules - INFO - MISP modules lastline_import imported
misp-modules-1  | 2024-08-12 10:04:46,498 - misp-modules - INFO - MISP modules vmray_import imported
misp-modules-1  | 2024-08-12 10:04:46,499 - misp-modules - INFO - MISP modules cuckooimport imported
redis-1         | 1:C 12 Aug 2024 10:04:39.532 * oO0OoO0OoO0Oo Valkey is starting oO0OoO0OoO0Oo
redis-1         | 1:C 12 Aug 2024 10:04:39.532 * Valkey version=7.2.6, bits=64, commit=00000000, modified=0, pid=1, just started
redis-1         | 1:C 12 Aug 2024 10:04:39.532 * Configuration loaded
redis-1         | 1:M 12 Aug 2024 10:04:39.532 * monotonic clock: POSIX clock_gettime
redis-1         | 1:M 12 Aug 2024 10:04:39.532 * Running mode=standalone, port=6379.
redis-1         | 1:M 12 Aug 2024 10:04:39.533 * Server initialized
redis-1         | 1:M 12 Aug 2024 10:04:39.533 * Ready to accept connections tcp
db-1            | 2024-08-12 10:04:39+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.11.8+maria~ubu2204 started.
db-1            | 2024-08-12 10:04:39+00:00 [Note] [Entrypoint]: Initializing database files
db-1            | 2024-08-12 10:04:39 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1
db-1            | 2024-08-12 10:04:39 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
misp-modules-1  | 2024-08-12 10:04:46,499 - misp-modules - INFO - MISP modules virustotal_collections imported
misp-modules-1  | 2024-08-12 10:04:46,499 - misp-modules - INFO - MISP modules threatStream_misp_export imported
db-1            | 
db-1            | 
db-1            | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
db-1            | To do so, start the server, then issue the following command:
db-1            | 
mail-1          |   274   Start queue run: pid=274
mail-1          |   274 LOG: queue_run MAIN
mail-1          |   274   End queue run: pid=274
misp-modules-1  | 2024-08-12 10:04:46,500 - misp-modules - INFO - MISP modules cisco_firesight_manager_ACL_rule_export imported
misp-modules-1  | 2024-08-12 10:04:46,500 - misp-modules - INFO - MISP modules nexthinkexport imported
misp-modules-1  | 2024-08-12 10:04:46,500 - misp-modules - INFO - MISP modules pdfexport imported
misp-modules-1  | 2024-08-12 10:04:46,500 - misp-modules - INFO - MISP modules testexport imported
misp-modules-1  | 2024-08-12 10:04:46,500 - misp-modules - INFO - MISP modules vt_graph imported
misp-modules-1  | 2024-08-12 10:04:46,500 - misp-modules - INFO - MISP modules goamlexport imported
misp-modules-1  | 2024-08-12 10:04:46,501 - misp-modules - INFO - MISP modules mass_eql_export imported
misp-modules-1  | 2024-08-12 10:04:46,501 - misp-modules - INFO - MISP modules threat_connect_export imported
misp-modules-1  | 2024-08-12 10:04:46,501 - misp-modules - INFO - MISP modules osqueryexport imported
misp-modules-1  | 2024-08-12 10:04:46,501 - misp-modules - INFO - MISP modules cef_export imported
misp-modules-1  | 2024-08-12 10:04:46,501 - misp-modules - INFO - MISP modules defender_endpoint_export imported
misp-modules-1  | 2024-08-12 10:04:46,501 - misp-modules - INFO - MISP modules liteexport imported
misp-modules-1  | 2024-08-12 10:04:46,502 - misp-modules - INFO - MISP modules mmdb_lookup imported
misp-modules-1  | 2024-08-12 10:04:46,502 - misp-modules - INFO - MISP modules macvendors imported
misp-modules-1  | 2024-08-12 10:04:46,502 - misp-modules - INFO - MISP modules threatfox imported
misp-modules-1  | 2024-08-12 10:04:46,502 - misp-modules - INFO - MISP modules passivetotal imported
misp-modules-1  | 2024-08-12 10:04:46,502 - misp-modules - INFO - MISP modules socialscan imported
db-1            | '/usr/bin/mariadb-secure-installation'
db-1            | 
db-1            | which will also give you the option of removing the test
db-1            | databases and anonymous user created by default.  This is
db-1            | strongly recommended for production servers.
db-1            | 
db-1            | See the MariaDB Knowledgebase at https://mariadb.com/kb
db-1            | 
db-1            | Please report any problems at https://mariadb.org/jira
db-1            | 
db-1            | The latest information about MariaDB is available at https://mariadb.org/.
db-1            | 
db-1            | Consider joining MariaDB's strong and vibrant community:
db-1            | https://mariadb.org/get-involved/
db-1            | 
db-1            | 2024-08-12 10:04:41+00:00 [Note] [Entrypoint]: Database files initialized
db-1            | 2024-08-12 10:04:41+00:00 [Note] [Entrypoint]: Starting temporary server
db-1            | 2024-08-12 10:04:41+00:00 [Note] [Entrypoint]: Waiting for server startup
db-1            | 2024-08-12 10:04:41 0 [Note] Starting MariaDB 10.11.8-MariaDB-ubu2204 source revision 3a069644682e336e445039e48baae9693f9a08ee as process 100
db-1            | 2024-08-12 10:04:41 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db-1            | 2024-08-12 10:04:41 0 [Note] InnoDB: Number of transaction pools: 1
db-1            | 2024-08-12 10:04:41 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
db-1            | 2024-08-12 10:04:41 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
db-1            | 2024-08-12 10:04:41 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1
db-1            | 2024-08-12 10:04:41 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
db-1            | 2024-08-12 10:04:41 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
misp-modules-1  | 2024-08-12 10:04:46,503 - misp-modules - INFO - MISP modules google_threat_intelligence imported
misp-modules-1  | 2024-08-12 10:04:46,503 - misp-modules - INFO - MISP modules sourcecache imported
misp-modules-1  | 2024-08-12 10:04:46,503 - misp-modules - INFO - MISP modules countrycode imported
misp-modules-1  | 2024-08-12 10:04:46,503 - misp-modules - INFO - MISP modules joesandbox_submit imported
misp-modules-1  | 2024-08-12 10:04:46,503 - misp-modules - INFO - MISP modules censys_enrich imported
misp-modules-1  | 2024-08-12 10:04:46,503 - misp-modules - INFO - MISP modules cve_advanced imported
misp-modules-1  | 2024-08-12 10:04:46,504 - misp-modules - INFO - MISP modules lastline_query imported
misp-modules-1  | 2024-08-12 10:04:46,504 - misp-modules - INFO - MISP modules sigma_queries imported
misp-modules-1  | 2024-08-12 10:04:46,504 - misp-modules - INFO - MISP modules dbl_spamhaus imported
misp-modules-1  | 2024-08-12 10:04:46,504 - misp-modules - INFO - MISP modules vulnerability_lookup imported
misp-modules-1  | 2024-08-12 10:04:46,505 - misp-modules - INFO - MISP modules greynoise imported
misp-modules-1  | 2024-08-12 10:04:46,505 - misp-modules - INFO - MISP modules threatminer imported
misp-modules-1  | 2024-08-12 10:04:46,505 - misp-modules - INFO - MISP modules domaintools imported
misp-modules-1  | 2024-08-12 10:04:46,505 - misp-modules - INFO - MISP modules cluster25_expand imported
misp-core-1     | 2024-08-12 10:04:46,416 INFO spawned: 'php-fpm' with pid 10
misp-core-1     | INIT | Initialize MySQL ...
misp-core-1     | Configure PHP | Change PHP values ...
misp-core-1     | Configure PHP | Starting PHP FPM
misp-core-1     | ERROR 1146 (42S02) at line 1: Table 'misp.attributes' doesn't exist
misp-core-1     | ... database has not been initialized, importing MySQL scheme...
misp-core-1     | 2024-08-12 10:04:47,439 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:04:47,440 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:04:47,440 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | INIT | Initialize NGINX ...
misp-core-1     | ... enabling port 80 redirect
misp-core-1     | ... enabling IPv6 on port 80
misp-core-1     | ... enabling SSL redirect
misp-core-1     | ... enabling port 443
misp-core-1     | ... enabling IPv6 on port 443
misp-core-1     | ... generating new self-signed TLS certificate
misp-core-1     | .+.....+.........+......+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..........+..+...+.........................+...+...+......+........+...+...+.......+.........+...+...+.........+........+.+.........+..+.+..................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+....+..+......+.........+.........+....+.....+..........+..+...+.....................................+.....+.........+.......+...+.........+..+......+....+...+...............+..+...............+.....................+...+.......+...+.....+......+.+..+.+......+.....+....+......+......+..................+............+..+.......+......+.........+..........................+.............+......+...+......+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
misp-core-1     | ..+...............+.............+......+........+......+.......+..............+....+..+...+....+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..............+..+.........+....+..+.............+.....................+...+..+.+........+.+.........+..+...............+....+......+...+...........+....+..+.......+...............+.....+.......+......+.................+......+.+...+.................+.+...............+.....+.......+.....+......+..........+..+...+..........+...............+.....+....+...........+..........+..+...+.......+.........+.....+.........+.........+.............+...+......+..............+.......+........+....+..+.+............+..+....+......+...........+.......+...+...+.....+.........+.......+.....+.+...............+..+......+..................................+....................+.+..+........................+....+..............+...+.............+............+..+.+..+....+...........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
misp-core-1     | -----
misp-core-1     | ... generating new DH parameters
misp-core-1     | Generating DH parameters, 2048 bit long safe prime
db-1            | 2024-08-12 10:04:41 0 [Note] InnoDB: Completed initialization of buffer pool
db-1            | 2024-08-12 10:04:41 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
db-1            | 2024-08-12 10:04:41 0 [Note] InnoDB: End of log at LSN=46996
db-1            | 2024-08-12 10:04:41 0 [Note] InnoDB: 128 rollback segments are active.
misp-modules-1  | 2024-08-12 10:04:46,506 - misp-modules - INFO - MISP modules circl_passivessl imported
misp-modules-1  | 2024-08-12 10:04:46,506 - misp-modules - INFO - MISP modules virustotal_public imported
misp-modules-1  | 2024-08-12 10:04:46,506 - misp-modules - INFO - MISP modules whois imported
misp-modules-1  | 2024-08-12 10:04:46,506 - misp-modules - INFO - MISP modules rbl imported
misp-modules-1  | 2024-08-12 10:04:46,506 - misp-modules - INFO - MISP modules geoip_country imported
misp-modules-1  | 2024-08-12 10:04:46,506 - misp-modules - INFO - MISP modules crowdsec imported
misp-modules-1  | 2024-08-12 10:04:46,507 - misp-modules - INFO - MISP modules clamav imported
misp-modules-1  | 2024-08-12 10:04:46,507 - misp-modules - INFO - MISP modules yara_syntax_validator imported
misp-modules-1  | 2024-08-12 10:04:46,507 - misp-modules - INFO - MISP modules otx imported
misp-modules-1  | 2024-08-12 10:04:46,507 - misp-modules - INFO - MISP modules cytomic_orion imported
misp-modules-1  | 2024-08-12 10:04:46,507 - misp-modules - INFO - MISP modules vmray_submit imported
misp-modules-1  | 2024-08-12 10:04:46,507 - misp-modules - INFO - MISP modules mwdb imported
misp-modules-1  | 2024-08-12 10:04:46,507 - misp-modules - INFO - MISP modules wiki imported
misp-modules-1  | 2024-08-12 10:04:46,508 - misp-modules - INFO - MISP modules farsight_passivedns imported
misp-modules-1  | 2024-08-12 10:04:46,514 - misp-modules - INFO - MISP modules vmware_nsx imported
misp-modules-1  | 2024-08-12 10:04:46,515 - misp-modules - INFO - MISP modules malwarebazaar imported
db-1            | 2024-08-12 10:04:41 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
db-1            | 2024-08-12 10:04:41 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
db-1            | 2024-08-12 10:04:41 0 [Note] InnoDB: log sequence number 46996; transaction id 14
db-1            | 2024-08-12 10:04:41 0 [Note] Plugin 'FEEDBACK' is disabled.
db-1            | 2024-08-12 10:04:41 0 [Warning] 'user' entry 'root@31a8a8d7b78e' ignored in --skip-name-resolve mode.
db-1            | 2024-08-12 10:04:41 0 [Warning] 'proxies_priv' entry '@% root@31a8a8d7b78e' ignored in --skip-name-resolve mode.
db-1            | 2024-08-12 10:04:41 0 [Note] mariadbd: ready for connections.
db-1            | Version: '10.11.8-MariaDB-ubu2204'  socket: '/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
db-1            | 2024-08-12 10:04:42+00:00 [Note] [Entrypoint]: Temporary server started.
db-1            | 2024-08-12 10:04:43+00:00 [Note] [Entrypoint]: Creating database misp
db-1            | 2024-08-12 10:04:43+00:00 [Note] [Entrypoint]: Creating user misp
db-1            | 2024-08-12 10:04:43+00:00 [Note] [Entrypoint]: Giving user misp access to schema misp
misp-modules-1  | 2024-08-12 10:04:46,515 - misp-modules - INFO - MISP modules ipinfo imported
misp-modules-1  | 2024-08-12 10:04:46,515 - misp-modules - INFO - MISP modules hyasinsight imported
misp-modules-1  | 2024-08-12 10:04:46,919 - misp-modules - INFO - MISP modules sigmf-expand imported
misp-modules-1  | 2024-08-12 10:04:46,919 - misp-modules - INFO - MISP modules ip2locationio imported
misp-modules-1  | 2024-08-12 10:04:46,919 - misp-modules - INFO - MISP modules docx_enrich imported
misp-modules-1  | 2024-08-12 10:04:46,920 - misp-modules - INFO - MISP modules apivoid imported
misp-modules-1  | 2024-08-12 10:04:46,920 - misp-modules - INFO - MISP modules assemblyline_submit imported
misp-modules-1  | 2024-08-12 10:04:46,920 - misp-modules - INFO - MISP modules btc_steroids imported
misp-modules-1  | 2024-08-12 10:04:46,920 - misp-modules - INFO - MISP modules assemblyline_query imported
misp-modules-1  | 2024-08-12 10:04:46,920 - misp-modules - INFO - MISP modules html_to_markdown imported
misp-modules-1  | 2024-08-12 10:04:46,920 - misp-modules - INFO - MISP modules stairwell imported
misp-modules-1  | 2024-08-12 10:04:46,921 - misp-modules - INFO - MISP modules iprep imported
misp-modules-1  | 2024-08-12 10:04:46,921 - misp-modules - INFO - MISP modules vulndb imported
misp-modules-1  | 2024-08-12 10:04:46,921 - misp-modules - INFO - MISP modules crowdstrike_falcon imported
misp-modules-1  | 2024-08-12 10:04:46,921 - misp-modules - INFO - MISP modules geoip_city imported
misp-modules-1  | 2024-08-12 10:04:46,921 - misp-modules - INFO - MISP modules xlsx_enrich imported
misp-modules-1  | 2024-08-12 10:04:46,921 - misp-modules - INFO - MISP modules pptx_enrich imported
misp-modules-1  | 2024-08-12 10:04:46,921 - misp-modules - INFO - MISP modules ocr_enrich imported
misp-modules-1  | 2024-08-12 10:04:46,922 - misp-modules - INFO - MISP modules btc_scam_check imported
misp-modules-1  | 2024-08-12 10:04:46,922 - misp-modules - INFO - MISP modules extract_url_components imported
misp-modules-1  | 2024-08-12 10:04:46,922 - misp-modules - INFO - MISP modules abuseipdb imported
misp-modules-1  | 2024-08-12 10:04:46,922 - misp-modules - INFO - MISP modules dns imported
misp-modules-1  | 2024-08-12 10:04:46,922 - misp-modules - INFO - MISP modules sophoslabs_intelix imported
misp-modules-1  | 2024-08-12 10:04:46,922 - misp-modules - INFO - MISP modules ransomcoindb imported
misp-modules-1  | 2024-08-12 10:04:46,923 - misp-modules - INFO - MISP modules shodan imported
misp-modules-1  | 2024-08-12 10:04:46,923 - misp-modules - INFO - MISP modules apiosintds imported
misp-modules-1  | 2024-08-12 10:04:46,923 - misp-modules - INFO - MISP modules hibp imported
misp-modules-1  | 2024-08-12 10:04:46,923 - misp-modules - INFO - MISP modules eql imported
misp-modules-1  | 2024-08-12 10:04:46,923 - misp-modules - INFO - MISP modules hashlookup imported
db-1            | 2024-08-12 10:04:43+00:00 [Note] [Entrypoint]: Securing system users (equivalent to running mysql_secure_installation)
db-1            | 
db-1            | 2024-08-12 10:04:43+00:00 [Note] [Entrypoint]: Stopping temporary server
db-1            | 2024-08-12 10:04:43 0 [Note] mariadbd (initiated by: unknown): Normal shutdown
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: FTS optimize thread exiting.
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Starting shutdown...
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Buffer pool(s) dump completed at 240812 10:04:43
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Shutdown completed; log sequence number 46996; transaction id 15
db-1            | 2024-08-12 10:04:43 0 [Note] mariadbd: Shutdown complete
db-1            | 
db-1            | 2024-08-12 10:04:43+00:00 [Note] [Entrypoint]: Temporary server stopped
db-1            | 
db-1            | 2024-08-12 10:04:43+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up.
db-1            | 
db-1            | 2024-08-12 10:04:43 0 [Note] Starting MariaDB 10.11.8-MariaDB-ubu2204 source revision 3a069644682e336e445039e48baae9693f9a08ee as process 1
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Number of transaction pools: 1
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
db-1            | 2024-08-12 10:04:43 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
db-1            | 2024-08-12 10:04:43 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 1
db-1            | 2024-08-12 10:04:43 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Completed initialization of buffer pool
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: End of log at LSN=46996
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: 128 rollback segments are active.
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: log sequence number 46996; transaction id 14
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
db-1            | 2024-08-12 10:04:43 0 [Note] Plugin 'FEEDBACK' is disabled.
db-1            | 2024-08-12 10:04:43 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
db-1            | 2024-08-12 10:04:43 0 [Note] InnoDB: Buffer pool(s) load completed at 240812 10:04:43
db-1            | 2024-08-12 10:04:43 0 [Note] Server socket created on IP: '0.0.0.0'.
db-1            | 2024-08-12 10:04:43 0 [Note] Server socket created on IP: '::'.
db-1            | 2024-08-12 10:04:43 0 [Note] mariadbd: ready for connections.
db-1            | Version: '10.11.8-MariaDB-ubu2204'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
misp-modules-1  | 2024-08-12 10:04:46,923 - misp-modules - INFO - MISP modules geoip_asn imported
misp-modules-1  | 2024-08-12 10:04:46,924 - misp-modules - INFO - MISP modules variotdbs imported
misp-modules-1  | 2024-08-12 10:04:46,924 - misp-modules - INFO - MISP modules urlhaus imported
misp-modules-1  | 2024-08-12 10:04:46,924 - misp-modules - INFO - MISP modules odt_enrich imported
misp-modules-1  | 2024-08-12 10:04:46,924 - misp-modules - INFO - MISP modules qintel_qsentry imported
misp-modules-1  | 2024-08-12 10:04:46,924 - misp-modules - INFO - MISP modules pdf_enrich imported
misp-modules-1  | 2024-08-12 10:04:46,924 - misp-modules - INFO - MISP modules ods_enrich imported
misp-modules-1  | 2024-08-12 10:04:46,924 - misp-modules - INFO - MISP modules backscatter_io imported
misp-modules-1  | 2024-08-12 10:04:46,924 - misp-modules - INFO - MISP modules google_search imported
misp-modules-1  | 2024-08-12 10:04:46,925 - misp-modules - INFO - MISP modules xforceexchange imported
misp-modules-1  | 2024-08-12 10:04:46,925 - misp-modules - INFO - MISP modules vulners imported
misp-modules-1  | 2024-08-12 10:04:46,925 - misp-modules - INFO - MISP modules passive-ssh imported
misp-modules-1  | 2024-08-12 10:04:46,925 - misp-modules - INFO - MISP modules ipasn imported
misp-modules-1  | 2024-08-12 10:04:46,926 - misp-modules - INFO - MISP modules recordedfuture imported
misp-modules-1  | 2024-08-12 10:04:46,926 - misp-modules - INFO - MISP modules yeti imported
misp-modules-1  | 2024-08-12 10:04:46,926 - misp-modules - INFO - MISP modules bgpranking imported
misp-modules-1  | 2024-08-12 10:04:46,926 - misp-modules - INFO - MISP modules virustotal imported
misp-modules-1  | 2024-08-12 10:04:46,927 - misp-modules - INFO - MISP modules ipqs_fraud_and_risk_scoring imported
misp-modules-1  | 2024-08-12 10:04:46,927 - misp-modules - INFO - MISP modules onyphe_full imported
misp-modules-1  | 2024-08-12 10:04:46,927 - misp-modules - INFO - MISP modules stix2_pattern_syntax_validator imported
misp-modules-1  | 2024-08-12 10:04:46,927 - misp-modules - INFO - MISP modules joesandbox_query imported
misp-modules-1  | 2024-08-12 10:04:46,927 - misp-modules - INFO - MISP modules trustar_enrich imported
misp-modules-1  | 2024-08-12 10:04:46,927 - misp-modules - INFO - MISP modules whoisfreaks imported
misp-modules-1  | 2024-08-12 10:04:46,927 - misp-modules - INFO - MISP modules macaddress_io imported
misp-modules-1  | 2024-08-12 10:04:46,928 - misp-modules - INFO - MISP modules hashdd imported
misp-modules-1  | 2024-08-12 10:04:46,928 - misp-modules - INFO - MISP modules circl_passivedns imported
misp-modules-1  | 2024-08-12 10:04:46,929 - misp-modules - INFO - MISP modules urlscan imported
misp-modules-1  | 2024-08-12 10:04:46,929 - misp-modules - INFO - MISP modules yara_query imported
misp-modules-1  | 2024-08-12 10:04:46,929 - misp-modules - INFO - MISP modules google_safe_browsing imported
misp-modules-1  | 2024-08-12 10:04:46,929 - misp-modules - INFO - MISP modules jinja_template_rendering imported
misp-modules-1  | 2024-08-12 10:04:46,930 - misp-modules - INFO - MISP modules mcafee_insights_enrich imported
misp-modules-1  | 2024-08-12 10:04:46,930 - misp-modules - INFO - MISP modules intel471 imported
misp-modules-1  | 2024-08-12 10:04:46,930 - misp-modules - INFO - MISP modules reversedns imported
misp-modules-1  | 2024-08-12 10:04:46,930 - misp-modules - INFO - MISP modules eupi imported
misp-modules-1  | 2024-08-12 10:04:46,930 - misp-modules - INFO - MISP modules securitytrails imported
misp-modules-1  | 2024-08-12 10:04:46,930 - misp-modules - INFO - MISP modules cpe imported
misp-modules-1  | 2024-08-12 10:04:46,930 - misp-modules - INFO - MISP modules sigma_syntax_validator imported
misp-modules-1  | 2024-08-12 10:04:46,931 - misp-modules - INFO - MISP modules cve imported
misp-modules-1  | 2024-08-12 10:04:46,931 - misp-modules - INFO - MISP modules threatcrowd imported
misp-modules-1  | 2024-08-12 10:04:46,931 - misp-modules - INFO - MISP modules onyphe imported
misp-modules-1  | 2024-08-12 10:04:46,931 - misp-modules - INFO - MISP modules qrcode imported
misp-modules-1  | 2024-08-12 10:04:46,931 - misp-modules - INFO - MISP modules lastline_submit imported
misp-modules-1  | 2024-08-12 10:04:46,931 - misp-modules - INFO - MISP modules cuckoo_submit imported
misp-modules-1  | 2024-08-12 10:04:46,933 - misp-modules - INFO - MISP modules server started on 0.0.0.0 port 6666
misp-core-1     | ........+...........................................................................................................................................+.............................+.........................................+............................+..........................................+...........................................................................................................+.....................................................................................+.................................................................+..+....................+............................+..........................................................................................................................................+.....................................................................+..................................................................+.............................................................................................................................................................................................+.+............................................+...........................+.....+.......................................................................................+...................................................................................................................+.....................................................................................................................+.....................................................................................................................................................................................................................................................................................................................................................+..............................................................................+.......................................................................................................................................+....................................................+........+........................................+...................................................................................+....................................................................................................................................................................................+..........................+..........................................................................................................................+.........................................+........................................................................+..................................................................................+.....................................................................................................................................................................................................................................................................+........................................................................................................+.......................................+.....................................................................................................................................................................................................................................................................................................................................+.................+............................................................................................................................................................+..................................................................+......................+.......................+.........................+...........................................................+...+.......................................+..................................................................................................................................................................................................................................+.+..................................+.............................................................................+................................................................................................................................................................................+...........................................................................................................................................................................................................................................+............................+...........................................................................................+.......................................................................................................................+.....................+...................................................................................................+.........................................+........................................................................................................................+.......................................................................................................................................................................................................................................................................................................................................................................+..............................................................+.......+..............................................................................................................................................................................................................................................+.......................................................+........................+.....+............................................................................+.............................................................+...............................................................................................................................................................................+...............................................................................................................................+......................................................................................+................................................................+...........+.........................................................................+..........................................................................................+..+.............................................................................................+............................................+..................................................+................................+................................................+....................................+............+...........................................................................................................................................+.....................................................................+.............................................................................+...........................................................................................+.........................................................................................................................................................................................................+...............................................+.......................................................................................................................................................................+..........................................................................................................................................................................................................................................................................................................................................................................................+...................................................................................................................................................................+.......................................................................................................................................................................................................+........................+...+.................................+...............................................+....................................................................................+.......................................................................................................................................................................................................................................+.....................................................................................................................................................................................................................................................................+....................................................................................+................+............................+...................................................................................+................................+.............................................................................................................................................................................................................................................................................+.............................+..........................................................................+.................................................................................................................................................................................................................................................+.......................................+.....+..................................................................................+..................................................................................................................................................................+.............................................................................................................................+.+...+................................................................................................+..............................................................................................................................+.......+.......+.......................................................................+.................................................................................................................................................................+....................................................+...........................................................................................................................+...................+...................................................................+......................................................................................................................................................................+..................................................................................+....................................................+...............................+..................................................................+.....................................................................................................+........................................................................................................................+......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................+................................................................................................................................................+................................................................+............................................................................................................+..............................................................................................................................................................................................................................................................................................................................................+...........................................................................................................................................+.............................................+.....................................................................................................................................................................................................................+...............+.............................+...................................................................................+............+.........................................................+............................................................................+................................................+.....................................................................+.............+..............+............................................................................+.....................................................................................................................................................................................................................................................+..............+..................................................................................+.................................................................................................................+............................................................+....................................................................................................................................................................+....................................................................................................+.......................................+......................................................................................................................................................................................................................................................................+.............................................+..................................................................................................................................................................................................+.....+........................................................................................................................................+..............................................................................................................................................................................................................................................................................................+.................................................................................+................................+....................................................................................................+........+................................................................................................................................................................................................................................................................................................................................+.............................................................+.............................................................................................................................................................................................+......................................................................................................................................................................................+.........................................+....................................................................................................................+................+...............................................................................................................................+.........................................................................................................................................................................................................................+.............................+.................................+...............................................................................................................................................................................................................................................................................................................................................................+............................+...........................+....................................................................................+.......................................................................................................+...................................................................................................................................................................................................+................................................+..............................................................................................+.................................................................................................+...................................................................................................................................................................................................................................................................................................................................................................+................................+...............+.......................................................................................................................+...............+.......+.........................................................................+......................................................................................................................................................................................................................+.....+.......................................................................................................................................................+.....................................+.....................................................................................................................................................................................................................................................................+..........................................................+......................................................+............................................................+.................++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*++*
misp-core-1     | ... nginx docroot set to /var/www/html/
misp-core-1     | INIT | Initialize MISP files and configurations ...
misp-core-1     | ... initialize configuration files
misp-core-1     | 13+1 records in
misp-core-1     | 13+1 records out
misp-core-1     | 7120 bytes (7.1 kB, 7.0 KiB) copied, 8.0781e-05 s, 88.1 MB/s
misp-core-1     | 4+1 records in
misp-core-1     | 4+1 records out
misp-core-1     | 2541 bytes (2.5 kB, 2.5 KiB) copied, 5.3889e-05 s, 47.2 MB/s
misp-core-1     | 21+1 records in
misp-core-1     | 21+1 records out
misp-core-1     | 10814 bytes (11 kB, 11 KiB) copied, 0.000102855 s, 105 MB/s
misp-core-1     | 31+1 records in
misp-core-1     | 31+1 records out
misp-core-1     | 15928 bytes (16 kB, 16 KiB) copied, 0.000142657 s, 112 MB/s
misp-core-1     | 5+1 records in
misp-core-1     | 5+1 records out
misp-core-1     | 3002 bytes (3.0 kB, 2.9 KiB) copied, 6.5304e-05 s, 46.0 MB/s
misp-core-1     | 5+1 records in
misp-core-1     | 5+1 records out
misp-core-1     | 2618 bytes (2.6 kB, 2.6 KiB) copied, 7.0189e-05 s, 37.3 MB/s
misp-core-1     | ... initialize database.php settings
misp-core-1     | ... initialize email.php settings
misp-core-1     | ... initialize app files
misp-core-1     | INIT | Update MISP app/files directory ...
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/browscap" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh "/var/www/MISP/app/files.dist/certs" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/community-metadata" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/empty" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/feed-metadata" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/geo-open" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh "/var/www/MISP/app/files.dist/img" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/misp-decaying-models" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/misp-galaxy" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/misp-objects" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/misp-workflow-blueprints" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/noticelists" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/scripts" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh "/var/www/MISP/app/files.dist/taxonomies" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/terms" "/var/www/MISP/app/files/"
misp-core-1     | ... rsync -azh --delete "/var/www/MISP/app/files.dist/warninglists" "/var/www/MISP/app/files/"
misp-core-1     | INIT | Enforce MISP permissions ...
misp-core-1     | ... chown -R www-data:www-data /var/www/MISP/app/tmp
misp-core-1     | ... chmod -R 0550 files /var/www/MISP/app/tmp
misp-core-1     | ... chmod -R 0770 directories /var/www/MISP/app/tmp
misp-core-1     | ... chmod -R u+w,g+w /var/www/MISP/app/tmp
misp-core-1     | ... chown -R www-data:www-data /var/www/MISP/app/files
misp-core-1     | ... chmod -R 0550 files /var/www/MISP/app/files
misp-core-1     | ... chmod -R 0770 directories /var/www/MISP/app/files
misp-core-1     | ... chmod -R u+w,g+w /var/www/MISP/app/files
misp-core-1     | ... chown -R www-data:www-data /var/www/MISP/app/Config
misp-core-1     | ... chmod -R 0550 files /var/www/MISP/app/Config ...
misp-core-1     | ... chmod -R 0770 directories /var/www/MISP/app/Config
misp-core-1     | ... chmod 600 /var/www/MISP/app/Config/{config,database,email}.php
misp-core-1     | INIT | Flip NGINX live ...
misp-core-1     | ... nginx docroot set to /var/www/MISP/app/webroot
misp-core-1     | ... nginx reloaded
misp-core-1     | 2024/08/12 10:05:22 [notice] 184#184: signal process started
misp-core-1     | INIT | Configure MISP installation ...
misp-core-1     | MISP | Update CA certificates ...
misp-core-1     | Updating certificates in /etc/ssl/certs...
misp-core-1     | 0 added, 0 removed; done.
misp-core-1     | Running hooks in /etc/ca-certificates/update.d...
misp-core-1     | done.
misp-core-1     | Updating /var/www/MISP/app/Lib/cakephp/lib/Cake/Config/cacert.pem...
misp-core-1     | MISP | Apply minimum configuration directives ...
misp-core-1     | ... enforcing env var settings
misp-core-1     | Enforcing minimum_config setting 'GnuPG.binary' to env var or default value '/usr/bin/gpg'...
misp-core-1     | Enforcing minimum_config setting 'MISP.python_bin' to env var or default value '/usr/local/bin/python3'...
misp-core-1     | Enforcing minimum_config setting 'MISP.redis_host' to env var or default value 'redis'...
misp-core-1     | Enforcing minimum_config setting 'SimpleBackgroundJobs.redis_host' to env var or default value 'redis'...
misp-core-1     | ... checking for unset default settings
misp-core-1     | Updating unset minimum_config setting 'MISP.attachments_dir' to '/var/www/MISP/app/files'...
misp-core-1     | Updating unset minimum_config setting 'MISP.background_jobs' to 'true'...
misp-core-1     | Updating unset minimum_config setting 'MISP.ca_path' to '/etc/ssl/certs/ca-certificates.crt'...
misp-core-1     | Updating unset minimum_config setting 'MISP.download_gpg_from_homedir' to 'false'...
misp-core-1     | Updating unset minimum_config setting 'MISP.menu_custom_right_link' to ''...
misp-core-1     | Updating unset minimum_config setting 'MISP.menu_custom_right_link_html' to ''...
misp-core-1     | Updating unset minimum_config setting 'MISP.online_version_check' to 'true'...
misp-core-1     | Updating unset minimum_config setting 'MISP.osuser' to 'www-data'...
misp-core-1     | Updating unset minimum_config setting 'MISP.redis_database' to '13'...
misp-core-1     | Updating unset minimum_config setting 'MISP.redis_password' to ''...
misp-core-1     | Updating unset minimum_config setting 'MISP.redis_port' to '6379'...
misp-core-1     | Updating unset minimum_config setting 'MISP.self_update' to 'false'...
misp-core-1     | Updating unset minimum_config setting 'MISP.tmpdir' to '/var/www/MISP/app/tmp'...
misp-core-1     | Updating unset minimum_config setting 'Security.disable_instance_file_uploads' to 'false'...
misp-core-1     | Updating unset minimum_config setting 'Security.disable_local_feed_access' to 'false'...
misp-core-1     | Updating unset minimum_config setting 'Security.rest_client_enable_arbitrary_urls' to 'false'...
misp-core-1     | Updating unset minimum_config setting 'Security.salt' to ''...
misp-core-1     | Updating unset minimum_config setting 'SimpleBackgroundJobs.enabled' to 'true'...
misp-core-1     | Updating unset minimum_config setting 'SimpleBackgroundJobs.max_job_history_ttl' to '86400'...
misp-core-1     | Updating unset minimum_config setting 'SimpleBackgroundJobs.redis_database' to '1'...
misp-core-1     | Updating unset minimum_config setting 'SimpleBackgroundJobs.redis_namespace' to 'background_jobs'...
misp-core-1     | Updating unset minimum_config setting 'SimpleBackgroundJobs.redis_password' to ''...
misp-core-1     | Updating unset minimum_config setting 'SimpleBackgroundJobs.redis_port' to '6379'...
misp-core-1     | Updating unset minimum_config setting 'SimpleBackgroundJobs.supervisor_host' to '127.0.0.1'...
misp-core-1     | Updating unset minimum_config setting 'SimpleBackgroundJobs.supervisor_password' to 'supervisor'...
misp-core-1     | Updating unset minimum_config setting 'SimpleBackgroundJobs.supervisor_port' to '9001'...
misp-core-1     | Updating unset minimum_config setting 'SimpleBackgroundJobs.supervisor_user' to 'supervisor'...
misp-core-1     | MISP | Apply DB updates ...
misp-core-1     | Executing all updates to bring the database up to date with the current version.
misp-core-1     | Executing 127.................Done
misp-core-1     | Executing 128.................Done
misp-core-1     | All updates completed.
misp-core-1     | MISP | Initialize configuration ...
misp-core-1     | ... enforcing env var settings
misp-core-1     | Enforcing db_enable setting 'MISP.system_setting_db' to env var or default value 'false'...
misp-core-1     | ... enforcing env var settings
misp-core-1     | Enforcing initialisation setting 'MISP.baseurl' to env var or default value 'https://localhost'...
misp-core-1     | Enforcing initialisation setting 'MISP.contact' to env var or default value 'admin@admin.test'...
misp-core-1     | Enforcing initialisation setting 'MISP.email' to env var or default value 'admin@admin.test'...
misp-core-1     | Enforcing initialisation setting 'Plugin.Action_services_url' to env var or default value 'http://misp-modules'...
misp-core-1     | Enforcing initialisation setting 'Plugin.Enrichment_services_url' to env var or default value 'http://misp-modules'...
misp-core-1     | Enforcing initialisation setting 'Plugin.Export_services_url' to env var or default value 'http://misp-modules'...
misp-core-1     | Enforcing initialisation setting 'Plugin.Import_services_url' to env var or default value 'http://misp-modules'...
misp-core-1     | Enforcing initialisation setting 'Plugin.ZeroMQ_redis_host' to env var or default value 'redis'...
misp-core-1     | Enforcing initialisation setting 'debug' to env var or default value '0'...
misp-core-1     | ... checking for unset default settings
misp-core-1     | Updating unset initialisation setting 'MISP.default_attribute_distribution' to 'event'...
misp-core-1     | Updating unset initialisation setting 'MISP.default_event_distribution' to '1'...
misp-core-1     | Updating unset initialisation setting 'MISP.default_event_tag_collection' to '0'...
misp-core-1     | Updating unset initialisation setting 'MISP.delegation' to 'true'...
misp-core-1     | Updating unset initialisation setting 'MISP.disable_user_login_change' to 'false'...
misp-core-1     | Updating unset initialisation setting 'MISP.enableEventBlocklisting' to 'true'...
misp-core-1     | Updating unset initialisation setting 'MISP.enableOrgBlocklisting' to 'true'...
misp-core-1     | Updating unset initialisation setting 'MISP.event_alert_republish_ban' to 'true'...
misp-core-1     | Updating unset initialisation setting 'MISP.event_alert_republish_ban_refresh_on_retry' to 'true'...
misp-core-1     | Updating unset initialisation setting 'MISP.event_alert_republish_ban_threshold' to '120'...
misp-core-1     | Updating unset initialisation setting 'MISP.full_tags_on_event_index' to '1'...
misp-core-1     | Updating unset initialisation setting 'MISP.incoming_tags_disabled_by_default' to 'false'...
misp-core-1     | Updating unset initialisation setting 'MISP.language' to 'eng'...
misp-core-1     | Updating unset initialisation setting 'MISP.log_auth' to 'true'...
misp-core-1     | Updating unset initialisation setting 'MISP.log_new_audit' to 'true'...
misp-core-1     | Updating unset initialisation setting 'MISP.proposals_block_attributes' to 'false'...
misp-core-1     | Updating unset initialisation setting 'MISP.server_settings_skip_backup_rotate' to 'false'...
misp-core-1     | Updating unset initialisation setting 'MISP.showCorrelationsOnIndex' to 'true'...
misp-core-1     | Updating unset initialisation setting 'MISP.showorg' to 'true'...
misp-core-1     | Updating unset initialisation setting 'MISP.showorgalternate' to 'false'...
misp-core-1     | Updating unset initialisation setting 'MISP.store_api_access_time' to 'false'...
misp-core-1     | Updating unset initialisation setting 'MISP.tagging' to 'true'...
misp-core-1     | Updating unset initialisation setting 'MISP.take_ownership_xml_import' to 'false'...
misp-core-1     | Updating unset initialisation setting 'MISP.terms_download' to 'false'...
misp-core-1     | Updating unset initialisation setting 'MISP.unpublishedprivate' to 'false'...
misp-core-1     | Updating unset initialisation setting 'MISP.user_email_notification_ban' to 'true'...
misp-core-1     | Updating unset initialisation setting 'Plugin.Cortex_services_enable' to 'false'...
misp-core-1     | Updating unset initialisation setting 'Plugin.Enrichment_services_enable' to 'true'...
misp-core-1     | Updating unset initialisation setting 'Plugin.Export_services_enable' to 'true'...
misp-modules-1  | 2024-08-12 10:05:37,763 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.16ms
misp-modules-1  | 2024-08-12 10:05:37,765 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.93ms
misp-core-1     | Updating unset initialisation setting 'Plugin.Import_services_enable' to 'true'...
misp-modules-1  | 2024-08-12 10:05:37,969 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.01ms
misp-modules-1  | 2024-08-12 10:05:37,972 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.91ms
misp-modules-1  | 2024-08-12 10:05:37,974 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.69ms
misp-modules-1  | 2024-08-12 10:05:37,976 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.69ms
misp-core-1     | Updating unset initialisation setting 'Plugin.ZeroMQ_enable' to 'false'...
misp-core-1     | Error: NOAUTH Authentication required.
misp-core-1     | #0 /var/www/MISP/app/Lib/Tools/PubSubTool.php(297): Redis->select()
misp-core-1     | #1 /var/www/MISP/app/Lib/Tools/PubSubTool.php(21): PubSubTool->createRedisConnection()
misp-core-1     | #2 /var/www/MISP/app/Model/AppModel.php(3279): PubSubTool->initTool()
misp-core-1     | #3 /var/www/MISP/app/Model/Server.php(2291): AppModel->getPubSubTool()
misp-core-1     | #4 /var/www/MISP/app/Model/Server.php(2514): Server->zmqAfterHook()
misp-core-1     | #5 /var/www/MISP/app/Console/Command/AdminShell.php(554): Server->serverSettingsEditValue()
misp-core-1     | #6 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/Shell.php(459): AdminShell->setSetting()
misp-core-1     | #7 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/ShellDispatcher.php(222): Shell->runCommand()
misp-core-1     | #8 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()
misp-core-1     | #9 /var/www/MISP/app/Console/cake.php(45): ShellDispatcher::run()
misp-core-1     | #10 {main}
misp-core-1     | Updating unset initialisation setting 'SecureAuth.amount' to '5'...
misp-core-1     | Updating unset initialisation setting 'SecureAuth.expire' to '300'...
misp-core-1     | Updating unset initialisation setting 'Security.advanced_authkeys' to 'true'...
misp-core-1     | Updating unset initialisation setting 'Security.alert_on_suspicious_logins' to 'true'...
misp-core-1     | Updating unset initialisation setting 'Security.check_sec_fetch_site_header' to 'true'...
misp-core-1     | Updating unset initialisation setting 'Security.disable_browser_cache' to 'true'...
misp-core-1     | Updating unset initialisation setting 'Security.do_not_log_authkeys' to 'true'...
misp-core-1     | Updating unset initialisation setting 'Security.encryption_key' to ''...
misp-core-1     | Updating unset initialisation setting 'Security.log_each_individual_auth_fail' to 'true'...
misp-core-1     | Updating unset initialisation setting 'Security.require_password_confirmation' to 'true'...
misp-core-1     | Updating unset initialisation setting 'Security.username_in_response_header' to 'true'...
misp-core-1     | MISP | Initialize workers ...
misp-core-1     | ... starting background workers
misp-core-1     | 2024-08-12 10:05:40,736 INFO spawned: 'default_00' with pid 2603
misp-core-1     | 2024-08-12 10:05:40,737 INFO spawned: 'default_01' with pid 2604
misp-core-1     | 2024-08-12 10:05:40,738 INFO spawned: 'default_02' with pid 2605
misp-core-1     | 2024-08-12 10:05:40,738 INFO spawned: 'default_03' with pid 2606
misp-core-1     | 2024-08-12 10:05:40,739 INFO spawned: 'default_04' with pid 2607
misp-core-1     | 2024-08-12 10:05:40,740 INFO spawned: 'email_00' with pid 2608
misp-core-1     | 2024-08-12 10:05:40,741 INFO spawned: 'email_01' with pid 2610
misp-core-1     | 2024-08-12 10:05:40,743 INFO spawned: 'email_02' with pid 2614
misp-core-1     | 2024-08-12 10:05:40,745 INFO spawned: 'email_03' with pid 2622
misp-core-1     | 2024-08-12 10:05:40,748 INFO spawned: 'email_04' with pid 2644
misp-core-1     | 2024-08-12 10:05:40,754 INFO spawned: 'cache_00' with pid 2668
misp-core-1     | 2024-08-12 10:05:40,757 INFO spawned: 'cache_01' with pid 2673
misp-core-1     | 2024-08-12 10:05:40,764 INFO spawned: 'cache_02' with pid 2686
misp-core-1     | 2024-08-12 10:05:40,775 INFO spawned: 'cache_03' with pid 2695
misp-core-1     | 2024-08-12 10:05:40,779 INFO spawned: 'cache_04' with pid 2697
misp-core-1     | 2024-08-12 10:05:40,782 INFO spawned: 'prio_00' with pid 2702
misp-core-1     | 2024-08-12 10:05:40,788 INFO spawned: 'prio_01' with pid 2708
misp-core-1     | 2024-08-12 10:05:40,793 INFO spawned: 'prio_02' with pid 2718
misp-core-1     | 2024-08-12 10:05:40,797 INFO spawned: 'prio_03' with pid 2722
misp-core-1     | 2024-08-12 10:05:40,800 INFO spawned: 'prio_04' with pid 2726
misp-core-1     | 2024-08-12 10:05:40,802 INFO spawned: 'update_00' with pid 2728
misp-core-1     | 2024-08-12 10:05:40,899 WARN exited: email_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:40,916 WARN exited: default_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:40,954 WARN exited: default_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:40,954 WARN exited: default_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:40,954 WARN exited: default_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:40,954 WARN exited: email_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:40,954 WARN exited: email_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:40,978 WARN exited: email_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:40,978 WARN exited: cache_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:40,991 WARN exited: email_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:40,995 WARN exited: default_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:41,004 WARN exited: cache_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:41,004 WARN exited: cache_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:41,004 WARN exited: prio_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:41,004 WARN exited: prio_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:41,012 WARN exited: prio_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:41,012 WARN exited: prio_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,023 INFO spawned: 'default_00' with pid 2771
misp-core-1     | 2024-08-12 10:05:42,027 INFO spawned: 'default_01' with pid 2772
misp-core-1     | 2024-08-12 10:05:42,029 INFO spawned: 'default_02' with pid 2773
misp-core-1     | 2024-08-12 10:05:42,035 INFO spawned: 'default_03' with pid 2774
misp-core-1     | 2024-08-12 10:05:42,042 INFO spawned: 'default_04' with pid 2777
misp-core-1     | 2024-08-12 10:05:42,047 INFO spawned: 'email_00' with pid 2781
misp-core-1     | 2024-08-12 10:05:42,052 INFO spawned: 'email_01' with pid 2786
misp-core-1     | 2024-08-12 10:05:42,056 INFO spawned: 'email_02' with pid 2794
misp-core-1     | 2024-08-12 10:05:42,059 INFO spawned: 'email_03' with pid 2797
misp-core-1     | 2024-08-12 10:05:42,061 INFO spawned: 'email_04' with pid 2803
misp-core-1     | 2024-08-12 10:05:42,063 INFO spawned: 'cache_00' with pid 2810
misp-core-1     | 2024-08-12 10:05:42,065 INFO spawned: 'cache_01' with pid 2816
misp-core-1     | 2024-08-12 10:05:42,072 INFO spawned: 'cache_02' with pid 2838
misp-core-1     | 2024-08-12 10:05:42,072 INFO success: cache_03 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:05:42,073 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:05:42,086 INFO spawned: 'prio_00' with pid 2848
misp-core-1     | 2024-08-12 10:05:42,089 INFO spawned: 'prio_01' with pid 2869
misp-core-1     | 2024-08-12 10:05:42,096 INFO spawned: 'prio_02' with pid 2874
misp-core-1     | 2024-08-12 10:05:42,099 INFO spawned: 'prio_03' with pid 2876
misp-core-1     | 2024-08-12 10:05:42,099 INFO success: prio_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:05:42,099 INFO success: update_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:05:42,099 WARN exited: cache_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,100 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,100 WARN exited: prio_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,100 WARN exited: update_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,103 INFO spawned: 'cache_03' with pid 2878
misp-core-1     | 2024-08-12 10:05:42,110 INFO spawned: 'cache_04' with pid 2883
misp-core-1     | 2024-08-12 10:05:42,112 INFO spawned: 'prio_04' with pid 2885
misp-core-1     | 2024-08-12 10:05:42,118 INFO spawned: 'update_00' with pid 2892
misp-core-1     | 2024-08-12 10:05:42,241 WARN exited: default_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,243 WARN exited: default_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,253 WARN exited: default_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,262 WARN exited: cache_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,274 WARN exited: email_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,275 WARN exited: email_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,275 WARN exited: cache_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,276 WARN exited: prio_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,311 WARN exited: prio_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,332 WARN exited: default_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,332 WARN exited: email_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,348 WARN exited: email_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,362 WARN exited: default_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,371 WARN exited: prio_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,375 WARN exited: update_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,399 WARN exited: email_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,400 WARN exited: cache_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,400 WARN exited: cache_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,400 WARN exited: prio_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:42,405 WARN exited: prio_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:43,408 INFO spawned: 'cache_03' with pid 2946
misp-core-1     | 2024-08-12 10:05:43,409 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:05:43,410 INFO spawned: 'prio_04' with pid 2947
misp-core-1     | 2024-08-12 10:05:43,411 INFO spawned: 'update_00' with pid 2948
misp-core-1     | 2024-08-12 10:05:43,412 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:43,415 INFO spawned: 'cache_04' with pid 2951
misp-core-1     | misp-workers:default_00: ERROR (spawn error)
misp-core-1     | misp-workers:default_01: ERROR (spawn error)
misp-core-1     | misp-workers:default_02: ERROR (spawn error)
misp-core-1     | misp-workers:default_04: ERROR (spawn error)
misp-core-1     | misp-workers:email_00: ERROR (spawn error)
misp-core-1     | misp-workers:email_01: ERROR (spawn error)
misp-core-1     | misp-workers:email_04: ERROR (spawn error)
misp-core-1     | misp-workers:default_03: ERROR (spawn error)
misp-core-1     | misp-workers:email_02: ERROR (spawn error)
misp-core-1     | misp-workers:email_03: ERROR (spawn error)
misp-core-1     | misp-workers:cache_00: ERROR (spawn error)
misp-core-1     | misp-workers:cache_01: ERROR (spawn error)
misp-core-1     | misp-workers:cache_02: ERROR (spawn error)
misp-core-1     | misp-workers:prio_02: ERROR (spawn error)
misp-core-1     | misp-workers:prio_03: ERROR (spawn error)
misp-core-1     | misp-workers:cache_03: ERROR (spawn error)
misp-core-1     | misp-workers:cache_04: ERROR (spawn error)
misp-core-1     | misp-workers:prio_04: ERROR (spawn error)
misp-core-1     | misp-workers:update_00: ERROR (spawn error)
misp-core-1     | misp-workers:prio_01: ERROR (spawn error)
misp-core-1     | misp-workers:prio_00: ERROR (spawn error)
misp-core-1     | MISP | Configure GPG key ...
misp-core-1     | ... generating new GPG key in /var/www/MISP/.gnupg
misp-core-1     | gpg: WARNING: unsafe permissions on homedir '/var/www/MISP/.gnupg'
misp-core-1     | gpg: keybox '/var/www/MISP/.gnupg/pubring.kbx' created
misp-core-1     | gpg: Generating a basic OpenPGP key
misp-core-1     | 2024-08-12 10:05:43,501 WARN exited: cache_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:43,513 WARN exited: update_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:43,521 WARN exited: prio_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,523 INFO spawned: 'default_00' with pid 2991
misp-core-1     | 2024-08-12 10:05:44,524 INFO spawned: 'default_01' with pid 2992
misp-core-1     | 2024-08-12 10:05:44,526 INFO spawned: 'default_02' with pid 2993
misp-core-1     | 2024-08-12 10:05:44,527 INFO spawned: 'default_03' with pid 2994
misp-core-1     | 2024-08-12 10:05:44,529 INFO spawned: 'default_04' with pid 2997
misp-core-1     | 2024-08-12 10:05:44,530 INFO spawned: 'email_00' with pid 2999
misp-core-1     | 2024-08-12 10:05:44,532 INFO spawned: 'email_01' with pid 3006
misp-core-1     | 2024-08-12 10:05:44,533 INFO spawned: 'email_02' with pid 3015
misp-core-1     | 2024-08-12 10:05:44,535 INFO spawned: 'email_03' with pid 3022
misp-core-1     | 2024-08-12 10:05:44,538 INFO spawned: 'email_04' with pid 3032
misp-core-1     | 2024-08-12 10:05:44,540 INFO spawned: 'cache_00' with pid 3039
misp-core-1     | 2024-08-12 10:05:44,542 INFO spawned: 'cache_01' with pid 3052
misp-core-1     | 2024-08-12 10:05:44,551 INFO spawned: 'cache_02' with pid 3077
misp-core-1     | 2024-08-12 10:05:44,552 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:05:44,557 INFO spawned: 'prio_00' with pid 3081
misp-core-1     | 2024-08-12 10:05:44,562 INFO spawned: 'prio_01' with pid 3086
misp-core-1     | 2024-08-12 10:05:44,567 INFO spawned: 'prio_02' with pid 3092
misp-core-1     | 2024-08-12 10:05:44,573 INFO spawned: 'prio_03' with pid 3096
misp-core-1     | 2024-08-12 10:05:44,574 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,658 INFO spawned: 'cache_04' with pid 3127
misp-core-1     | 2024-08-12 10:05:44,659 WARN exited: email_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,659 WARN exited: email_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,662 WARN exited: default_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,679 WARN exited: default_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,699 WARN exited: default_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,700 WARN exited: email_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,716 WARN exited: default_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,716 WARN exited: default_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,724 WARN exited: prio_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,724 WARN exited: email_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,727 WARN exited: cache_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,736 WARN exited: email_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,736 WARN exited: cache_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,737 WARN exited: prio_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,751 WARN exited: cache_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,760 WARN exited: prio_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:44,760 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | gpg: /var/www/MISP/.gnupg/trustdb.gpg: trustdb created
misp-core-1     | gpg: directory '/var/www/MISP/.gnupg/openpgp-revocs.d' created
misp-core-1     | 2024-08-12 10:05:45,475 WARN exited: prio_02 (exit status 1; not expected)
misp-core-1     | gpg: revocation certificate stored as '/var/www/MISP/.gnupg/openpgp-revocs.d/A230EF59EB0B9767FAA8FEAAC75D8FE362E6C828.rev'
misp-core-1     | gpg: Done
misp-core-1     | 2024-08-12 10:05:45,779 INFO spawned: 'cache_03' with pid 3136
misp-core-1     | 2024-08-12 10:05:45,781 INFO spawned: 'cache_04' with pid 3137
misp-core-1     | 2024-08-12 10:05:45,782 INFO spawned: 'prio_04' with pid 3138
misp-core-1     | 2024-08-12 10:05:45,783 INFO spawned: 'update_00' with pid 3142
misp-core-1     | ... exporting GPG key
misp-core-1     | ... enforcing env var settings
misp-core-1     | 2024-08-12 10:05:45,861 WARN exited: prio_04 (exit status 1; not expected)
misp-core-1     | Enforcing gpg setting 'GnuPG.email' to env var or default value 'admin@admin.test'...
misp-core-1     | 2024-08-12 10:05:45,865 WARN exited: cache_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:45,870 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | Enforcing gpg setting 'GnuPG.homedir' to env var or default value '/var/www/MISP/.gnupg'...
misp-core-1     | 2024-08-12 10:05:46,002 WARN exited: update_00 (exit status 1; not expected)
misp-core-1     | Enforcing gpg setting 'GnuPG.password' to env var or default value 'passphrase'...
misp-core-1     | ... checking for unset default settings
misp-core-1     | Updating unset gpg setting 'GnuPG.onlyencrypted' to 'false'...
misp-core-1     | Updating unset gpg setting 'SMIME.enabled' to 'false'...
misp-core-1     | MISP | Init default user and organization ...
misp-core-1     | ... admin user key auto generation disabled
misp-core-1     | ... setting admin password skipped
misp-core-1     | MISP | Resolve critical issues ...
misp-core-1     | ... enforcing env var settings
misp-core-1     | Enforcing critical setting 'MISP.external_baseurl' to env var or default value 'https://localhost'...
misp-core-1     | Enforcing critical setting 'Security.rest_client_baseurl' to env var or default value 'https://localhost'...
misp-core-1     | ... checking for unset default settings
misp-core-1     | Updating unset critical setting 'MISP.host_org_id' to '1'...
misp-core-1     | Updating unset critical setting 'Plugin.Action_services_enable' to 'false'...
misp-modules-1  | 2024-08-12 10:05:47,644 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.13ms
misp-modules-1  | 2024-08-12 10:05:47,648 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.88ms
misp-modules-1  | 2024-08-12 10:05:47,650 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.81ms
misp-modules-1  | 2024-08-12 10:05:47,652 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.75ms
misp-modules-1  | 2024-08-12 10:05:47,654 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.72ms
misp-modules-1  | 2024-08-12 10:05:47,656 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.70ms
misp-core-1     | Updating unset critical setting 'Plugin.Enrichment_hover_enable' to 'false'...
misp-core-1     | 2024-08-12 10:05:47,774 INFO spawned: 'default_00' with pid 3375
misp-core-1     | 2024-08-12 10:05:47,776 INFO spawned: 'default_01' with pid 3376
misp-core-1     | 2024-08-12 10:05:47,777 INFO spawned: 'default_02' with pid 3378
misp-core-1     | 2024-08-12 10:05:47,779 INFO spawned: 'default_03' with pid 3379
misp-core-1     | 2024-08-12 10:05:47,781 INFO spawned: 'default_04' with pid 3386
misp-core-1     | 2024-08-12 10:05:47,783 INFO spawned: 'email_00' with pid 3393
misp-core-1     | 2024-08-12 10:05:47,785 INFO spawned: 'email_01' with pid 3405
misp-core-1     | 2024-08-12 10:05:47,787 INFO spawned: 'email_02' with pid 3410
misp-core-1     | 2024-08-12 10:05:47,795 INFO spawned: 'email_03' with pid 3420
misp-core-1     | 2024-08-12 10:05:47,802 INFO spawned: 'email_04' with pid 3437
misp-core-1     | 2024-08-12 10:05:47,805 INFO spawned: 'cache_00' with pid 3451
misp-core-1     | 2024-08-12 10:05:47,810 INFO spawned: 'cache_01' with pid 3452
misp-core-1     | 2024-08-12 10:05:47,818 INFO spawned: 'cache_02' with pid 3466
misp-core-1     | 2024-08-12 10:05:47,823 INFO spawned: 'prio_00' with pid 3471
misp-core-1     | 2024-08-12 10:05:47,827 INFO spawned: 'prio_01' with pid 3473
misp-core-1     | 2024-08-12 10:05:47,832 INFO spawned: 'prio_03' with pid 3477
misp-core-1     | 2024-08-12 10:05:47,898 INFO spawned: 'cache_04' with pid 3511
misp-core-1     | 2024-08-12 10:05:47,913 WARN exited: default_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:47,914 INFO gave up: default_00 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:47,926 WARN exited: email_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:47,927 WARN exited: email_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:47,927 INFO gave up: email_00 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:47,927 INFO gave up: email_02 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:47,965 WARN exited: default_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:47,965 WARN exited: default_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:47,967 WARN exited: email_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:47,967 WARN exited: email_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:47,967 INFO gave up: default_02 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:47,967 INFO gave up: default_03 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:47,967 INFO gave up: email_01 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:47,967 INFO gave up: email_03 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:47,981 WARN exited: default_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:47,981 INFO gave up: default_04 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:47,995 WARN exited: email_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:47,996 INFO gave up: email_04 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:48,003 WARN exited: default_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:48,005 WARN exited: cache_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:48,005 INFO gave up: default_01 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:48,006 INFO gave up: cache_01 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:48,017 WARN exited: cache_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:48,017 WARN exited: cache_02 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:48,017 WARN exited: prio_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:48,018 INFO gave up: cache_00 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:48,018 INFO gave up: cache_02 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:48,018 INFO gave up: prio_03 entered FATAL state, too many start retries too quickly
misp-modules-1  | 2024-08-12 10:05:48,029 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.36ms
misp-modules-1  | 2024-08-12 10:05:48,032 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.06ms
misp-modules-1  | 2024-08-12 10:05:48,035 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.13ms
misp-modules-1  | 2024-08-12 10:05:48,038 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.07ms
misp-modules-1  | 2024-08-12 10:05:48,041 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.65ms
misp-core-1     | 2024-08-12 10:05:48,042 WARN exited: prio_00 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:48,042 WARN exited: prio_01 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:48,042 INFO gave up: prio_00 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:48,042 INFO gave up: prio_01 entered FATAL state, too many start retries too quickly
misp-modules-1  | 2024-08-12 10:05:48,043 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.51ms
misp-core-1     | Updating unset critical setting 'Plugin.Enrichment_hover_popover_only' to 'false'...
misp-core-1     | 2024-08-12 10:05:48,161 WARN exited: cache_04 (exit status 1; not expected)
misp-modules-1  | 2024-08-12 10:05:48,251 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.36ms
misp-modules-1  | 2024-08-12 10:05:48,254 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.77ms
misp-modules-1  | 2024-08-12 10:05:48,255 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.76ms
misp-modules-1  | 2024-08-12 10:05:48,257 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.67ms
misp-modules-1  | 2024-08-12 10:05:48,259 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.67ms
misp-modules-1  | 2024-08-12 10:05:48,260 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.58ms
misp-core-1     | Updating unset critical setting 'Security.csp_enforce' to 'true'...
misp-core-1     | Updating unset critical setting 'Security.auth' to 'Array()'...
misp-core-1     | 2024-08-12 10:05:48,655 INFO spawned: 'prio_02' with pid 3590
misp-core-1     | MISP | Resolve non-critical issues ...
misp-core-1     | ... checking for unset default settings
misp-core-1     | Updating unset optional setting 'MISP.log_client_ip' to 'true'...
misp-core-1     | 2024-08-12 10:05:48,809 WARN exited: prio_02 (exit status 1; not expected)
misp-core-1     | Updating unset optional setting 'MISP.log_user_ips' to 'true'...
misp-core-1     | 2024-08-12 10:05:49,033 INFO spawned: 'cache_03' with pid 3634
misp-core-1     | 2024-08-12 10:05:49,033 INFO gave up: prio_02 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:49,034 INFO spawned: 'prio_04' with pid 3635
misp-core-1     | 2024-08-12 10:05:49,036 INFO spawned: 'update_00' with pid 3637
misp-core-1     | 2024-08-12 10:05:49,129 WARN exited: cache_03 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:49,130 WARN exited: prio_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:49,130 INFO gave up: cache_03 entered FATAL state, too many start retries too quickly
misp-core-1     | 2024-08-12 10:05:49,130 INFO gave up: prio_04 entered FATAL state, too many start retries too quickly
misp-core-1     | Updating unset optional setting 'MISP.log_user_ips_authkeys' to 'true'...
misp-core-1     | 2024-08-12 10:05:49,265 WARN exited: update_00 (exit status 1; not expected)
misp-core-1     | Updating unset optional setting 'MISP.welcome_text_bottom' to ''...
misp-core-1     | 2024-08-12 10:05:49,470 INFO gave up: update_00 entered FATAL state, too many start retries too quickly
misp-core-1     | Updating unset optional setting 'MISP.welcome_text_top' to ''...
misp-core-1     | Updating unset optional setting 'Plugin.Enrichment_hover_timeout' to '5'...
misp-modules-1  | 2024-08-12 10:05:49,942 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.08ms
misp-modules-1  | 2024-08-12 10:05:49,945 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 0.96ms
misp-modules-1  | 2024-08-12 10:05:49,948 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.43ms
misp-modules-1  | 2024-08-12 10:05:49,952 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.43ms
misp-modules-1  | 2024-08-12 10:05:49,955 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.09ms
misp-modules-1  | 2024-08-12 10:05:49,956 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.02ms
misp-core-1     | Updating unset optional setting 'Plugin.Enrichment_timeout' to '30'...
misp-modules-1  | 2024-08-12 10:05:50,204 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.55ms
misp-modules-1  | 2024-08-12 10:05:50,209 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.53ms
misp-modules-1  | 2024-08-12 10:05:50,213 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.92ms
misp-modules-1  | 2024-08-12 10:05:50,216 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.21ms
misp-modules-1  | 2024-08-12 10:05:50,219 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.14ms
misp-modules-1  | 2024-08-12 10:05:50,221 - tornado.access - INFO - 200 GET /modules (172.18.0.6) 1.30ms
misp-core-1     | MISP | Create sync servers ...
misp-core-1     | ... admin key auto configuration is required to configure sync servers
misp-core-1     | MISP | Update components ...
misp-core-1     | 2024-08-12 10:05:51,258 INFO spawned: 'cache_04' with pid 3788
misp-core-1     | 2024-08-12 10:05:52,322 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:05:52,322 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:53,323 INFO spawned: 'cache_04' with pid 3803
misp-core-1     | 2024-08-12 10:05:54,380 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:05:54,380 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:55,382 INFO spawned: 'cache_04' with pid 3818
misp-core-1     | 2024-08-12 10:05:56,447 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:05:56,447 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:57,449 INFO spawned: 'cache_04' with pid 3833
misp-core-1     | 2024-08-12 10:05:58,508 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:05:58,508 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:05:59,510 INFO spawned: 'cache_04' with pid 3848
misp-core-1     | 2024-08-12 10:06:00,568 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:00,569 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:01,572 INFO spawned: 'cache_04' with pid 3863
misp-core-1     | 2024-08-12 10:06:02,630 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:02,631 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:03,632 INFO spawned: 'cache_04' with pid 3878
misp-core-1     | 2024-08-12 10:06:04,695 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:04,695 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:05,697 INFO spawned: 'cache_04' with pid 3893
misp-core-1     | 2024-08-12 10:06:06,756 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:06,756 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:07,759 INFO spawned: 'cache_04' with pid 3908
misp-core-1     | 2024-08-12 10:06:08,811 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:08,812 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:09,814 INFO spawned: 'cache_04' with pid 3923
misp-core-1     | 2024-08-12 10:06:10,878 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:10,878 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:11,881 INFO spawned: 'cache_04' with pid 3938
misp-core-1     | 2024-08-12 10:06:12,935 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:12,935 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:13,938 INFO spawned: 'cache_04' with pid 3953
misp-core-1     | 2024-08-12 10:06:14,999 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:15,000 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:16,001 INFO spawned: 'cache_04' with pid 3968
misp-core-1     | 2024-08-12 10:06:17,093 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:17,094 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:18,096 INFO spawned: 'cache_04' with pid 3983
misp-core-1     | 2024-08-12 10:06:19,164 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:19,164 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:20,165 INFO spawned: 'cache_04' with pid 3998
misp-core-1     | 2024-08-12 10:06:21,234 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:21,234 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:22,235 INFO spawned: 'cache_04' with pid 4013
misp-core-1     | 2024-08-12 10:06:23,297 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:23,298 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | Galaxies updated
misp-core-1     | 2024-08-12 10:06:23,760 INFO spawned: 'cache_04' with pid 4028
misp-core-1     | 2024-08-12 10:06:24,828 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:24,829 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | Error: NOAUTH Authentication required.
misp-core-1     | #0 /var/www/MISP/app/Lib/Tools/RedisTool.php(48): Redis->select()
misp-core-1     | #1 /var/www/MISP/app/Model/Taxonomy.php(588): RedisTool::init()
misp-core-1     | #2 /var/www/MISP/app/Model/Taxonomy.php(93): Taxonomy->cleanupCache()
misp-core-1     | #3 /var/www/MISP/app/Console/Command/AdminShell.php(342): Taxonomy->update()
misp-core-1     | #4 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/Shell.php(459): AdminShell->updateTaxonomies()
misp-core-1     | #5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/ShellDispatcher.php(222): Shell->runCommand()
misp-core-1     | #6 /var/www/MISP/app/Lib/cakephp/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()
misp-core-1     | #7 /var/www/MISP/app/Console/cake.php(45): ShellDispatcher::run()
misp-core-1     | #8 {main}
misp-core-1     | 2024-08-12 10:06:25,626 INFO spawned: 'cache_04' with pid 4045
misp-core-1     | 2024-08-12 10:06:26,683 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:26,684 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:27,685 INFO spawned: 'cache_04' with pid 4069
misp-core-1     | 2024-08-12 10:06:28,740 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:28,741 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:29,742 INFO spawned: 'cache_04' with pid 4084
misp-core-1     | 2024-08-12 10:06:30,797 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:30,797 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:31,799 INFO spawned: 'cache_04' with pid 4099
misp-core-1     | 2024-08-12 10:06:32,854 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:32,855 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:33,857 INFO spawned: 'cache_04' with pid 4114
misp-core-1     | 2024-08-12 10:06:34,914 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:34,914 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:35,916 INFO spawned: 'cache_04' with pid 4129
misp-core-1     | 2024-08-12 10:06:36,971 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:36,972 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:37,973 INFO spawned: 'cache_04' with pid 4144
misp-core-1     | 2024-08-12 10:06:39,034 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:39,034 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 89 warninglists updated, 0 fails
misp-core-1     | 2024-08-12 10:06:39,481 INFO spawned: 'cache_04' with pid 4159
misp-core-1     | Notice lists updated
misp-core-1     | 2024-08-12 10:06:39,594 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:40,597 INFO spawned: 'cache_04' with pid 4192
misp-core-1     | 2024-08-12 10:06:41,684 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:41,685 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:42,686 INFO spawned: 'cache_04' with pid 4207
misp-core-1     | Successfully updated 348 object templates.
misp-core-1     | 2024-08-12 10:06:42,906 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | MISP | Set Up OIDC ...
misp-core-1     | ... OIDC authentication disabled
misp-core-1     | MISP | Set Up LDAP ...
misp-core-1     | ... LDAP authentication disabled
misp-core-1     | MISP | Set Up AAD ...
misp-core-1     | ... Entra (AzureAD) authentication disabled
misp-core-1     | MISP | Set Up Proxy ...
misp-core-1     | ... Proxy disabled
misp-core-1     | MISP | Mark instance live
misp-core-1     | Redis is not reachable.
misp-core-1     | Set live status in PHP config file.
misp-core-1     | MISP is now live. Users can now log in.
misp-core-1     | 2024-08-12 10:06:44,010 INFO spawned: 'cache_04' with pid 4224
misp-core-1     | 2024-08-12 10:06:45,088 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:45,088 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:46,094 INFO spawned: 'cache_04' with pid 4239
misp-core-1     | 2024-08-12 10:06:47,187 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:47,187 WARN exited: cache_04 (exit status 1; not expected)
misp-core-1     | 2024-08-12 10:06:48,192 INFO spawned: 'cache_04' with pid 4254
misp-core-1     | 2024-08-12 10:06:49,272 INFO success: cache_04 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
misp-core-1     | 2024-08-12 10:06:49,273 WARN exited: cache_04 (exit status 1; not expected)
ostefano commented 1 month ago

You did not remove the redis container. Please remove and try again. Also make sure to use the attached docker-compose.

Diogo-Rego commented 1 month ago
version: '3'
services:
  # This is capable to relay via gmail, Amazon SES, or generic relays
  # See: https://hub.docker.com/r/ixdotai/smtp
  mail:
    image: ixdotai/smtp
    environment:
      - "SMARTHOST_ADDRESS=${SMARTHOST_ADDRESS}"
      - "SMARTHOST_PORT=${SMARTHOST_PORT}"
      - "SMARTHOST_USER=${SMARTHOST_USER}"
      - "SMARTHOST_PASSWORD=${SMARTHOST_PASSWORD}"
      - "SMARTHOST_ALIASES=${SMARTHOST_ALIASES}"

  redis:
    image: valkey/valkey:7.2
    command: "--requirepass ${REDIS_PASSWORD:-redispassword}"
    healthcheck:
      test: "valkey-cli -a ${REDIS_PASSWORD:-redispassword} ping || exit 1"
      interval: 2s
      timeout: 1s
      retries: 3
      start_period: 30s

  db:
    # We use MariaDB because it supports ARM and has the expected collations
    image: mariadb:10.11
    restart: always
    environment:
      - "MYSQL_USER=${MYSQL_USER:-misp}"
      - "MYSQL_PASSWORD=${MYSQL_PASSWORD:-example}"
      - "MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-password}"
      - "MYSQL_DATABASE=${MYSQL_DATABASE:-misp}"
    volumes:
      - mysql_data:/var/lib/mysql
    cap_add:
      - SYS_NICE  # CAP_SYS_NICE Prevent runaway mysql log
    healthcheck:
      test: mysqladmin --user=$$MYSQL_USER --password=$$MYSQL_PASSWORD status
      interval: 2s
      timeout: 1s
      retries: 3
      start_period: 30s

  misp-core:
    image: ghcr.io/misp/misp-docker/misp-core:latest
    build:
      context: core/.
      args:
          - CORE_TAG=${CORE_TAG:?Missing .env file, see README.md for instructions}
          - CORE_COMMIT=${CORE_COMMIT}
          - PHP_VER=${PHP_VER:?Missing .env file, see README.md for instructions}
          - PYPI_REDIS_VERSION=${PYPI_REDIS_VERSION}
          - PYPI_LIEF_VERSION=${PYPI_LIEF_VERSION}
          - PYPI_PYDEEP2_VERSION=${PYPI_PYDEEP2_VERSION}
          - PYPI_PYTHON_MAGIC_VERSION=${PYPI_PYTHON_MAGIC_VERSION}
          - PYPI_MISP_LIB_STIX2_VERSION=${PYPI_MISP_LIB_STIX2_VERSION}
          - PYPI_MAEC_VERSION=${PYPI_MAEC_VERSION}
          - PYPI_MIXBOX_VERSION=${PYPI_MIXBOX_VERSION}
          - PYPI_CYBOX_VERSION=${PYPI_CYBOX_VERSION}
          - PYPI_PYMISP_VERSION=${PYPI_PYMISP_VERSION}
          - PYPI_MISP_STIX_VERSION=${PYPI_MISP_STIX_VERSION}
    depends_on:
      redis:
        condition: service_healthy
      db:
        condition: service_healthy
    healthcheck:
      test: curl -ks https://localhost/users/heartbeat > /dev/null || exit 1
      interval: 2s
      timeout: 1s
      retries: 3
      start_period: 30s
      start_interval: 30s
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - "./configs/:/var/www/MISP/app/Config/"
      - "./logs/:/var/www/MISP/app/tmp/logs/"
      - "./files/:/var/www/MISP/app/files/"
      - "./ssl/:/etc/nginx/certs/"
      - "./gnupg/:/var/www/MISP/.gnupg/"
      # customize by replacing ${CUSTOM_PATH} with a path containing 'files/customize_misp.sh'
      # - "${CUSTOM_PATH}/:/custom/"
      # mount custom ca root certificates
      # - "./rootca.pem:/usr/local/share/ca-certificates/rootca.crt"
    environment:
      - "BASE_URL=${BASE_URL}"
      - "CRON_USER_ID=${CRON_USER_ID}"
      - "DISABLE_IPV6=${DISABLE_IPV6}"
      - "DISABLE_SSL_REDIRECT=${DISABLE_SSL_REDIRECT}"
      - "ENABLE_DB_SETTINGS=${ENABLE_DB_SETTINGS}"
      # standard settings
      - "ADMIN_EMAIL=${ADMIN_EMAIL}"
      - "ADMIN_PASSWORD=${ADMIN_PASSWORD}"
      - "ADMIN_KEY=${ADMIN_KEY}"
      - "ADMIN_ORG=${ADMIN_ORG}"
      - "GPG_PASSPHRASE=${GPG_PASSPHRASE}"
      # OIDC authentication settings
      - "OIDC_ENABLE=${OIDC_ENABLE}"
      - "OIDC_PROVIDER_URL=${OIDC_PROVIDER_URL}"
      - "OIDC_CLIENT_ID=${OIDC_CLIENT_ID}"
      - "OIDC_CLIENT_SECRET=${OIDC_CLIENT_SECRET}"
      - "OIDC_ROLES_PROPERTY=${OIDC_ROLES_PROPERTY}"
      - "OIDC_ROLES_MAPPING=${OIDC_ROLES_MAPPING}"
      - "OIDC_DEFAULT_ORG=${OIDC_DEFAULT_ORG}"
      # LDAP authentication settings
      - "LDAP_ENABLE=${LDAP_ENABLE}"
      - "LDAP_APACHE_ENV=${LDAP_APACHE_ENV}"
      - "LDAP_SERVER=${LDAP_SERVER}"
      - "LDAP_STARTTLS=${LDAP_STARTTLS}"
      - "LDAP_READER_USER=${LDAP_READER_USER}"
      - "LDAP_READER_PASSWORD=${LDAP_READER_PASSWORD}"
      - "LDAP_DN=${LDAP_DN}"
      - "LDAP_SEARCH_FILTER=${LDAP_SEARCH_FILTER}"
      - "LDAP_SEARCH_ATTRIBUTE=${LDAP_SEARCH_ATTRIBUTE}"
      - "LDAP_FILTER=${LDAP_FILTER}"
      - "LDAP_DEFAULT_ROLE_ID=${LDAP_DEFAULT_ROLE_ID}"
      - "LDAP_DEFAULT_ORG=${LDAP_DEFAULT_ORG}"
      - "LDAP_EMAIL_FIELD=${LDAP_EMAIL_FIELD}"
      - "LDAP_OPT_PROTOCOL_VERSION=${LDAP_OPT_PROTOCOL_VERSION}"
      - "LDAP_OPT_NETWORK_TIMEOUT=${LDAP_OPT_NETWORK_TIMEOUT}"
      - "LDAP_OPT_REFERRALS=${LDAP_OPT_REFERRALS}"
      # AAD authentication settings
      - "AAD_ENABLE=${AAD_ENABLE}"
      - "AAD_CLIENT_ID=${AAD_CLIENT_ID}"
      - "AAD_TENANT_ID=${AAD_TENANT_ID}"
      - "AAD_CLIENT_SECRET=${AAD_CLIENT_SECRET}"
      - "AAD_REDIRECT_URI=${AAD_REDIRECT_URI}"
      - "AAD_PROVIDER=${AAD_PROVIDER}"
      - "AAD_PROVIDER_USER=${AAD_PROVIDER_USER}"
      - "AAD_MISP_USER=${AAD_MISP_USER}"
      - "AAD_MISP_ORGADMIN=${AAD_MISP_ORGADMIN}"
      - "AAD_MISP_SITEADMIN=${AAD_MISP_SITEADMIN}"
      - "AAD_CHECK_GROUPS=${AAD_CHECK_GROUPS}"
      # Proxy settings
      - "PROXY_ENABLE=${PROXY_ENABLE}"
      - "PROXY_HOST=${PROXY_HOST}"
      - "PROXY_PORT=${PROXY_PORT}"
      - "PROXY_METHOD=${PROXY_METHOD}"
      - "PROXY_USER=${PROXY_USER}"
      - "PROXY_PASSWORD=${PROXY_PASSWORD}"
      # sync server settings (see https://www.misp-project.org/openapi/#tag/Servers for more options)
      - "SYNCSERVERS=${SYNCSERVERS}"
      - |
        SYNCSERVERS_1_DATA=
        {
          "remote_org_uuid": "${SYNCSERVERS_1_UUID}",
          "name": "${SYNCSERVERS_1_NAME}",
          "authkey": "${SYNCSERVERS_1_KEY}",
          "url": "${SYNCSERVERS_1_URL}",
          "pull_rules": "${SYNCSERVERS_1_PULL_RULES}",
          "pull": true
        }
      # mysql settings
      - "MYSQL_HOST=${MYSQL_HOST:-db}"
      - "MYSQL_PORT=${MYSQL_PORT:-3306}"
      - "MYSQL_USER=${MYSQL_USER:-misp}"
      - "MYSQL_PASSWORD=${MYSQL_PASSWORD:-example}"
      - "MYSQL_DATABASE=${MYSQL_DATABASE:-misp}"
      # redis settings
      - "REDIS_PASSWORD=${REDIS_PASSWORD:-redispassword}"
      # Debug setting 
      - "DEBUG=${DEBUG}"
      # SMTP setting
      - "SMTP_FQDN=${SMTP_FQDN}"

  misp-modules:
    image: ghcr.io/misp/misp-docker/misp-modules:latest
    build:
      context: modules/.
      args:
        - MODULES_TAG=${MODULES_TAG:?Missing .env file, see README.md for instructions}
        - MODULES_COMMIT=${MODULES_COMMIT}
        - LIBFAUP_COMMIT=${LIBFAUP_COMMIT:?Missing .env file, see README.md for instructions}
    environment:
      - "REDIS_BACKEND=redis"
      - "REDIS_PW=${REDIS_PASSWORD:-redispassword}"
    depends_on:
      redis:
        condition: service_healthy

volumes:
    mysql_data:

in the misp config file redis password was not entered

<?php
$config = array (
  'debug' => 0,
  'MISP' => 
  array (
    'system_setting_db' => false,
    'python_bin' => '/usr/local/bin/python3',
    'redis_host' => 'redis',
    'attachments_dir' => '/var/www/MISP/app/files',
    'background_jobs' => true,
    'ca_path' => '/etc/ssl/certs/ca-certificates.crt',
    'download_gpg_from_homedir' => false,
    'menu_custom_right_link' => '',
    'menu_custom_right_link_html' => '',
    'online_version_check' => true,
    'osuser' => 'www-data',
    'redis_database' => 13,
    'redis_password' => '',
    'redis_port' => 6379,
    'self_update' => false,
    'tmpdir' => '/var/www/MISP/app/tmp',
    'baseurl' => 'https://localhost',
    'contact' => 'admin@admin.test',
    'email' => 'admin@admin.test',
    'default_attribute_distribution' => 'event',
    'default_event_distribution' => '1',
    'default_event_tag_collection' => 0,
    'delegation' => true,
    'disable_user_login_change' => false,
    'enableEventBlocklisting' => true,
    'enableOrgBlocklisting' => true,
    'event_alert_republish_ban' => true,
    'event_alert_republish_ban_refresh_on_retry' => true,
    'event_alert_republish_ban_threshold' => 120,
    'full_tags_on_event_index' => '1',
    'incoming_tags_disabled_by_default' => false,
    'language' => 'eng',
    'log_auth' => true,
    'log_new_audit' => true,
    'proposals_block_attributes' => false,
    'server_settings_skip_backup_rotate' => false,
    'showCorrelationsOnIndex' => true,
    'showorg' => true,
    'showorgalternate' => false,
    'store_api_access_time' => false,
    'tagging' => true,
    'take_ownership_xml_import' => false,
    'terms_download' => false,
    'unpublishedprivate' => false,
    'user_email_notification_ban' => true,
    'external_baseurl' => 'https://localhost',
    'host_org_id' => 1,
    'log_client_ip' => true,
    'log_user_ips' => true,
    'log_user_ips_authkeys' => true,
    'welcome_text_bottom' => '',
    'welcome_text_top' => '',
  ),
  'GnuPG' => 
  array (
    'binary' => '/usr/bin/gpg',
    'email' => 'admin@admin.test',
    'homedir' => '/var/www/MISP/.gnupg',
    'password' => 'passphrase',
    'onlyencrypted' => false,
  ),
  'SMIME' => 
  array (
    'enabled' => false,
  ),
  'SecureAuth' => 
  array (
    'amount' => 5,
    'expire' => 300,
  ),
  'Security' => 
  array (
    'disable_instance_file_uploads' => false,
    'disable_local_feed_access' => false,
    'rest_client_enable_arbitrary_urls' => false,
    'salt' => '7zTX(50?kjFb!N@m4RhugOomspQnDv=n',
    'advanced_authkeys' => true,
    'alert_on_suspicious_logins' => true,
    'check_sec_fetch_site_header' => true,
    'disable_browser_cache' => true,
    'do_not_log_authkeys' => true,
    'encryption_key' => '',
    'log_each_individual_auth_fail' => true,
    'require_password_confirmation' => true,
    'username_in_response_header' => true,
    'rest_client_baseurl' => 'https://localhost',
    'csp_enforce' => true,
    'auth' => 
    array (
    ),
  ),
  'Plugin' => 
  array (
    'Action_services_url' => 'http://misp-modules',
    'Enrichment_services_url' => 'http://misp-modules',
    'Export_services_url' => 'http://misp-modules',
    'Import_services_url' => 'http://misp-modules',
    'ZeroMQ_redis_host' => 'redis',
    'Cortex_services_enable' => false,
    'Enrichment_services_enable' => true,
    'Export_services_enable' => true,
    'Import_services_enable' => true,
    'ZeroMQ_enable' => false,
    'Action_services_enable' => false,
    'Enrichment_hover_enable' => false,
    'Enrichment_hover_popover_only' => false,
    'Enrichment_hover_timeout' => 5,
    'Enrichment_timeout' => 30,
  ),
  'SimpleBackgroundJobs' => 
  array (
    'redis_host' => 'redis',
    'enabled' => true,
    'max_job_history_ttl' => 86400,
    'redis_database' => 1,
    'redis_namespace' => 'background_jobs',
    'redis_password' => '',
    'redis_port' => 6379,
    'supervisor_host' => '127.0.0.1',
    'supervisor_password' => 'supervisor',
    'supervisor_port' => 9001,
    'supervisor_user' => 'supervisor',
  ),
ostefano commented 1 month ago

Try setting the password in the .env file (instantiate it)

ostefano commented 1 month ago

@Diogo-Rego tested again without settings, and the defaults are init correctly (to redispassword). Not sure why in your case the default value (set in docker-compose) is not correctly instantiated in the env.

You can try two things: 1) update docker (in case the default var value is ignored is due to an old docker compose version) 2) set the default value in your .env file

Diogo-Rego commented 1 month ago

@ostefano even adding the redis password to the .env, it is not adding the redis password to the config.php as it continues to give the same problem

2024-08-12 11:07:02 Error: [RedisException] NOAUTH Authentication required.
Request URL: /users/heartbeat
Stack Trace:
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/CakeSession.php(745): session_start()
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/CakeSession.php(219): CakeSession::_startSession()
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/CakeSession.php(439): CakeSession::start()
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Component/SessionComponent.php(55): CakeSession::write()
#4 /var/www/MISP/app/Controller/Component/BetterSecurityComponent.php(63): SessionComponent->write()
#5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Component/SecurityComponent.php(258): BetterSecurityComponent->generateToken()
#6 /var/www/MISP/app/Lib/cakephp/lib/Cake/Utility/ObjectCollection.php(129): SecurityComponent->startup()
#7 /var/www/MISP/app/Lib/Tools/BetterCakeEventManager.php(23): ObjectCollection->trigger()
#8 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(683): BetterCakeEventManager->dispatch()
#9 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(189): Controller->startupProcess()
#10 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke()
#11 /var/www/MISP/app/webroot/index.php(101): Dispatcher->dispatch()
#12 {main}

.env file

##
# Build-time variables
##

CORE_TAG=v2.4.195
MODULES_TAG=v2.4.195
PHP_VER=20190902
LIBFAUP_COMMIT=3a26d0a

# PYPY_* vars take precedence over MISP's
# PYPI_REDIS_VERSION="==5.0.*"
# PYPI_LIEF_VERSION=">=0.13.1"
# PYPI_PYDEEP2_VERSION="==0.5.*"
# PYPI_PYTHON_MAGIC_VERSION="==0.4.*"
# PYPI_MISP_LIB_STIX2_VERSION="==3.0.*"
# PYPI_MAEC_VERSION="==4.1.*"
# PYPI_MIXBOX_VERSION="==1.0.*"
# PYPI_CYBOX_VERSION="==2.1.*"
# PYPI_PYMISP_VERSION="==2.4.178"
# PYPI_MISP_STIX_VERSION"==2.4.194"

# CORE_COMMIT takes precedence over CORE_TAG
# CORE_COMMIT=c56d537
# MODULES_COMMIT takes precedence over MODULES_TAG
# MODULES_COMMIT=de69ae3

##
# Run-time variables
##

# Email/username for user #1, defaults to MISP's default (admin@admin.test)
ADMIN_EMAIL=
# name of org #1, default to MISP's default (ORGNAME)
ADMIN_ORG=
# defaults to an automatically generated one
ADMIN_KEY=
# defaults to MISP's default (admin)
ADMIN_PASSWORD=
# defaults to 'passphrase'
GPG_PASSPHRASE=
# defaults to 1 (the admin user)
CRON_USER_ID=
# defaults to 'https://localhost'
BASE_URL=
# store settings in db except those that must stay in config.php. true/false, defaults to false
ENABLE_DB_SETTINGS=

# defines the FQDN of the mail sub-system (defaults to 'mail')
# SMTP_FQDN=

# optional and used by the mail sub-system
SMARTHOST_ADDRESS=
SMARTHOST_PORT=
SMARTHOST_USER=
SMARTHOST_PASSWORD=
SMARTHOST_ALIASES=

# optional comma separated list of IDs of syncservers (e.g. SYNCSERVERS=1)
# For this to work ADMIN_KEY must be set, or AUTOGEN_ADMIN_KEY must be true (default)
SYNCSERVERS=
# note: if you have more than one syncserver, you need to update docker-compose.yml
SYNCSERVERS_1_URL=
SYNCSERVERS_1_NAME=
SYNCSERVERS_1_UUID=
SYNCSERVERS_1_KEY=
# pull rules are JSON encoded (and escaped) dictionaries
# Example: only pull events where the analysis is complete
#   SYNCSERVERS_1_PULL_RULES='{\"tags\":{\"OR\":[],\"NOT\":[]},\"orgs\":{\"OR\":[],\"NOT\":[]},\"url_params\":\"{\\\"searchanalysis\\\": \\\"2\\\"}\"}'
SYNCSERVERS_1_PULL_RULES=

# optional and used to set mysql db and credentials
MYSQL_HOST=mariadb
MYSQL_PORT=3306
MYSQL_USER=misp
MYSQL_PASSWORD=hyF6SArZpjzSkVsBx
# MYSQL_ROOT_PASSWORD=
MYSQL_DATABASE=misp

# optional and used to set redis password
REDIS_PASSWORD=Fupj96jiF5vGA5hz

# These variables allows overriding some MISP email values.
# They all default to ADMIN_EMAIL.

# MISP.email, used for notifications. Also used
# for GnuPG.email and GPG autogeneration.
# MISP_EMAIL=

# MISP.contact, the e-mail address that
# MISP should include as a contact address
# for the instance's support team.
# MISP_CONTACT=

# Enable GPG autogeneration (default true)
# AUTOCONF_GPG=true

# Enable admin (user #1) API key autogeneration
# if ADMIN_KEY is not set above (default true)
# AUTOGEN_ADMIN_KEY=true

# Disable IPv6 completely
# DISABLE_IPV6=true

# Disable SSL redirect
# DISABLE_SSL_REDIRECT=true

# Enable OIDC authentication, according to https://github.com/MISP/MISP/blob/2.4/app/Plugin/OidcAuth/README.md
# OIDC_ENABLE=true
# OIDC_PROVIDER_URL=
# OIDC_CLIENT_ID=
# OIDC_CLIENT_SECRET=
# OIDC_ROLES_PROPERTY="roles"
# OIDC_ROLES_MAPPING="{\"admin\": \"1\"}"
# OIDC_DEFAULT_ORG=

# Enable LDAP (using the ApacheSecureAuth component) authentication, according to https://github.com/MISP/MISP/issues/6189
# NOTE: Once you enable LDAP authentication with the ApacheSecureAuth component, 
#   users should not be able to control the HTTP header configured in LDAP_APACHE_ENV 
#   (e.g. REMOTE_USER), this means you must not allow direct access to MISP.
# NOTE 2: You need to escape special characters twice, e.g., "pass\word" becomes "pass\\\\word".
# LDAP_ENABLE=true
# LDAP_APACHE_ENV="REMOTE_USER"
# LDAP_SERVER="ldap://your_domain_controller"
# LDAP_STARTTLS=true
# LDAP_READER_USER="CN=service_account_name,OU=Users,DC=domain,DC=net"
# LDAP_READER_PASSWORD="password"
# LDAP_DN="OU=Users,DC=domain,DC=net"
# LDAP_SEARCH_FILTER=""
# LDAP_SEARCH_ATTRIBUTE="uid"
# LDAP_FILTER="[\"mail\", \"uid\", \"cn\" ]"
# LDAP_DEFAULT_ROLE_ID="3"
# LDAP_DEFAULT_ORG="1"
# LDAP_EMAIL_FIELD="[\"mail\"]"
# LDAP_OPT_PROTOCOL_VERSION="3"
# LDAP_OPT_NETWORK_TIMEOUT="-1"
# LDAP_OPT_REFERRALS=false

# Enable Azure AD (Entra) authentication, according to https://github.com/MISP/MISP/blob/2.4/app/Plugin/AadAuth/README.md
# AAD_ENABLE=true
# AAD_CLIENT_ID=
# AAD_TENANT_ID=
# AAD_CLIENT_SECRET=
# AAD_REDIRECT_URI="https://misp.mydomain.com/users/login"
# AAD_PROVIDER="https://login.microsoftonline.com/"
# AAD_PROVIDER_USER="https://graph.microsoft.com/"
# AAD_MISP_USER="Misp Users"
# AAD_MISP_ORGADMIN="Misp Org Admins"
# AAD_MISP_SITEADMIN="Misp Site Admins"
# AAD_CHECK_GROUPS=false

# Enable the use of a Proxy server
# PROXY_ENABLE=true
# PROXY_HOST=
# PROXY_PORT=
# PROXY_METHOD=
# PROXY_USER=
# PROXY_PASSWORD=

# Enable debugging
# ALWAYS SET THIS TO 0 IN PRODUCTION
# 0 - Debug off (default)
# 1 - Debug on
# 2 - Debug on + SQL dump
DEBUG=0

my docker version

> $ docker version                                        
Client: Docker Engine - Community
 Version:           27.1.1
 API version:       1.46
 Go version:        go1.21.12
 Git commit:        6312585
 Built:             Tue Jul 23 19:57:14 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          27.1.1
  API version:      1.46 (minimum version 1.24)
  Go version:       go1.21.12
  Git commit:       cc13f95
  Built:            Tue Jul 23 19:57:14 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.7.19
  GitCommit:        2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41
 runc:
  Version:          1.7.19
  GitCommit:        v1.1.13-0-g58aa920
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
ostefano commented 1 month ago

@Diogo-Rego the error in the logs is caused by the php.ini modification (/etc/php/7.4/fpm/php.ini).

I would focus on fixing the missing password inside the config.php. Once that is solved, we can debug things further.

Can you investigate further? Here things are working all right and I tested in several envs, and I will merge the PR soon.

Diogo-Rego commented 1 month ago

@ostefano ok, I'll test the background more

ostefano commented 1 month ago

Start by checking minimum_config.envars.json inside the container, or even print the env var inside configure_misp.sh.

Diogo-Rego commented 1 month ago

@ostefano implement it in my code and when building my image in Gitlab the redis password worked https://gitlab.com/Diogo-Rego/misp-boilerplate/-/tree/diego-redispassword?ref_type=heads

ostefano commented 1 month ago

Out of curiosity: have you been rebuilding this image locally before the testing?

Diogo-Rego commented 1 month ago

Apparently my docker gave priority to the image and not the build image

Diogo-Rego commented 1 month ago

@ostefano Was the redis password supposed to be shown? for safety it would be better not to show it in the logs

misp-core-1     | Enforcing initialisation setting 'Plugin.ZeroMQ_redis_password' to env var or default value 'Fupj96jiF5vGA5hz'...
ostefano commented 1 month ago

Lots of things are shown in the logs, including overridden auth keys, and user passwords. There are no plans to change this.

Diogo-Rego commented 1 month ago

@ostefano I've already tested redis with and without a password and didn't find any problems. The problem I had was that Docker Compose gave priority to the image and not the build image. I think it can now be added to misp.

ostefano commented 1 month ago

Will merge tomorrow together with https://github.com/MISP/misp-docker/issues/106 if ready