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.56k stars 2.63k forks source link

​Exporting AFFiNE into HTMl and Importing into another AFFiNE #6041

Open Jycreyn opened 6 months ago

Jycreyn commented 6 months ago

What happened?

All in the title.

Is it possible ?

Seems not, because I don't have images after import.

Thanks in advance

Distribution version

Linux

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

Chrome

Are you self-hosting?

Relevant log output

No response

Anything else?

No response

EYHN commented 6 months ago

Try the latest beta version?

https://github.com/toeverything/AFFiNE/releases/tag/v0.13.0-beta.0

If you still can't import html with images in the beta version, please let me know 🙏

affine-issue-bot[bot] commented 6 months ago

Issue Status: 🔍 Under Investigation

🔍 Under Investigation

We’ve triaged the issue, but now we need to investigate it more thoroughly. This may require processing additional information like logs or dumps.

This is an automatic reply by the bot.

Jycreyn commented 6 months ago

Try the latest beta version?

https://github.com/toeverything/AFFiNE/releases/tag/v0.13.0-beta.0

If you still can't import html with images in the beta version, please let me know 🙏

Hello,

How to ?

I'm using, canary tag in my docker compose.

Thanks

EYHN commented 6 months ago

try upgrade your docker, follow this document:

https://docs.affine.pro/docs/self-host-affine#upgrade-your-self-hosted-affine

Jycreyn commented 6 months ago

image

Jycreyn commented 6 months ago

@EYHN

Untitled page, and image failed.

image

I'm exporting in HTML unzip and importe with HTML button.

is this the good way ?

EYHN commented 6 months ago

Yes, you do the right way.

I also reproduced it, it seems to be a bug

@fourdim can you take a look

fourdim commented 6 months ago

Yes, it is a bug, and I'm already working on it. Please note that converting from AFFiNE to html and then AFFiNE is lossy, we are going to provide you an alternative way in the future.