You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I 2021/09/28 19:57:38 sync.go:194: set sync interval to [1m] E 2021/09/28 19:58:44 sync.go:915: gen sync history failed: open D:\AppData\SiYuanNote\data.siyuan\history\2021-09-28-195843-sync\assets: is a directory
I 2021/09/28 19:58:45 sync.go:236: sync [cloud=1308, local=1299] downloaded in [6.19s]
I 2021/09/28 19:58:45 sync.go:240: set sync interval to [1m]
E 2021/09/28 19:58:45 aseet.go:64: read asset [D:\AppData\SiYuanNote\data\assets\f8ebd82c8bb203f546bf85de3b9ededf5d00ab90-20210927233007-q6sgsce.png] data failed: open D:\AppData\SiYuanNote\data\assets\f8ebd82c8bb203f546bf85de3b9ededf5d00ab90-20210927233007-q6sgsce.png: The system cannot find the path specified.
E 2021/09/28 19:58:45 aseet.go:64: read asset [D:\AppData\SiYuanNote\data\assets\cba965d94b9521e7be193388896a2c04fa0357a6-20210927233234-vv775ox.jpg] data failed: open D:\AppData\SiYuanNote\data\assets\cba965d94b9521e7be193388896a2c04fa0357a6-20210927233234-vv775ox.jpg: The system cannot find the path specified.
E 2021/09/28 19:58:45 aseet.go:64: read asset [D:\AppData\SiYuanNote\data\assets\94b63a7ab5e799961b025dd049a56bf9e8586141-20210927233822-5h5r68d.jpg] data failed: open D:\AppData\SiYuanNote\data\assets\94b63a7ab5e799961b025dd049a56bf9e8586141-20210927233822-5h5r68d.jpg: The system cannot find the path specified.
E 2021/09/28 19:58:45 aseet.go:64: read asset [D:\AppData\SiYuanNote\data\assets\image_1-20210927234102-t3trux7.png] data failed: open D:\AppData\SiYuanNote\data\assets\image_1-20210927234102-t3trux7.png: The system cannot find the path specified. I 2021/09/28 19:58:45 box.go:422: rebuilt database for notebook [20210902095438-ut12mcx] in [0.04s]
I 2021/09/28 19:59:45 sync.go:132: set sync interval to [2m]
I 2021/09/28 20:01:46 sync.go:132: set sync interval to [4m]
The text was updated successfully, but these errors were encountered:
Describe the problem
尝试使用OneDrive代替思源同步assets文件夹下的所有静态资源
在
synignore
中添加assets文件夹后,将assets文件夹的内容移动到OneDrive进行同步,win上使用mklink /J
mac上使用ln -s
建立assets的软连接,思源会在同步时删除该软连接,并且无法在设置-资源中,侦测到未使用的图片Expected result
将软连接视为正常的文件夹,以方便使用onedrive进行静态资源的同步,减少服务器的存储压力
Screenshot or screen recording presentation
Version environment
Log File
I 2021/09/28 19:57:38 sync.go:194: set sync interval to [1m]
E 2021/09/28 19:58:44 sync.go:915: gen sync history failed: open D:\AppData\SiYuanNote\data.siyuan\history\2021-09-28-195843-sync\assets: is a directory
I 2021/09/28 19:58:45 sync.go:236: sync [cloud=1308, local=1299] downloaded in [6.19s]
I 2021/09/28 19:58:45 sync.go:240: set sync interval to [1m]
E 2021/09/28 19:58:45 aseet.go:64: read asset [D:\AppData\SiYuanNote\data\assets\f8ebd82c8bb203f546bf85de3b9ededf5d00ab90-20210927233007-q6sgsce.png] data failed: open D:\AppData\SiYuanNote\data\assets\f8ebd82c8bb203f546bf85de3b9ededf5d00ab90-20210927233007-q6sgsce.png: The system cannot find the path specified.
E 2021/09/28 19:58:45 aseet.go:64: read asset [D:\AppData\SiYuanNote\data\assets\cba965d94b9521e7be193388896a2c04fa0357a6-20210927233234-vv775ox.jpg] data failed: open D:\AppData\SiYuanNote\data\assets\cba965d94b9521e7be193388896a2c04fa0357a6-20210927233234-vv775ox.jpg: The system cannot find the path specified.
E 2021/09/28 19:58:45 aseet.go:64: read asset [D:\AppData\SiYuanNote\data\assets\94b63a7ab5e799961b025dd049a56bf9e8586141-20210927233822-5h5r68d.jpg] data failed: open D:\AppData\SiYuanNote\data\assets\94b63a7ab5e799961b025dd049a56bf9e8586141-20210927233822-5h5r68d.jpg: The system cannot find the path specified.
E 2021/09/28 19:58:45 aseet.go:64: read asset [D:\AppData\SiYuanNote\data\assets\image_1-20210927234102-t3trux7.png] data failed: open D:\AppData\SiYuanNote\data\assets\image_1-20210927234102-t3trux7.png: The system cannot find the path specified.
I 2021/09/28 19:58:45 box.go:422: rebuilt database for notebook [20210902095438-ut12mcx] in [0.04s]
I 2021/09/28 19:59:45 sync.go:132: set sync interval to [2m]
I 2021/09/28 20:01:46 sync.go:132: set sync interval to [4m]
The text was updated successfully, but these errors were encountered: