Comments (2)
请问是什么方式安装 ,什么数据库 ,能否报错截图 ?
from nocobase.
docker安装,数据库mysql:8,报错信息如下:
2023-08-27 20:19:00 error: Validation error {"app":"main","errors":[{"instance":null,"message":"PRIMARY must be unique","origin":"DB","path":"PRIMARY","type":"unique violation","validatorArgs":[],"validatorKey":"not_unique","validatorName":null,"value":"cdlu27chtk4"}],"fields":{"PRIMARY":"cdlu27chtk4"},"headers":{"Access-Control-Allow-Origin":"http://localhost:13000","Access-Control-Expose-Headers":"content-disposition","vary":"Origin"},"name":"SequelizeUniqueConstraintError","original":{"code":"ER_DUP_ENTRY","errno":1062,"sql":"INSERT INTO uiSchemas (
x-uid,
name,
schema) VALUES ('mygw89afc7g', 'tabBar', '{\\\"_isJSONSchemaObject\\\":true,\\\"version\\\":\\\"2.0\\\",\\\"type\\\":\\\"void\\\",\\\"x-component\\\":\\\"MTabBar\\\",\\\"x-component-props\\\":{}}'),('sbd2oc8bj8g', '7mqji2eya2t', '{\\\"_isJSONSchemaObject\\\":true,\\\"version\\\":\\\"2.0\\\",\\\"type\\\":\\\"void\\\",\\\"x-component\\\":\\\"MTabBar.Item\\\",\\\"x-designer\\\":\\\"MTabBar.Item.Designer\\\",\\\"x-component-props\\\":{\\\"icon\\\":\\\"HomeOutlined\\\",\\\"title\\\":\\\"{{t(\\'Untitled\\', { ns: \\'mobile-client\\', nsMode: \\'fallback\\' })}}\\\"}}'),('cdlu27chtk4', 'page', '{\\\"_isJSONSchemaObject\\\":true,\\\"version\\\":\\\"2.0\\\",\\\"type\\\":\\\"void\\\",\\\"x-designer\\\":\\\"MPage.Designer\\\",\\\"x-component\\\":\\\"MPage\\\",\\\"x-component-props\\\":{},\\\"x-index\\\":1}'),('6emip1vppgr', 'grid', '{\\\"_isJSONSchemaObject\\\":true,\\\"version\\\":\\\"2.0\\\",\\\"type\\\":\\\"void\\\",\\\"x-component\\\":\\\"Grid\\\",\\\"x-initializer\\\":\\\"MBlockInitializers\\\",\\\"x-component-props\\\":{\\\"showDivider\\\":false},\\\"x-index\\\":1}');","sqlMessage":"Duplicate entry 'cdlu27chtk4' for key 'uiSchemas.PRIMARY'","sqlState":"23000"},"parent":{"code":"ER_DUP_ENTRY","errno":1062,"sql":"INSERT INTO uiSchemas (
x-uid,
name,
schema) VALUES ('mygw89afc7g', 'tabBar', '{\\\"_isJSONSchemaObject\\\":true,\\\"version\\\":\\\"2.0\\\",\\\"type\\\":\\\"void\\\",\\\"x-component\\\":\\\"MTabBar\\\",\\\"x-component-props\\\":{}}'),('sbd2oc8bj8g', '7mqji2eya2t', '{\\\"_isJSONSchemaObject\\\":true,\\\"version\\\":\\\"2.0\\\",\\\"type\\\":\\\"void\\\",\\\"x-component\\\":\\\"MTabBar.Item\\\",\\\"x-designer\\\":\\\"MTabBar.Item.Designer\\\",\\\"x-component-props\\\":{\\\"icon\\\":\\\"HomeOutlined\\\",\\\"title\\\":\\\"{{t(\\'Untitled\\', { ns: \\'mobile-client\\', nsMode: \\'fallback\\' })}}\\\"}}'),('cdlu27chtk4', 'page', '{\\\"_isJSONSchemaObject\\\":true,\\\"version\\\":\\\"2.0\\\",\\\"type\\\":\\\"void\\\",\\\"x-designer\\\":\\\"MPage.Designer\\\",\\\"x-component\\\":\\\"MPage\\\",\\\"x-component-props\\\":{},\\\"x-index\\\":1}'),('6emip1vppgr', 'grid', '{\\\"_isJSONSchemaObject\\\":true,\\\"version\\\":\\\"2.0\\\",\\\"type\\\":\\\"void\\\",\\\"x-component\\\":\\\"Grid\\\",\\\"x-initializer\\\":\\\"MBlockInitializers\\\",\\\"x-component-props\\\":{\\\"showDivider\\\":false},\\\"x-index\\\":1}');","sqlMessage":"Duplicate entry 'cdlu27chtk4' for key 'uiSchemas.PRIMARY'","sqlState":"23000"},"reqId":"29f0d09b-d283-412b-8870-83b688c611c5","sql":"INSERT INTO uiSchemas (
x-uid,
name,
schema) VALUES ('mygw89afc7g', 'tabBar', '{\\\"_isJSONSchemaObject\\\":true,\\\"version\\\":\\\"2.0\\\",\\\"type\\\":\\\"void\\\",\\\"x-component\\\":\\\"MTabBar\\\",\\\"x-component-props\\\":{}}'),('sbd2oc8bj8g', '7mqji2eya2t', '{\\\"_isJSONSchemaObject\\\":true,\\\"version\\\":\\\"2.0\\\",\\\"type\\\":\\\"void\\\",\\\"x-component\\\":\\\"MTabBar.Item\\\",\\\"x-designer\\\":\\\"MTabBar.Item.Designer\\\",\\\"x-component-props\\\":{\\\"icon\\\":\\\"HomeOutlined\\\",\\\"title\\\":\\\"{{t(\\'Untitled\\', { ns: \\'mobile-client\\', nsMode: \\'fallback\\' })}}\\\"}}'),('cdlu27chtk4', 'page', '{\\\"_isJSONSchemaObject\\\":true,\\\"version\\\":\\\"2.0\\\",\\\"type\\\":\\\"void\\\",\\\"x-designer\\\":\\\"MPage.Designer\\\",\\\"x-component\\\":\\\"MPage\\\",\\\"x-component-props\\\":{},\\\"x-index\\\":1}'),('6emip1vppgr', 'grid', '{\\\"_isJSONSchemaObject\\\":true,\\\"version\\\":\\\"2.0\\\",\\\"type\\\":\\\"void\\\",\\\"x-component\\\":\\\"Grid\\\",\\\"x-initializer\\\":\\\"MBlockInitializers\\\",\\\"x-component-props\\\":{\\\"showDivider\\\":false},\\\"x-index\\\":1}');","stack":"Error\n at Query.run (/app/nocobase/node_modules/sequelize/lib/dialects/mysql/query.js:52:25)\n at /app/nocobase/node_modules/sequelize/lib/sequelize.js:315:28\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at async _UiSchemaRepository.insertNewSchema (/app/nocobase/node_modules/@nocobase/plugin-ui-schema-storage/dist/server/repository.js:579:5)\n at async _UiSchemaRepository.descriptor.value (/app/nocobase/node_modules/@nocobase/plugin-ui-schema-storage/dist/server/repository.js:52:16)\n at async _UiSchemaRepository.insertAdjacent (/app/nocobase/node_modules/@nocobase/plugin-ui-schema-storage/dist/server/repository.js:531:32)\n at async _UiSchemaRepository.descriptor.value (/app/nocobase/node_modules/@nocobase/plugin-ui-schema-storage/dist/server/repository.js:44:27)\n at async insertAdjacent (/app/nocobase/node_modules/@nocobase/plugin-ui-schema-storage/dist/server/actions/ui-schema-action.js:57:16)\n at async middleware (/app/nocobase/node_modules/@nocobase/plugin-workflow/dist/server/triggers/form.js:25:5)\n at async /app/nocobase/node_modules/@nocobase/plugin-china-region/dist/server/index.js:30:9","timestamp":"2023-08-27T12:18:59.998Z"}
客户端错误显示如下:
from nocobase.
Related Issues (20)
- kanban workflow trigger
- Problem with calendar title and turn page HOT 1
- sqlite 数据库时间慢8小时 HOT 1
- 特殊格式文本在表格视图、编辑视图无法显示 / Text with special characters cannot be shown in table view / edit view HOT 3
- 表格中多行文本后日期/时间被遮挡 HOT 3
- 将某个字段的默认值设置成日期变量,保存表单时出现错误提示。 HOT 1
- REQ: dav carddav caldav
- 插件编写完成 并调试成功后无法build
- 日历表开始和结束时间要怎么配置?
- Possible bug in data scope
- git升级到最新版( v0.19.0-alpha.9), 安装sqlite版, 报错“SQLITE_ERROR: Cannot add a UNIQUE column” HOT 1
- git升级到最新版( v0.19.0-alpha.9),重启服务器,进入死循环 一直打印错误,急 HOT 2
- 还原功能错误,提示error: unknown command 'restore' HOT 3
- workflow插件 定时任务 时间现在乱了 不按设定执行 HOT 8
- plugin migration not working with pluginVersion field. HOT 2
- 对用户(user)表的权限控制 不起作用
- 快照字段无法 新建 HOT 1
- 角色对Main数据源的权限 不起作用,改一个角色其他都变 HOT 2
- 树表格使用 子记录(children)会报错 HOT 2
- Quick search in formula field HOT 1
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 nocobase.