Skip to content
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

​Self hosted version : What's the process for duplicating AFFiNE Cloud data to initialize a new self-hosted instance? #8164

Open
1 task done
Abdoulaye-Sayouti opened this issue Sep 8, 2024 · 3 comments

Comments

@Abdoulaye-Sayouti
Copy link

What happened?

I encountered an issue with my Ubuntu machine where I was self-hosting AFFiNE, necessitating the recreation of the three containers: PostgreSQL, Redis, and AFFiNE self-host. Upon completion, I was presented with the admin sign-up page. However, I was unable to log in using my previous credentials and couldn't find a way to recover my existing work.
I'm interested in knowing whether AFFiNE Cloud data is stored locally on the disk, if there's a method to check for the presence of previous data, and if it's possible to reconnect to the workspace that generated this data.
Additionally, it would be beneficial if the data could be synchronized with iCloud or Google Drive. This would allow users to simply connect to their cloud storage to retrieve their data, mitigating the risk of data loss in the event of local machine issues.

Distribution version

Linux

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

Firefox

Are you self-hosting?

  • Yes

Relevant log output

No response

Anything else?

Ubuntu : 24.04
image

@affine-issue-bot
Copy link

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.

@emerikaji
Copy link

You could have a look directly inside the PostgreSQL database, since this is where Affine stores all of its data and configuration. At the very least, this will allow you to figure out if data has been lost or if it's just an access issue.

@forehalo
Copy link
Member

you can run yarn prisma studio in affine selfhost container and take a look at the data of your instances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 *Untriaged
Development

No branches or pull requests

3 participants