Git Product home page Git Product logo

homelab-utility-belt's People

Contributors

thiagocrepaldi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

homelab-utility-belt's Issues

Certificate update on DSM 6: syntax error

I receive the following error when running the script on DSM 6.

install_letsencrypt_cert_from_pfsense.sh: line 34: syntax error in conditional expression: unexpected token ;' install_letsencrypt_cert_from_pfsense.sh: line 34: syntax error near ;'
install_letsencrypt_cert_from_pfsense.sh: line 34: `if [[ ${DSM_MAJOR_VERSION} == 6]]; then'

Does the semi colon need to be removed?

lxml.etree.XMLSyntaxError: Opening and ending tag mismatch

Seems that script doesn't work with SuperServer model, tested on SuperStorage and SuperServer models

Script throws an error
File "/usr/local/bin/ipmi-updater.py", line 412, in
main()
File "/usr/local/bin/ipmi-updater.py", line 380, in main
cert_valid = updater.get_ipmi_cert_valid()
File "/usr/local/bin/ipmi-updater.py", line 187, in get_ipmi_cert_valid
root = etree.fromstring(result.text)
File "src/lxml/etree.pyx", line 3237, in lxml.etree.fromstring
File "src/lxml/parser.pxi", line 1896, in lxml.etree._parseMemoryDocument
File "src/lxml/parser.pxi", line 1777, in lxml.etree._parseDoc
File "src/lxml/parser.pxi", line 1082, in lxml.etree._BaseParser._parseUnicodeDoc
File "src/lxml/parser.pxi", line 615, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 725, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 654, in lxml.etree._raiseParseError
File "", line 10
lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: META line 5 and head, line 10, column 8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.