Resolve 17 BtException: error: when creating new postgreSQL

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

fergate

  • Posts: 2
  • Joined: Sun Feb 28, 2021 4:30 am
  • Real Name: Frank Vernon

Resolve 17 BtException: error: when creating new postgreSQL

PostMon Mar 01, 2021 6:37 pm

Testing the Resolve 17 (non-Studio) with postgreSQL.

I'm able to connect to the server, the database is created, but before completing the process I'm getting the following error:

BtException: ERROR: syntax error at or near "="
LINE 1: UPDATE "SM_Project" SET =F8FFC26A553A WHERE = ff2e540a-f4b4...
(42601) QPSQL: Unable to create query

The application has recovered from the error. It is advisable to save the project and restart the application. Please mail the details of the error to Blackmagic Design, and contact Blackmagic Design Support if the error persists


You can see the error in SQL request above under "LINE 1" after "SET" (no column name) and after "WHERE" (no column name).

Any idea what the underlying cause might be?
Offline

fergate

  • Posts: 2
  • Joined: Sun Feb 28, 2021 4:30 am
  • Real Name: Frank Vernon

Re: Resolve 17 BtException: ERROR: when creating new postgre

PostTue Mar 02, 2021 5:37 pm

Problem solved: Issue was apparently the postgres version: posgres v13.2 was apparently too new.
A number of posts suggest that postgres v9.5.4 was required.
That worked.
Also tested with v11 and so far that seems to be working fine as well.

Followup question: What is the most up-to-date version of postgres compatible with Resolve 17?
Offline

danielpanev

  • Posts: 185
  • Joined: Sat May 25, 2019 11:59 am
  • Location: Sofia, Bulgaria
  • Real Name: Daniel Panev

Re: Resolve 17 BtException: ERROR: when creating new postgre

PostTue Mar 02, 2021 6:41 pm

As far as I can remember it works with 12
Offline
User avatar

Andy Dopieralski

  • Posts: 211
  • Joined: Mon Jul 15, 2013 10:43 pm
  • Location: Seattle WA

Re: Resolve 17 BtException: ERROR: when creating new postgre

PostThu Jun 24, 2021 9:46 pm

I was having a similar issue and found it was because by default my new version of PostgreSQL didn't include the default postgres role (I'm using a QNAP NAS and a docker version of PostgreSQL, in which the default role is qnap_postgres).

I dug through the logs and found the actual issue:
[0x00003d7c] | DbCommon2 | WARN | 2021-06-24 12:45:17,934 | Failed to initialize database [REDACTED]: Failed to create baseline schema on database [REDACTED]: ERROR: role "postgres" does not exist

I added the role and it fixed the issue immediately.

Note, this is independent of the sign in username.
http://watch.yourlamefriends.com
http://www.imdb.com/name/nm1504735/
Offline

Bink19th

  • Posts: 35
  • Joined: Tue Jun 19, 2018 6:24 am
  • Real Name: David Armstrong

Re: Resolve 17 BtException: ERROR: when creating new postgre

PostFri Sep 03, 2021 2:40 am

fergate wrote:Followup question: What is the most up-to-date version of postgres compatible with Resolve 17?


I tested this today in DaVinci Resolve Studio 17.3 BUILD 14 (Linux), starting from the most recent version of PostgreSQL (under Arch Linux) and working backwards. If it failed, it failed with the issue from your OP.

☒ PostgreSQL 13.3
☒ PostgreSQL 12.7
PostgreSQL 11.12
Ryzen 9 5900X 64GB RAM, NVidia RTX A4000, EndeavourOS
Davinci Resolve Studio 18.1.4 BUILD 9

Return to DaVinci Resolve

Who is online

Users browsing this forum: Bing [Bot], David James, panos_mts and 140 guests