Skip to content

Init the storagepath#4844

Merged
HenryHengZJ merged 1 commit intoFlowiseAI:mainfrom
autotraderuk:init-local-storage
Jul 18, 2025
Merged

Init the storagepath#4844
HenryHengZJ merged 1 commit intoFlowiseAI:mainfrom
autotraderuk:init-local-storage

Conversation

@Stono
Copy link
Copy Markdown
Contributor

@Stono Stono commented Jul 11, 2025

Hi,
When using local storage by default that folder won't exist (path.join(getUserHome(), '.flowise', 'storage')), if you delete an agent - you get an error log because it tries to calculate the size of the storage directory.

This PR ensures that the folder recursively exists if it does not already.

@HenryHengZJ HenryHengZJ merged commit 2e1999e into FlowiseAI:main Jul 18, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants