GithubHelp home page GithubHelp logo

Comments (3)

jimjimovich avatar jimjimovich commented on September 26, 2024

I forgot to mention. It seems that this is the commit causing the problem.

1058ea1

from directus.

paescuj avatar paescuj commented on September 26, 2024

Thanks for opening this issue! However this is a duplicate of an existing issue #21828, so I'll proceed to close this but if you think this is actually a different issue, then please do not hesitate to comment. The existing issue #21828 has been fixed by #22019 which will be available with the next release.

from directus.

algoflows avatar algoflows commented on September 26, 2024

Migration error on fresh install pulling from docker hub

Database is cockroachdb

Instance created. Preparing to start...
Network configuration propagated
Instance is starting. Propagating network configuration...
[00:28:15.788] ERROR: Database migrations cannot be found
[00:28:15.789] ERROR: select "version" from "directus_migrations" - relation "directus_migrations" does not exist
    err: {
      "type": "DatabaseError",
      "message": "select \"version\" from \"directus_migrations\" - relation \"directus_migrations\" does not exist",
      "stack":
          error: select "version" from "directus_migrations" - relation "directus_migrations" does not exist
              at Parser.parseErrorMessage (/directus/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/dist/parser.js:283:98)
              at Parser.handlePacket (/directus/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/dist/parser.js:122:29)
              at Parser.parse (/directus/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/dist/parser.js:35:38)
              at TLSSocket.<anonymous> (/directus/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/dist/index.js:11:42)
              at TLSSocket.emit (node:events:517:28)
              at addChunk (node:internal/streams/readable:368:12)
              at readableAddChunk (node:internal/streams/readable:341:9)
              at Readable.push (node:internal/streams/readable:278:10)
              at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
      "length": 116,
      "name": "error",
      "severity": "ERROR",
      "code": "42P01",
      "file": "errors.go",
      "line": "172",
      "routine": "NewUndefinedRelationError"
    }
[00:28:27.558] ERROR: Database migrations cannot be found
[00:28:27.558] ERROR: select "version" from "directus_migrations" - relation "directus_migrations" does not exist
    err: {
      "type": "DatabaseError",
      "message": "select \"version\" from \"directus_migrations\" - relation \"directus_migrations\" does not exist",
      "stack":
          error: select "version" from "directus_migrations" - relation "directus_migrations" does not exist
              at Parser.parseErrorMessage (/directus/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/dist/parser.js:283:98)
              at Parser.handlePacket (/directus/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/dist/parser.js:122:29)
              at Parser.parse (/directus/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/dist/parser.js:35:38)
              at TLSSocket.<anonymous> (/directus/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/dist/index.js:11:42)
              at TLSSocket.emit (node:events:517:28)
              at addChunk (node:internal/streams/readable:368:12)
              at readableAddChunk (node:internal/streams/readable:341:9)
              at Readable.push (node:internal/streams/readable:278:10)
              at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
      "length": 116,
      "name": "error",
Application exited with code 1. This usually indicates an application failure. Check that the command used to launch your application is correct.
Instance stopped
Instance created. Preparing to start...
Network configuration propagated
Instance is starting. Propagating network configuration...
[00:29:21.037] ERROR: Database migrations cannot be found
[00:29:21.038] ERROR: select "version" from "directus_migrations" - relation "directus_migrations" does not exist
    err: {
      "type": "DatabaseError",
      "message": "select \"version\" from \"directus_migrations\" - relation \"directus_migrations\" does not exist",
      "stack":
          error: select "version" from "directus_migrations" - relation "directus_migrations" does not exist
              at Parser.parseErrorMessage (/directus/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/dist/parser.js:283:98)
              at Parser.handlePacket (/directus/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/dist/parser.js:122:29)
              at Parser.parse (/directus/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/dist/parser.js:35:38)
              at TLSSocket.<anonymous> (/directus/node_modules/.pnpm/[email protected]/node_modules/pg-protocol/dist/index.js:11:42)
              at TLSSocket.emit (node:events:517:28)
              at addChunk (node:internal/streams/readable:368:12)
              at readableAddChunk (node:internal/streams/readable:341:9)
              at Readable.push (node:internal/streams/readable:278:10)
              at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
      "length": 116,
      "name": "error",
      "severity": "ERROR",
      "code": "42P01",
      "file": "errors.go",
      "line": "172",
      "routine": "NewUndefinedRelationError"
    }
[00:29:32.150] ERROR: Database migrations cannot be found
Application exited with code 1. This usually indicates an application failure. Check that the command used to launch your application is correct.
Instance stopped

from directus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.