-
数据库是否支持图床
2024-08-29 20:11我这边尝试后出现了以下日志,不过资源还是成功上传到了图床,但是没有替换链接。
[WARNING] - ISiyuan.async_get_database_resource | 未找到资源key | key:mAsset row_resource:{'id': '20240823184328-rgz0n8g', 'keyID': '20240823184321-fhgrodr', 'blockID': '20240609200508-dvrgbpb', 'type': 'mAsset', 'createdAt': 1724410013214, 'updatedAt': 1724411206487}
-
数据库是否支持图床
2024-08-28 22:54感谢回复,我试了一下,在第三步“请求上传”卡住了,提示如下:
[32mINFO[0m: 127.0.0.1:14205 - "[1mPOST /siyuan/database HTTP/1.1[0m" [91m500 Internal Server Error[0m [31mERROR[0m: Exception in ASGI application Traceback (most recent call last): File "uvicorn\protocols\http\httptools_impl.py", line 399, in run_asgi File "uvicorn\middleware\proxy_headers.py", line 70, in __call__ File "fastapi\applications.py", line 1054, in __call__ File "starlette\applications.py", line 123, in __call__ File "starlette\middleware\errors.py", line 186, in __call__ File "starlette\middleware\errors.py", line 164, in __call__ File "starlette\middleware\exceptions.py", line 65, in __call__ File "starlette\_exception_handler.py", line 64, in wrapped_app File "starlette\_exception_handler.py", line 53, in wrapped_app File "starlette\routing.py", line 756, in __call__ File "starlette\routing.py", line 776, in app File "starlette\routing.py", line 297, in handle File "starlette\routing.py", line 77, in app File "starlette\_exception_handler.py", line 64, in wrapped_app File "starlette\_exception_handler.py", line 53, in wrapped_app File "starlette\routing.py", line 72, in app File "fastapi\routing.py", line 278, in app File "fastapi\routing.py", line 191, in run_endpoint_function File "router\siyuan.py", line 41, in siyuan_database File "action\siyuan.py", line 52, in upload_database_resource File "interface\local.py", line 67, in async_get_database_resource File "entity\siyuan.py", line 126, in parse KeyError: 'mAsset'
-
同步失败:网络超时,请稍后再试 (Provider: S3) v3.0.17
2024-07-02 18:06经测试,把“Timeout (s)”增大可以解决问题,我从 30 增加到 60 不行,增加到 120 可以
-
【已解决】搞了一个月,还是没搞懂 WebDAV 同步
2024-05-29 11:29我用 NAS 自建 WebDav 和 S3,对比下来 WebDav 外网同步成功率非常低,经常会报错,但是内网同步倒是很顺畅;用 S3 外网同步很稳。所以决定抛弃 WebDav 了,希望开发者能够将 WebDav 同步不稳定的问题标出来,让用户提前有个心理准备。
-
思源图片 能加边框嘛
2024-02-20 19:01CSS 片段
.b3-typography img, .protyle-wysiwyg img { border: 2px solid green; }