question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Support]: K8/0.10.0-beta5-amd64 - Fails to start... duplicate column name: objects

See original GitHub issue

Describe the problem you are having

Container on pristine helm deployment fails with the following - With clean PV

Version

0.10.0-beta5-amd64

Frigate config file

NA

Relevant log output

21-12-13 03:53:34] peewee_migrate INFO : Starting migrations
[2021-12-13 03:53:34] peewee DEBUG : ('CREATE TABLE IF NOT EXISTS "migratehistory" ("id" INTEGER NOT NULL PRIMARY KEY, "name" VARCHAR(255) NOT NULL, "migrated_at" DATETIME NOT NULL)', [])
[2021-12-13 03:53:34] peewee DEBUG : ('SELECT "t1"."id", "t1"."name", "t1"."migrated_at" FROM "migratehistory" AS "t1" ORDER BY "t1"."id"', [])
[2021-12-13 03:53:34] peewee DEBUG : ('SELECT "t1"."id", "t1"."name", "t1"."migrated_at" FROM "migratehistory" AS "t1" ORDER BY "t1"."id"', [])
[2021-12-13 03:53:34] peewee DEBUG : ('BEGIN', None)
Migrate "006_add_motion_active_objects"
[2021-12-13 03:53:34] peewee_migrate INFO : Migrate "006_add_motion_active_objects"
add_column ('recordings', 'objects', <IntegerField: Recordings.objects>)
[2021-12-13 03:53:34] peewee_migrate INFO : add_column ('recordings', 'objects', <IntegerField: Recordings.objects>)
[2021-12-13 03:53:34] peewee DEBUG : ('ALTER TABLE "recordings" ADD COLUMN "objects" INTEGER', [])
duplicate column name: objects
[cmd] python3 exited 1

FFprobe output from your camera

na

Frigate stats

No response

Operating system

Other Linux

Install method

Docker Compose

Coral version

USB

Network connection

Wired

Camera make and model

na

Any other information that may be helpful

Kubernetes - same error should occur in and containerd

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
blakeblackshearcommented, Dec 13, 2021

I fixed this and will be pushing a beta6 shortly

0reactions
srvoetscommented, Apr 27, 2022

I am experiencing this on the latest nvidia release. My compose worked previously on an older version of frigate (month behind, but it worked great) had to nuke that ubuntu machine last night, and have other dockers using my gpu passthrough, but cannot get frigate to start:

| [s6-init] ensuring user provided files have correct perms...exited 0. frigate | [fix-attrs.d] applying ownership & permissions fixes... frigate | [fix-attrs.d] done. frigate | [cont-init.d] executing container initialization scripts... frigate | [cont-init.d] done. frigate | [services.d] starting services frigate | [services.d] done. frigate | [2022-04-27 18:34:33] frigate.app INFO : Starting Frigate (0.10.1-83481af) frigate | Starting migrations frigate | [2022-04-27 18:34:33] peewee_migrate INFO : Starting migrations frigate | [2022-04-27 18:34:33] peewee DEBUG : ('CREATE TABLE IF NOT EXISTS "migratehistory" ("id" INTEGER NOT NULL PRIMARY KEY, "name" VARCHAR(255) NOT NULL, "migrated_at" DATETIME NOT NULL)', []) frigate | [2022-04-27 18:34:33] peewee DEBUG : ('SELECT "t1"."id", "t1"."name", "t1"."migrated_at" FROM "migratehistory" AS "t1" ORDER BY "t1"."id"', []) frigate | There is nothing to migrate frigate | [2022-04-27 18:34:33] peewee_migrate INFO : There is nothing to migrate voets@ross:~/docker/frigate$

Read more comments on GitHub >

github_iconTop Results From Across the Web

Duplicate Column Name causing issues in Copy Activity
Duplicate Column Name causing issues in Copy Activity. Hi all,. I am copying csv files into a sql table with an explicit mapping...
Read more >
SQL Duplicate column name error - Stack Overflow
I just can't see where the duplicate column error can be coming from. Could it be a database integrity problem? Any help much...
Read more >
Duplicate Column Name error while updating record
I am using Oracle Form Developer 10.1.2.0.2 with EBS 12.1.3 along with DB 12.1.0.2.0. When I try to update a record in form,...
Read more >
Duplicate column name" during mapping run in Informatica DEI
To resolve the issue, verify the query used in the Hive object and ensure there are no duplicate columns in the query specified....
Read more >
ERROR: Duplicate column names have been detected in the ...
Solved: I need some help troubleshooting this error. Am I doing something wrong here? 4621 proc sql; 4622 create table QueryData&ZIP5 as ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found