-
Notifications
You must be signed in to change notification settings - Fork 22
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
WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that! #18
Comments
You can try using an older version of mongodb. Just need to modify the docker-compose.yml file. But it does not guarantee that Notesnook can run normally. notesnook-db:
image: mongo:You version
initiate-rs0:
image: mongo:You version |
Thanks for your response. I found a docker image of MongoDB which doesn't require AVX but now I'm getting some other errors. notesnook-db
notesnook-initiate-rs0
|
You can try using version notesnook-db:
image: mongo:4.4.9
initiate-rs0:
image: mongo:4.4.9
command:
- -c
- |
mongo mongodb://notesnook-db:27017 <<EOF
rs.initiate();
rs.status();
EOF If the docker compose exec -it notesnook-db /bin/bash
mongo mongodb://notesnook-db:27017
rs.initiate();
rs.status(); Exit Container and exec docker compose up -d This does not guarantee complete normal operation. Good luck to you |
Are you sure the CPU doesn't have AVX support? If it a VM, just use "Host" flag. CPU tab when creating a VM, or Hardware > Processors > Type to edit existing VM. |
I'm using the Docker image on a Proxmox server with a N5105 CPU which doesn't appear to have AVX instructions and I'm getting the error below when the MongoDB container attempts to start:
Is it possible to run an older version of MongoDB for Notesnook? Or is there another workaround someone could offer if possible please?
Many thanks in advance.
The text was updated successfully, but these errors were encountered: