CASATdocs
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto mode

Updating PHP on Ubuntu


  1. Edit playbooks/updates/upgrade-php.yml for new edition
Last used to update 7.4 to 8.2
Make sure repository is current and all edition numbers are changed ex. 8.2 -> 8.3
  1. If playbook failes with the following error
fatal: [unrnursingconf.com]: FAILED! => changed=false msg: ‘Failed to update apt cache: unknown reason’

First try wget -qO- https://repos-droplet.digitalocean.com/install.sh | sudo bash

If that does not work rteinstall droplet agent
sudo dpkg --configure -a
sudo apt-get remove droplet-agent
sudo rm /etc/apt/sources.list.d/droplet-agent.list
sudo apt-get update
wget -qO- https://repos-droplet.digitalocean.com/install.sh | sudo bash