binhex / docker-templates

Docker template repository for unRAID
GNU General Public License v3.0
65 stars 32 forks source link

XML broken on master? #34

Closed ElRoberto538 closed 3 years ago

ElRoberto538 commented 3 years ago

I'm a bit of an unraid noob, bit trying to install delugevpn is getting a lot of XML errors after the latest commits on master:

Warning: simplexml_load_file(): /boot/config/plugins/dockerMan/templates/binhex/delugevpn.xml:10: parser error : Specification mandates value for attribute ip in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): to index sites, to use Privoxy please point your application at `http://<host ip in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): /boot/config/plugins/dockerMan/templates/binhex/delugevpn.xml:16: parser error : Opening and ending tag mismatch: host line 7 and Description in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): </Description> in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): /boot/config/plugins/dockerMan/templates/binhex/delugevpn.xml:19: parser error : Specification mandates value for attribute ip in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): to index sites, to use Privoxy please point your application at `http://<host ip in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): /boot/config/plugins/dockerMan/templates/binhex/delugevpn.xml:20: parser error : Opening and ending tag mismatch: host line 7 and Overview in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): </Overview> in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): /boot/config/plugins/dockerMan/templates/binhex/delugevpn.xml:146: parser error : Opening and ending tag mismatch: Overview line 7 and Containers in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): </Containers> in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): /boot/config/plugins/dockerMan/templates/binhex/delugevpn.xml:147: parser error : EndTag: '</' not found in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102

Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/dynamix.docker.manager/include/Helpers.php on line 102
ElRoberto538 commented 3 years ago

Issue seems to be unescaped <> everywhere that host ip was replaced with <host ip>

binhex commented 3 years ago

its fixed, thanks for the report!

ElRoberto538 commented 3 years ago

Awesome, thanks for the super fast response, I was about to make a PR!