From 5f375d7b309c93cb1e2f735074e266fd71db1b9f Mon Sep 17 00:00:00 2001 From: MickLesk Date: Tue, 21 Jul 2026 22:52:14 +0200 Subject: [PATCH] Preserve default mongod.conf when configuring Anytype replica set 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"