Skip to content

Re-open Cloudreve after exiting Cloudreve Unable to add network disk #37

@Snoopy1866

Description

@Snoopy1866

After exiting Cloudreve desktop, reopen Cloudreve desktop and add the network disk again. The error is as follows:

添加失败:state not managed for field `state` on command `add_drive`. You must call `.manage()` before using this command

The log reads as follows:

�[2m2026-03-20T03:10:18.475774Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(19) �[2mmain�[0m�[2m:�[0m Logging system initialized �[3mlog_dir�[0m�[2m=�[0mC:\Users\wtwang\.cloudreve\logs �[3mmax_files�[0m�[2m=�[0m5 �[3mlog_to_file�[0m�[2m=�[0mtrue �[3mlog_level�[0m�[2m=�[0mdebug
�[2m2026-03-20T03:10:18.475827Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(19) �[2mmain�[0m�[2m:�[0m Starting Cloudreve Sync Service (Tauri)...
�[2m2026-03-20T03:10:18.475845Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(19) �[2mmain�[0m�[2m:�[0m Event broadcasting system initialized
�[2m2026-03-20T03:10:18.475863Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(19) �[2mmain�[0m�[2m:�[0m Initializing DriveManager...
�[2m2026-03-20T03:10:18.478209Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(19) �[2mmain�[0m�[2m:�[0m DriveManager command processor started
�[2m2026-03-20T03:10:18.478231Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(15) �[2mevents�[0m�[2m:�[0m Event bridge started
�[2m2026-03-20T03:10:18.478299Z�[0m �[34mDEBUG�[0m tokio-runtime-worker ThreadId(19) �[2mdrive�[0m�[2m:�[0m Loading drive configurations �[3mpath�[0m�[2m=�[0mC:\Users\wtwang\.cloudreve\drives.json
�[2m2026-03-20T03:10:18.478816Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(15) �[2mdrive::manager�[0m�[2m:�[0m Command processor started
�[2m2026-03-20T03:10:18.480087Z�[0m �[34mDEBUG�[0m tokio-runtime-worker ThreadId(19) �[2mglobset�[0m�[2m:�[0m glob `Glob("**/~*")` converted to regex: `"(?-u)^(?:/?|.*/)\\~.*$"`
�[2m2026-03-20T03:10:18.480104Z�[0m �[34mDEBUG�[0m tokio-runtime-worker ThreadId(19) �[2mglobset�[0m�[2m:�[0m glob `Glob("**/.~lock.*")` converted to regex: `"(?-u)^(?:/?|.*/)\\.\\~lock\\..*$"`
�[2m2026-03-20T03:10:18.480114Z�[0m �[34mDEBUG�[0m tokio-runtime-worker ThreadId(19) �[2mglobset�[0m�[2m:�[0m built glob set; 0 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 1 required extensions, 2 regexes
�[2m2026-03-20T03:10:18.480493Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(19) �[2mdrive::mounts�[0m�[2m:�[0m Loaded ignore patterns �[3mid�[0m�[2m=�[0m3a74038a-40f3-4733-9c01-a453842a9357 �[3mpattern_count�[0m�[2m=�[0m3
�[2m2026-03-20T03:10:18.540609Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(19) �[2mdrive::mounts�[0m�[2m:�[0m Connecting to sync root �[3msync_path�[0m�[2m=�[0mE:\wtwang �[3mid�[0m�[2m=�[0m3a74038a-40f3-4733-9c01-a453842a9357
�[2m2026-03-20T03:10:18.541228Z�[0m �[31mERROR�[0m tokio-runtime-worker ThreadId(19) �[2mdrive�[0m�[2m:�[0m Failed to start drive �[3merror�[0m�[2m=�[0mfailed to connect to sync root

Caused by:
    系统找不到指定的文件。 (0x80070002)
�[2m2026-03-20T03:10:18.541342Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(19) �[2mmain�[0m�[2m:�[0m Flushing logs before shutdown
�[2m2026-03-20T03:12:59.101893Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(18) �[2mmain�[0m�[2m:�[0m Logging system initialized �[3mlog_dir�[0m�[2m=�[0mC:\Users\wtwang\.cloudreve\logs �[3mmax_files�[0m�[2m=�[0m5 �[3mlog_to_file�[0m�[2m=�[0mtrue �[3mlog_level�[0m�[2m=�[0mdebug
�[2m2026-03-20T03:12:59.101971Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(18) �[2mmain�[0m�[2m:�[0m Starting Cloudreve Sync Service (Tauri)...
�[2m2026-03-20T03:12:59.101991Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(18) �[2mmain�[0m�[2m:�[0m Event broadcasting system initialized
�[2m2026-03-20T03:12:59.102012Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(18) �[2mmain�[0m�[2m:�[0m Initializing DriveManager...
�[2m2026-03-20T03:12:59.104416Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(18) �[2mmain�[0m�[2m:�[0m DriveManager command processor started
�[2m2026-03-20T03:12:59.104441Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(17) �[2mevents�[0m�[2m:�[0m Event bridge started
�[2m2026-03-20T03:12:59.104486Z�[0m �[34mDEBUG�[0m tokio-runtime-worker ThreadId(18) �[2mdrive�[0m�[2m:�[0m Loading drive configurations �[3mpath�[0m�[2m=�[0mC:\Users\wtwang\.cloudreve\drives.json
�[2m2026-03-20T03:12:59.105074Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(17) �[2mdrive::manager�[0m�[2m:�[0m Command processor started
�[2m2026-03-20T03:12:59.111608Z�[0m �[34mDEBUG�[0m tokio-runtime-worker ThreadId(18) �[2mglobset�[0m�[2m:�[0m glob `Glob("**/~*")` converted to regex: `"(?-u)^(?:/?|.*/)\\~.*$"`
�[2m2026-03-20T03:12:59.111639Z�[0m �[34mDEBUG�[0m tokio-runtime-worker ThreadId(18) �[2mglobset�[0m�[2m:�[0m glob `Glob("**/.~lock.*")` converted to regex: `"(?-u)^(?:/?|.*/)\\.\\~lock\\..*$"`
�[2m2026-03-20T03:12:59.111653Z�[0m �[34mDEBUG�[0m tokio-runtime-worker ThreadId(18) �[2mglobset�[0m�[2m:�[0m built glob set; 0 literals, 0 basenames, 0 extensions, 0 prefixes, 0 suffixes, 1 required extensions, 2 regexes
�[2m2026-03-20T03:12:59.112161Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(18) �[2mdrive::mounts�[0m�[2m:�[0m Loaded ignore patterns �[3mid�[0m�[2m=�[0m3a74038a-40f3-4733-9c01-a453842a9357 �[3mpattern_count�[0m�[2m=�[0m3
�[2m2026-03-20T03:12:59.178967Z�[0m �[32m INFO�[0m tokio-runtime-worker ThreadId(18) �[2mdrive::mounts�[0m�[2m:�[0m Connecting to sync root �[3msync_path�[0m�[2m=�[0mE:\wtwang �[3mid�[0m�[2m=�[0m3a74038a-40f3-4733-9c01-a453842a9357
�[2m2026-03-20T03:12:59.180114Z�[0m �[31mERROR�[0m tokio-runtime-worker ThreadId(18) �[2mdrive�[0m�[2m:�[0m Failed to start drive �[3merror�[0m�[2m=�[0mfailed to connect to sync root

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions