Upgrading O/S of Observium Server - Debian 10 to 11 (or 12)
Advice please ! š
I have a server which has been running Observium well for some time.
Although upgrading the Observium build is easy enough following the instructions at Updating - Observiumhttps://docs.observium.org/updating/#upgrading-the-subscription-edition-to-the-very-latest-version this obviously does not update the O/S itself.
I had a try at upgrading following online instructions yesterday but after he upgrade was complete the Observium web interface would not display ā I just got a page of text which I assumed to be PHP script being displayed rather than ārunningā.
Does anyone have any idiot proof (ie aimed at Linux novice) guidance to upgrade the OS without breaking Observium ?
Luckily I had taken a snapshot of the VM so could roll back without any drama.
Thanks,
Andy Hartwell
Andy, it sounds like you do not have apache configured correctly to handle php. You might look at thisā¦but ignore the āmod_phpā part, you want to use php-fpm
How to Use Apache HTTPD With php-fpm and mod_php | Zend by Perforcehttps://www.zend.com/blog/apache-phpfpm-modphp
Tony
From: Andy Hartwell via observium observium@lists.observium.org Sent: Wednesday, February 14, 2024 6:37 AM To: observium@lists.observium.org Cc: Andy Hartwell ahartwell@charleskendall.com Subject: [Observium] Upgrading O/S of Observium Server - Debian 10 to 11 (or 12)
Advice please ! š
I have a server which has been running Observium well for some time.
Although upgrading the Observium build is easy enough following the instructions at Updating - Observiumhttps://docs.observium.org/updating/#upgrading-the-subscription-edition-to-the-very-latest-version this obviously does not update the O/S itself.
I had a try at upgrading following online instructions yesterday but after he upgrade was complete the Observium web interface would not display ā I just got a page of text which I assumed to be PHP script being displayed rather than ārunningā.
Does anyone have any idiot proof (ie aimed at Linux novice) guidance to upgrade the OS without breaking Observium ?
Luckily I had taken a snapshot of the VM so could roll back without any drama.
Thanks,
Andy Hartwell
We use mod_php in our installations, those php-fpm instructions are too complicated and unnecessary in this case.
What instructions did you follow to update the OS? What OS is it?
Ubuntu is generally quite simple, you just do do-release-upgrade and it upgrades. Sometimes a few things break, but they're usually obvious to fix, often you can just copy/paste our package install lines from the install guide to add any missing packages on the new OS.
Note that if you used CentOS/RHEL or similar, you're probably better off burning the server and starting again.
adam.
Tony Guadagno via observium wrote on 2024-02-14 13:17:
Andy, it sounds like you do not have apache configured correctly to handle php.Ā You might look at thisā¦but ignore the āmod_phpā part, you want to use php-fpm
How to Use Apache HTTPD With php-fpm and mod_php | Zend by Perforce https://www.zend.com/blog/apache-phpfpm-modphp
Tony
*From:*Andy Hartwell via observium observium@lists.observium.org *Sent:* Wednesday, February 14, 2024 6:37 AM *To:* observium@lists.observium.org *Cc:* Andy Hartwell ahartwell@charleskendall.com *Subject:* [Observium] Upgrading O/S of Observium Server - Debian 10 to 11 (or 12)
Advice please ! š
I have a server which has been running Observium well for some time.
Although upgrading the Observium build is easy enough following the instructions at Updating - Observium https://docs.observium.org/updating/#upgrading-the-subscription-edition-to-the-very-latest-version this obviously does not update the O/S itself.
I had a try at upgrading following online instructions yesterday but after he upgrade was complete the Observium web interface would not display ā I just got a page of text which I assumed to be PHP script being displayed rather than ārunningā.
Does anyone have any idiot proof (ie aimed at Linux novice) guidance to upgrade the OS without breaking Observium ?
Luckily I had taken a snapshot of the VM so could roll back without any drama.
Thanks,
Andy Hartwell
observium mailing list -- observium@lists.observium.org To unsubscribe send an email to observium-leave@lists.observium.org
Adam,
Server is currently running Debian 10 (Buster) ā I was attempting to take it up to 11 (Bullseye) and if that worked Iād try my luck going up again to 12 (Bookworm).
I followed these instructions : https://phoenixnap.com/kb/upgrade-debian-10-to-11
I panicked and restored the VM back as soon as I saw it ābrokeā observium (or more likely PHP) rather than spend anytime trying to workout how I could repair it as I would have little or no clue where to start looking.
I figured that if I asked here Iād at least get some pointers.
Thanks.
Andy Hartwell
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this email. Please notify the sender immediately if you have received this message by mistake and erase it from your system. From: Adam Armstrong via observium observium@lists.observium.org Sent: Wednesday, February 14, 2024 2:15 PM To: Tony Guadagno via observium observium@lists.observium.org Cc: Adam Armstrong adama@observium.org Subject: [Observium] Re: Upgrading O/S of Observium Server - Debian 10 to 11 (or 12)
[ā CAUTION: This email originated from outside of our organisation. Do not click on links or open attachments in emails unless you are sure that it is from a trusted sender and was expected.]
We use mod_php in our installations, those php-fpm instructions are too complicated and unnecessary in this case.
What instructions did you follow to update the OS? What OS is it?
Ubuntu is generally quite simple, you just do do-release-upgrade and it upgrades. Sometimes a few things break, but they're usually obvious to fix, often you can just copy/paste our package install lines from the install guide to add any missing packages on the new OS.
Note that if you used CentOS/RHEL or similar, you're probably better off burning the server and starting again.
adam.
Tony Guadagno via observium wrote on 2024-02-14 13:17:
Andy, it sounds like you do not have apache configured correctly to handle php. You might look at thisā¦but ignore the āmod_phpā part, you want to use php-fpm
How to Use Apache HTTPD With php-fpm and mod_php | Zend by Perforcehttps://www.zend.com/blog/apache-phpfpm-modphp
Tony
From: Andy Hartwell via observium observium@lists.observium.orgmailto:observium@lists.observium.org Sent: Wednesday, February 14, 2024 6:37 AM To: observium@lists.observium.orgmailto:observium@lists.observium.org Cc: Andy Hartwell ahartwell@charleskendall.commailto:ahartwell@charleskendall.com Subject: [Observium] Upgrading O/S of Observium Server - Debian 10 to 11 (or 12)
Advice please ! š
I have a server which has been running Observium well for some time.
Although upgrading the Observium build is easy enough following the instructions at Updating - Observiumhttps://docs.observium.org/updating/#upgrading-the-subscription-edition-to-the-very-latest-version this obviously does not update the O/S itself.
I had a try at upgrading following online instructions yesterday but after he upgrade was complete the Observium web interface would not display ā I just got a page of text which I assumed to be PHP script being displayed rather than ārunningā.
Does anyone have any idiot proof (ie aimed at Linux novice) guidance to upgrade the OS without breaking Observium ?
Luckily I had taken a snapshot of the VM so could roll back without any drama.
Thanks,
Andy Hartwell
_______________________________________________
observium mailing list -- observium@lists.observium.orgmailto:observium@lists.observium.org
To unsubscribe send an email to observium-leave@lists.observium.orgmailto:observium-leave@lists.observium.org
Some release upgrades can be a pain when they change some packaging demarcation resulting in missing packages or change daemons resulting in basic things not working (2010 era ubuntu would disable logins on update :D)
Take a dump of the database, copy of rrd directory and config.php and update it all the way to the current, then figure out what's broke. If it's forever broke you can install latest Ubuntu LTS and restore the database and RRDs.
Generally we recommend Ubuntu because they're a little bit less likely to screw over their users to prove how much they love the GPL.
If you can't make it work give me a shout and I can probably fix it.
The initial issue you had would probably be fixed by copy/pasting our package install lines from install guide, then our lines to make sure PHP is enabled further down the guide. Sometimes when switching between PHP versions, deb won't actually activate the new packages, presumably because they package *name* itself is versioned, if you know what I mean.
adam.
Andy Hartwell via observium wrote on 15/02/2024 12:04:
Adam,
Server is currently running Debian 10 (Buster) ā I was attempting to take it up to 11 (Bullseye) and if that worked Iād try my luck going up again to 12 (Bookworm).
I followed these instructions : https://phoenixnap.com/kb/upgrade-debian-10-to-11
I panicked and restored the VM back as soon as I saw it ābrokeā observium (or more likely PHP) rather than spend anytime trying to workout how I could repair it as I would have little or no clue where to start looking.
I figured that if I asked here Iād at least get some pointers.
Thanks.
Andy Hartwell
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this email. Please notify the sender immediately if you have received this message by mistake and erase it from your system.
*From:*Adam Armstrong via observium observium@lists.observium.org *Sent:* Wednesday, February 14, 2024 2:15 PM *To:* Tony Guadagno via observium observium@lists.observium.org *Cc:* Adam Armstrong adama@observium.org *Subject:* [Observium] Re: Upgrading O/S of Observium Server - Debian 10 to 11 (or 12)
ā CAUTION: This email originated from outside of our organisation. Do not click on links or open attachments in emails unless you are sure that it is from a trusted sender and was expected.
We use mod_php in our installations, those php-fpm instructions are too complicated and unnecessary in this case.
What instructions did you follow to update the OS? What OS is it?
Ubuntu is generally quite simple, you just do do-release-upgrade and it upgrades. Sometimes a few things break, but they're usually obvious to fix, often you can just copy/paste our package install lines from the install guide to add any missing packages on the new OS.
Note that if you used CentOS/RHEL or similar, you're probably better off burning the server and starting again.
adam.
Tony Guadagno via observium wrote on 2024-02-14 13:17:
Andy, it sounds like you do not have apache configured correctly to handle php.Ā You might look at thisā¦but ignore the āmod_phpā part, you want to use php-fpm How to Use Apache HTTPD With php-fpm and mod_php | Zend by Perforce <https://www.zend.com/blog/apache-phpfpm-modphp> Tony *From:*Andy Hartwell via observium <observium@lists.observium.org> <mailto:observium@lists.observium.org> *Sent:* Wednesday, February 14, 2024 6:37 AM *To:* observium@lists.observium.org <mailto:observium@lists.observium.org> *Cc:* Andy Hartwell <ahartwell@charleskendall.com> <mailto:ahartwell@charleskendall.com> *Subject:* [Observium] Upgrading O/S of Observium Server - Debian 10 to 11 (or 12) Advice please ! š I have a server which has been running Observium well for some time. Although upgrading the Observium build is easy enough following the instructions at Updating - Observium <https://docs.observium.org/updating/#upgrading-the-subscription-edition-to-the-very-latest-version> this obviously does not update the O/S itself. I had a try at upgrading following online instructions yesterday but after he upgrade was complete the Observium web interface would not display ā I just got a page of text which I assumed to be PHP script being displayed rather than ārunningā. Does anyone have any idiot proof (ie aimed at Linux novice) guidance to upgrade the OS without breaking Observium ? Luckily I had taken a snapshot of the VM so could roll back without any drama. Thanks, Andy Hartwell _______________________________________________ observium mailing list --observium@lists.observium.org <mailto:observium@lists.observium.org> To unsubscribe send an email toobservium-leave@lists.observium.org <mailto:observium-leave@lists.observium.org>
observium mailing list -- observium@lists.observium.org To unsubscribe send an email to observium-leave@lists.observium.org
participants (3)
-
Adam Armstrong
-
Andy Hartwell
-
Tony Guadagno