sillywalks

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by sillywalks

  1. 1 minute ago, ich777 said:

    I only can imagine that it got completely overloaded and actually run into the temperature limit, but I can't tell for sure if this was the case here.

    Just to go exploring I set the unassigned drive back to the incorrect read/write state (not slave read write)

    Currently its still running.

  2. Just now, ich777 said:

    So Unassigned Devices caused this? :D

     

    What temperature are you currently on?

    2022-06-26 21:37:04 Coral Temp: 39.80C
    2022-06-26 21:37:19 Coral Temp: 39.80C
    2022-06-26 21:37:34 Coral Temp: 39.80C
    2022-06-26 21:37:49 Coral Temp: 39.80C
    2022-06-26 21:38:04 Coral Temp: 39.80C
    2022-06-26 21:38:19 Coral Temp: 39.80C
    2022-06-26 21:38:34 Coral Temp: 39.80C
    2022-06-26 21:38:49 Coral Temp: 40.05C
    2022-06-26 21:39:04 Coral Temp: 39.80C
    2022-06-26 21:39:19 Coral Temp: 40.05C
    2022-06-26 21:39:34 Coral Temp: 39.80C
    2022-06-26 21:39:49 Coral Temp: 40.05C
    2022-06-26 21:40:04 Coral Temp: 40.05C

     

    Mostly around 40*C

    Even when detection is active.

     

    I thought that maybe it was trying to read a file and couldn't access it correctly due to my wrong mounting of the unassigned drive and this crashed the process?

  3. @snoopy86

    Just updated to the latest version and LMS stopped working for me as well.

    Before the update it was running without issues for ages.

     

    I can start the container and it keeps running but I can't access the UI

     

    Here are the logs:
     

    2022-06-26 21:37:13,653 CRIT Set uid to user 0
    2022-06-26 21:37:13,656 INFO supervisord started with pid 15
    2022-06-26 21:37:14,658 INFO spawned: 'dbus' with pid 18
    2022-06-26 21:37:14,659 INFO spawned: 'avahi-daemon' with pid 19
    2022-06-26 21:37:14,661 INFO spawned: 'squeezeboxserver' with pid 20
    2022-06-26 21:37:14,669 INFO exited: avahi-daemon (exit status 255; not expected)
    2022-06-26 21:37:15,670 INFO success: dbus entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2022-06-26 21:37:15,671 INFO spawned: 'avahi-daemon' with pid 23
    2022-06-26 21:37:15,671 INFO success: squeezeboxserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2022-06-26 21:37:15,675 INFO exited: avahi-daemon (exit status 255; not expected)
    2022-06-26 21:37:17,711 INFO spawned: 'avahi-daemon' with pid 55
    2022-06-26 21:37:17,716 INFO exited: avahi-daemon (exit status 255; not expected)
    2022-06-26 21:37:21,526 INFO spawned: 'avahi-daemon' with pid 56
    2022-06-26 21:37:21,531 INFO exited: avahi-daemon (exit status 255; not expected)
    2022-06-26 21:37:21,625 INFO gave up: avahi-daemon entered FATAL state, too many start retries too quickly
    2022-06-26 21:37:36,679 INFO exited: squeezeboxserver (exit status 0; expected)
    2022-06-26 21:37:37,681 INFO spawned: 'squeezeboxserver' with pid 57
    2022-06-26 21:37:38,682 INFO success: squeezeboxserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2022-06-26 21:38:00,124 INFO exited: squeezeboxserver (exit status 0; expected)
    2022-06-26 21:38:01,126 INFO spawned: 'squeezeboxserver' with pid 91
    2022-06-26 21:38:02,127 INFO success: squeezeboxserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2022-06-26 21:38:23,165 INFO exited: squeezeboxserver (exit status 0; expected)
    2022-06-26 21:38:24,167 INFO spawned: 'squeezeboxserver' with pid 125
    2022-06-26 21:38:25,168 INFO success: squeezeboxserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2022-06-26 21:38:41,932 INFO exited: squeezeboxserver (exit status 0; expected)
    2022-06-26 21:38:42,934 INFO spawned: 'squeezeboxserver' with pid 159
    2022-06-26 21:38:43,935 INFO success: squeezeboxserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
    2022-06-26 21:38:55,681 INFO exited: squeezeboxserver (exit status 0; expected)
    2022-06-26 21:38:56,683 INFO spawned: 'squeezeboxserver' with pid 188
    2022-06-26 21:38:57,684 INFO success: squeezeboxserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

     

    that just keeps going for ever.

  4. 35 minutes ago, ich777 said:

    These are the redings from the TPU itself and nothing more but if it says -89.7C then ther must be something wrong…

    What does the Pligin page say?

    Plugin page didn't say anything except "shutdown"

     

    Currently its been running over an hour without any issues and multiple working detections.

  5. 13 minutes ago, ich777 said:

    Yes, it is most likely that the shutdown temperature of 104.80 °C was triggered and that the module shut itself off.

     

    What module do you own? Are you sure that you have enough airflow over the module?

     

    I've also posted a tutorial how you can write the temperature readings to a file to see what it actually does:

     

     

    Thanks for taking the time to answer!

    I'm using the mini pcie module inside a pci converter (everything else is unavailable atm)

    I restarted the container and for the first time it actually ran for a while and didn't crash immediately.

    As soon as I walked out and around the cameras (actually giving the coral something to do) it again crashed.

     

    [2022-06-26 20:27:11] detector.coral_pci             INFO    : Starting detection process: 216
    [2022-06-26 20:27:11] frigate.edgetpu                INFO    : Attempting to load TPU as pci
    [2022-06-26 20:27:11] frigate.edgetpu                INFO    : TPU found
    [2022-06-26 20:27:11] ws4py                          INFO    : Using epoll
    [2022-06-26 20:27:16] frigate.record                 WARNING : Discarding a corrupt recording segment: front-20220626202713.mp4
    [2022-06-26 20:27:16] frigate.record                 WARNING : Discarding a corrupt recording segment: front-20220626202713.mp4
    [2022-06-26 20:27:25] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:39598]
    [2022-06-26 20:28:21] frigate.watchdog               INFO    : Detection appears to be stuck. Restarting detection process...
    [2022-06-26 20:28:21] root                           INFO    : Waiting for detection process to exit gracefully...
    [2022-06-26 20:28:51] root                           INFO    : Detection process didnt exit. Force killing...
    [2022-06-26 20:29:04] detector.coral_pci             INFO    : Starting detection process: 354
    [2022-06-26 20:29:04] frigate.edgetpu                INFO    : Attempting to load TPU as pci
    [2022-06-26 20:29:17] frigate.edgetpu                ERROR   : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
    Process detector:coral_pci:
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
        delegate = Delegate(library, options)
      File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
        raise ValueError(capture.message)
    ValueError
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
        self.run()
      File "/usr/lib/python3.9/multiprocessing/process.py", line 108, in run
        self._target(*self._args, **self._kwargs)
      File "/opt/frigate/frigate/edgetpu.py", line 135, in run_detector
        object_detector = LocalObjectDetector(
      File "/opt/frigate/frigate/edgetpu.py", line 43, in __init__
        edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
      File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
        raise ValueError('Failed to load delegate from {}\n{}'.format(
    ValueError: Failed to load delegate from libedgetpu.so.1.0
    
    [2022-06-26 20:29:19] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:39598]
    [2022-06-26 20:29:19] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58352]
    [2022-06-26 20:29:24] frigate.watchdog               INFO    : Detection appears to have stopped. Exiting frigate...
    [2022-06-26 20:29:24] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:5002 | Remote => 127.0.0.1:58352]
    [2022-06-26 20:29:24] frigate.video                  ERROR   : drive: Unable to read frames from ffmpeg process.
    [2022-06-26 20:29:24] frigate.video                  ERROR   : drive: ffmpeg process is not running. exiting capture thread...
    [2022-06-26 20:29:24] frigate.video                  ERROR   : front: Unable to read frames from ffmpeg process.
    [2022-06-26 20:29:24] frigate.video                  ERROR   : front: ffmpeg process is not running. exiting capture thread...
    [cont-finish.d] executing container finish scripts...
    [cont-finish.d] done.
    [s6-finish] waiting for services.
    [s6-finish] sending all processes the TERM signal.
    [s6-finish] sending all processes the KILL signal and exiting.
    [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
    [s6-init] ensuring user provided files have correct perms...exited 0.
    [fix-attrs.d] applying ownership & permissions fixes...
    [fix-attrs.d] done.
    [cont-init.d] executing container initialization scripts...
    [cont-init.d] done.
    [services.d] starting services
    [services.d] done.
    [cont-finish.d] executing container finish scripts...
    [cont-finish.d] done.
    [s6-finish] waiting for services.
    [s6-finish] sending all processes the TERM signal.
    [s6-finish] sending all processes the KILL signal and exiting.

     

    The temp readings from your script don't make a lot of sense. -89.7*C sound wrong. But I highly doubt it jumped from 40*C to 100*c in 15 seconds to cause a temperature crash.

    See here:

    2022-06-26 20:26:03 Coral Temp: 39.55C
    2022-06-26 20:26:18 Coral Temp: 39.55C
    2022-06-26 20:26:33 Coral Temp: 39.55C
    2022-06-26 20:26:48 Coral Temp: 39.80C
    2022-06-26 20:27:03 Coral Temp: 39.80C
    2022-06-26 20:27:18 Coral Temp: 39.80C
    2022-06-26 20:27:33 Coral Temp: 39.80C
    2022-06-26 20:27:48 Coral Temp: 39.80C
    2022-06-26 20:28:03 Coral Temp: 39.80C
    2022-06-26 20:28:18 Coral Temp: -89.70C
    2022-06-26 20:28:33 Coral Temp: -89.70C
    2022-06-26 20:28:48 Coral Temp: -89.70C
    2022-06-26 20:29:03 Coral Temp: -89.70C
    2022-06-26 20:29:18 Coral Temp: -89.70C
    2022-06-26 20:29:33 Coral Temp: -89.70C

     

    Please let me know what I can do to debug this further.

  6. I just got a mini cpie coral and installed it in unraid.

    Downloaded the driver and the unraid system page shows the device:

     

    [1ac1:089a] 01:00.0 System peripheral: Global Unichip Corp. Coral Edge TPU

     

    I have the frigate config setup with the mapping for /dev/apex_0

     

    The frigate config.yml looks like this:

    detectors:
      coral_pci:
        type: edgetpu
        device: pci

     

    But when starting the container it crashes with the following errors:

    [2022-06-21 23:35:18] detector.coral_pci INFO : Starting detection process: 218
    [2022-06-21 23:35:18] frigate.edgetpu INFO : Attempting to load TPU as pci
    Process detector:coral_pci:
    [2022-06-21 23:35:30] frigate.edgetpu ERROR : No EdgeTPU was detected. If you do not have a Coral device yet, you must configure CPU detectors.
    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 160, in load_delegate
    delegate = Delegate(library, options)
    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 119, in __init__
    raise ValueError(capture.message)
    ValueError
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
    File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
    File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
    File "/opt/frigate/frigate/edgetpu.py", line 136, in run_detector
    object_detector = LocalObjectDetector(
    File "/opt/frigate/frigate/edgetpu.py", line 44, in __init__
    edge_tpu_delegate = load_delegate("libedgetpu.so.1.0", device_config)
    File "/usr/lib/python3/dist-packages/tflite_runtime/interpreter.py", line 162, in load_delegate
    raise ValueError('Failed to load delegate from {}\n{}'.format(
    ValueError: Failed to load delegate from libedgetpu.so.1.0
    
    [2022-06-21 23:35:38] frigate.watchdog INFO : Detection appears to have stopped. Exiting frigate...
    [cont-finish.d] executing container finish scripts...
    [cont-finish.d] done.
    [s6-finish] waiting for services.
    [2022-06-21 23:35:38] frigate.video ERROR : front: Unable to read frames from ffmpeg process.
    [2022-06-21 23:35:38] frigate.video ERROR : front: ffmpeg process is not running. exiting capture thread...
    [2022-06-21 23:35:38] frigate.video ERROR : drive: Unable to read frames from ffmpeg process.
    [2022-06-21 23:35:38] frigate.video ERROR : drive: ffmpeg process is not running. exiting capture thread...
    [s6-finish] sending all processes the TERM signal.
    [s6-finish] sending all processes the KILL signal and exiting.
    [s6-finish] sending all processes the KILL signal and exiting.

     

    Any idea whats going on here?
    Must I restart the server after installing the driver?

  7. 2 hours ago, CarlP said:

    Only seems to be an issue with Radarr and Sonarr..

    Same for me. Radarr and Sonarr using privoxy from the sabvpn container can't connect to anything local anymore.  Accessing the web works just fine (searching for new series/movies)

  8. So I just updated from the broken release to the latest version and still have the database corrupted issues.

    The container can't even start.

    Do I have to start from scratch? That would be quite annoying as I had most of my settings nicely tweaked :(

    What can I do to get this running again without having to start at zero?

     

    Starting services...
    * Starting Apache httpd web server apache2
    *
    * Starting MariaDB database server mysqld
    Jan 5 08:23:43 e490f9ecde0f web_php[19211]: FAT [Failed db connection to ]
    Jan 5 08:23:43 e490f9ecde0f web_php[19211]: ERR [Unable to authenticate user. error decoding JWT token:Signature verification failed]
    Jan 5 08:23:43 e490f9ecde0f web_php[19211]: ERR [Unable to authenticate user. error decoding JWT token:Signature verification failed]
    Jan 5 08:23:43 e490f9ecde0f web_php[19212]: FAT [Failed db connection to ]
    Jan 5 08:23:43 e490f9ecde0f web_php[19213]: FAT [Failed db connection to ]
    Jan 5 08:23:43 e490f9ecde0f web_php[19214]: FAT [Failed db connection to ]
    Jan 5 08:23:43 e490f9ecde0f web_php[19215]: FAT [Failed db connection to ]
    Jan 5 08:23:43 e490f9ecde0f web_php[19215]: ERR [Unable to authenticate user. error decoding JWT token:Signature verification failed]
    Jan 5 08:23:43 e490f9ecde0f web_php[19215]: ERR [Unable to authenticate user. error decoding JWT token:Signature verification failed]
    
    ...
    # Some hundred more failed attempts in a few seconds
    ...
    
    Jan 5 08:23:55 e490f9ecde0f web_php[19214]: FAT [Failed db connection to ]
    Jan 5 08:23:55 e490f9ecde0f web_php[19215]: FAT [Failed db connection to ]
    Jan 5 08:23:55 e490f9ecde0f web_php[19211]: FAT [Failed db connection to ]
    ...fail!
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    Jan 5 08:24:03 e490f9ecde0f zmupdate[19652]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96.
    BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147.
    Compilation failed in require at /usr/bin/zmupdate.pl line 73.
    BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 73.
    Jan 5 08:24:03 e490f9ecde0f zmupdate[19652]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    Jan 5 08:24:03 e490f9ecde0f zmupdate[19653]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96.
    BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147.
    Compilation failed in require at /usr/bin/zmupdate.pl line 73.
    BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 73.
    Jan 5 08:24:03 e490f9ecde0f zmupdate[19653]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
    Starting ZoneMinder:
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    Jan 5 08:24:03 e490f9ecde0f zmpkg[19663]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96.
    BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147.
    Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
    BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
    Compilation failed in require at /usr/bin/zmpkg.pl line 34.
    BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
    Jan 5 08:24:03 e490f9ecde0f zmpkg[19663]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
    ZoneMinder failed to start
    
    *** /etc/my_init.d/40_firstrun.sh failed with status 255
    
    *** Killing all processes...

     

  9. Also pressed on "update" last night thinking...what could happen.

    This morning nothing was running ;) Once again a lesson for me to check changes before updating...

    I also have issues with the included mysql database not working.
    See attached logs at the bottom for further datapoints.

     

    Also does opencv need to be compiled every restart of the container? I have a pretty poor cpu and no gpu and the compile takes ages.

    I fear having to tweak the new mem settings when each restart with a config change takes 40+ minutes...

    Compiling opencv - this will take a while...
    Jan 4 07:57:14 17b93c0e5743 EventServer: Compiling opencv without GPU Support
    Jan 4 07:57:35 17b93c0e5743 EventServer: Compiling opencv...
    Jan 4 08:42:17 17b93c0e5743 EventServer: Installing opencv...
    Jan 4 08:42:17 17b93c0e5743 EventServer: Installing opencv...
    Jan 4 08:42:21 17b93c0e5743 EventServer: Cleaning up...

    Error Logs:

    Jan 4 08:42:21 17b93c0e5743 EventServer: Cleaning up...
    Starting services...
    * Starting Apache httpd web server apache2
    Jan 4 08:42:23 17b93c0e5743 web_php[19213]: FAT [Failed db connection to ]
    Jan 4 08:42:23 17b93c0e5743 web_php[19213]: ERR [Unable to authenticate user. error decoding JWT token:Signature verification failed]
    Jan 4 08:42:23 17b93c0e5743 web_php[19213]: ERR [Unable to authenticate user. error decoding JWT token:Signature verification failed]
    Jan 4 08:42:23 17b93c0e5743 web_php[19214]: FAT [Failed db connection to ]
    Jan 4 08:42:23 17b93c0e5743 web_php[19215]: FAT [Failed db connection to ]
    Jan 4 08:42:23 17b93c0e5743 web_php[19216]: FAT [Failed db connection to ]
    Jan 4 08:42:23 17b93c0e5743 web_php[19217]: FAT [Failed db connection to ]
    Jan 4 08:42:23 17b93c0e5743 web_php[19217]: ERR [Unable to authenticate user. error decoding JWT token:Signature verification failed]
    Jan 4 08:42:23 17b93c0e5743 web_php[19217]: ERR [Unable to authenticate user. error decoding JWT token:Signature verification failed]
    Jan 4 08:42:23 17b93c0e5743 web_php[19213]: FAT [Failed db connection to ]
    Jan 4 08:42:23 17b93c0e5743 web_php[19214]: FAT [Failed db connection to ]
    Jan 4 08:42:23 17b93c0e5743 web_php[19215]: FAT [Failed db connection to ]
    *
    * Starting MariaDB database server mysqld
    Jan 4 08:42:40 17b93c0e5743 web_php[19216]: FAT [Failed db connection to ]
    Jan 4 08:42:40 17b93c0e5743 web_php[19216]: ERR [Unable to authenticate user. error decoding JWT token:Signature verification failed]
    Jan 4 08:42:40 17b93c0e5743 web_php[19216]: ERR [Unable to authenticate user. error decoding JWT token:Signature verification failed]
    Jan 4 08:42:40 17b93c0e5743 web_php[19217]: FAT [Failed db connection to ]
    Jan 4 08:42:40 17b93c0e5743 web_php[19213]: FAT [Failed db connection to ]
    Jan 4 08:42:40 17b93c0e5743 web_php[19214]: FAT [Failed db connection to ]
    
    #
    # This happens quite a few times
    # Redacted for better readability
    
    Jan 4 08:42:53 17b93c0e5743 web_php[19215]: FAT [Failed db connection to ]
    Jan 4 08:42:53 17b93c0e5743 web_php[19216]: FAT [Failed db connection to ]
    ...fail!
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    Jan 4 08:42:54 17b93c0e5743 zmupdate[19654]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96.
    BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147.
    Compilation failed in require at /usr/bin/zmupdate.pl line 73.
    BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 73.
    Jan 4 08:42:54 17b93c0e5743 zmupdate[19654]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    Jan 4 08:42:54 17b93c0e5743 zmupdate[19655]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96.
    BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147.
    Compilation failed in require at /usr/bin/zmupdate.pl line 73.
    BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 73.
    Jan 4 08:42:54 17b93c0e5743 zmupdate[19655]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
    Starting ZoneMinder:
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    Jan 4 08:42:54 17b93c0e5743 zmpkg[19665]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
    DBI connect('database=zm;host=localhost','zmuser',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /usr/share/perl5/ZoneMinder/Database.pm line 110.
    Can't call method "prepare_cached" on an undefined value at /usr/share/perl5/ZoneMinder/Config.pm line 96.
    BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 147.
    Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33.
    BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33.
    Compilation failed in require at /usr/bin/zmpkg.pl line 34.
    BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 34.
    Jan 4 08:42:54 17b93c0e5743 zmpkg[19665]: ERR [Error reconnecting to db: errstr:Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) error val:]
    ZoneMinder failed to start
    
    *** /etc/my_init.d/40_firstrun.sh failed with status 255

     

  10. I wanted to setup doscpell (https://github.com/eikek/docspell) in unraid however I think the setup is a bit beyond me as there is no official template.

     

    Looking at the official compose I see that its basically a set of multiple containers.

    https://github.com/eikek/docspell/blob/master/docker/docker-compose.yml

     

    To get this running on unraid I guess I would have to setup each container separately from the gui right?

    Is there a way to make this easier by creating a template? Or can a template for unraid just contain one image/container?