I finally have the time, and I need to update Hestia from 1.8.12 to 1.9.4. At the same time, I am going to be upgrading Ubuntu from 20.04 to 22.04. So I have a few questions and wanted an opinion.
1- Should I upgrade Ubuntu first, or Hestia first? My intuition tells me Ubuntu first.
2- Already running mariadb 10.11. In the documentation upgrade from Focal to Jammy it mentions verifying that we are running at least 10.6 and to comment out the line in /etc/apt/sources.list.d/mariadb.list does that still applies even if I am already running >10.6?
3- Any other tips anyone can suggest? I am running NGINX only
1.) upgrade all packages first, including hestia, then proceed with os upgrade. If critical system, take a clone and test the upgrade first :).
2.) nope, should be fine.
3.) Take backups and add testing, if needed. Check our hestia docs, there are notes for upgrades. Consider to jump from 22.04 to 24.04 in the same migration process, so you have time to chill :).
Thanks for your input its very much appreciated. This server is low traffic sites and a few development sites so worst case scenario I can move them to another server quick. I have 3 servers and so I wanted to do this first on my development server.
So far I just updated Hestia to the latest version without any issues. I did get a message, so I am not sure if Iām supposed to do anything. The message is
The upgrade script has generated additional notifications, which must be heeded urgently:
Security has been upgraded, A new user "hestiaweb" has been created and is used for login. Make sure other Hestia packages are updated as well otherwise the system may not work as expected.
Hoping the OS will be as painless as Hestia was.
Edit: I did the OS upgrade to 22.04 as well as follow the instructions in the documentation for exim and SHA512 password encryption. Everything is working so far. The only thing I noticed was that all sources list still say āfocalā. Do I need to update those manually to jammy?
Additionally, the ondrej-ubuntu-php-focal.list obviously is named āā¦-focalā but also inside the first line is commented out and at the end there is another comment, so it looks like this
# deb http://ppa.launchpad.net/ondrej/php/ubuntu jammy main # disabled on upgrade to jammy
# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu focal main
I hope you can share your opinion after this update. Do you really think that long-term releases with no upgrades are better, or is continuous upgrading the better option? And by how much has the serverās resource consumption decreased after the upgrade?
Keep up to date, upgrade systems on a regular base is the most secure and stable way to go. You do not want to miss any security patches, otherwise youāll get problems on another levelā¦