mirror of
https://github.com/photoprism/photoprism.git
synced 2026-03-02 22:57:18 -05:00
Lost title after reindexed #271
Labels
No labels
ai
android
api
auth
awesome
bug
bug
ci
cli
config
database
declined
deprecated
docker
docs 📚
documents
duplicate
easy
enhancement
enhancement
enhancement
epic
faces
feedback wanted
frontend
hacktoberfest
help wanted
idea
in-progress
incomplete
index
invalid
ios
labels
live
live
low-priority
macos
member-feature
metadata
mobile
nas
needs-analysis
no-coding-required
no-coding-required
observability
performance
places
please-test
plus-feature
priority
pro-feature
question
raspberry-pi
raw
released
released
released
research
resolved
security
sharing
tested
tests
third-party-issue
thumbnails
upgrade
upstream-issue
ux
vector
video
waiting
won't fix
won't fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/photoprism#271
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tam-wh on GitHub (May 22, 2020).
Originally assigned to: @lastzero on GitHub.
The first time i indexed my photos, it puts the location name into keywords and also using the location name for the title.
After re-indexed, the location name is now removed from the keywords and the title. If there were no labels on the photo, the title will become "Unknown"
@lastzero commented on GitHub (May 22, 2020):
Did you originally import your photos? We don't extract keywords from original names after indexing the first time so that users can remove them if needed. They would otherwise come back every time you index.
In addition, we moved some fields so that users can now enjoy descriptions in the card view and photo viewer. So the data is still there, but in the wrong table. Automatic migrations can't fix this. It's some manual work to recover it if your really need to.
However, it would be best to start with a fresh database once we have a stable release that we can provide smoother upgrades for. See #319.
Please always have a backup when testing our development version or do so in read only mode :)
@tam-wh commented on GitHub (May 22, 2020):
No, I use photoprism in read only mode. The location name as in streets/country name extracted from gps information. Here's how to reproduce the issue (I have reset all database and config files)
Property of one of the image
Property of the same image
@lastzero commented on GitHub (May 22, 2020):
In this case I'm sorry not to have a quick answer. If you don't find the solution in the meantime, I'll debug it with you as soon as I'm done with albums.
@tam-wh commented on GitHub (May 22, 2020):
I believe it has to be this code. Since if the photo is reindexed, the photo will already contains a title hence photo.NoTitle() will return false and photo.UpdateLocation will not run.
@lastzero commented on GitHub (May 22, 2020):
Think I can see the same on the demo, going to fix it ASAP.
@tam-wh commented on GitHub (May 22, 2020):
thanks! I was in the process of forking, making some changes and rebuilding the docker image for testing :) Probably faster on your end since building the docker images took forever
@tam-wh commented on GitHub (May 23, 2020):
Tested latest docker image and this bug is now fixed. thanks!