![]() |
VOOZH | about |
Thanks for learning with the DigitalOcean Community. Check out our offerings for compute, storage, networking, and managed databases.
This curriculum introduces open-source cloud computing to a general audience along with the skills necessary to deploy applications and websites securely to the cloud.
Browse Series: 39 tutorials
Former Technical Writer at DigitalOcean. Focused on SysAdmin topics including Debian 11, Ubuntu 22.04, Ubuntu 20.04, Databases, SQL and PostgreSQL.
With over 6 years of experience in tech publishing, Mani has edited and published more than 75 books covering a wide range of data science topics. Known for his strong attention to detail and technical knowledge, Mani specializes in creating clear, concise, and easy-to-understand content tailored for developers.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Thanks for the tutorial, but Iโm stuck!
When I try to run the cURL command to get the key added, I get the following error:
curl: (77) error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead(see apt-key(8)). gpg: no valid OpenPGP data found.
Whatโs weird is, when I run sudo apt-key list, it shows MongoDB 4.4 key has been addedโฆ but when I run sudo apt update, I get an error basically saying thereโs no certificate.
Hi, thanks for your helpful article.
I have used your instructions once and it worked fine. But Iโm doing the same thing in my new server, and surprisingly itโs not working!
after line:
sudo apt update
in step 1, I get the following error:
E: Failed to fetch https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/4.4/InRelease 403 Forbidden [IP: 65.9.58.40 443]
E: The repository 'https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 InRelease' is not signed.
The tutorial is okay but after the install I tried to start the mongo service but it failed with the exit-code
I used the following commands to fix it and it worked.
chown -R mongodb:mongodb /var/lib/mongodb
chown mongodb:mongodb /tmp/mongodb-27017.sock
worked like a charm !
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.