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