Skip to content

Confusing startup message when --base-directory is used. ComfyUI-Manager seems to have its own system. #13363

@njcray2

Description

@njcray2

Custom Node Testing

Expected Behavior

Use of --base-directory is reported correctly during startup.

Actual Behavior

With this command:

python main.py --cache-none --use-sage-attention --disable-cuda-malloc --front-end-version Comfy-Org/ComfyUI_frontend@latest --base-directory T:/amd_M/pinokio/api/comfy.git/app --user-directory M:/pinokio/api/comfy.git/app/user --output-directory M:/side/output --input-directory M:/side/input --temp-directory M:/side/temp

Amid a flurry of messages on startup we get

Setting output directory to: M:\side\output
Setting input directory to: M:\side\input
Setting user directory to: M:\pinokio\api\comfy.git\app\user

and then later the base directory is misreported:

## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2026-04-11 12:31:14.633
** Platform: Windows
** Python version: 3.13.11 (main, Dec 17 2025, 21:09:15) [MSC v.1944 64 bit (AMD64)]
** Python executable: M:\pinokio\api\experiment\app\env\Scripts\python.exe
** ComfyUI Path: M:\pinokio\api\comfy.git\app
** ComfyUI Base Folder Path: M:\pinokio\api\comfy.git\app  <<<<<----- Incorrect or is it???
** User directory: M:\pinokio\api\comfy.git\app\user
** ComfyUI-Manager config path: M:\pinokio\api\comfy.git\app\user\__manager\config.ini
** Log path: M:\pinokio\api\comfy.git\app\user\comfyui.log

but clearly the --base-directory option has been used:

Prestartup times for custom nodes:
   0.0 seconds: T:\amd_M\pinokio\api\comfy.git\app\custom_nodes\comfyui-easy-use
   1.3 seconds: T:\amd_M\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager

All the messages starting with "**" are in fact coming from ComfyUI-Manager. It is reporting the value of a variable called comfy_base_path which is computed, printed out and then never used again.

A variable with the same name is separately computed in manager-core and might be used when ComfyUI-Manager fetches new custom nodes - I haven't traced through the code to check.

Clearly the code which confirms the settings using the messages "Setting directory" could/should also confirm base directory.

ComfyUI-Manager should make clear what exactly it means by "base directory" which appears to have diverged from the main system's definition/intention. (And ideally it should not "fake" its report but actually report with the variable it will actually be using.)

Steps to Reproduce

Use --base-directory option.

Debug Logs

M:\pinokio\api\comfy.git\app>conda_hook & conda deactivate & conda deactivate & conda deactivate & conda activate base & M:\pinokio\api\comfy.git\app\env\Scripts\activate M:\pinokio\api\comfy.git\app\env && python main.py --cache-none --use-sage-attention --disable-cuda-malloc --front-end-version Comfy-Org/ComfyUI_frontend@latest --base-directory T:/amd_M/pinokio/api/comfy.git/app --user-directory M:/pinokio/api/comfy.git/app/user --output-directory M:/side/output --input-directory M:/side/input --temp-directory M:/side/temp
Setting output directory to: M:\side\output
Setting input directory to: M:\side\input
Setting user directory to: M:\pinokio\api\comfy.git\app\user
[START] Security scan
[ComfyUI-Manager] `python -m pip` not available. Falling back to `uv`.
[ComfyUI-Manager] Using `uv` as Python module for pip operations.
Using Python 3.13.11 environment at: M:\pinokio\api\experiment\app\env
[DONE] Security scan
## ComfyUI-Manager: installing dependencies done.
** ComfyUI startup time: 2026-04-11 12:31:14.633
** Platform: Windows
** Python version: 3.13.11 (main, Dec 17 2025, 21:09:15) [MSC v.1944 64 bit (AMD64)]
** Python executable: M:\pinokio\api\experiment\app\env\Scripts\python.exe
** ComfyUI Path: M:\pinokio\api\comfy.git\app
** ComfyUI Base Folder Path: M:\pinokio\api\comfy.git\app
** User directory: M:\pinokio\api\comfy.git\app\user
** ComfyUI-Manager config path: M:\pinokio\api\comfy.git\app\user\__manager\config.ini
** Log path: M:\pinokio\api\comfy.git\app\user\comfyui.log
Using Python 3.13.11 environment at: M:\pinokio\api\experiment\app\env
Using Python 3.13.11 environment at: M:\pinokio\api\experiment\app\env

Prestartup times for custom nodes:
   0.0 seconds: T:\amd_M\pinokio\api\comfy.git\app\custom_nodes\comfyui-easy-use
   1.3 seconds: T:\amd_M\pinokio\api\comfy.git\app\custom_nodes\ComfyUI-Manager

Other

Versions used:

ComfyUI version: 0.18.5
comfy-aimdo version: 0.2.13.dev1
comfy-kitchen version: 0.2.8
Setting temp directory to: M:\side\temp\temp
Initializing frontend: Comfy-Org/ComfyUI_frontend@latest, requesting version details from GitHub...
Downloading frontend(Comfy-Org_ComfyUI_frontend) version(1.44.2) to (M:\pinokio\api\comfy.git\app\web_custom_versions\Comfy-Org_ComfyUI_frontend\1.44.2)
[Prompt Server] web root: M:\pinokio\api\comfy.git\app\web_custom_versions\Comfy-Org_ComfyUI_frontend\1.44.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Potential BugUser is reporting a bug. This should be tested.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions