Comments (7)
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.
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.
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
from directus.
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.
from directus.
@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.
@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.
Well I guess this was the support and cry for help not answered.
from directus.
Related Issues (20)
- Date alias fields don't have same return type as plain fields
- Logical operators to filter service data isn't working after upgrade HOT 7
- Item Drawer sets readonly on circular field which is persisted to the original field
- File Library card thumbnails dissapear when adding a relation to itself HOT 2
- Does anyone have turtorial to intergrate AWS X-ray with Directus on ecs fargate? HOT 1
- `module_bar` in settings doesn't take an array. HOT 1
- Issue still persisting
- `module_bar` in settings doesn't really take an array.
- `useShortcut` hijacks global shortcuts even if targeted to element HOT 2
- Interface display in editting item mode HOT 1
- Inaccuracy on "Data Model" page HOT 1
- Filtering a collection using comparison operators on String fields results in 400 Bad Request Error HOT 2
- Wrong primaryKey & field values on custom interfaces after upgrading Directus HOT 1
- Order of "Related Collection" tables is not alphabetically HOT 3
- Unable to create new user via api HOT 12
- Add more detail on icons used in directus HOT 2
- Directus SDK doesn't return file relational data HOT 2
- Authorization header malformed, unexpected scope: 20240624/auto/s3/aws4_request HOT 1
- create-directus-extension throws "Named export 'parse' not found" error HOT 2
- Table layout queries presentational fields
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from directus.