I'm not sure how you could end up with broken permissions from an upgrade.

Observium is a web application, so /opt/observium and its contents need to be readable by the web server. /opt/observium/rrd needs to be writable by whatever user runs the poller.

There's not a super easy way to re-do all of the permissions. You'd probably be better off following the "CE to subscription" migration guide in our docs.

https://docs.observium.org/ce-migration/

After this you might need to change permissions on the rrds, but the webui should work.

adam.


Gordon Cheng (gocheng) via observium wrote on 2022-10-10 15:46:

More info below.  We are seeing the following errors under “/opt/observium/logs/error_log”.  Any suggestions?

[Mon Oct 10 07:41:18.027297 2022] [php7:warn] [pid 3892] [client 171.68.241.10:52553] PHP Warning:Unknown: failed to open stream: Permission denied in Unknown on line 0

[Mon Oct 10 07:41:18.027382 2022] [php7:error] [pid 3892] [client 171.68.241.10:52553] PHP Fatal error:Unknown: Failed opening required '/opt/observium/html/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0

[Mon Oct 10 07:41:19.347309 2022] [php7:warn] [pid 3818] [client 10.0.103.96:56392] PHP Warning:Unknown: failed to open stream: Permission denied in Unknown on line 0

[Mon Oct 10 07:41:19.347391 2022] [php7:error] [pid 3818] [client 10.0.103.96:56392] PHP Fatal error:Unknown: Failed opening required '/opt/observium/html/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0

[Mon Oct 10 07:41:19.351707 2022] [php7:warn] [pid 3814] [client 10.0.103.96:56394] PHP Warning:Unknown: failed to open stream: Permission denied in Unknown on line 0

[Mon Oct 10 07:41:19.351762 2022] [php7:error] [pid 3814] [client 10.0.103.96:56394] PHP Fatal error:Unknown: Failed opening required '/opt/observium/html/api/v0/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0

[Mon Oct 10 07:41:19.872404 2022] [php7:warn] [pid 3815] [client 10.0.2.243:57194] PHP Warning:Unknown: failed to open stream: Permission denied in Unknown on line 0

[Mon Oct 10 07:41:19.872475 2022] [php7:error] [pid 3815] [client 10.0.2.243:57194] PHP Fatal error:Unknown: Failed opening required '/opt/observium/html/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0

Looks like it’s a permission issue in the /opt/observium/html folder where the site lives, but just not sure what they should be.  Thanks.

*From: *"Gordon Cheng (gocheng) via observium" <[email protected]>
*Reply-To: *Observium <[email protected]>
*Date: *Monday, October 10, 2022 at 8:13 AM
*To: *Observium <[email protected]>
*Cc: *"[email protected]" <[email protected]>, "Gordon Cheng (gocheng)" <[email protected]> *Subject: *[Observium] HTTP/1.0 500 after upgrading to latest version 12324

Hello,

We have just upgraded our subscription edition to the latest 12324 (from a pretty old version).

But the GUI is not accessible anymore afterwards, with HTTP/1.0 500 errors.

Restarting ‘httpd’ (showing ‘active (running)’) and reboot the server doesn’t help.

Any suggestions how we can fix it or troubleshoot further?

Thanks.

- Gordon



_______________________________________________
observium mailing list -- [email protected]
To unsubscribe send an email to [email protected]

--
Sent from Postbox <https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach>
_______________________________________________
observium mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to