Jump to content

jonathanmarshall

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by jonathanmarshall

  1. Noticed my HomeAssistant docker wasn't running, so checked out the Unraid dashboard and saw that all CPUs were at 100%.  No idea why this happened, but I decided to restart my server.  When it came back up, my docker tab is completely empty.  The shares all still seem to work and I can see the data from all of the docker containers that used to be there in /appdata.  Doesn't look like I lost the data, but the dockers list is blank.  What next?  Diagnostics file attached.  THANKS!

    unraid-diagnostics-20220903-1632.zip

  2. I currently have a Dell Optiplex 5040 with the following drives:

     

    image.png.3d4db28e113ca342c0a53e7cfb15fb03.png

     

    I would like to replace the current internal Lexar SATA SSD with a WD M.2 SSD (this is currently plugged in via a USB3.0 adapter because the computer apparently can't recognize 2 internal SATA SSDs and an M.2 SSD).

     

    I'm basically just wanting to copy all of the files from the Lexar SSD over to the WD M.2 then remove the Lexar SSD from the computer (or use it with an adapter to make an external drive.  Is there a simple file editor that will let me do a copy/paste?  I'm not a Linux command line guy, so an app with a GUI would be ideal.

     

  3. Hi Guys, I'm new to both Unraid and Frigate.  I'm running Home Assistant Core as a docker container on Unraid, and I'm not following this instruction from the Frigate website:

     

    For all other installation types, the config file should be mapped to /config/config.yml inside the container.For all other installation types, the config file should be mapped to /config/config.yml inside the container.

     

    I'm sure it's just a simple thing, but I can't figure out what is meant by /config in terms of my Unraid setup.  All of my docker containers (Home Assistant, Mosquitto broker, Frigate, Node Red) all have folders under UNRAID/appdata/ (see image below).  I assume that I should be creating frigate/config/config.yml, but when I do this, the logs make it look like the file isn't being seen by Frigate:

     

    ErrorWarningSystemArrayLogin
    
    
    [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.
    *************************************************************
    *************************************************************
    *** Your config file is not valid! ***
    *** Please check the docs at ***
    *** https://docs.frigate.video/configuration/index ***
    *************************************************************
    *************************************************************
    *** Config Validation Errors ***
    *************************************************************
    [Errno 2] No such file or directory: '/config/config.yml'
    [2022-03-15 14:02:58] frigate.app INFO : Starting Frigate (0.10.1-83481af)
    Traceback (most recent call last):
    File "/opt/frigate/frigate/app.py", line 312, in start
    self.init_config()
    File "/opt/frigate/frigate/app.py", line 77, in init_config
    user_config = FrigateConfig.parse_file(config_file)
    File "/opt/frigate/frigate/config.py", line 896, in parse_file
    with open(config_file) as f:
    FileNotFoundError: [Errno 2] No such file or directory: '/config/config.yml'
    
    *************************************************************
    *** End Config Validation Errors ***
    *************************************************************
    [cmd] python3 exited 1
    [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.
    *************************************************************
    *************************************************************
    *** Your config file is not valid! ***
    *** Please check the docs at ***
    *** https://docs.frigate.video/configuration/index ***
    *************************************************************
    *************************************************************
    *** Config Validation Errors ***
    *************************************************************
    [Errno 2] No such file or directory: '/config/config.yml'
    [2022-03-15 14:35:50] frigate.app INFO : Starting Frigate (0.10.1-83481af)
    Traceback (most recent call last):
    File "/opt/frigate/frigate/app.py", line 312, in start
    self.init_config()
    File "/opt/frigate/frigate/app.py", line 77, in init_config
    user_config = FrigateConfig.parse_file(config_file)
    File "/opt/frigate/frigate/config.py", line 896, in parse_file
    with open(config_file) as f:
    FileNotFoundError: [Errno 2] No such file or directory: '/config/config.yml'
    
    *************************************************************
    *** End Config Validation Errors ***
    *************************************************************
    [cmd] python3 exited 1
    [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.
    *************************************************************
    *************************************************************
    *** Your config file is not valid! ***
    *** Please check the docs at ***
    *** https://docs.frigate.video/configuration/index ***
    *************************************************************
    *************************************************************
    *** Config Validation Errors ***
    *************************************************************
    [Errno 2] No such file or directory: '/config/config.yml'
    [2022-03-15 14:38:04] frigate.app INFO : Starting Frigate (0.10.1-83481af)
    Traceback (most recent call last):
    File "/opt/frigate/frigate/app.py", line 312, in start
    self.init_config()
    File "/opt/frigate/frigate/app.py", line 77, in init_config
    user_config = FrigateConfig.parse_file(config_file)
    File "/opt/frigate/frigate/config.py", line 896, in parse_file
    with open(config_file) as f:
    FileNotFoundError: [Errno 2] No such file or directory: '/config/config.yml'
    
    *************************************************************
    *** End Config Validation Errors ***
    *************************************************************
    [cmd] python3 exited 1
    [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.
    [2022-03-15 14:42:25] frigate.app INFO : Starting Frigate (0.10.1-83481af)
    [2022-03-15 14:42:26] frigate.app INFO : Creating directory: /media/frigate/recordings
    [2022-03-15 14:42:26] frigate.app INFO : Creating directory: /media/frigate/clips
    Starting migrations
    [2022-03-15 14:42:26] peewee_migrate INFO : Starting migrations
    Migrate "001_create_events_table"
    [2022-03-15 14:42:26] peewee_migrate INFO : Migrate "001_create_events_table"
    sql ('CREATE TABLE IF NOT EXISTS "event" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "label" VARCHAR(20) NOT NULL, "camera" VARCHAR(20) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME NOT NULL, "top_score" REAL NOT NULL, "false_positive" INTEGER NOT NULL, "zones" JSON NOT NULL, "thumbnail" TEXT NOT NULL)',)
    [2022-03-15 14:42:26] peewee_migrate INFO : sql ('CREATE TABLE IF NOT EXISTS "event" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "label" VARCHAR(20) NOT NULL, "camera" VARCHAR(20) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME NOT NULL, "top_score" REAL NOT NULL, "false_positive" INTEGER NOT NULL, "zones" JSON NOT NULL, "thumbnail" TEXT NOT NULL)',)
    sql ('CREATE INDEX IF NOT EXISTS "event_label" ON "event" ("label")',)
    [2022-03-15 14:42:26] peewee_migrate INFO : sql ('CREATE INDEX IF NOT EXISTS "event_label" ON "event" ("label")',)
    sql ('CREATE INDEX IF NOT EXISTS "event_camera" ON "event" ("camera")',)
    [2022-03-15 14:42:26] peewee_migrate INFO : sql ('CREATE INDEX IF NOT EXISTS "event_camera" ON "event" ("camera")',)
    Done 001_create_events_table
    [2022-03-15 14:42:26] peewee_migrate INFO : Done 001_create_events_table
    Migrate "002_add_clip_snapshot"
    [2022-03-15 14:42:26] peewee_migrate INFO : Migrate "002_add_clip_snapshot"
    add_column ('event', 'has_clip', <BooleanField: Event.has_clip>)
    [2022-03-15 14:42:26] peewee_migrate INFO : add_column ('event', 'has_clip', <BooleanField: Event.has_clip>)
    add_column ('event', 'has_snapshot', <BooleanField: Event.has_snapshot>)
    [2022-03-15 14:42:26] peewee_migrate INFO : add_column ('event', 'has_snapshot', <BooleanField: Event.has_snapshot>)
    Done 002_add_clip_snapshot
    [2022-03-15 14:42:26] peewee_migrate INFO : Done 002_add_clip_snapshot
    Migrate "003_create_recordings_table"
    [2022-03-15 14:42:26] peewee_migrate INFO : Migrate "003_create_recordings_table"
    sql ('CREATE TABLE IF NOT EXISTS "recordings" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "camera" VARCHAR(20) NOT NULL, "path" VARCHAR(255) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME NOT NULL, "duration" REAL NOT NULL)',)
    [2022-03-15 14:42:26] peewee_migrate INFO : sql ('CREATE TABLE IF NOT EXISTS "recordings" ("id" VARCHAR(30) NOT NULL PRIMARY KEY, "camera" VARCHAR(20) NOT NULL, "path" VARCHAR(255) NOT NULL, "start_time" DATETIME NOT NULL, "end_time" DATETIME NOT NULL, "duration" REAL NOT NULL)',)
    sql ('CREATE INDEX IF NOT EXISTS "recordings_camera" ON "recordings" ("camera")',)
    [2022-03-15 14:42:26] peewee_migrate INFO : sql ('CREATE INDEX IF NOT EXISTS "recordings_camera" ON "recordings" ("camera")',)
    sql ('CREATE UNIQUE INDEX IF NOT EXISTS "recordings_path" ON "recordings" ("path")',)
    [2022-03-15 14:42:26] peewee_migrate INFO : sql ('CREATE UNIQUE INDEX IF NOT EXISTS "recordings_path" ON "recordings" ("path")',)
    sql ('CREATE INDEX IF NOT EXISTS "recordings_start_time_end_time" ON "recordings" (start_time, end_time)',)
    [2022-03-15 14:42:26] peewee_migrate INFO : sql ('CREATE INDEX IF NOT EXISTS "recordings_start_time_end_time" ON "recordings" (start_time, end_time)',)
    Done 003_create_recordings_table
    [2022-03-15 14:42:26] peewee_migrate INFO : Done 003_create_recordings_table
    Migrate "004_add_bbox_region_area"
    [2022-03-15 14:42:26] peewee_migrate INFO : Migrate "004_add_bbox_region_area"
    add_column ('event', 'region', <JSONField: Event.region>)
    [2022-03-15 14:42:26] peewee_migrate INFO : add_column ('event', 'region', <JSONField: Event.region>)
    add_column ('event', 'box', <JSONField: Event.box>)
    [2022-03-15 14:42:26] peewee_migrate INFO : add_column ('event', 'box', <JSONField: Event.box>)
    add_column ('event', 'area', <IntegerField: Event.area>)
    [2022-03-15 14:42:26] peewee_migrate INFO : add_column ('event', 'area', <IntegerField: Event.area>)
    Done 004_add_bbox_region_area
    [2022-03-15 14:42:26] peewee_migrate INFO : Done 004_add_bbox_region_area
    Migrate "005_make_end_time_nullable"
    [2022-03-15 14:42:26] peewee_migrate INFO : Migrate "005_make_end_time_nullable"
    drop_not_null ('event', 'end_time')
    [2022-03-15 14:42:26] peewee_migrate INFO : drop_not_null ('event', 'end_time')
    Done 005_make_end_time_nullable
    [2022-03-15 14:42:26] peewee_migrate INFO : Done 005_make_end_time_nullable
    Migrate "006_add_motion_active_objects"
    [2022-03-15 14:42:26] peewee_migrate INFO : Migrate "006_add_motion_active_objects"
    add_column ('recordings', 'objects', <IntegerField: Recordings.objects>)
    [2022-03-15 14:42:26] peewee_migrate INFO : add_column ('recordings', 'objects', <IntegerField: Recordings.objects>)
    add_column ('recordings', 'motion', <IntegerField: Recordings.motion>)
    [2022-03-15 14:42:26] peewee_migrate INFO : add_column ('recordings', 'motion', <IntegerField: Recordings.motion>)
    Done 006_add_motion_active_objects
    [2022-03-15 14:42:26] peewee_migrate INFO : Done 006_add_motion_active_objects
    [Errno -2] Name or service not known
    [cmd] python3 exited 1
    [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.
    [2022-03-15 15:37:08] frigate.app INFO : Starting Frigate (0.10.1-83481af)
    Starting migrations
    [2022-03-15 15:37:08] peewee_migrate INFO : Starting migrations
    There is nothing to migrate
    [2022-03-15 15:37:08] peewee_migrate INFO : There is nothing to migrate
    [Errno -2] Name or service not known
    [cmd] python3 exited 1
    [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.
    *************************************************************
    *************************************************************
    *** Your config file is not valid! ***
    *** Please check the docs at ***
    *** https://docs.frigate.video/configuration/index ***
    *************************************************************
    *************************************************************
    *** Config Validation Errors ***
    *************************************************************
    [Errno 2] No such file or directory: '/config/config.yml'
    [2022-03-15 15:38:17] frigate.app INFO : Starting Frigate (0.10.1-83481af)
    Traceback (most recent call last):
    File "/opt/frigate/frigate/app.py", line 312, in start
    self.init_config()
    File "/opt/frigate/frigate/app.py", line 77, in init_config
    user_config = FrigateConfig.parse_file(config_file)
    File "/opt/frigate/frigate/config.py", line 896, in parse_file
    with open(config_file) as f:
    FileNotFoundError: [Errno 2] No such file or directory: '/config/config.yml'
    
    *************************************************************
    *** End Config Validation Errors ***
    *************************************************************
    [cmd] python3 exited 1
    [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.
    *************************************************************
    *************************************************************
    *** Your config file is not valid! ***
    *** Please check the docs at ***
    *** https://docs.frigate.video/configuration/index ***
    *************************************************************
    *************************************************************
    *** Config Validation Errors ***
    *************************************************************
    [Errno 2] No such file or directory: '/config/config.yml'
    [2022-03-15 15:39:50] frigate.app INFO : Starting Frigate (0.10.1-83481af)
    Traceback (most recent call last):
    File "/opt/frigate/frigate/app.py", line 312, in start
    self.init_config()
    File "/opt/frigate/frigate/app.py", line 77, in init_config
    user_config = FrigateConfig.parse_file(config_file)
    File "/opt/frigate/frigate/config.py", line 896, in parse_file
    with open(config_file) as f:
    FileNotFoundError: [Errno 2] No such file or directory: '/config/config.yml'
    
    *************************************************************
    *** End Config Validation Errors ***
    *************************************************************
    [cmd] python3 exited 1
    [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.

    Any suggestions?

     

     

    2022-03-15 15_50_29-appdata.png

  4. I'm very new to Unraid and Frigate, and just trying to get started.  With the Coral accelerator TPU drivers installed from the community apps, I was assuming I could go into Unraid's tools > system hardware and then see that my M.2 Coral was recognized.  So far, this doesn't seem to be the case (see screenshot below).  For you guys that have this same setup, where should the M.2 coral show up once the drivers are installed?

     

    1355328592_Unraidsystemdevices.thumb.png.761d7ce9972f0e04a727f2253755cd70.png

×
×
  • Create New...