[Support] uberchuckie - observium


Recommended Posts

7 hours ago, Snoopy said:

I've only just noticed an issues with the latest docker image.  I have SSL email settings defined.  PHP is now crapping out with the following:

 

PHP Fatal error:  Uncaught Error: Undefined constant "ssl" in /config/config.php:46
Stack trace:
#0 /opt/observium/includes/sql-config.inc.php(25): require()
#1 /opt/observium/poller.php(19): include('...')
#2 {main}
  thrown in /config/config.php on line 46

 

Quick fix is to disable SSL authentication for email alerts.  Anyone got a better more permanent fix?

The offending config line is

 

$config['email']['smtp_secure']     = ssl;        // Enable encryption. Use 'tls' or 'ssl

 

Many thanks

Dave

 

The configuration value needs to be in quotes since it's a string.

 

It should be like this:

$config['email']['smtp_secure']     = 'ssl';

 

Link to comment
On 4/10/2023 at 10:33 AM, Toby-ch said:

Yes Is attached to.

I created a nine container on my other Unraid server. CPU last over 22% Start Log:
In the appendix: New-OBV-Docker.txt
The same as with the migrated container:
 

eb75344e1cd2.err Is in the appendix

 

 


Currently I use 5.0.0 (MariaDB 10.7.4) 7.0.1 requires MariaDB 10.11.2 I think the internal migration does not work.
I hope I was able to help you with this information.

 

 

The log files show everything worked as expected. The logs you provided are truncated to the last page but no indications that the schema creation or the migration failed.


Which version of or unRAID are you running? Which version of docker? I don't know what else to follow up on. I can't debug something that I cannot reproduce.

 

You may have to try connect to the database through the command line to see if that is the problem.

 

Is it possible to outsource the MariaDB to a separate Maria DB container? All in one is great but it doesn't seem to work.

There are other containers built to use an external database. You'll be better off using those. This container is setup to configure everything automatically.

Link to comment

 

17 hours ago, uberchuckie said:

Which version of or unRAID are you running? Which version of docker? I don't know what else to follow up on. I can't debug something that I cannot reproduce.

On the „Old“ Server: Version: 6.10.3 docker: 20.10.14

The New empty container is Running. after a reboot 🫣
I'm trying to migrate again.

Link to comment
On 3/29/2023 at 4:38 AM, uberchuckie said:

 

I just pushed a new build that should work around the problem. It worked for me but let me know how it's working for you.

Works great! Timezones are now correct on the graphs and persists reboots/updates. Thanks!

Edited by ivom
Link to comment
On 4/12/2023 at 12:29 AM, uberchuckie said:

 

The configuration value needs to be in quotes since it's a string.

 

It should be like this:

$config['email']['smtp_secure']     = 'ssl';

 

Oh wow.  Missed that. Thank you.  Weird, everything has been fine with that config for a couple of years. But hey.  All working now.

 

Thank you.

Link to comment

My Coral dual PCIE is not being detected. I have the Coral drivers installed and their details are shown in the attached screenshot.

 

[QUICK NOTE]

I have just borrowed a friend's USB Coral and changed the config file to reflect this and it worked perfectly.

 

In the logs the following appears:

 

Quote

2023-04-13 12:04:00.703184652  [2023-04-13 12:04:00] detector.coral1                INFO    : Starting detection process: 1298
2023-04-13 12:04:00.723683496  [2023-04-13 12:04:00] detector.coral2                INFO    : Starting detection process: 1300
2023-04-13 12:04:00.725516339  [2023-04-13 12:04:00] frigate.app                    INFO    : Output process started: 1303
2023-04-13 12:04:00.725547730  Process detector:coral1:
2023-04-13 12:04:00.725557295  Process detector:coral2:
2023-04-13 12:04:00.725648503  [2023-04-13 12:04:00] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as pci:0
2023-04-13 12:04:00.725752516  [2023-04-13 12:04:00] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as pci:1
2023-04-13 12:04:00.725839798  [2023-04-13 12:04:00] frigate.detectors.plugins.edgetpu_tfl ERROR   : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
2023-04-13 12:04:00.725917660  [2023-04-13 12:04:00] frigate.detectors.plugins.edgetpu_tfl ERROR   : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
2023-04-13 12:04:00.725993291  [2023-04-13 12:04:00] frigate.app                    INFO    : Camera processor started for porch: 1309
2023-04-13 12:04:00.727005835  Traceback (most recent call last):
2023-04-13 12:04:00.727039217    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
2023-04-13 12:04:00.727042054      delegate = Delegate(library, options)
2023-04-13 12:04:00.727044403    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
2023-04-13 12:04:00.727051117      raise ValueError(capture.message)
2023-04-13 12:04:00.727066268  ValueError
2023-04-13 12:04:00.727089085  
2023-04-13 12:04:00.727091786  During handling of the above exception, another exception occurred:
2023-04-13 12:04:00.727093511  
2023-04-13 12:04:00.727095620  Traceback (most recent call last):
2023-04-13 12:04:00.727129816    File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
2023-04-13 12:04:00.727132937      self.run()
2023-04-13 12:04:00.727135738    File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
2023-04-13 12:04:00.727138191      self._target(*self._args, **self._kwargs)
2023-04-13 12:04:00.727193478    File "/opt/frigate/frigate/object_detection.py", line 98, in run_detector
2023-04-13 12:04:00.727196994      object_detector = LocalObjectDetector(detector_config=detector_config)
2023-04-13 12:04:00.727199090    File "/opt/frigate/frigate/object_detection.py", line 52, in __init__
2023-04-13 12:04:00.727201224      self.detect_api = create_detector(detector_config)
2023-04-13 12:04:00.727203289    File "/opt/frigate/frigate/detectors/__init__.py", line 24, in create_detector
2023-04-13 12:04:00.727220950      return api(detector_config)
2023-04-13 12:04:00.727223521    File "/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py", line 37, in __init__
2023-04-13 12:04:00.727226657      edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
2023-04-13 12:04:00.727228624  Traceback (most recent call last):
2023-04-13 12:04:00.727230850    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
2023-04-13 12:04:00.727262531      raise ValueError('Failed to load delegate from {}\n{}'.format(
2023-04-13 12:04:00.727281680  ValueError: Failed to load delegate from libedgetpu.so.1.0
2023-04-13 12:04:00.727283567  
2023-04-13 12:04:00.727285863    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
2023-04-13 12:04:00.727287558      delegate = Delegate(library, options)
2023-04-13 12:04:00.727289508    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
2023-04-13 12:04:00.727291264      raise ValueError(capture.message)
2023-04-13 12:04:00.727292795  ValueError
2023-04-13 12:04:00.727294316  
2023-04-13 12:04:00.727296229  During handling of the above exception, another exception occurred:
2023-04-13 12:04:00.727297863  
2023-04-13 12:04:00.727299544  Traceback (most recent call last):
2023-04-13 12:04:00.727301691    File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
2023-04-13 12:04:00.727303265      self.run()
2023-04-13 12:04:00.727305438    File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
2023-04-13 12:04:00.727307372      self._target(*self._args, **self._kwargs)
2023-04-13 12:04:00.727323348    File "/opt/frigate/frigate/object_detection.py", line 98, in run_detector
2023-04-13 12:04:00.727325849      object_detector = LocalObjectDetector(detector_config=detector_config)
2023-04-13 12:04:00.727328069    File "/opt/frigate/frigate/object_detection.py", line 52, in __init__
2023-04-13 12:04:00.727329819      self.detect_api = create_detector(detector_config)
2023-04-13 12:04:00.727331732    File "/opt/frigate/frigate/detectors/__init__.py", line 24, in create_detector
2023-04-13 12:04:00.727333481      return api(detector_config)
2023-04-13 12:04:00.727335704    File "/opt/frigate/frigate/detectors/plugins/edgetpu_tfl.py", line 37, in __init__
2023-04-13 12:04:00.727337811      edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
2023-04-13 12:04:00.727340114    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
2023-04-13 12:04:00.727342428      raise ValueError('Failed to load delegate from {}\n{}'.format(
2023-04-13 12:04:00.727344235  ValueError: Failed to load delegate from libedgetpu.so.1.0

 

CoralTPUs.jpg

Edited by jjthacker
Link to comment
@uberchuckie
For me the case is done, I have made a step by step migration on my nine server 7.0.0 is the current version and it runs perfectly.
What was the cause of this error I can only guess, old Unraid version.
Thank you very much for your help and support

Greetings from Switzerland Toby-CH

So it’s working now after you upgraded unRAID and not just rebooting your server?


Sent from my iPhone using Tapatalk
Link to comment
  • 1 month later...
  • 3 months later...

Hello, I'm trying to monitor a network with xerox printers, I've installed docker and observium, I can add printers and other devices normally. But when I'm trying to get inc levels of Xerox printers it doesn't seem to work, I saw in the container files that the Xerox MIB is there but on the UI of observium in the list of all the MIBs it doesn't appear like a lot of other MIBs. (I'm running observium on a mac but I don't think it makes a difference anywhere ?)

Link to comment
  • 2 months later...

Hi newbie question, according to changelog this image should support `syslog` - how do I go about enabling and using it? I see 514 port exposed and when shipping logs to the observium it does not seem to be getting processed.

Are other settings need be changed in the web UI or files to make this work? The instructions from observium discuss rsyslogd but this is not installed in the docker container.

Edited by TheLinuxGuy
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.