pulsejet / memories

Fast, modern and advanced photo management suite. Runs as a Nextcloud app.
https://memories.gallery
GNU Affero General Public License v3.0
3.11k stars 83 forks source link

Do I need to re-index all media when updating memories from 5.4.1 to latest? #974

Closed akhil1508 closed 9 months ago

akhil1508 commented 9 months ago

This is neither a bug report nor a feature request, but I couldn't find info on this by quickly searching (Apologies for inconvenience if any)

pulsejet commented 9 months ago

IIRC there were some indexing errors in timezones with earlier versions, plus the new fields are needed for the Android app to work correctly. A forced index can happen in the background and shouldn't affect normal usage of the app (no downtime). Just make sure you only run a single thread with -f

Unless you run the forced index, the already uploaded media won't be re-indexed. Any new media would be fine, though. Also I recommend upgrading with the cli because the migration can be very slow.

akhil1508 commented 9 months ago

@pulsejet Thank you for the quick response! Sounds great to hear that this isn't blocking the update :)

A forced index can happen in the background and shouldn't affect normal usage of the app

The length of the liveid column in two tables was changed from 256 to 128. Does this affect the feature even before re-indexing is completed?

pulsejet commented 9 months ago

LiveID is practically never that long so it shouldn't matter (the migration would take care of it). IIRC some databases don't like columns longer than 255, which is why this change.

akhil1508 commented 9 months ago

@pulsejet Perfect, Thanks! Can close this issue as all is clear now.