Comments (5)
Did you create a volume within your docker setup for your data? Otherwise it's not persistent, as the docker manual states:
By default all files created inside a container are stored on a writable container layer. This means that:
- The data doesn't persist when that container no longer exists, and it can be difficult to get the data out of the container if another process needs it.
from memos.
I used the first one. it's wired that the data are missing. But when I use the old version of image, the data are back. I'm thinking maybe there are some incompatible things happened here.
from memos.
Backup your database file so that your data is never lost.
And please provide more context or logs.
from memos.
I've designated the file path for the persistent files. it just didn't work.
from memos.
How do you deploy the memos container? If you do it like stated in the memos docs, your data should be persistent. As usual with docker, there are two ways: docker run and docker-compose.
docker run
docker run -d \
--init \
--name memos \
--publish 5230:5230 \
--volume ~/.memos/:/var/opt/memos \
neosmemo/memos:stable
docker-compose
services:
memos:
image: neosmemo/memos:stable
container_name: memos
volumes:
- ~/.memos/:/var/opt/memos
ports:
- 5230:5230
from memos.
Related Issues (20)
- Make the "Refresh" button accessible with one click again HOT 1
- Saved Views
- Public Register Control Doesn't Work HOT 1
- :stable tag is not working anymore HOT 2
- Healtcheck is not working anymore on version 0.22.5 HOT 1
- /u/user note with an image is wrongly resized in 0.22.5 box HOT 15
- I hope to join the administrator to pin it globally HOT 2
- --password-auth flag is missing in 0.22.5 HOT 2
- Allow tags to be ended before the end of a string
- Case sensitive search results HOT 1
- grpc:received message larger than HOT 3
- Week starting on Monday not woring if month starts on Sunday
- Tags used in private memos only are visible to other users HOT 6
- Postgresql docker compose data migration failure on fresh non-default database HOT 1
- search function bug HOT 2
- Changing the name of the server do not change the name on the main page, shown to unregistered persons. HOT 1
- Time filter BUG ~~~ HOT 2
- link preview is not work for some websites
- Is it possible to provide a tutorial for data backup or migration? HOT 1
- Can't access memo comments relations in webhook
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from memos.