Database location to follow the --base-directory option
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Feature Idea
Short: Place `comfyui.db` in `/user` when `--base_directory` is requested.
Long:
ComfyUI now uses a `comfyui.db` file, which appears to be stored in `ComfyUI/comfy/../user` (per https://github.com/comfyanonymous/ComfyUI/blob/72c2071972d3207ed92bc20535299c5f39622818/comfy/cli_args.py#L212)
In January, the `--base-directory` option was added that `Set the ComfyUI base directory for models, custom_nodes, input, output, temp, and **user** directories`.
When using `base-drectory`, the `user` folder is at an alternate location, therefore `ComfyUI/comfy/../user` is incorrect and should be `/user`.
Can the `comfyui.db` file be placed in the `/user/` folder when `--base_directory` is used?
### Existing Solutions
_No response_
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.