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

Exporting and Importing do not link files correctly #927

Open
3 tasks done
dantnad opened this issue Feb 19, 2024 · 0 comments
Open
3 tasks done

Exporting and Importing do not link files correctly #927

dantnad opened this issue Feb 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dantnad
Copy link

dantnad commented Feb 19, 2024

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

Currently I am self-hosting AnyType using the any-sync-dockercompose repo which means that sometimes when there are significant changes I need to export my data in order to recreate an account using the new network configuration. However I've noticed that each time I export using Any-block even though I tick to export with files when I create a new account and import the zip file I just created most of the files are not imported correctly, specially with images. This means that most of the time I end up going through the files folder and watching the images/files and going to the corresponding page to re-upload them where they belong. Not a huge problem but it is pretty awful when exporting and re-importing after making significant chages while self-hosting.

Expected Behavior

Importing Any-Block should be able to correctly link the images and files to their corresponding pages.

Steps To Reproduce

  1. Export your space and select any-block and tick all of the options available:
  2. Log out of your account and create a new account (specially after changing the network file)
  3. After creating the new account and deleting the default data attempt to re-import the zip you've created.
  4. Check the pages where files or images were uploaded (specially for example covers and avatars) everything other than attachments usually import correctly but any media isn't correctly linked to the pages in the backup

Environment

- OS: macOS Sonoma 14.2
- Version: 0.38.0

Self Host information:
- OS: Ubuntu Server 22.04
- Docker version 25.0.3, build 4debf41
- Docker Compose version v2.13.0
        "pkg::any-sync-coordinator": "0.3.0",
        "pkg::any-sync-node": "0.3.3",
        "pkg::any-sync-consensusnode": "0.1.1",
        "pkg::any-sync-filenode": "0.4.1"

Anything else?

No response

@dantnad dantnad added the bug Something isn't working label Feb 19, 2024
@dantnad dantnad changed the title Exporting and Importing does not link files correctly Exporting and Importing do not link files correctly Feb 19, 2024
@ra3orblade ra3orblade transferred this issue from anyproto/anytype-ts Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant