Site Migration - Custom field connections are gone

Support General Site Migration - Custom field connections are goneResolved

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #38675
    VlhhVlhh
    Participant

    Migrating from shared hosting to vps (lightsail) that is managed via ServerAvatar and noticed the custom fields are not connected to the posts.

    First I tried backing up / restoring with wpvivid: They are messed up

    Then manual migration (copy wp-content folder, export/import database and connecting it via wp-config.php): They are messed up

    Now clean install again and using wordpress native export/import tool: They are messed up

    In any of these cases if I try to edit any of the field groups on the new site, they just keep loading. "Loading fields, please wait..."

    I've lost like 12 working hours so far trying to solve this. At some point I was thinking that maybe it has something to do with the db charsets as they differ between the WordPress intallations. https://stackoverflow.com/questions/71540009/mysqldump-import-into-db-with-different-charset-from-unicode-520-ci-to-utf8mb4 (Not sure if this is related at all. It's just one of the few google results regarding migration between exactly same database charsets that I am working with)

    But then again after doing the native WordPress export/import and failing on that as well made me think that the charsets probably have nothing to with the issue.

    Could you please provide some assistance? I am seriously losing my mind here.

    #38677
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Can you please export a field group to JSON file and share it here? I will help you to check the issue. Refer to this documentation https://docs.metabox.io/extensions/meta-box-builder/#export--import

    #38692
    VlhhVlhh
    Participant

    Hi Long,

    I gave a quick try for the export/import functionality but it seems that I'm only getting two field groups with same name and clicking either one of them causes the same infinite load. (see image attached)

    Here is the JSON file: https://e1.pcloud.link/publink/show?code=XZiTa8ZVl7oaSJQ6o8XvowTqepXTbFc5Aey

    And image from custom field groups after import: https://e1.pcloud.link/publink/show?code=XZGTa8ZyqoJWXmVf4BpH1Be1KE2dSWMUWf7

    #38699
    Long NguyenLong Nguyen
    Moderator

    Hi,

    I don't see any issue after importing the field group to my local site, here is the screen record vhttps://monosnap.com/file/99k5WYnENnSLZOd1G4AKKAwANSE7q8

    Can you please delete two field groups on your site and import one then check this issue again?

    #38703
    VlhhVlhh
    Participant

    Hi,

    The thing is if I even create a new custom post field group, it doesn't load and I can't add new fields. This is how google chrome console looks like when I'm accessing any of them:

    https://e1.pcloud.link/publink/show?code=XZl3a8ZfHIDbGyoe7QOOTnwzFrVny9E1iWX
    https://e1.pcloud.link/publink/show?code=XZq3a8Z77xhBe91k7bQ2PV7XUadD42icYvX
    https://e1.pcloud.link/publink/show?code=XZt3a8ZaWFQnapcCwbS4QXcnQGVfXlYfOMX

    Could you btw please remove the video you just posted as it has some of my dev site urls on it?

    Thanks

    #38706
    VlhhVlhh
    Participant

    Hi Long,

    It seems this was most likely to do with LiteSpeed Cache. I contacted my VPS service provider due the 404 errors. Creating and editing custom fields works now again.

    Thanks for your assistance.

    #38710
    Long NguyenLong Nguyen
    Moderator

    Great.
    Let me know if you have any questions.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.