[solved] Upgrade from bionic-beta to v0.40 question

I have two mailinabox servers. I upgraded both today from bionic-beta (installed about Jan 6, 2019) to v0.40. One went without problem. The other completed fully but threw out errors shown below. ‘System status checks’ still shows ‘You are running version Unknown.’
How can I tell if I have upgraded successfully? How can I correct the error in ‘System status checks’?? Thanks in advance for advice.

root@box:~# curl -s https://mailinabox.email/setup.sh | sudo bash
**fatal: No names found, cannot describe anything.**
**bash: line 71: [: v0.40: unary operator expected**
.
.
Primary Hostname: box.domain.com
Public IP Address: xxx.xxx.xxx.xxx
Public IPv6 Address: 2a01:7e00::xxxx:xxxx:xxxx
**fatal: No names found, cannot describe anything.**
Mail-in-a-Box Version:

Updating system packages...
Installing system packages...
[ then completes fully ...]

I found this was a github error message not from mailinabox. I deleted the folder ‘mailinabox’ coming from the previous installation and then the upgrade to v0.40 went smoothly.