Skip to content
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
This repository was archived by the owner on Aug 13, 2026. It is now read-only.

Docker Compose setup result in container with "Error: ENOENT: no such file or directory, mkdir ''" error #6030

Open

Description

@TheItschi

Describe the bug

I tried to install the recent Docker image with docker compose as discribed:

C:\Flowise-main\docker>docker compose up -d
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"DATABASE_PATH\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"DATABASE_TYPE\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"DATABASE_PORT\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"DATABASE_HOST\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"DATABASE_NAME\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"DATABASE_USER\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"DATABASE_PASSWORD\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"DATABASE_SSL\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"DATABASE_SSL_KEY_BASE64\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SECRETKEY_STORAGE_TYPE\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SECRETKEY_PATH\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"FLOWISE_SECRETKEY_OVERWRITE\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SECRETKEY_AWS_ACCESS_KEY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SECRETKEY_AWS_SECRET_KEY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SECRETKEY_AWS_REGION\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SECRETKEY_AWS_NAME\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"DEBUG\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"LOG_PATH\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"LOG_LEVEL\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"LOG_SANITIZE_BODY_FIELDS\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"LOG_SANITIZE_HEADER_FIELDS\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"TOOL_FUNCTION_BUILTIN_DEP\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"TOOL_FUNCTION_EXTERNAL_DEP\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"ALLOW_BUILTIN_DEP\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"STORAGE_TYPE\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"BLOB_STORAGE_PATH\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"S3_STORAGE_BUCKET_NAME\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"S3_STORAGE_ACCESS_KEY_ID\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"S3_STORAGE_SECRET_ACCESS_KEY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"S3_STORAGE_REGION\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"S3_ENDPOINT_URL\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"S3_FORCE_PATH_STYLE\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"GOOGLE_CLOUD_STORAGE_CREDENTIAL\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"GOOGLE_CLOUD_STORAGE_PROJ_ID\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"GOOGLE_CLOUD_STORAGE_BUCKET_NAME\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"GOOGLE_CLOUD_UNIFORM_BUCKET_ACCESS\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"AZURE_BLOB_STORAGE_CONNECTION_STRING\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"AZURE_BLOB_STORAGE_ACCOUNT_NAME\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"AZURE_BLOB_STORAGE_ACCOUNT_KEY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"AZURE_BLOB_STORAGE_CONTAINER_NAME\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"NUMBER_OF_PROXIES\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"CORS_ORIGINS\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"IFRAME_ORIGINS\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"FLOWISE_FILE_SIZE_LIMIT\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SHOW_COMMUNITY_NODES\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"DISABLE_FLOWISE_TELEMETRY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"DISABLED_NODES\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"MODEL_LIST_CONFIG_JSON\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"APP_URL\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"JWT_AUTH_TOKEN_SECRET\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"JWT_REFRESH_TOKEN_SECRET\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"EXPIRE_AUTH_TOKENS_ON_RESTART\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"EXPRESS_SESSION_SECRET\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"PASSWORD_RESET_TOKEN_EXPIRY_IN_MINS\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"PASSWORD_SALT_HASH_ROUNDS\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"TOKEN_HASH_SECRET\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SECURE_COOKIES\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SMTP_HOST\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SMTP_PORT\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SMTP_USER\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SMTP_PASSWORD\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SMTP_SECURE\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"ALLOW_UNAUTHORIZED_CERTS\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"SENDER_EMAIL\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"LICENSE_URL\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"FLOWISE_EE_LICENSE_KEY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"OFFLINE\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"INVITE_TOKEN_EXPIRY_IN_HOURS\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"WORKSPACE_INVITE_TEMPLATE_PATH\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"POSTHOG_PUBLIC_API_KEY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"ENABLE_METRICS\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"METRICS_PROVIDER\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"METRICS_INCLUDE_NODE_METRICS\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"METRICS_SERVICE_NAME\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"METRICS_OPEN_TELEMETRY_METRIC_ENDPOINT\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"METRICS_OPEN_TELEMETRY_PROTOCOL\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"METRICS_OPEN_TELEMETRY_DEBUG\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"GLOBAL_AGENT_HTTP_PROXY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"GLOBAL_AGENT_HTTPS_PROXY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"GLOBAL_AGENT_NO_PROXY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"MODE\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"QUEUE_NAME\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"QUEUE_REDIS_EVENT_STREAM_MAX_LEN\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"WORKER_CONCURRENCY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"REMOVE_ON_AGE\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"REMOVE_ON_COUNT\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"REDIS_URL\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"REDIS_HOST\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"REDIS_PORT\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"REDIS_USERNAME\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"REDIS_PASSWORD\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"REDIS_TLS\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"REDIS_CERT\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"REDIS_KEY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"REDIS_CA\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"REDIS_KEEP_ALIVE\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"ENABLE_BULLMQ_DASHBOARD\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"CUSTOM_MCP_SECURITY_CHECK\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"CUSTOM_MCP_PROTOCOL\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"HTTP_DENY_LIST\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"HTTP_SECURITY_CHECK\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"PATH_TRAVERSAL_SAFETY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="The \"TRUST_PROXY\" variable is not set. Defaulting to a blank string."
time="2026-03-21T17:10:46+01:00" level=warning msg="C:\\Flowise-main\\docker\\docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion"
[+] up 10/10
 ✔ Image flowiseai/flowise:latest Pulled                                                                          201.3s
 ✔ Network docker_default         Created                                                                         0.1s
 ✔ Container docker-flowise-1     Started                                                                         4.3s

The containers are up and running in Docker but the log shows:

Node.js v20.20.1

node:fs:1386

  const result = binding.mkdir(

                         ^


Error: ENOENT: no such file or directory, mkdir ''

    at Object.mkdirSync (node:fs:1386:26)

    at Object.<anonymous> (/usr/local/lib/node_modules/flowise/dist/utils/logger.js:44:8)

    at Module._compile (node:internal/modules/cjs/loader:1521:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)

    at Module.load (node:internal/modules/cjs/loader:1266:32)

    at Module._load (node:internal/modules/cjs/loader:1091:12)

    at Module.require (node:internal/modules/cjs/loader:1289:19)

    at require (node:internal/modules/helpers:182:18)

    at Object.<anonymous> (/usr/local/lib/node_modules/flowise/dist/utils/index.js:37:34)

    at Module._compile (node:internal/modules/cjs/loader:1521:14)

    at Module._extensions..js (node:internal/modules/cjs/loader:1623:10)

    at Module.load (node:internal/modules/cjs/loader:1266:32)

    at Module._load (node:internal/modules/cjs/loader:1091:12)

    at Module.require (node:internal/modules/cjs/loader:1289:19)

    at require (node:internal/modules/helpers:182:18)

    at Object.<anonymous> (/usr/local/lib/node_modules/flowise/dist/DataSource.js:35:17) {

  errno: -2,

  code: 'ENOENT',

  syscall: 'mkdir',

  path: ''

}


### To Reproduce

Follow installation instrucion using docker compose method.

### Expected behavior

Container start up and app usable

### Screenshots

_No response_

### Flow

_No response_

### Use Method

None

### Flowise Version

_No response_

### Operating System

None

### Browser

None

### Additional context

_No response_

Activity

  1. added a commit that references this issue on Mar 21, 2026
    7ee9da1
  2. aleglr commented on May 5, 2026

    @aleglr

    You have to edit those properties:
    DATABASE_PATH=/root/.flowise LOG_PATH=/root/.flowise/logs BLOB_STORAGE_PATH=/root/.flowise/storage SECRETKEY_PATH=/root/.flowise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions