Database error! An error has occured: near "name": syntax error. #135

Closed
opened 2026-01-25 18:20:31 +01:00 by m_fife · 7 comments

I'm trying to get BrickTracker setup on my Unraid Server. Currently I'm able to add sets, however, when I add them, none of the pictures show up - just question marks. Additionally, when I attempt to open a set, I receive "Database error!
An error has occured: near "name": syntax error." when I click on it. Any help would be greatly appreciated! Thanks.

I'm trying to get BrickTracker setup on my Unraid Server. Currently I'm able to add sets, however, when I add them, none of the pictures show up - just question marks. Additionally, when I attempt to open a set, I receive "Database error! An error has occured: near "name": syntax error." when I click on it. Any help would be greatly appreciated! Thanks.
FrederikBaerentsen added the Unraid label 2026-01-25 19:03:30 +01:00
Owner

I unfortunately don't use Unraid and I have no idea how its Docker implementation is. I would suggest you look at some of the older issues regarding Unraid (https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker/issues?type=all&state=all&labels=68).

Unraid is not officially supported.

I unfortunately don't use Unraid and I have no idea how its Docker implementation is. I would suggest you look at some of the older issues regarding Unraid (https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker/issues?type=all&state=all&labels=68). Unraid is not officially supported.
Author

I’ll keep working on it, lots of repeat stuff in the logs like “ WARNING:bricktracker.views.error:Not found: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. (path: /static/minifigures/nil_mf.jpg)”

I’m not sure why it is looking there, all the paths dropped the static? Is there somewhere else to configure it?

I’ll keep working on it, lots of repeat stuff in the logs like “ WARNING:bricktracker.views.error:Not found: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. (path: /static/minifigures/nil_mf.jpg)” I’m not sure why it is looking there, all the paths dropped the static? Is there somewhere else to configure it?
Owner

How are you running it in Unraid? Are you using an existing template or setting up your own Docker container?

Please take a look at #132 (comment), as it might help.

How are you running it in Unraid? Are you using an existing template or setting up your own Docker container? Please take a look at https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker/issues/132#issuecomment-1223, as it might help.
Author

Figured it out.. the parts sort SQL command had a typo in it! Awesome app, sorry for the trouble!

Figured it out.. the parts sort SQL command had a typo in it! Awesome app, sorry for the trouble!
Owner

What did you change it to? Maybe i can fix it in the code.

What did you change it to? Maybe i can fix it in the code.

I have BK_PARTS_DEFAULT_ORDER currently set to "rebrickable_parts"."color_name" ASC, "rebrickable_parts"."name" ASC but I don't know what the default was before I changed it.

I have `BK_PARTS_DEFAULT_ORDER` currently set to `"rebrickable_parts"."color_name" ASC, "rebrickable_parts"."name" ASC` but I don't know what the default was before I changed it.
Owner

Defaults are:

  • 1.3.1: Default: "rebrickable_parts"."name" ASC, "rebrickable_parts"."color_name" ASC, "bricktracker_parts"."spare" ASC
  • 1.4: Default: "rebrickable_parts"."name" ASC, "rebrickable_parts"."color_name" ASC, "combined"."spare" ASC

Closing this for now. Feel free to comment or reopen if they defaults doesn't work.

Defaults are: - 1.3.1: `Default: "rebrickable_parts"."name" ASC, "rebrickable_parts"."color_name" ASC, "bricktracker_parts"."spare" ASC` - 1.4: `Default: "rebrickable_parts"."name" ASC, "rebrickable_parts"."color_name" ASC, "combined"."spare" ASC` Closing this for now. Feel free to comment or reopen if they defaults doesn't work.
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: FrederikBaerentsen/BrickTracker#135