Hi all, after restart of windows 11 or docker there no saved data.
But user, and api tokens are still there.
Steps to reproduce
docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos neosmemo/memos:stable
create note
restart docker/windows
check if created note is still there
The version of Memos you're using
Version: v0.22.0
Screenshots or additional context
I was expected that ~/.memos/ will not work on windows (cmd/ps) but decided to try and it worked (no error) and was working fine. But after 2w of usage I went into restart and realized that data is disappeared.
After the quick look I've found that you actually can use ~/ in PS v5 but not cmd in windows.
But docker does not create memos in user home and if I create it manually it will still not place db files in it. Seems like it will use some sort of in memory db which will be removed after restart.
Some ideas on the issue:
1) It's make sense to updated a readme for windows users to avoid this issue (see #3444)
2) I think it make sense to add verification if application is actually using/has access to the folder and inform user if it does not (UI error will be nice). And maybe disable in memory db to avoid such issue?
I'm using koreader plugin for saving notes from ereader and for some reason after notes are disappeared I can't upload them back again. It seems like there some other way to prevent adding notes multiple times to prevent duplicates? Is there quick way to reset it or I will be better with creating new user?
Describe the bug
Hi all, after restart of windows 11 or docker there no saved data. But user, and api tokens are still there.
Steps to reproduce
docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos neosmemo/memos:stable
The version of Memos you're using
Version: v0.22.0
Screenshots or additional context
I was expected that
~/.memos/
will not work on windows (cmd/ps) but decided to try and it worked (no error) and was working fine. But after 2w of usage I went into restart and realized that data is disappeared.After the quick look I've found that you actually can use
~/
inPS
v5 but notcmd
in windows. But docker does not creatememos
in user home and if I create it manually it will still not place db files in it. Seems like it will use some sort of in memory db which will be removed after restart.Some ideas on the issue: 1) It's make sense to updated a readme for windows users to avoid this issue (see #3444) 2) I think it make sense to add verification if application is actually using/has access to the folder and inform user if it does not (UI error will be nice). And maybe disable in memory db to avoid such issue?
I'm using koreader plugin for saving notes from ereader and for some reason after notes are disappeared I can't upload them back again. It seems like there some other way to prevent adding notes multiple times to prevent duplicates? Is there quick way to reset it or I will be better with creating new user?
Thanks