Titles lost after running Setup

Hello,

From time to time, my website host changes the MySQL version.
I have to rerun the setup.

After redoing the setup and putting the site back online, some of my VR album titles were replaced by
"charset = Ascii {"info":{"gyro_stabilized":true,"initial_view_changed":fal "
Some images keep their titles.

The involved album contains copies of images from other albums (for pc or smartphones)
I would like to understand why and how to prevent this in the future.

Comments

  • acrylian Administrator, Developer

    No idea where this comes from. Actually re-running setup should not change data…

    That is a Js/json array apparently and it looks as if this comes from some image metadata perhaps?

  • ctdlg Member
    edited 2:30PM

    Problem comes from metadata:

    adminedit.php, Metadata section shows :

    Modèle d’appareil: insta360 oners
    Titre de l’image: IMG_20230914_162848_00_492.insp
    Date et heure de la prise de vue: 09/15/2023 16:46
    Date et heure originale de la prise de vue: 09/14/2023 16:28

    IMG_20230914_162848_00_492.insp is the name that replaces the title, in french only, english and german titiles are emptied.

    Description, tags, codeblocks are kept (no change.)
    Only some titles.
    Only in my VR album. VR cameras (insta )

    Encoding problem ? metadata from my camera ?
    I do not know.

    If I erase all exif data in my localhost VR album images,
    Then I replace those images online,
    will I keep my titles, description, or will zenphoto think they are new images ?

  • acrylian Administrator, Developer

    Only some titles.
    Only in my VR album. VR cameras (insta )

    Hm, did/can you look at the metadata titles of these albums? Do they store anything unusal as the title?

    Maybe try to refresh the metadata on one problematic image manually and see what happens then.

    Also please look at Options > Image > Metadata refresh behaviour there you can generally prevent updates on title+description or all metadata (as tags could be involved, too). That had been added quite a while ago as you might want to refresh without loosing the main fields usually edited manually after importing.

    I still don't know why this should be updated via setup run… I could only imagine some file/folder permission issues and problems to read images somehow so they are always re-read.

    If I erase all exif data in my localhost VR album images,
    Then I replace those images online,
    will I keep my titles, description, or will zenphoto think they are new images ?

    As long as you directly overwrite the files with the same named files Zenphoto should not consider them new because they are already in the database. To be on the sure side do this step by step. Just in case…

    Also be sure to close your site for visitors during that as there is always a tiny moment the image is missing and if someone or bot catches that it might fail.

Sign In or Register to comment.