Giter Club home page Giter Club logo

Comments (7)

algoflows avatar algoflows commented on June 25, 2024

Worked through those errors, dropped the tables many times, ran into continous issues, its not working, it is definitely not working as intended as just connecting a cockroachdb instance fails consistently and I am unable to get things working following base documentation.

from directus.

paescuj avatar paescuj commented on June 25, 2024

Could you share your configuration?
What version of CockroachDB are you using?
Could it be a network problem, i.e. can you make sure that the DB is accessible from the Directus container?

from directus.

algoflows avatar algoflows commented on June 25, 2024

Could you share your configuration? What version of CockroachDB are you using? Could it be a network problem, i.e. can you make sure that the DB is accessible from the Directus container?

Hey mate, sure, thanks for picking this up :)

ADMIN_EMAIL=(hidden)
ADMIN_PASSWORD=(hidden)
CACHE_AUTO_PURGE=true
CACHE_ENABLED=true
CACHE_STORE=redis
DB_CLIENT=cockroachdb
DB_CONNECTION_STRING=postgresql://<user>:<password>@longstreath-1799.j77.cockroachlabs.cloud:26257/defaultdb?sslmode=verify-full
KEY=(hidden)
PUBLIC_URL=https://longstreath-crm-zemili-group.koyeb.app.
REDIS=rediss://default:(hidden)@fond-stud-49374.upstash.io:6379
SECRET=(hidden)
STORAGE_LOCATIONS=s3
STORAGE_S3_BUCKET=longstreath
STORAGE_S3_DRIVER=s3
STORAGE_S3_ENDPOINT=https://fly.storage.tigris.dev
STORAGE_S3_KEY=(hidden)
STORAGE_S3_REGION=auto
STORAGE_S3_SECRET=(hidden)
WEBSOCKETS_ENABLED=true

Using the current Cockroach Cloud clusters, using the standard CC connection strings from the dashboard. I am able to create migrations, I see migrations apearing but somewhere along the way they fail.

[23:56:52.482] WARN: Experimental alter column in use, see issue: https://github.com/cockroachdb/cockroach/issues/49329
[23:57:09.488] WARN: Experimental alter column in use, see issue: https://github.com/cockroachdb/cockroach/issues/49329
[23:57:09.488] WARN: Experimental alter column in use, see issue: https://github.com/cockroachdb/cockroach/issues/49329
Instance is stopping
[23:57:34.989] INFO: Applying Change Useragent Type...
[23:57:46.770] INFO: Applying Deprecate Webhooks...
Instance stopped

Screenshot 2024-05-30 at 10 21 42

from directus.

algoflows avatar algoflows commented on June 25, 2024

You can see the migrations here, they are populating but the deployment fails and then I need to drop all tables and try again, but fails everytime.

Screenshot 2024-05-30 at 10 24 51

from directus.

algoflows avatar algoflows commented on June 25, 2024

@paescuj The DB is accessible as we are creating the Directus tables but it always fails somewhere, then when the container restarts because of the failure, it fails again as tables and data already exist from the first run. See above screenshots and logs for further information.

from directus.

algoflows avatar algoflows commented on June 25, 2024

@paescuj Its definitely not working, did you have any luck replicating and getting it working with cockroach I've supplied everything you've asked for, do you need anything else?

from directus.

algoflows avatar algoflows commented on June 25, 2024

Well I guess this was the support and cry for help not answered.

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.