Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

设置本地存储路径时遇到的问题 #2571

Closed
onexiaolaji opened this issue Dec 3, 2023 · 3 comments
Closed

设置本地存储路径时遇到的问题 #2571

onexiaolaji opened this issue Dec 3, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@onexiaolaji
Copy link

Describe the bug

03T12:07:13Z","latency":"3.720683ms","method":"POST","uri":"/api/v1/resource/blob","status":500,"error":"code=500, message=Failed to save resource, internal=Failed to create directory: mkdir /var/opt/memos/oss: file exists"}

memos设置本地存储貌似只允许在.memos同数据库的路径,不能跨域及软链接
这样就显得本地存储有点鸡肋

如果可以可以设置为“跨域及软链接”路径,则可以极大扩大存储空间

Steps to reproduce

Failed to save resource

Screenshots or additional context

No response

@onexiaolaji onexiaolaji added the bug Something isn't working label Dec 3, 2023
@Issues-translate-bot
Copy link

Issue is not in English. It has been translated automatically.


Title: Problems encountered when setting the local storage path

@onexiaolaji
Copy link
Author

已解决!这个是相对于容器所在的绝对目录而言的!
结合alist、webdav、软链接等
现在可以完美实现将memos资源库文件上传到其他网盘并引用!!

@Issues-translate-bot
Copy link

Issue is not in English. It has been translated automatically.


solved! This is relative to the absolute directory where the container is located!
Combined with alist, webdav, soft links, etc.
Now you can perfectly upload memos resource library files to other network disks and reference them! !

@boojack boojack closed this as completed Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants