You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm getting a 500 Internal Server Error when creating a new base on a teable instance deployed in Fly.io.
I'm using Fly's unmanaged Postgres instance, it let me open the UI, add a new admin user and all, but when creating a new base I'm getting an Internal Server Error:
{"message":"Internal Server Error","status":500,"code":"internal_server_error"}
And in the app logs:
{"level":50,"time":1740305699153,"pid":644,"hostname":"e825104f713148","name":"teable","req":{"id":"7a7853a3a3ba257ae93728614da7920e","method":"POST","url":"/api/base","query":{},"params":{"0":"api/base"},"remoteAddress":"::ffff:172.16.33.26","remotePort":60122},"context":"GlobalExceptionFilter","url":"/api/base","message":"Cannot read properties of undefined (reading 'createSchema')","spanId":"cf198d3a64e48d42","traceId":"7a7853a3a3ba257ae93728614da7920e","msg":"TypeError: Cannot read properties of undefined (reading 'createSchema')\n at /app/apps/nestjs-backend/dist/index.js:34679:45\n at async Proxy._transactionWithCallback (/app/node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:130:7984)\n at async BaseController.createBase (/app/apps/nestjs-backend/dist/index.js:34170:16)"}
{"level":30,"time":1740305699158,"pid":644,"hostname":"e825104f713148","name":"teable","req":{"id":"7a7853a3a3ba257ae93728614da7920e","method":"POST","url":"/api/base","query":{},"params":{"0":"api/base"},"remoteAddress":"::ffff:172.16.33.26","remotePort":60122},"res":{"statusCode":500},"err":{"type":"Error","message":"failed with status code 500","stack":"Error: failed with status code 500\n at onResFinished (/app/node_modules/.pnpm/[email protected]/node_modules/pino-http/logger.js:114:39)\n at ServerResponse.onResponseComplete (/app/node_modules/.pnpm/[email protected]/node_modules/pino-http/logger.js:177:14)\n at /app/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/context-async-hooks/build/src/AbstractAsyncHooksContextManager.js:50:55\n at AsyncLocalStorage.run (node:async_hooks:335:14)\n at AsyncLocalStorageContextManager.with (/app/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/context-async-hooks/build/src/AsyncLocalStorageContextManager.js:33:40)\n at ServerResponse.contextWrapper (/app/node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@opentelemetry/context-async-hooks/build/src/AbstractAsyncHooksContextManager.js:50:32)\n at ServerResponse.emit (node:events:526:35)\n at ServerResponse.emit (node:domain:488:12)\n at onFinish (node:_http_outgoing:1005:10)\n at callback (node:internal/streams/writable:608:21)"},"responseTime":20,"spanId":"cf198d3a64e48d42","traceId":"7a7853a3a3ba257ae93728614da7920e","msg":"request errored"}
To Reproduce
Steps to reproduce the behavior:
Custom Dockerfile "merging" both the main & migrate images
Facing a similar issue myself since updating to the latest version yesterday.
Clicking on an existing base (or creating a new base) results in an error page. Accessing a particular table's url (domain.com/base/baseid/tableid) works just fine.
When faced with the error upon base creation, the base is still created (even though an error page is displayed)
EDIT: I think my issue is quite different from this one actually, please ignore this. I'll create a new issue.
Describe the bug
I'm getting a 500 Internal Server Error when creating a new base on a teable instance deployed in Fly.io.
I'm using Fly's unmanaged Postgres instance, it let me open the UI, add a new admin user and all, but when creating a new base I'm getting an Internal Server Error:
{"message":"Internal Server Error","status":500,"code":"internal_server_error"}
And in the app logs:
To Reproduce
Steps to reproduce the behavior:
start.sh:
migrate.sh
The release seems to go as it should, and definitely the schemas are being created since I'm able to create an user and navigate through the UI.
Additionally, the admin setting to disable sign ups is not working either (might be related, IDK)
Expected behavior
Being able to create a base.
Platform (Please tell us which deployment version you are using)
fly-io
The text was updated successfully, but these errors were encountered: