+1
Under review

Upgrading from 19.3.24975.7152 to 19.4.25240.7177 gives errors

frufru 5 months ago updated 4 months ago 4

I tried to upgrade my server but I couldn't, this is the log from the console:

/opt/ScreenConnect_19.4.25240.7177_Install/Installer/functions.sh: line 139: local: `=': not a valid identifier
/opt/ScreenConnect_19.4.25240.7177_Install/Installer/functions.sh: line 139: local: `19': not a valid identifier
/opt/ScreenConnect_19.4.25240.7177_Install/Installer/functions.sh: line 140: local: `=': not a valid identifier
/opt/ScreenConnect_19.4.25240.7177_Install/Installer/functions.sh: line 140: local: `4': not a valid identifier

Unhandled Exception:
System.Xml.Xsl.XslTransformException: Attribute and namespace nodes cannot be added to the parent element after a text, comment, pi, or sub-element node has already been added.
at System.Xml.Xsl.Runtime.XmlQueryOutput.ThrowInvalidStateError (System.Xml.XPath.XPathNodeType constructorType) [0x000cf] in :0
at System.Xml.Xsl.Runtime.XmlQueryOutput.ConstructInEnumAttrs (System.Xml.XPath.XPathNodeType rootType) [0x0001f] in :0
at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartAttribute (System.String prefix, System.String localName, System.String ns) [0x0001e] in :0
at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartAttributeLocalName (System.String localName) [0x00000] in :0
at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNavigator)
at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNavigator)
at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNavigator)
at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNavigator)
at (wrapper dynamic-method) System.Object.Root(System.Xml.Xsl.Runtime.XmlQueryRuntime)
at (wrapper dynamic-method) System.Object.Execute(System.Xml.Xsl.Runtime.XmlQueryRuntime)
at System.Xml.Xsl.XmlILCommand.Execute (System.Object defaultDocument, System.Xml.XmlResolver dataSources, System.Xml.Xsl.XsltArgumentList argumentList, System.Xml.Xsl.Runtime.XmlSequenceWriter results) [0x00020] in :0
at System.Xml.Xsl.XmlILCommand.Execute (System.Object defaultDocument, System.Xml.XmlResolver dataSources, System.Xml.Xsl.XsltArgumentList argumentList, System.Xml.XmlWriter writer) [0x0004f] in :0
at System.Xml.Xsl.XslCompiledTransform.Transform (System.Xml.XmlReader input, System.Xml.Xsl.XsltArgumentList arguments, System.Xml.XmlWriter results, System.Xml.XmlResolver documentResolver) [0x0000d] in :0
at System.Xml.Xsl.XslCompiledTransform.Transform (System.String inputUri, System.Xml.Xsl.XsltArgumentList arguments, System.IO.Stream results) [0x00029] in :0
at Xsl.Program.Main (System.String[] args) [0x0007b] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Xml.Xsl.XslTransformException: Attribute and namespace nodes cannot be added to the parent element after a text, comment, pi, or sub-element node has already been added.
at System.Xml.Xsl.Runtime.XmlQueryOutput.ThrowInvalidStateError (System.Xml.XPath.XPathNodeType constructorType) [0x000cf] in :0
at System.Xml.Xsl.Runtime.XmlQueryOutput.ConstructInEnumAttrs (System.Xml.XPath.XPathNodeType rootType) [0x0001f] in :0
at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartAttribute (System.String prefix, System.String localName, System.String ns) [0x0001e] in :0
at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartAttributeLocalName (System.String localName) [0x00000] in :0
at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNavigator)
at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNavigator)
at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNavigator)
at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNavigator)
at (wrapper dynamic-method) System.Object.Root(System.Xml.Xsl.Runtime.XmlQueryRuntime)
at (wrapper dynamic-method) System.Object.Execute(System.Xml.Xsl.Runtime.XmlQueryRuntime)
at System.Xml.Xsl.XmlILCommand.Execute (System.Object defaultDocument, System.Xml.XmlResolver dataSources, System.Xml.Xsl.XsltArgumentList argumentList, System.Xml.Xsl.Runtime.XmlSequenceWriter results) [0x00020] in :0
at System.Xml.Xsl.XmlILCommand.Execute (System.Object defaultDocument, System.Xml.XmlResolver dataSources, System.Xml.Xsl.XsltArgumentList argumentList, System.Xml.XmlWriter writer) [0x0004f] in :0
at System.Xml.Xsl.XslCompiledTransform.Transform (System.Xml.XmlReader input, System.Xml.Xsl.XsltArgumentList arguments, System.Xml.XmlWriter results, System.Xml.XmlResolver documentResolver) [0x0000d] in :0
at System.Xml.Xsl.XslCompiledTransform.Transform (System.String inputUri, System.Xml.Xsl.XsltArgumentList arguments, System.IO.Stream results) [0x00029] in :0
at Xsl.Program.Main (System.String[] args) [0x0007b] in :0

ConnectWise Control Version:
15
Server Affected:
Host Client Affected:
Guest Client Affected:

I just tried it with the latest version / 19.4.25308.7190 / with the same result. 

Unhandled Exception:

System.Xml.Xsl.XslTransformException: Attribute and namespace nodes cannot be added to the parent element after a text, comment, pi, or sub-element node has alr eady been added.

at System.Xml.Xsl.Runtime.XmlQueryOutput.ThrowInvalidStateError (System.Xml.XPath.XPathNodeType constructorType) [0x000cf] in :0

at System.Xml.Xsl.Runtime.XmlQueryOutput.ConstructInEnumAttrs (System.Xml.XPath.XPathNodeType rootType) [0x0001f] in :0

at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartAttribute (System.String prefix, System.String localName, System.String ns) [0x0001e] in :0

at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartAttributeLocalName (System.String localName) [0x00000] in :0

at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQuery Runtime,System.Xml.XPath.XPathNavigator)

at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNaviga tor)

at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNavigator)

at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNavigator)

at (wrapper dynamic-method) System.Object.Root(System.Xml.Xsl.Runtime.XmlQueryRuntime)

at (wrapper dynamic-method) System.Object.Execute(System.Xml.Xsl.Runtime.XmlQueryRuntime)

at System.Xml.Xsl.XmlILCommand.Execute (System.Object defaultDocument, System.Xml.XmlResolver dataSources, System.Xml.Xsl.XsltArgumentList argumentList, Syste m.Xml.Xsl.Runtime.XmlSequenceWriter results) [0x00020] in :0

at System.Xml.Xsl.XmlILCommand.Execute (System.Object defaultDocument, System.Xml.XmlResolver dataSources, System.Xml.Xsl.XsltArgumentList argumentList, Syste m.Xml.XmlWriter writer) [0x0004f] in :0

at System.Xml.Xsl.XslCompiledTransform.Transform (System.Xml.XmlReader input,System.Xml.Xsl.XsltArgumentList arguments, System.Xml.XmlWriter results, System. Xml.XmlResolver documentResolver) [0x0000d] in :0

at System.Xml.Xsl.XslCompiledTransform.Transform (System.String inputUri, System.Xml.Xsl.XsltArgumentList arguments, System.IO.Stream results) [0x00029] in :0

at Xsl.Program.Main (System.String[] args) [0x0007b] in :0

[ERROR] FATAL UNHANDLED EXCEPTION: System.Xml.Xsl.XslTransformException: Attribute and namespace nodes cannot be added to the parent element after a text, comme nt, pi, or sub-element node has already been added.

at System.Xml.Xsl.Runtime.XmlQueryOutput.ThrowInvalidStateError (System.Xml.XPath.XPathNodeType constructorType) [0x000cf] in :0

at System.Xml.Xsl.Runtime.XmlQueryOutput.ConstructInEnumAttrs (System.Xml.XPath.XPathNodeType rootType) [0x0001f] in :0

at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartAttribute (System.String prefix, System.String localName, System.String ns) [0x0001e] in :0

at System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartAttributeLocalName (System.String localName) [0x00000] in :0

at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQuery Runtime,System.Xml.XPath.XPathNavigator)

at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNaviga tor)

at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNavigator)

at (wrapper dynamic-method) System.Object.(System.Xml.Xsl.Runtime.XmlQueryRuntime,System.Xml.XPath.XPathNavigator)

at (wrapper dynamic-method) System.Object.Root(System.Xml.Xsl.Runtime.XmlQueryRuntime)

at (wrapper dynamic-method) System.Object.Execute(System.Xml.Xsl.Runtime.XmlQueryRuntime)

at System.Xml.Xsl.XmlILCommand.Execute (System.Object defaultDocument, System.Xml.XmlResolver dataSources, System.Xml.Xsl.XsltArgumentList argumentList, Syste m.Xml.Xsl.Runtime.XmlSequenceWriter results) [0x00020] in :0

at System.Xml.Xsl.XmlILCommand.Execute (System.Object defaultDocument, System.Xml.XmlResolver dataSources, System.Xml.Xsl.XsltArgumentList argumentList, Syste m.Xml.XmlWriter writer) [0x0004f] in :0

at System.Xml.Xsl.XslCompiledTransform.Transform (System.Xml.XmlReader input,System.Xml.Xsl.XsltArgumentList arguments, System.Xml.XmlWriter results, System. Xml.XmlResolver documentResolver) [0x0000d] in :0

at System.Xml.Xsl.XslCompiledTransform.Transform (System.String inputUri, System.Xml.Xsl.XsltArgumentList arguments, System.IO.Stream results) [0x00029] in :0

at Xsl.Program.Main (System.String[] args) [0x0007b] in :0

The first error should be fixed in the next release, but you can fix it for now by deleting the spaces around the equals on those two lines.

The other error is also registered, but shouldn't affect operation. (At least in my testing.)

with the second problem I can't access the administration page, I receive a Bad Request (Invalid host) error. I use nginx proxy for ssl access and the install error comes after the "Running 'Transform configuration files'" step