H-2481: hash-api:dev: error: Ontology type is not external #4254
Labels
area/apps > hash*
Affects HASH (a `hash-*` app)
area/self-hosting
Relates solely to users self-hosting HASH
category/bug
Something isn't working
priority/2 medium
Medium priority: needs to be done
Describe the bug
Fresh Debian VM with working docker. External services built and deployed successfully. Ran codegen and seed-data successfully. When I run
yarn dev
I receive the following and the front-end application is unable to connect to the API service:@apps/hash-api:dev: error: Ontology type is not external {"service":"api","stack":"Error: Ontology type is not external\n at <anonymous> (/root/hash/libs/@local/hash-backend-utils/src/create-graph-client.ts:97:31)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at createSystemPropertyTypeIfNotExists (/root/hash/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/util.ts:574:5)\n at migrate (/root/hash/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types/migrations/001-create-hash-system-types.migration.ts:23:39)\n at migrateOntologyTypes (/root/hash/apps/hash-api/src/graph/ensure-system-graph-is-initialized/migrate-ontology-types.ts:52:24)\n at ensureSystemGraphIsInitialized (/root/hash/apps/hash-api/src/graph/ensure-system-graph-is-initialized.ts:14:3)\n at main (/root/hash/apps/hash-api/src/index.ts:238:3)","status":{"code":"INVALID_ARGUMENT","contents":[],"message":"Ontology type is not external"}}
Only configuration changes are setting a front-end url to the VM's IP address, adding the IP to the allowed URL pattern, and adding a block protocol API key.
To reproduce
No response
Expected behavior
No response
Device
No response
Operating system
No response
Browser
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: