Skip to content

[Bug] Image can't load if FQDN changes during data migration #1592

@dotcooler

Description

@dotcooler

Describe the bug

Images cannot load if FQDN changes if modified URL after a new deployment.

To Reproduce
Steps to reproduce the behavior:

1st way:

  1. deploy Appflowy_cloud and change FQDN=xx.yy.zz in .env
  2. new a doc as test, and upload image A in the test page.
  3. undeploy Appflowy_cloud and backup data(postgres_data ,minio_data ) to a new server
  4. deploy Appflowy_cloud and change FQDN=aa.bb.cc in .env
  5. access by aa.bb.cc, can see image A can not be loaded

2nd way:

  1. deploy Appflowy_cloud and change FQDN=xx.yy.zz in .env
  2. new a doc as test, and upload image A in the test page.
  3. access by localhost:80 and view test page, image A can not be loaded.

Expected behavior

access by aa.bb.cc url image A can show in test page, but test page image can not load.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions