Skip to content

Commit

Permalink
fix influxdb check
Browse files Browse the repository at this point in the history
  • Loading branch information
kizniche committed Aug 13, 2022
1 parent 2a68e4d commit 2db72d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mycodo/scripts/measurement_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def get_influxdb_info():
if r.headers and "X-Influxdb-Version" in r.headers:
dict_info['influxdb_installed'] = True
dict_info['influxdb_version'] = r.headers["X-Influxdb-Version"]
except Exception as err:
print(f"Error: {err}")
except:
pass

return dict_info

Expand Down
2 changes: 1 addition & 1 deletion release-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Notes to keep track of the steps involved in making a new release.
- ```~/Mycodo/env/bin/python -m pip install -r ~/Mycodo/docs/requirements.txt```
- [ ] Run ```~/Mycodo/env/bin/python -m mkdocs build``` to generate Mycodo/docs/mycodo-manual.pdf
- [ ] Commit changes and wait for TravisCI to finish running pytests and verify all were successful.
- [ ] Clone Mycodo fresh to a new directory and ensure mkdocs pip requirements are installed by running: ```cd Mycodo && sudo mycodo/scripts/upgrade_commands.sh setup-virtualenv && env/bin/python -m pip install -r docs/requirements.txt```
- [ ] Clone Mycodo fresh to a new directory and ensure mkdocs pip requirements are installed by running: ```cd Mycodo && sudo mycodo/scripts/upgrade_commands.sh setup-virtualenv && sudo env/bin/python -m pip install -r docs/requirements.txt```
- [ ] Run ```cd Mycodo && env/bin/python -m mkdocs gh-deploy``` to generate and push docs to gh-pages branch (for https://kizniche.github.io/Mycodo)
- [ ] Optionally, a naive Mycodo system with code prior to the yet-to-be released version can be upgraded to master to test its ability to upgrade (useful if experimental database schema changes are being performed during the upgrade).
- [ ] Make GitHub Release
Expand Down

0 comments on commit 2db72d8

Please sign in to comment.