I was following this tutorial(https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-22-04-jammy-jellyfish) and I managed to upgrade to Ubuntu 22.04 with no problem.
Then after some time I was going to my personal WordPress page admin and wanted to install a new plugin and I saw this big red message stating “An unexpected error occurred. Something could be wrong with WordPress.org or the way this server is configured. If the problem persists, try asking in the support forum.” Image --> https://imgur.com/a/5th6vMI
Then I saw that **CURL **does not seem to be working on the server when I looked in Site Health Section Image --> https://imgur.com/a/dqmWGQF
Then I tried to update and upgrade on the server with no result with the error stating “Failed to fetch”. Image --> https://imgur.com/a/c35Uvgu
Does anyone know maybe how I can resolve this error?
Best regards.
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!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi @damir,
The curl: (6) Could not resolve host: error doesn’t mean you don’t have cURL installed on your droplet but that you can’t connect to the said website for a reason.
This could be a few things, like a firewall issue. Check your firewall (ufw/iptables) and see if everything is correctly set there.
Additionally, it’s possible there is a network configuration error like IPv6 being enabled or you using a Wrong DNS server.