Démarrage du service mongod

Merci @Aleph !

J’ai suivi les instructions de ton autre post. Je me connecte en ssh et puis :

admin@mondomaine:~$ mongod --repair
-bash: mongod : commande introuvable
admin@mondomaine:~$ sudo chown -R mongodb: /var/lib/mongodb
admin@mondomaine:~$ sudo -u mongodb mongod --dbpath /var/lib/mongodb --repair
[sudo] password for admin: 
sudo: mongod: command not found
admin@mondomaine:~$ sudo yunohost service restart mongod
Failed to restart mongod.service: Unit mongod.service not found.
Warning: Could not execute the command 'systemctl restart mongod'
Error: Failed to get status information via dbus for service mongod, systemctl didn't recognize this service ('NoSuchUnit').
Error: Could not restart the service 'mongod'

Recent service logs:-- Logs begin at Sat 2022-08-13 06:30:01 CEST, end at Tue 2022-08-16 16:54:22 CEST. --
-- No entries --

Conclusion : ca ne marche toujours pas… :confused: