From e4d0e743e44d746d54d707f64dc79e15df4d3343 Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Wed, 22 Jul 2026 08:18:12 +0200 Subject: [PATCH] Preserve default mongod.conf when configuring Anytype replica set (#15954) Overwriting /etc/mongod.conf with only the replication block wiped out storage.dbPath from the mongodb-org package default, so mongod fell back to its compiled-in /data/db path, which was never created. Append the replication section instead of replacing the file. --- install/anytype-server-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/anytype-server-install.sh b/install/anytype-server-install.sh index 44357de95..8c36f0288 100644 --- a/install/anytype-server-install.sh +++ b/install/anytype-server-install.sh @@ -16,7 +16,7 @@ update_os setup_mongodb msg_info "Configuring MongoDB Replica Set" -cat </etc/mongod.conf +cat <>/etc/mongod.conf replication: replSetName: "rs0"