View Issue Details

IDProjectCategoryView StatusLast Update
0010992Talerdeployment and operationspublic2026-02-05 19:06
Reportervecirex Assigned Tovecirex  
PriorityhighSeveritytrivialReproducibilityhave not tried
Status closedResolutionfixed 
Summary0010992: Upgrade TOPS/CHF merchant in prod from v1.2.6 to v1.3.1 (as in TOPS/CHF stage)
DescriptionMerchant backend version v1.3.1 (with backoffice SPA version v1.3.4, so slightly higher patch version) works fine in stage, upgrade prod to it. Backup first; SQL scheme migrations might also be needed. Look into talersticker if everything behaves fine, do a donation payment to talersticker. If necessary, check SQL DB.
TagsNo tags attached.

Relationships

related to 0010970 closedvecirex Link to terms broken in Merchant BackOffice 

Activities

vecirex

2026-02-04 19:32

manager   ~0027568

Address by this work also 0010970 or report if there are (still) issues.

vecirex

2026-02-05 17:35

manager   ~0027598

Fix title:

Backend version is, btw, v1.3.1 (what you see invoking taler-merchant-httpd --verision) and backoffice SPA version already is v1.3.4 (which can be seen in the merchant web interface or on the system here: /usr/share/taler-merchant/spa/version.txt) : I got this wrong first, thought versioning between both components was harmonized.

vecirex

2026-02-05 18:16

manager   ~0027599

Last edited: 2026-02-05 18:17

I tried first to upgrade TOPS/CHF test platform taler.hacktivism.ch from v1.3.0 of the backend to v1.3.1, given stage is already installed with v1.3.1.

Given that between v1.2.6 and 1.3.0 I didn't experience any issues on the hacktivism platform, I did assume jumping in production from v1.2.6 to v1.3.1 should also work.

Only thing I realized is that DB scheme changed from v1.3.0 to v1.3.1 (between v1.2.6 and v1.3.0 it didn't change), such that taler-merchant-dbinit needed to be run as $USER in order to be able to start the services again, this being taler-merchant-httpd on all instance involved. The Operator's Manual suggests to anyhow always run this command, such as to avoid critical-looking errors with DB connection errors, even though if such errors appear it's also made clear in the error logs that taler-merchant-dbinit should be run, which is also documented to always do: https://docs.taler.net/taler-merchant-manual.html#upgrade-procedure

The following steps do the job and should always work to upgrade a merchant; as root:

systemctl stop taler-merchant.target # Safer to stop the taler-merchant-* server components.
... psql backups were done by psql_dump and psql_dumpall (under clean circumstances redundant, but easier for a raw import should other tables exist) ...
apt-get update
apt-get upgrade
# Confirming then to upgrade taler-merchant package and dependencies

As $USER for the backend, this being taler-merchant-httpd, these steps were required:

# From root
su - taler-merchant-httpd -s /bin/bash # Being root, with no login shell defined by default for taler-merchant-httpd / $USER.
taler-merchant-dbinit # No output is good.

# Again as root
exit # Assuming being user taler-merchant-httpd
systemctl start taler-merchant.target

# Check status of taler-merchant-httpd(.service); as root
systemctl status taler-merchant-httpd

should show the service running again.

# Check journalctl for unit taler-merchant-httpd(.service); as root
journalctl -u taler-merchant-httpd

# Try an instance to make sure things are most probably sane
I was already logged in to talersticker, which is used for public wallet testing and couldn't see any obvious issues, as for what concerns data availability.

vecirex

2026-02-05 18:19

manager   ~0027600

Make title clearer, as it was not immediately clear of which prod system we're talking about.

vecirex

2026-02-05 18:21

manager   ~0027601

Reassign to me, vanished before by mistake.

vecirex

2026-02-05 18:28

manager   ~0027602

(Re-)Logins and actual CHF test payments on TOPS/CHF test platform taler.hacktivism.ch and my.taler-ops.ch (this first), now both running merchant version v1.3.1 and backoffice SPA v1.3.4 underway... make sure core functionality works for sure!

vecirex

2026-02-05 19:01

manager   ~0027603

Last edited: 2026-02-05 19:04

Good, also relogin w/ either email or SMS. Same applies for taler.hacktivism.ch which is still used to show-case Taler payments to interested folks.

Issue History

Date Modified Username Field Change
2026-02-04 19:03 vecirex New Issue
2026-02-04 19:07 vecirex Assigned To => vecirex
2026-02-04 19:07 vecirex Status new => assigned
2026-02-04 19:07 vecirex Description Updated
2026-02-04 19:21 vecirex Summary Upgrade prod v1.2.6 to v1.3.4 (as in TOPS/CHF stage/test) => Upgrade prod v1.2.6 to v1.3.4 (as in TOPS/CHF stage)
2026-02-04 19:31 vecirex Relationship added related to 0010970
2026-02-04 19:32 vecirex Note Added: 0027568
2026-02-05 17:32 vecirex Assigned To vecirex =>
2026-02-05 17:35 vecirex Summary Upgrade prod v1.2.6 to v1.3.4 (as in TOPS/CHF stage) => Upgrade prod v1.2.6 to v1.3.1 (as in TOPS/CHF stage)
2026-02-05 17:35 vecirex Note Added: 0027598
2026-02-05 17:36 vecirex Description Updated
2026-02-05 18:16 vecirex Note Added: 0027599
2026-02-05 18:17 vecirex Note Edited: 0027599
2026-02-05 18:19 vecirex Summary Upgrade prod v1.2.6 to v1.3.1 (as in TOPS/CHF stage) => Upgrade TOPS/CHF merchant in prod from v1.2.6 to v1.3.1 (as in TOPS/CHF stage)
2026-02-05 18:19 vecirex Note Added: 0027600
2026-02-05 18:21 vecirex Assigned To => vecirex
2026-02-05 18:21 vecirex Note Added: 0027601
2026-02-05 18:28 vecirex Note Added: 0027602
2026-02-05 19:01 vecirex Note Added: 0027603
2026-02-05 19:01 vecirex File Added: talersticker-backoffice-spa-zlg-nach-ugprade_backend-v1-3-1+spa-v1-3-4.jpg
2026-02-05 19:01 vecirex File Added: talersticker-ios--zlg-nach-ugprade_backend-v1-3-1+spa-v1-3-4.jpg
2026-02-05 19:01 vecirex File Added: talersticker-android--zlg-nach-ugprade_backend-v1-3-1+spa-v1-3-4.jpg
2026-02-05 19:04 vecirex Note Edited: 0027603
2026-02-05 19:06 vecirex Status assigned => closed
2026-02-05 19:06 vecirex Resolution open => fixed