View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0010682 | Taler | merchant backend | public | 2025-11-28 15:23 | 2025-11-28 16:41 |
| Reporter | Bohdan | Assigned To | Bohdan | ||
| Priority | immediate | Severity | block | Reproducibility | always |
| Status | assigned | Resolution | open | ||
| Product Version | 1.2 | ||||
| Target Version | git (master) | ||||
| Summary | 0010682: Well I did a shitty job, and migration from previous to new version doesn't work :) | ||||
| Description | 2025-11-28 14:14:36.320 UTC [73909] taler-merchant-httpd@taler-merchant ERROR: function encode(jsonb, unknown) does not exist at character 167 2025-11-28 14:14:36.320 UTC [73909] taler-merchant-httpd@taler-merchant HINT: No function matches the given name and argument types. You might need to add explicit type casts. 2025-11-28 14:14:36.320 UTC [73909] taler-merchant-httpd@taler-merchant QUERY: resolved_body := replace_placeholder(resolved_body, 'old_description_i18n', encode(OLD.description_i18n, 'escape')) 2025-11-28 14:14:36.320 UTC [73909] taler-merchant-httpd@taler-merchant CONTEXT: PL/pgSQL function handle_inventory_changes() line 117 at assignment 2025-11-28 14:14:36.320 UTC [73909] taler-merchant-httpd@taler-merchant STATEMENT: UPDATE merchant_inventory SET image_hash = CASE WHEN (image IS NULL) OR (image = '') THEN NULL ELSE encode( digest( convert_to(image, 'UTF8'), 'sha256' ), 'hex' ) END; root@debian-instalation-tutorial:~# taler-merchant-httpd --version taler-merchant-httpd v1.2.2-git-ad2aa9a The good thing is that I figured out that migration from the old to the new version really works, that bug can be closed, but some fallback to the old version if the migration fails might be a good thing to have | ||||
| Steps To Reproduce | IDK, have my database, and run taler-merchant-dbconfig and it fails... | ||||
| Tags | No tags attached. | ||||