Upgrade from 2.0.2 to 2.1 failed

sjtuross

Cadet
Joined
May 7, 2013
Messages
6
Use this docker image ixsystems/truecommand:2.1 to upgrade. Container failed to start. Below is the error log. Rolled back to 2.0.2 now.

[Jan 7 13:52:51] Starting Middleware [Jan 7 13:52:51] Starting InfluxDB [Jan 7 13:52:51] Switching Log Level -> warning [Jan 7 13:52:51] Starting TrueCommand Middleware... Version: 2.1 BuildDate: 20220104 time="2022-01-07T13:52:51+08:00" level=info msg="reset OCSP cache file. /root/.cache/snowflake/ocsp_response_cache.json" func="gosnowflake.(*defaultLogger).Infof" file="log.go:104" time="2022-01-07T13:52:51+08:00" level=info msg="reading OCSP Response cache file. /root/.cache/snowflake/ocsp_response_cache.json\n" func="gosnowflake.(*defaultLogger).Infof" file="log.go:104" time="2022-01-07T13:52:51+08:00" level=error msg="failed to open. Ignored. open /root/.cache/snowflake/ocsp_response_cache.json: no such file or directory\n" func="gosnowflake.(*defaultLogger).Errorf" file="log.go:120" [Jan 7 13:52:51][ERROR] Unable to start webserver: exit status 1 [Jan 7 13:52:52] Closing down InfluxDB Cleaning up... [Jan 7 13:52:52] InfluxDB Stopped [Jan 7 13:52:52] InfluxDB failing to run for more than 60s. Check the influxdb.log[.prev|.old] files for details
 
Last edited:

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
You probably hit the same bug as I did : TC-1913. If you are using a custom certificate, this bug has been reported and fixed in the nightly image. Version 2.1.1 should be released with the fix as well.
 

sjtuross

Cadet
Joined
May 7, 2013
Messages
6
Thanks a lot for the information. I reset the certificate to the default and the upgrade is successful. I use reverse proxy for SSL now.
 
Top