View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0010802 | Taler | deployment and operations | public | 2025-12-17 23:11 | 2025-12-20 10:48 |
| Reporter | vecirex | Assigned To | vecirex | ||
| Priority | urgent | Severity | text | Reproducibility | always |
| Status | assigned | Resolution | open | ||
| Summary | 0010802: For TOPS/CHF (test and deployment): ToS missing | ||||
| Description | Ticket 0010711, but for taler.hacktivism.ch and my.taler-ops.ch: I got instructions from fdold how to do this properly. This should go like this; to /etc/taler-merchant/merchant-overrides.conf add this to the section shown: [merchant] TERMS_ETAG = merchant-tos-tops-v0 TERMS_DIR = ${TALER_DATA_HOME}terms/ Then, this: $ taler-terms-generator -i /usr/share/taler-merchant/terms/merchant-tos-tops-v0.en.rst -o "$(taler-merchant-config -f -s merchant -o terms_dir)" | ||||
| Tags | No tags attached. | ||||
|
|
Meh, installing the taler-exchange as a whole just to get taler-exchange-config seems overkill, esp. in production env: taler-merchant-httpd@bcead3ae4f5e:/usr/local/bin$ taler-terms-generator -i /usr/share/taler-merchant/terms/merchant-tos-tops-v0.en.rst -o "$(taler-merchant-config -f -s merchant -o terms_dir)" /usr/bin/taler-terms-generator: line 29: taler-exchange-config: command not found Must look into this after sleep, to avoid messing up setups now! :) |
|
|
Possible solution could be to get the tool from an installation where taler-exchange gets installed, getting it from there when needed. |
|
|
Any objection to this, Florian? I think the best solution would be to have taler-exchange-config as a separate package, mid-term / later. For now, I suggest the following: 1. Install taler-exchange in, e.g., a minimal podman instance. 2. Make taler-exchange-config available for the outer or other containerized system only configured to run a taler-merchant, then run your command above to generate the ToS files; if libs are needed, those can of course be installed, but the whole taler-exchange is seriously overkill; also having custom compiles around... well, ehm, not in production perhaps? 3. If ToS change, upgrade the env having the taler-exchange package installed and thus taler-exchange-config available, repeat 2. I will try this approach for taler.hacktivism.ch first, installing, e.g., taler-exchange to a podman instance, if you think that's fine / you don't oppose / ship another solution which is also good for a production env. |
|
|
That's going way over board, we just need to fix taler-terms-generator to not invoke taler-exchange-config anymore, it's just used for getting defaults for various switches in the first place. |
|
|
It is, and CG went for doing that taler-exchange-config alone (with respective deps) can be installed as a dependency to taler-merchant in next upgrade, so that no further changes are needed. On my side, I go for installing taler-exchange in a container and generate the ToS there; given I wanted to start taler-exchange testing for running event currencies (as done by Datenspuren 2024/2025) and regional currencies (as event currencies, but (more) permanent), this fits anyways. CG suggested to copy the generated ToS files to test & prod envs, for now. Will do this. |
|
|
Assign back to me, solution found. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-12-17 23:11 | vecirex | New Issue | |
| 2025-12-17 23:11 | vecirex | Status | new => assigned |
| 2025-12-17 23:11 | vecirex | Assigned To | => vecirex |
| 2025-12-17 23:12 | vecirex | Relationship added | related to 0010711 |
| 2025-12-17 23:41 | vecirex | Note Added: 0027093 | |
| 2025-12-17 23:43 | vecirex | Note Edited: 0027093 | |
| 2025-12-17 23:48 | vecirex | Note Added: 0027094 | |
| 2025-12-18 20:30 | vecirex | Note Added: 0027104 | |
| 2025-12-18 20:36 | vecirex | Note Edited: 0027104 | |
| 2025-12-18 20:36 | vecirex | Assigned To | vecirex => Florian Dold |
| 2025-12-18 20:37 | vecirex | Note Edited: 0027104 | |
| 2025-12-18 20:39 | vecirex | Note Edited: 0027104 | |
| 2025-12-19 13:12 | Florian Dold | Note Added: 0027133 | |
| 2025-12-20 10:46 | vecirex | Note Added: 0027145 | |
| 2025-12-20 10:46 | vecirex | Assigned To | Florian Dold => vecirex |
| 2025-12-20 10:46 | vecirex | Note Added: 0027146 | |
| 2025-12-20 10:48 | vecirex | Note Edited: 0027145 |