PhotoPrism, Part Six

PhotoPrism, Part Six
Photo by Markus Spiske / Unsplash

So last night I was playing around in PhotoPrism and re-indexed my images. Half disappeared. Each time I ran an index half would be removed. It turns out the container was no longer writing to the network mount, but to the local disk instead. I'm guessing that happened when I updated PhotoPrism. I'll need to be cautious when doing that next time. Probably need to reboot the server after any updates? Wouldn't be a big deal to do that. So here is what I had to do this morning to get things going again:
Steps performed on PHOTOPRISM-01

  • sudo docker-compose down
  • umount /mnt/pictures

After unmounting I see there are some random folders for 2016, 2022, and 2023 under the /mnt/pictures folder even though the mount has been severed.

  • mv -R /mnt/pictures /mnt/pictures.old
  • sudo mount -a
  • cp -R /mnt/pictures.old/2016 /mnt/pictures
  • cp -R /mnt/pictures.old/2022 /mnt/pictures
  • cp -R /mnt/pictures.old/2023 /mnt/pictures
  • cd /home/david/photoprism
  • sudo docker-compose up -d

Running an index now pulls everything back together. That's good. I think I am OK with the folder structure being a little wonky for the moment. There's very little to be gained from messing with it honestly. I think what I would be more interested in would be a way to edit the metadata of the pictures so that it can be carried with the photographs regardless of the app being used. What's a good metadata editor for photos?