hcengineering / hcengineering/huly-selfhost

Workbench creation fails with "incorrect UUID length" on latest version

Open
#212 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
3.5k
Forks
469
PR merge metrics
No merged PRs in 30d

Description

Hello, I have successfully deployed the latest version of huly-selfhost.

The entire 15-container stack is running, the database is healthy, Nginx is configured, and user signup/login works.

However, when creating a new Workbench, the process fails. The log for the huly-workspace-1 container shows a fatal database error because the application is generating an invalid UUID. I have tried the community workaround of shortening DOCKER_NAME in the config, but the bug persists.

Here is the error log from the workspace container:

root@localhost:~/huly-selfhost# sudo docker logs -f huly-workspace-1
Logging also into console development true
{"level":"info","message":"####################################################################################################################","timestamp":"2025-09-25T13:13:46.898Z"}
{"level":"info","message":"########################SplitLogger workspace initialized: 2025-09-25T13:13:46.898Z###########################","timestamp":"2025-09-25T13:13:46.899Z"}
Migration cleanup is not set, so move to regions will not clean old DB.
Starting workspace service in region: DEFAULT for operation: all for version: 0.6.493 with brandings: {}
Please provide fulltext url to be able to clean fulltext index
{"level":"info","message":"Sending a handshake to the account service...","timestamp":"2025-09-25T13:13:46.903Z"}
(node:1) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
{"level":"info","message":"Successfully connected to the account service","timestamp":"2025-09-25T13:13:54.080Z"}
^Croot@localhost:~/huly-selfhostsudo docker logs -f huly-workspace-1-1
Logging also into console development true
{"level":"info","message":"####################################################################################################################","timestamp":"2025-09-25T13:13:46.898Z"}
{"level":"info","message":"########################SplitLogger workspace initialized: 2025-09-25T13:13:46.898Z###########################","timestamp":"2025-09-25T13:13:46.899Z"}
Migration cleanup is not set, so move to regions will not clean old DB.
Starting workspace service in region: DEFAULT for operation: all for version: 0.6.493 with brandings: {}
Please provide fulltext url to be able to clean fulltext index
{"level":"info","message":"Sending a handshake to the account service...","timestamp":"2025-09-25T13:13:46.903Z"}
(node:1) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
{"level":"info","message":"Successfully connected to the account service","timestamp":"2025-09-25T13:13:54.080Z"}
{"level":"info","message":"---CREATING----","mode":"pending-creation","region":"","timestamp":"2025-09-25T13:17:19.675Z","version":{"major":0,"minor":6,"patch":493},"workspace":"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847"}
load-table 45
{
message: 'failed to process sql',
error: 'error in argument for $1: could not parse "w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847',
cause: PostgresError: error in argument for $1: could not parse "w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847
at $D (/usr/src/app/bundle.js:704:270)
at cn (/usr/src/app/bundle.js:694:1431)
at Socket.pa (/usr/src/app/bundle.js:693:310110)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
severity_local: 'ERROR',
severity: 'ERROR',
code: '22P02',
detail: 'statement summary "SELECT * FROM model_tx"',
file: 'datum.go',
line: '266',
routine: 'MakeParseError'
}
}
{"err":{"code":"22P02","detail":"statement summary \"SELECT * FROM model_tx\"","file":"datum.go","line":"266","message":"error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847","name":"PostgresError","routine":"MakeParseError","severity":"ERROR","severity_local":"ERROR","stack":"PostgresError: error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\n at $D (/usr/src/app/bundle.js:704:270)\n at cn (/usr/src/app/bundle.js:694:1431)\n at Socket.pa (/usr/src/app/bundle.js:693:310110)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)"},"level":"error","message":"failed to initialize pipeline","timestamp":"2025-09-25T13:17:19.857Z","workspace":"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847"}
{"err":{"code":"22P02","detail":"statement summary \"SELECT * FROM model_tx\"","file":"datum.go","line":"266","message":"error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847","name":"PostgresError","routine":"MakeParseError","severity":"ERROR","severity_local":"ERROR","stack":"PostgresError: error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\n at $D (/usr/src/app/bundle.js:704:270)\n at cn (/usr/src/app/bundle.js:694:1431)\n at Socket.pa (/usr/src/app/bundle.js:693:310110)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)"},"level":"error","message":"error","mode":"pending-creation","timestamp":"2025-09-25T13:17:19.861Z"}
{"level":"error","message":"---CREATE-FAILED---------","mode":"pending-creation","region":"","time":190,"timestamp":"2025-09-25T13:17:19.862Z","version":{"major":0,"minor":6,"patch":493},"workspace":"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847"}
{"level":"info","message":"---CREATING----","mode":"creating","region":"","timestamp":"2025-09-25T13:17:49.937Z","version":{"major":0,"minor":6,"patch":493},"workspace":"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847"}
{
message: 'failed to process sql',
error: 'error in argument for $1: could not parse "w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847',
cause: PostgresError: error in argument for $1: could not parse "w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847
at $D (/usr/src/app/bundle.js:704:270)
at cn (/usr/src/app/bundle.js:694:1431)
at Socket.pa (/usr/src/app/bundle.js:693:310110)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
severity_local: 'ERROR',
severity: 'ERROR',
code: '22P02',
detail: 'statement summary "SELECT * FROM model_tx"',
file: 'datum.go',
line: '266',
routine: 'MakeParseError'
}
}
{"err":{"code":"22P02","detail":"statement summary \"SELECT * FROM model_tx\"","file":"datum.go","line":"266","message":"error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847","name":"PostgresError","routine":"MakeParseError","severity":"ERROR","severity_local":"ERROR","stack":"PostgresError: error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\n at $D (/usr/src/app/bundle.js:704:270)\n at cn (/usr/src/app/bundle.js:694:1431)\n at Socket.pa (/usr/src/app/bundle.js:693:310110)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)"},"level":"error","message":"failed to initialize pipeline","timestamp":"2025-09-25T13:17:49.975Z","workspace":"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847"}
{"err":{"code":"22P02","detail":"statement summary \"SELECT * FROM model_tx\"","file":"datum.go","line":"266","message":"error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847","name":"PostgresError","routine":"MakeParseError","severity":"ERROR","severity_local":"ERROR","stack":"PostgresError: error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\n at $D (/usr/src/app/bundle.js:704:270)\n at cn (/usr/src/app/bundle.js:694:1431)\n at Socket.pa (/usr/src/app/bundle.js:693:310110)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)"},"level":"error","message":"error","mode":"creating","timestamp":"2025-09-25T13:17:49.976Z"}
{"level":"error","message":"---CREATE-FAILED---------","mode":"creating","region":"","time":39,"timestamp":"2025-09-25T13:17:49.977Z","version":{"major":0,"minor":6,"patch":493},"workspace":"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847"}
{"level":"info","message":"---CREATING----","mode":"creating","region":"","timestamp":"2025-09-25T13:18:20.042Z","version":{"major":0,"minor":6,"patch":493},"workspace":"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847"}
{
message: 'failed to process sql',
error: 'error in argument for $1: could not parse "w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847',
cause: PostgresError: error in argument for $1: could not parse "w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847
at $D (/usr/src/app/bundle.js:704:270)
at cn (/usr/src/app/bundle.js:694:1431)
at Socket.pa (/usr/src/app/bundle.js:693:310110)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
severity_local: 'ERROR',
severity: 'ERROR',
code: '22P02',
detail: 'statement summary "SELECT * FROM model_tx"',
file: 'datum.go',
line: '266',
routine: 'MakeParseError'
}
}
{"err":{"code":"22P02","detail":"statement summary \"SELECT * FROM model_tx\"","file":"datum.go","line":"266","message":"error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847","name":"PostgresError","routine":"MakeParseError","severity":"ERROR","severity_local":"ERROR","stack":"PostgresError: error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\n at $D (/usr/src/app/bundle.js:704:270)\n at cn (/usr/src/app/bundle.js:694:1431)\n at Socket.pa (/usr/src/app/bundle.js:693:310110)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)"},"level":"error","message":"failed to initialize pipeline","timestamp":"2025-09-25T13:18:20.073Z","workspace":"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847"}
{"err":{"code":"22P02","detail":"statement summary \"SELECT * FROM model_tx\"","file":"datum.go","line":"266","message":"error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847","name":"PostgresError","routine":"MakeParseError","severity":"ERROR","severity_local":"ERROR","stack":"PostgresError: error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\n at $D (/usr/src/app/bundle.js:704:270)\n at cn (/usr/src/app/bundle.js:694:1431)\n at Socket.pa (/usr/src/app/bundle.js:693:310110)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)"},"level":"error","message":"error","mode":"creating","timestamp":"2025-09-25T13:18:20.074Z"}
{"level":"error","message":"---CREATE-FAILED---------","mode":"creating","region":"","time":33,"timestamp":"2025-09-25T13:18:20.074Z","version":{"major":0,"minor":6,"patch":493},"workspace":"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847"}
{"level":"info","message":"---CREATING----","mode":"creating","region":"","timestamp":"2025-09-25T13:18:50.132Z","version":{"major":0,"minor":6,"patch":493},"workspace":"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847"}
{
message: 'failed to process sql',
error: 'error in argument for $1: could not parse "w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847',
cause: PostgresError: error in argument for $1: could not parse "w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847
at $D (/usr/src/app/bundle.js:704:270)
at cn (/usr/src/app/bundle.js:694:1431)
at Socket.pa (/usr/src/app/bundle.js:693:310110)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TCP.onStreamRead (node:internal/stream_base_commons:189:23) {
severity_local: 'ERROR',
severity: 'ERROR',
code: '22P02',
detail: 'statement summary "SELECT * FROM model_tx"',
file: 'datum.go',
line: '266',
routine: 'MakeParseError'
}
}
{"err":{"code":"22P02","detail":"statement summary \"SELECT * FROM model_tx\"","file":"datum.go","line":"266","message":"error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847","name":"PostgresError","routine":"MakeParseError","severity":"ERROR","severity_local":"ERROR","stack":"PostgresError: error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\n at $D (/usr/src/app/bundle.js:704:270)\n at cn (/usr/src/app/bundle.js:694:1431)\n at Socket.pa (/usr/src/app/bundle.js:693:310110)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)"},"level":"error","message":"failed to initialize pipeline","timestamp":"2025-09-25T13:18:50.174Z","workspace":"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847"}
{"err":{"code":"22P02","detail":"statement summary \"SELECT * FROM model_tx\"","file":"datum.go","line":"266","message":"error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847","name":"PostgresError","routine":"MakeParseError","severity":"ERROR","severity_local":"ERROR","stack":"PostgresError: error in argument for $1: could not parse \"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\" as type uuid: uuid: incorrect UUID length: w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847\n at $D (/usr/src/app/bundle.js:704:270)\n at cn (/usr/src/app/bundle.js:694:1431)\n at Socket.pa (/usr/src/app/bundle.js:693:310110)\n at Socket.emit (node:events:518:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)"},"level":"error","message":"error","mode":"creating","timestamp":"2025-09-25T13:18:50.176Z"}
{"level":"error","message":"---CREATE-FAILED---------","mode":"creating","region":"","time":44,"timestamp":"2025-09-25T13:18:50.176Z","version":{"major":0,"minor":6,"patch":493},"workspace":"w-vaibhavsriva-astrounaut-68d540dc-ddfdb85d2e-4e4847"}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.