View Issue Details

IDProjectCategoryView StatusLast Update
0007801Talerdeployment and operationspublic2023-09-23 13:09
Reporterhbarnard Assigned Tojavier.sepulveda 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
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.9.1 
Target Version0.9.3Fixed in Version0.9.3 
Summary0007801: Deployment fails at last step
DescriptionRunning deployment/netzbon/main.sh, finally it fails with:
`
TALER: Launching exchange
Created symlink /etc/systemd/system/multi-user.target.wants/taler-exchange.target → /lib/systemd/system/taler-exchange.target.
TALER: Waiting for exchange HTTP service (/config)...
TALER: DONE
TALER: Waiting for exchange management keys (this may take a while)...
TALER: DONE
TALER: Offline interaction...
2023-04-12T15:23:02.918130+0000 taler-exchange-offline-28437 WARNING Did NOT detect response `<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/1.22.0 (Ubuntu)</center>
</body>
</html>
' as JSON
2023-04-12T15:23:02.918277+0000 taler-exchange-offline-28437 ERROR Unexpected response code 404/10 for exchange management get keys
2023-04-12T15:23:02.918295+0000 taler-exchange-offline-28437 ERROR Failed to download keys from `http://exchange.bank-in-a-box.net/': The response we got from the server was not even in JSON format. (HTTP status: 404/10)
`
Maybe because I decided not to use https?
Steps To Reproduce1. Clone deployment onto an Ubuntu 22.10 server
2. Run ./main.sh
3. Say no to TLS question
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2023-04-12 19:46

manager   ~0020082

Florian, I remember you mentioning something about a missing nginx symlink for sites-available that might explain this. If this could be it, which Git version was this fixed in?

Christian Grothoff

2023-04-12 19:46

manager   ~0020083

@hbarnard : We did quite a few changes even *today* to the netzbon script. Could you please report the exact Git version you used?

hbarnard

2023-04-13 10:23

reporter   ~0020084

Just wiped and recreated an Ubuntu 22.10 VM, apt update etc. git clone deployment repo from 13/4 and run the install, it looks 'good', so please close this one and thanks:

TALER: Exchange setup finished
TALER: Launching taler-merchant-httpd
Created symlink /etc/systemd/system/multi-user.target.wants/taler-merchant-httpd.service → /lib/systemd/system/taler-merchant-httpd.service.
TALER: Congratulations, you have successfully installed GNU Taler
TALER: Your bank is at https://bank.bank-in-a-box.net/
TALER: A merchant is at https://backend.bank-in-a-box.net/
TALER: You should set credentials for the merchant soon.

Florian Dold

2023-04-13 10:48

manager   ~0020085

Great, marking this as resolved.

Christian Grothoff

2023-04-13 18:22

manager   ~0020091

Last edited: 2023-04-13 18:23

Maybe we should extend the netzbon script to first *test* if the distro is the right one? Javier: can you write a test for this and add it to the top of the main script?

javier.sepulveda

2023-04-19 11:22

reporter   ~0020121

dev/javier-sepulveda/netzbon-tls
netzbon/check-distro.sh
Tested the whole branch from scratch (new instance Ubuntu 22.10) and works okay.
The new files {check-distro,check-services}.sh and config_journald.sh, work okay.
We can now manually add --new supported distros to the file "distros-supported.txt"
Pending merge by Florian.

Issue History

Date ModifiedUsernameFieldChange
2023-04-12 15:33hbarnardNew Issue
2023-04-12 19:45Christian GrothoffAssigned To => Florian Dold
2023-04-12 19:45Christian GrothoffStatusnew => assigned
2023-04-12 19:46Christian GrothoffNote Added: 0020082
2023-04-12 19:46Christian GrothoffNote Added: 0020083
2023-04-13 10:23hbarnardNote Added: 0020084
2023-04-13 10:48Florian DoldStatusassigned => informing
2023-04-13 10:48Florian DoldResolutionopen => fixed
2023-04-13 10:48Florian DoldNote Added: 0020085
2023-04-13 18:22Christian GrothoffNote Added: 0020091
2023-04-13 18:23Christian GrothoffAssigned ToFlorian Dold => javier.sepulveda
2023-04-13 18:23Christian GrothoffNote Edited: 0020091
2023-04-13 18:23Christian GrothoffStatusinforming => assigned
2023-04-13 19:51Florian DoldTarget Version => 0.9.3
2023-04-14 12:31Florian DoldCategoryother => deployment and operations
2023-04-19 11:22javier.sepulvedaStatusassigned => informing
2023-04-19 11:22javier.sepulvedaNote Added: 0020121
2023-09-23 13:07Christian GrothoffFixed in Version => 0.9.3
2023-09-23 13:09Christian GrothoffStatusinforming => closed