View Issue Details

IDProjectCategoryView StatusLast Update
0010992Talerdeployment and operationspublic2026-02-05 18:06
Reportervecirex Assigned Tovecirex Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
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.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

related to 0010970 closedvecirex Link to terms broken in Merchant BackOffice 

Activities

vecirex

2026-02-04 18:32

administrator   ~0027568

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

vecirex

2026-02-05 16:35

administrator   ~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 17:16

administrator   ~0027599

Last edited: 2026-02-05 17: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 17:19

administrator   ~0027600

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

vecirex

2026-02-05 17:21

administrator   ~0027601

Reassign to me, vanished before by mistake.

vecirex

2026-02-05 17:28

administrator   ~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 18:01

administrator   ~0027603

Last edited: 2026-02-05 18: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 ModifiedUsernameFieldChange
2026-02-04 18:03vecirexNew Issue
2026-02-04 18:07vecirexAssigned To => vecirex
2026-02-04 18:07vecirexStatusnew => assigned
2026-02-04 18:07vecirexDescription Updated
2026-02-04 18:21vecirexSummaryUpgrade 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 18:31vecirexRelationship addedrelated to 0010970
2026-02-04 18:32vecirexNote Added: 0027568
2026-02-05 16:32vecirexAssigned Tovecirex =>
2026-02-05 16:35vecirexSummaryUpgrade 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 16:35vecirexNote Added: 0027598
2026-02-05 16:36vecirexDescription Updated
2026-02-05 17:16vecirexNote Added: 0027599
2026-02-05 17:17vecirexNote Edited: 0027599
2026-02-05 17:19vecirexSummaryUpgrade 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 17:19vecirexNote Added: 0027600
2026-02-05 17:21vecirexAssigned To => vecirex
2026-02-05 17:21vecirexNote Added: 0027601
2026-02-05 17:28vecirexNote Added: 0027602
2026-02-05 18:01vecirexNote Added: 0027603
2026-02-05 18:01vecirexFile Added: talersticker-backoffice-spa-zlg-nach-ugprade_backend-v1-3-1+spa-v1-3-4.jpg
2026-02-05 18:01vecirexFile Added: talersticker-ios--zlg-nach-ugprade_backend-v1-3-1+spa-v1-3-4.jpg
2026-02-05 18:01vecirexFile Added: talersticker-android--zlg-nach-ugprade_backend-v1-3-1+spa-v1-3-4.jpg
2026-02-05 18:04vecirexNote Edited: 0027603
2026-02-05 18:06vecirexStatusassigned => closed
2026-02-05 18:06vecirexResolutionopen => fixed