Update for Raspbian Buster
Opened this issue · 0 comments
pdroll commented
Look into updating these instructions for Rasbian Buster
Unrelated to Buster, add note about repair-mongo
script in mongo section
# /home/api/repair-mongod
/usr/sbin/service mongodb stop;
mongod --dbpath /var/lib/mongodb --repair;
chown mongodb:root -R /var/lib/mongodb;
chmod 775 -R /var/lib/mongodb;
rm /var/lib/mongodb/mongod.lock;
ls -lah /var/lib/mongodb;
/usr/sbin/service mongodb start;
# sudo crontab
# Ensure MongoDB is is good shape, even after an unexpected shutdown
@reboot /home/api/repair-mongod > /home/api/log/mongo-repair.log 2>&1