- Joined
- Feb 9, 2022
- Messages
- 7
- Reaction score
- 2
- 3CX Version, 18.0 update 4
- Server OS, Debian VM
- Is the 3CX Server Hosted and where? On-premises
I've followed the guide creating/converting a backup from a FreePBX14 instance onto a brand new self-hosted 3cx V18 VM and I'm getting an error "There is an error in XML document (2, 2)." when trying to upload the converted configuration file (220718234624Db.xml)
In PbxWebConfigTool.log
2022/07/19 09:56:03.487|Dbg|0010| Uploading SetupConfig file exception: System.InvalidOperationException: There is an error in XML document (2, 2).
---> System.InvalidOperationException: <PhoneSystem xmlns=''> was not expected.
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderSetupConfig.Read25_SetupConfig()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)
at PostInstall.SetupConfig.Deserialize(String content, Boolean forceConsole)
at PbxWebConfigTool.PbxSetupService.LoadSettingsFromSetupConfig(SetupSettings settings, String setupConfigContent)
at PbxWebConfigTool.Controllers.HomeController.UploadSetupConfigFile(IFormFile setupConfigFile)
2022/07/19 09:56:03.487|Dbg|0010| GetCertificateInfo completed, result = {"IsValid":false,"ErrorMessage":"There is an error in XML document (2, 2).","Name":null}
There is no other XML's I can use from the ZIP file 3cx gave me back once I uploaded the tar.gz file to https://pbxservices.3cx.com/config-converter
Any tips?
The XML file starts off like this. Is it for V16 only?
<?xml version="1.0" encoding="utf-8"?>
<PhoneSystem>
<header>
<version>16.0.1.273</version>
<Date>6/5/19 8:27:46 AM</Date>
<TenantName></TenantName>
</header>
<GlobalParameters>
<gparam name="INST_AUTODELETE_RECORDINGS" value="0" />
<gparam name="INST_AUTODELETE_VOICEMAIL" value="0" />
<gparam name="INST_QUOTA_RECORDINGS" value="5" />
<gparam name="INST_QUOTA_VMBOX" value="5" />
</GlobalParameters>
<Parameters>
Last edited: