View Issue Details

IDProjectCategoryView StatusLast Update
0007801Talerdeployment and operationspublic2023-09-23 15:09
Reporterhbarnard Assigned Tojavier.sepulveda  
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.

Activities

Christian Grothoff

2023-04-12 21: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 21: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 12: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 12:48

manager   ~0020085

Great, marking this as resolved.

Christian Grothoff

2023-04-13 20:22

manager   ~0020091

Last edited: 2023-04-13 20: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 13:22

administrator   ~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 Modified Username Field Change
2023-04-12 17:33 hbarnard New Issue
2023-04-12 21:45 Christian Grothoff Assigned To => Florian Dold
2023-04-12 21:45 Christian Grothoff Status new => assigned
2023-04-12 21:46 Christian Grothoff Note Added: 0020082
2023-04-12 21:46 Christian Grothoff Note Added: 0020083
2023-04-13 12:23 hbarnard Note Added: 0020084
2023-04-13 12:48 Florian Dold Status assigned => resolved
2023-04-13 12:48 Florian Dold Resolution open => fixed
2023-04-13 12:48 Florian Dold Note Added: 0020085
2023-04-13 20:22 Christian Grothoff Note Added: 0020091
2023-04-13 20:23 Christian Grothoff Assigned To Florian Dold => javier.sepulveda
2023-04-13 20:23 Christian Grothoff Note Edited: 0020091
2023-04-13 20:23 Christian Grothoff Status resolved => assigned
2023-04-13 21:51 Florian Dold Target Version => 0.9.3
2023-04-14 14:31 Florian Dold Category other => deployment and operations
2023-04-19 13:22 javier.sepulveda Status assigned => resolved
2023-04-19 13:22 javier.sepulveda Note Added: 0020121
2023-09-23 15:07 Christian Grothoff Fixed in Version => 0.9.3
2023-09-23 15:09 Christian Grothoff Status resolved => closed