Hi Guys,
Here I am again with another question.
MY ENVIRONMENT
[email protected]:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Hestia Control Panel: 1.6.14
ISSUE
- When I remotely login to my server where HestiaCP is running I see the following:
189 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
- I issued the command below:
# apt update
# apt dist-upgrade
- The update process took a long time and asked me to change four configuration files (I can’t remember which ones) but one of them was the Apache one:
/etc/apache2/apache2.conf
- I authorized the changes and also let the process to upgrade the Kernel
- After that the apache2 service didn’t start any longer and after checking the logs I have got these errors:
- AH00072: make_sock: could not bind to address [::]:80
- AH00072: make_sock: could not bind to address [::]:443
- After configuring Apache to listen on port 8080 (for http) and on port 8443 (for https) for the public IP address of my machine eventually I was able to restart the apache2 service correctly but then I received HTTP 500 error while loading some of my web sites or the SUCCESS welcome message while loading some other web sites or webmail UI’s
- I googled all the error messages from the apache error log files but after spending a couple of hours I gave up and restored from backup
- I saw a couple of topics here in this forum where other users have been advised to use: apt update && apt upgrade
QUESTION
189 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
- My question is when I see a number of updates ready to be installed like above how would you suggest to proceed? I guess that my mistake was that I run “apt dist-upgrade” which ultimately upgraded the kernel and broke a lot of things. Sorry but I can’t provide any log as I restored from backup
P.s.: I keep the HestiaCP automatic updates from the GUI disabled in production as I prefer to do it manually in staging first.
Thanks.