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.

question: cannot start Logto since relation "connectors" doesn't exist

See original GitHub issue

Describe the bug

I following the TUTORIALS ,use docker run logto. I useddocker run -it -p 3001:3001 --env-file=init.env [ImagersId]
console show me

Error while initializing app error: 关系 "connectors" 不存在
    at Parser.parseErrorMessage (/home/logto/logto/node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/parser.js:287:98)
    at Parser.handlePacket (/home/logto/logto/node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/parser.js:126:29)
    at Parser.parse (/home/logto/logto/node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/parser.js:39:38)
    at Socket.<anonymous> (/home/logto/logto/node_modules/.pnpm/pg-protocol@1.5.0/node_modules/pg-protocol/dist/index.js:11:42)
    at Socket.emit (node:events:527:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:289:9)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  length: 103,
  severity: '错误',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  position: '53',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '1384',
  routine: 'parserOpenTable',
  notices: []
}   

I try again without docker I used local ,when I enterd Postgres_url, the same error occurred

Expected behavior

How to reproduce?

run logto with docker or local

Context

OS: Centos7

Environment: Docker and local
Logto version: [1.0.0-beta.1] (2022-07-19) Node version: 16 Postgres version: 14 Command of starting Logto: docker :docker run -it -p 3001:3001 --env-file=init.env [ImagersId]

local : node -e "$(printf "%s" "$(curl -fsSL https://raw.githubusercontent.com/logto-io/logto/HEAD/install.js)")"

Screenshots

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
SilverHicommented, Jul 31, 2022

@gao-sun Thanks, I’ve started it, but I encountered some problems when integrating with Vue, but this seems to be my problem. If logto has a problem, I’ll contact you. Thanks again~

0reactions
gao-suncommented, Jul 30, 2022

@SilverHi feel free to connect with us again if it does’t work, cheers

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to browse connection.; Caused by: ...
I'm trying to connect to MS SQL Express which is loaded on my machine and running into an error that I can't seem...
Read more >
Troubleshoot common issues with triggers - Power Automate
Users are unable to run flows that are shared with them, but the owner can run the flow. You can try one of...
Read more >
Fixing Debezium Connectors when they break on production.
Problem I: Rolled Over Bin-logs ... If the connector task is dead for a duration long enough such that the offset (binlog position)...
Read more >
Fix common Web Connector errors in QuickBooks Desktop
Web Connector lets you connect third-party applications to QuickBooks Desktop. If you get an error while using it, don't worry. We'll show you...
Read more >
Tips and troubleshooting for the connectors
Kerberos authentication is not supported in the Apache Hive Connector contained in the ODBC Connector Package. Microsoft SQL Server. Connection failure. Failure ...
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