Hallo Zusammen,
leider haben ich beim löschen alter Clients aus der mongo Datenbank ein Problem.
Ok, versuchen wir es ohne "ace"
Code
root@UDM-Pro:/# mongod --port 27117
2025-01-19T15:10:36.234+0100 I CONTROL [initandlisten] MongoDB starting : pid=200052 port=27117 dbpath=/data/db 64-bit host=UDM-Pro
2025-01-19T15:10:36.235+0100 I CONTROL [initandlisten] db version v3.6.23
2025-01-19T15:10:36.235+0100 I CONTROL [initandlisten] git version: 7e9159ff564980384f9703a7104074f6e36cd611
2025-01-19T15:10:36.235+0100 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1w 11 Sep 2023
2025-01-19T15:10:36.235+0100 I CONTROL [initandlisten] allocator: tcmalloc
2025-01-19T15:10:36.235+0100 I CONTROL [initandlisten] modules: none
2025-01-19T15:10:36.235+0100 I CONTROL [initandlisten] build environment:
2025-01-19T15:10:36.235+0100 I CONTROL [initandlisten] distarch: aarch64
2025-01-19T15:10:36.235+0100 I CONTROL [initandlisten] target_arch: aarch64
2025-01-19T15:10:36.235+0100 I CONTROL [initandlisten] options: { net: { port: 27117 } }
2025-01-19T15:10:36.235+0100 I STORAGE [initandlisten] exception in initAndListen: NonExistentPath: Data directory /data/db not found. Create the missing directory or specify another path using (1) the --dbpath command line option, or (2) by adding the 'storage.dbPath' option in the configuration file., terminating
2025-01-19T15:10:36.236+0100 I CONTROL [initandlisten] now exiting
2025-01-19T15:10:36.236+0100 I CONTROL [initandlisten] shutting down with code:100
Display More
Anscheinend versucht er die db unter /data/db zu finden.
Ich nehme aber mal an, das die Datenbank evtl. wo anders verstckt ist.
Hat da jemand Erfahrung mit?
Ich will eigentlich nur alte Einträge löschen.
Schon schlimm genug, dass das nicht über die Oberfläche funktioniert.
Grüße