Comments (14)
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.
from affine.
Me too
from affine.
first of all, the data won't be touched at all during the upgrading
you could run yarn prisma studio
in your container and expose port 5555
to host server, to check is the data there, especially the User
, Snapshot
tables
from affine.
@forehalo How to restore my data to affine?
from affine.
@forehalo How to restore my data to affine?
make sure you signed in the correct account which owns the workspace that you said "lost". the records in User
table may help
from affine.
@forehalo How to restore my data to affine?
make sure you signed in the correct account which owns the workspace that you said "lost". the records in
User
table may help
@forehalo @zoverdoser
I looked at the snapshot using yarn prisma studio
A workspace was indeed added today
Finally, I adjusted the workspace permission in the WorkspaceUserPermission, selected the original workspace, and returned to normal
from affine.
@forehalo How to restore my data to affine?
make sure you signed in the correct account which owns the workspace that you said "lost". the records in
User
table may help
I'm sure I signed in the correct account. There are 2 users in the records in User
table, which I created before. But the create time of my account has been updated. Looks like a new account had been created and replaced my account.
from affine.
@forehalo How to restore my data to affine?
make sure you signed in the correct account which owns the workspace that you said "lost". the records in
User
table may helpI'm sure I signed in the correct account. There are 2 users in the records in
User
table, which I created before. But the create time of my account has been updated. Looks like a new account had been created and replaced my account.
@zoverdoser
I'm a new user like you
you can try to select the specified user and owned workspace in the WorkspaceUserPermission, and you should be able to resume work
from affine.
@LIHAQ All the 'user's value in the WorkspaceUserPermission are set to my account. But my workspaces still don't show up in my affine.
from affine.
@LIHAQ All the 'user's value in the WorkspaceUserPermission are set to my account. But my workspaces still don't show up in my affine.
First, check whether the original workspace exists
If so, check the User and workspace in the WorkspaceUserPermission, respectively
If not, then I can't help much here, because it is different from the problem I encountered.
from affine.
@LIHAQ The original workspaces exist.
But I logged in to my affine, and found this.
from affine.
@LIHAQ The original workspaces exist.
But I logged in to my affine, and found this.
there should be one record with type 99
in WorkspaceUserPermission
table for each workspace
for example
// User table
id | |
---|---|
user a | [email protected] |
// Workspace table
id |
---|
workspace a |
// WorkspaceUserPermission table
id | workspaceId | userId | type |
---|---|---|---|
p1 | workspace a | user a | 99 |
from affine.
@forehalo This works. I manually added some records and got back my workspaces. Type 10 should be workspace members.
from affine.
good to hear it! I will double check the upgrading logic to avoid such condition later on
from affine.
Related Issues (20)
- yarn dev with debug blocksuite locally error HOT 1
- Self hosted affine workspace created in web not showing in mac desktop app HOT 3
- Altless Zoom HOT 3
- Multi-language support HOT 2
- Self-hosted affine(table-412b919) cannot start properly. HOT 3
- Notion Import Freezing HOT 2
- Selfhosted docker stable version still 14.0 nightly HOT 3
- Created time is greater than Updated time HOT 1
- 默认粘贴上去的文本在一个段落中,无法调整格式 HOT 1
- [bug]- OIDC login url is wrong at selfhost HOT 1
- Issue with Node backend startup: TypeError: Symbol.asyncDispose is not defined on Windows 10 with Node 20.x HOT 2
- Login Problem with Locally Hosted Affine without Docker HOT 3
- Hopefully Affine will provide the ability to create copies of files. HOT 1
- Extend the search scope of Affine's “Quick Search” function to the contents of “shape” in endless mode. HOT 1
- Edgeless mode very laggy in latest update HOT 3
- Copying is not working from Affine HOT 2
- 想将其他网页中的文章粘贴在文档中,复制的文章中如果有图片,图片在文档中会无法显示 HOT 1
- Why there can be only 3 users per Workspace in Affine self-hosted version? HOT 2
- markopolo top HOT 2
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 affine.