Database (shares, albums, etc.) are lost on upgrade
See original GitHub issueDescribe the bug I’m running piGallery2 via Docker. DB mounted to the host:
version: '3'
services:
pigallery2:
image: bpatrik/pigallery2:nightly-alpine
volumes:
- /volume1/hosting/piGallery2/config:/app/data/config
- /volume1/hosting/piGallery2/db-data:/app/data/db
- /volume1/pix/Photos_Personal:/app/data/images:ro
- /volume1/hosting/piGallery2/cache:/app/data/tmp
environment:
NODE_ENV: production
Every time I pull new version of the image and restart the container - all my shares are lost.
I can’t point to exact builds Now I’m on commit f2ab96faaf0593319912fb0da737b6d50f45ac67. I’ll recreate few shares now and we’ll try later with another version in a few days again.
Can the issue be because I’m using nightly builds? Will shares be preserved if I use LATEST tag for Docker image instead?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Top 7 Solutions to Fix the Shared Albums Not Working Issue
In that case, you can go to use a new sharing link. 5. Disable and re-enable the Shared Albums feature by going to...
Read more >Shared albums are no more visible on the iMac
I see you are having an issue with having lost access to shared albums using iCloud Photos on a Mac. As the albums...
Read more >create logical albums by selecting multiple photos by ticking ...
As an PiGallery2 administrator I'd like to be able to select multiple photos in order to create a virtual album of them that...
Read more >PSA: Don't use shared albums if you want to share full quality ...
With shared albums, I can just upload them to the album, everyone can look at them, view them, favorite them etc, and then...
Read more >Top 4 Ways to Fix Photos Missing after iOS 16/15 Update
There are a few solutions to overcome this issue and recover lost photos ... After I upgraded to iOS 16, all of my...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
unfortunately, yes. There are no upgrade scripts implemented.
It is the same / related issue to: https://github.com/bpatrik/pigallery2/issues/301#issuecomment-846375804
closing this due to inactivity. Feel free to reopen if you think otherwise.