toeverything / AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
https://affine.pro
Other
40.37k stars 2.6k forks source link

​self hosted can not copy/cut #7970

Closed ybbhai closed 2 weeks ago

ybbhai commented 2 weeks ago

What happened?

after configuring server

  1. create a new cloud workspace;
  2. create a new organization;
  3. create a new file;
  4. edit this file, and then select the content and execute copy/cut, invalid

Distribution version

Linux

What browsers are you seeing the problem on if you're using web version?

Microsoft Edge

Are you self-hosting?

Relevant log output

[Nest] 133  - 08/26/2024, 3:05:24 AM   ERROR [GraphQL] Internal server error
affine_selfhosted  | GraphQLError: Unknown type "QueryChatHistoriesInput".
affine_selfhosted  |     at Object.NamedType (/app/node_modules/graphql/validation/rules/KnownTypeNamesRule.js:65:11)
affine_selfhosted  |     at Object.enter (/app/node_modules/graphql/language/visitor.js:301:32)
affine_selfhosted  |     at Object.enter (/app/node_modules/graphql/utilities/TypeInfo.js:391:27)
affine_selfhosted  |     at visit (/app/node_modules/graphql/language/visitor.js:197:21)
affine_selfhosted  |     at validate (/app/node_modules/graphql/validation/validate.js:91:24)
affine_selfhosted  |     at processGraphQLRequest (/app/node_modules/@apollo/server/dist/cjs/requestPipeline.js:101:61)
affine_selfhosted  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
affine_selfhosted  |     at async internalExecuteOperation (/app/node_modules/@apollo/server/dist/cjs/ApolloServer.js:635:16)
affine_selfhosted  |     at async runHttpQuery (/app/node_modules/@apollo/server/dist/cjs/runHttpQuery.js:135:29)
affine_selfhosted  |     at async runPotentiallyBatchedHttpQuery (/app/node_modules/@apollo/server/dist/cjs/httpBatching.js:37:16)
affine_selfhosted  | [Nest] 133  - 08/26/2024, 3:05:24 AM   ERROR [GraphQL] Internal server error
affine_selfhosted  | GraphQLError: Cannot query field "copilot" on type "UserType".
affine_selfhosted  |     at Object.Field (/app/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js:51:13)
affine_selfhosted  |     at Object.enter (/app/node_modules/graphql/language/visitor.js:301:32)
affine_selfhosted  |     at Object.enter (/app/node_modules/graphql/utilities/TypeInfo.js:391:27)
affine_selfhosted  |     at visit (/app/node_modules/graphql/language/visitor.js:197:21)
affine_selfhosted  |     at validate (/app/node_modules/graphql/validation/validate.js:91:24)
affine_selfhosted  |     at processGraphQLRequest (/app/node_modules/@apollo/server/dist/cjs/requestPipeline.js:101:61)
affine_selfhosted  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
affine_selfhosted  |     at async internalExecuteOperation (/app/node_modules/@apollo/server/dist/cjs/ApolloServer.js:635:16)
affine_selfhosted  |     at async runHttpQuery (/app/node_modules/@apollo/server/dist/cjs/runHttpQuery.js:135:29)
affine_selfhosted  |     at async runPotentiallyBatchedHttpQuery (/app/node_modules/@apollo/server/dist/cjs/httpBatching.js:37:16)

Anything else?

No response

affine-issue-bot[bot] commented 2 weeks ago

Issue Status: 🆕 *Untriaged

*🆕 Untriaged**

The team has not yet reviewed the issue. We usually do it within one business day. Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.

forehalo commented 2 weeks ago

duplicated https://github.com/toeverything/AFFiNE/issues/6984