-
Notifications
You must be signed in to change notification settings - Fork 169
Hard Error: No such column IsSharedAlbum #495
Comments
any updates? I can no longer run gphotos-sync as it fails every time when syncing albums. |
This isn’t a constantly updated repo. I think you need to be patient and wait. Did you try a previous revision or commit and see if that works as you want it to? |
Thanks. Good suggestion. I rolled back to 3.2.3 and the hard-error went away. So it seems to be an issue that was introduced in 3.2.4. As far as the issue regarding not syncing new pictures from shared albums (albums not owned by me, but shared with me), it seems this issue has been open for a few years, and is related to when the --omit-album-date parameter is used. I hate leaving --rescan on (because of the time it takes), but for now, that seems to be the only way to reliably sync shared albums. I'd love to see this addressed in the future. |
This field was added in 4d36985 and apparently there was no update path. 🤔 |
Any recommendations? Should I stick on 3.2.3 for now? Wait for resolution? Or should I upgrade to 3.2.4 and redownload/rebuild everything (and if so, what parameter should I add to force this to happen?) |
Stick with |
Sorry only just saw this - that's not good - I'll have to take a look on the weekend and get a fix out. Clearly my system test CI is not covering everything. |
My apologies for the delay. My day job is just way too interesting right now and is eating my weekend coding time. This issue is my bad, I accepted #492 which is a good piece of work but I did not consider that it is changing the schema of the index database. Luckily the fix is really easy. gphotos-sync --flush-inde <my_photos_folder> Will cause the index to be completely regenerated. This will take a little bit of extra time but the index is intentionally just a cache to speed things up and holds no unique information. If for any reason that does not work then rm <my_photos_folder>/gphotos.sqlite I'll put a warning in the README about this too. |
I am having 2 issues with gphotos-sync. The first issue is that it doesnt pick up new photos added to shared albums. I have to add parameter --rescan to force it to happen.
The second issue occured in my most recent run. I received a hard error "no such column: IsSharedAlbum". My compose file and error log are included below.
Subset of error log (end of file)
The text was updated successfully, but these errors were encountered: