-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cubejs/cube:v0.35.11 results in Model files not found errors #8213
Labels
docs
Issues that require a documentation improvement
Comments
@alyssakelley |
The solution is updating cube.js in the root of the image to be something similar to:
and then making sure the volume mount is updated in the cube-api deployment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When we use any version of cubejs/cube past v0.35.10, our cube deployment results in the following errors:
"error": "Error: Model files not found. Please make sure the "model" directory exists and contains model files.",
"stack": "Error: Model files not found. Please make sure the "model" directory exists and contains model files.\n at FileRepository.getFiles (/cube/node_modules/@cubejs-backend/shared/src/FileRepository.ts:31:13)\n at FileRepository.dataSchemaFiles (/cube/node_modules/@cubejs-backend/shared/src/FileRepository.ts:46:19)\n at DataSchemaCompiler.doCompile (/cube/node_modules/@cubejs-backend/schema-compiler/src/compiler/DataSchemaCompiler.js:81:19)\n at CompilerApi.getCompilers (/cube/node_modules/@cubejs-backend/server-core/src/core/CompilerApi.js:67:26)\n at CompilerApi.metaConfig (/cube/node_modules/@cubejs-backend/server-core/src/core/CompilerApi.js:221:23)\n at ApiGateway.load (/cube/node_modules/@cubejs-backend/api-gateway/src/gateway.ts:1597:30)\n at /cube/node_modules/@cubejs-backend/api-gateway/src/gateway.ts:257:7"
We are deploying cube to aks following a similar chart structure as what is documented here: https://github.com/cube-js/cube/tree/master/examples/kubernetes/cluster
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect the api results to come back with valid data from our ConfigMap that was specified in the query parameter of the call.
Screenshots
If applicable, add screenshots to help explain your problem.
Version:
v0.35.11 through latest does not work
Example cube.js file in root
The text was updated successfully, but these errors were encountered: