waha icon indicating copy to clipboard operation
waha copied to clipboard

GOWS session logout automatically using latest version also unable to add session name

Open ChangBangKok opened this issue 1 year ago • 5 comments

[05:46:17.703] ERROR (7): [Session/68dfc73b381d1/Client/Storage] Error getting message status@broadcast(A58174A0D28B82228D61994CEBBB37EF): All attempts fail: {"engine":"gows"} [05:46:23.163] ERROR (7): [Session/684933295a3fa/Client/Storage] Error getting message [email protected](A5557409DFAC0C12D6F0944E35FE6E90): All attempts fail: {"engine":"gows"} [05:46:24.929] ERROR (7): [Session/68464a0197ac5/Client/Storage] Error getting message [email protected](A578F35F62DFBF0109A4C83251E0DE79): All attempts fail: {"engine":"gows"} [05:46:29.387] ERROR (7): [Session/687e38e9062b8/Client/Storage] Error getting message [email protected](AC13EF18060C05F28CE580B81E4EC122): All attempts fail: {"engine":"gows"} [05:46:30.519] ERROR (7): [Session/68c135f2f1897/Client/Storage] Error getting message [email protected](3FB10B3804B9778C9923): All attempts fail: {"engine":"gows"} [05:46:30.984] ERROR (7): [Session/68832f5bea7c5/Client/Storage] Error getting message [email protected](3EB05B9851B4B2DB5F183B): All attempts fail: {"engine":"gows"} [05:46:30.990] ERROR (7): [Session/68832f5bea7c5/Client/Storage] Error getting message [email protected](3EB09CAA642B2AE94DB8D6): All attempts fail: {"engine":"gows"} [05:46:32.435] ERROR (7): [Session/68c135f2f1897/Client/Storage] Error getting message [email protected](3FB297D0DB6B600E5FAE): All attempts fail: {"engine":"gows"} [05:46:32.715] ERROR (7): [Session/687e38e9062b8/Client/Storage] Error getting message [email protected](ACCC7C80B958DC01799F294B00C9EA76): All attempts fail: {"engine":"gows"} [05:46:34.382] ERROR (7): [Session/68832f5bea7c5/Client/Storage] Error getting message [email protected](3EB00EF3E1D0AC4A57DA2E): All attempts fail: {"engine":"gows"} [05:46:36.034] ERROR (7): [Session/687e38e9062b8/Client/Storage] Error getting message [email protected](AC5B1D8C570C0DB7D26AEAC3F738F6FF): All attempts fail: {"engine":"gows"} [05:46:39.395] ERROR (7): [Session/6849588de3a0b/Client/Storage] Error getting message [email protected](3ADD3A46304799483FE3): All attempts fail: {"engine":"gows"} [05:46:39.395] WARN (7): [Session/6902ff882a30c/Client] Error decrypting message AC3E607672F8E028C1EF154A634737A7 from [email protected] in status@broadcast: failed to decrypt group message: no sender key state for key ID 738103945 {"engine":"gows"} [05:46:40.615] ERROR (7): [Session/684958dfef2f0/Client/Storage] Error getting message [email protected](3ADD3A46304799483FE3): All attempts fail: {"engine":"gows"} [05:46:50.084]

{ "statusCode": 500, "timestamp": "2025-11-05T07:40:21.203Z", "exception": { "message": "CREATE DATABASE "waha_gows_deep" - template database "template1" has a collation version mismatch", "length": 422, "name": "error", "severity": "ERROR", "code": "XX000", "detail": "The template database was created using collation version 2.36, but the operating system provides version 2.41.", "hint": "Rebuild all objects in the template database that use the default collation and run ALTER DATABASE template1 REFRESH COLLATION VERSION, or build PostgreSQL with the right library version.", "file": "dbcommands.c", "line": "1247", "routine": "createdb", "stack": "error: CREATE DATABASE "waha_gows_deep" - template database "template1" has a collation version mismatch\n at Parser.parseErrorMessage (/app/node_modules/pg-protocol/dist/parser.js:285:98)\n at Parser.handlePacket (/app/node_modules/pg-protocol/dist/parser.js:122:29)\n at Parser.parse (/app/node_modules/pg-protocol/dist/parser.js:35:38)\n at Socket. (/app/node_modules/pg-protocol/dist/index.js:11:42)\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)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)" },

ChangBangKok avatar Nov 05 '25 07:11 ChangBangKok

root@vmi2627094:~# docker logs root-postgres-1 2>&1 | grep -i error 2025-11-05 05:51:11.971 UTC [12368] ERROR: invalid byte sequence for encoding "UTF8": 0x00 2025-11-05 05:51:11.975 UTC [12368] ERROR: invalid byte sequence for encoding "UTF8": 0x00 2025-11-05 05:52:13.899 UTC [15714] ERROR: invalid byte sequence for encoding "UTF8": 0x00 2025-11-05 06:01:55.512 UTC [54039] ERROR: invalid byte sequence for encoding "UTF8": 0x00 2025-11-05 06:07:26.808 UTC [65183] ERROR: invalid byte sequence for encoding "UTF8": 0x00 2025-11-05 06:07:26.840 UTC [65183] ERROR: invalid byte sequence for encoding "UTF8": 0x00 2025-11-05 06:12:36.885 UTC [75457] ERROR: value too long for type character varying(100) 2025-11-05 06:12:36.893 UTC [75457] ERROR: value too long for type character varying(100) 2025-11-05 06:36:14.986 UTC [120321] ERROR: template database "template1" has a collation version mismatch 2025-11-05 07:01:31.105 UTC [166530] ERROR: value too long for type character varying(100) 2025-11-05 07:35:24.673 UTC [224286] ERROR: template database "template1" has a collation version mismatch 2025-11-05 07:40:21.202 UTC [231919] ERROR: template database "template1" has a collation version mismatch

ChangBangKok avatar Nov 05 '25 08:11 ChangBangKok

+1

patron:PLUS

iatila avatar Nov 05 '25 10:11 iatila

template database "template1" has a collation version mismatch

It's PostgreSQL issue, not waha

  • https://github.com/devlikeapro/waha/issues/1446
  • https://github.com/devlikeapro/waha/issues/1380

patron:PRO

devlikepro avatar Nov 05 '25 11:11 devlikepro

Try this https://github.com/devlikeapro/waha/issues/1446#issuecomment-3368865695

I ran this on the database:
ALTER DATABASE template1 refresh collection version;
and on the other databases too and now it works

patron:PRO

devlikepro avatar Nov 05 '25 11:11 devlikepro

Now working

ChangBangKok avatar Nov 05 '25 12:11 ChangBangKok