uberchuckie Posted April 11, 2023 Author Share Posted April 11, 2023 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'; Quote Link to comment
uberchuckie Posted April 11, 2023 Author Share Posted April 11, 2023 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. Quote Link to comment
Toby-ch Posted April 12, 2023 Share Posted April 12, 2023 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. Quote Link to comment
ivom Posted April 13, 2023 Share Posted April 13, 2023 (edited) 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 April 13, 2023 by ivom Quote Link to comment
Snoopy Posted April 13, 2023 Share Posted April 13, 2023 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. Quote Link to comment
jjthacker Posted April 13, 2023 Share Posted April 13, 2023 (edited) 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 Edited April 13, 2023 by jjthacker Quote Link to comment
Toby-ch Posted April 13, 2023 Share Posted April 13, 2023 @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 Quote Link to comment
uberchuckie Posted April 13, 2023 Author Share Posted April 13, 2023 @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-CHSo it’s working now after you upgraded unRAID and not just rebooting your server?Sent from my iPhone using Tapatalk Quote Link to comment
Toby-ch Posted April 14, 2023 Share Posted April 14, 2023 21 hours ago, uberchuckie said: So it’s working now after you upgraded unRAID and not just rebooting your server? Yes but it is new Hardware an a complete new Unraid Server installation. I think this is all related. Quote Link to comment
garzool Posted June 4, 2023 Share Posted June 4, 2023 Hi all! Someone can tell how to make observium make friends with syslog. It doesn't output any information. I have a separate server on which observium is installed and syslog works there, I don’t understand where to dig in docker Quote Link to comment
Missing Posted January 29 Share Posted January 29 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 ?) Quote Link to comment
TheLinuxGuy Posted Sunday at 10:30 PM Share Posted Sunday at 10:30 PM (edited) 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 Sunday at 10:31 PM by TheLinuxGuy Quote Link to comment
Recommended Posts
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.