Comments (3)
The MongoDB server has version 4.4.29, but Overleaf requires at least version 5.0
Like myself, you first have to update to MongoDB Version 5.0.
After doing so, I then had to force mongod
to:
- Bind to IPv6 localhost using
mongod --ipv6
- Enable support for transactions using a single node replica set by also adding
--replSet rs0
.
I also made sure to explicitly set the hostname
for my MongoDB container (in my case overleaf_mongodb
). Finally I had to initiate the replica set by running:
docker compose exec -it overleaf_mongodb /bin/bash -c 'echo "rs.initiate()" | mongosh'
If you don't set the hostname
the rs.initiate()
will create a replica set using the container ID, which will change, if the container is removed and restarted.
from overleaf.
Just noticed that you cannot run MongoDB 5.0.
I'll leave my comment as the error may be quite frequent for users migrating to Overleaf Version 5.
from overleaf.
Just noticed that you cannot run MongoDB 5.0.
I'll leave my comment as the error may be quite frequent for users migrating to Overleaf Version 5.
Thank you for you quick answer. Your comment lets me consider runing Overleaf 4.2 instead of trying to deploy Overleaf 5. However, I think it is better to run Overleaf on some low-energy-comsuption devices such as Rasberry Pi so that one can TeX any time, any device with a very low environmental burden.
from overleaf.
Related Issues (20)
- Add environment variables for all services ports HOT 2
- Fresh CE install, new user creation fails HOT 2
- [SOLVED] manifest.json in services/web/public not complete? HOT 1
- \cite{} environment autocompletion does not work HOT 3
- Does Overleaf not support using a remote mongodb instance? HOT 7
- Toggle area of review panel and review comment overlap. HOT 1
- New local setup of CE HOT 1
- Feature request: Allow custom auto-completions (environments, ...)
- \tag* with math mode triggers warning
- .txt are removed in the cache, breaking robust-externalize's package
- 5.1.0 no mail sent when creating user HOT 1
- partition become "full" until Overleaf is stopped HOT 3
- False positive linter when using `\path` (`url` package) HOT 1
- texpage.com is misusing the opensource code and violating the license HOT 3
- MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 HOT 11
- Mongo can not be connected and initialized at all!!!!!!!!!!!!!!!!!!!!!!! HOT 7
- Unable to compile on overleaf HOT 1
- Docker Image Build Failing HOT 1
- Ignore Files from Overleaf Sync to GitHub HOT 1
- Scrolling in .bib file buggy
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 overleaf.