Cannot Open Deployed Forms on Ubuntu server

Trying to view the form brings up a loading error which is either,

“Request to http://kc.domain.com/admin/formList?formID=aGbjNpZT4CazKwfqXK4wDn failed.”

Or,

“Unexpected close tag Line: 44 Column: 7 Char: >”

This happens with all forms we deploy on the server. Checking “python3 run.py --logs”, we find this error with enketo:

enketo_express_1 | 00:46:46 0|enketo | Unknown Error occurred during attempt to update cache Error: Unexpected close tag
enketo_express_1 | 00:46:46 0|enketo | Line: 44
enketo_express_1 | 00:46:46 0|enketo | Column: 7
enketo_express_1 | 00:46:46 0|enketo | Char: >
enketo_express_1 | 00:46:46 0|enketo | at error (/srv/src/enketo_express/node_modules/sax/lib/sax.js:651:10)
enketo_express_1 | 00:46:46 0|enketo | at strictFail (/srv/src/enketo_express/node_modules/sax/lib/sax.js:677:7)
enketo_express_1 | 00:46:46 0|enketo | at closeTag (/srv/src/enketo_express/node_modules/sax/lib/sax.js:871:9)
enketo_express_1 | 00:46:46 0|enketo | at SAXParser.write (/srv/src/enketo_express/node_modules/sax/lib/sax.js:1436:13)
enketo_express_1 | 00:46:46 0|enketo | at Parser.exports.Parser.Parser.parseString (/srv/src/enketo_express/node_modules/xml2js/lib/parser.js:323:31)
enketo_express_1 | 00:46:46 0|enketo | at Parser.parseString (/srv/src/enketo_express/node_modules/xml2js/lib/parser.js:5:59)
enketo_express_1 | 00:46:46 0|enketo | at /srv/src/enketo_express/app/lib/communicator.js:379:16
enketo_express_1 | 00:46:46 0|enketo | at new Promise ()
enketo_express_1 | 00:46:46 0|enketo | at _xmlToJson (/srv/src/enketo_express/app/lib/communicator.js:378:12)
enketo_express_1 | 00:46:46 0|enketo | at /srv/src/enketo_express/app/lib/communicator.js:404:9

Any ideas for a fix?

@Reclawe, maybe you could also validate your XLSForm through this online validator to see if there are any syntax issues?

Online validator says its fine. I tested that before I posted and it’s with all and any forms I make. I’m certain it’s something wrong with how the server was setup. Does that error ring any bells with you?

@Reclawe , @Kal_Lam , I get the same errors and the same error logs and the online validator also says that the forms are fine. Did you manage to solve the problem and if yes, how? Thanks in advance

Hello, I have exactly the same issue could you update if it was solved please?

Thank you in advance.

Regards