Comments (2)
MongoDB needs to run as a Replica Set since 4.0.1.
Check the release notes for any extra information: https://github.com/overleaf/overleaf/wiki/Release-Notes--4.x.x#server-pro-401
from overleaf.
@mserranom Thanks for your reply. After adding command: "--replSet overleaf"
, I got another error.
Cannot connect to mongodb
MongooseServerSelectionError: Server selection timed out after 60000 ms
at Connection.openUri (/overleaf/node_modules/mongoose/lib/connection.js:825:32)
at /overleaf/node_modules/mongoose/lib/index.js:414:10
at /overleaf/node_modules/mongoose/lib/helpers/promiseOrCallback.js:41:5
at new Promise (<anonymous>)
at promiseOrCallback (/overleaf/node_modules/mongoose/lib/helpers/promiseOrCallback.js:40:10)
at Mongoose._promiseOrCallback (/overleaf/node_modules/mongoose/lib/index.js:1288:10)
at Mongoose.connect (/overleaf/node_modules/mongoose/lib/index.js:413:20)
at Object.<anonymous> (/overleaf/services/web/app/src/infrastructure/Mongoose.js:19:36)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) {
reason: TopologyDescription {
type: 'Unknown',
servers: Map(1) { 'mongo:27017' => [ServerDescription] },
stale: false,
compatible: true,
heartbeatFrequencyMS: 10000,
localThresholdMS: 15,
setName: null,
maxElectionId: null,
maxSetVersion: null,
commonWireVersion: 0,
logicalSessionTimeoutMinutes: null
},
code: undefined
}
*** /etc/my_init.d/500_check_db_access.sh failed with status 1
from overleaf.
Related Issues (20)
- Confused HOT 1
- Rebranding from ShareLaTeX to Overleaf HOT 4
- MongoDB not saved user/password HOT 1
- Upgrade to 5.0.3 CE - Installing scheme-full fails due to outdated texlive version (2023 instead of 2024) HOT 2
- history-v1 sent 404 to project-history HOT 2
- Contradictory information on the recovery of the doc version HOT 1
- How to reduce compile time when using overleaf CE 5.0.3 HOT 6
- How to Recover Files from a Local Deployment of Overleaf HOT 2
- Problems with config/variables.env when upgrading to 5.0.3CE HOT 2
- error "/etc/my_init.d/500_check_db_access.sh failed with status 1" HOT 3
- Overleaf Docker not starting but worked before HOT 8
- Alternatives to MongoDB 5.0?
- Recreating Sharelatex after Changing Settings HOT 1
- Simple feature: Hide line numbers
- Patch files for 5.0.4 not available HOT 1
- data-panel-group-id="4" freezes up after clicking pdf scroll bar, requires page reload
- [Feature Request] Enable to display 4-byte characters in the editor HOT 1
- Support \frametitle in outline
- make build-community fails with ERROR: "docker buildx build" requires exactly 1 argument. HOT 1
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.