"An error has occured: no such column: bricktracker_parts.spare." after upgrade to 1.4.0 when viewing parts or sets. #148

Closed
opened 2026-04-17 01:52:15 +02:00 by commenter · 1 comment

Thanks for the latest update, all the new features look great!
I'm noticing that after upgrading from DB version 20 to 27 post 1.4.0 upgrade, I get this error message when opening /parts/ or any individual set:

An error has occured: no such column: bricktracker_parts.spare.

I'm unable to browse parts or view individual sets as a result. Minifigure views, and the pages individual parts and part lots (though I have no entries for individual parts or lots yet) seem unaffected.

I did use the check database integrity and optimize database features before actually looking at my collection and noting the issue so it's possible one of those new features are related.

I have subsequently added a new set and that does not resolve the issue, either.

Let me know what additional detail I can provide and I will grab and add to the ticket.

Thanks for the latest update, all the new features look great! I'm noticing that after upgrading from DB version 20 to 27 post 1.4.0 upgrade, I get this error message when opening /parts/ or any individual set: `An error has occured: no such column: bricktracker_parts.spare.` I'm unable to browse parts or view individual sets as a result. Minifigure views, and the pages individual parts and part lots (though I have no entries for individual parts or lots yet) seem unaffected. I did use the check database integrity and optimize database features before actually looking at my collection and noting the issue so it's possible one of those new features are related. I have subsequently added a new set and that does not resolve the issue, either. Let me know what additional detail I can provide and I will grab and add to the ticket.
Author

And solved:
BK_PARTS_DEFAULT_ORDER was using the old field names. I don't believe I had ever changed the default, so I think it just retained the old default rather than updating to the new default.

And solved: BK_PARTS_DEFAULT_ORDER was using the old field names. I don't believe I had ever changed the default, so I think it just retained the old default rather than updating to the new default.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: FrederikBaerentsen/BrickTracker#148