- 
I'm getting Internal Server Errorwhenever I try to view/edit a CodiMD document. I notice that the app was updated 1.4.0 recently, which seem to coincide with this issue. Please advice.Here's the log output of the error: Jun 10 07:45:00 2019-06-10T07:45:00.329Z info: deserializeUser: 113677e7-8064-499a-90ba-11d6511808f6 Jun 10 07:45:00 SyntaxError: /app/code/public/views/codimd.ejs:10 Jun 10 07:45:00 8| <body> Jun 10 07:45:00 9| <%- include codimd/header %> Jun 10 07:45:00 >> 10| <%- include codimd/body %> Jun 10 07:45:00 11| <%- include codimd/footer %> Jun 10 07:45:00 12| <%- include codimd/foot %> Jun 10 07:45:00 13| </body> Jun 10 07:45:00 Jun 10 07:45:00 /app/code/public/views/codimd/body.ejs:251 Jun 10 07:45:00 249| <%- include ../shared/refresh-modal %> Jun 10 07:45:00 250| <%- include ../shared/signin-modal %> Jun 10 07:45:00 >> 251| <%- include ../shared/help-modal %> Jun 10 07:45:00 252| <%- include ../shared/revision-modal %> Jun 10 07:45:00 253| Jun 10 07:45:00 Jun 10 07:45:00 /app/code/public/views/shared/help-modal.ejs:20 Jun 10 07:45:00 18| <a href="https://community.codimd.org" target="_blank"><i class="fa fa-users fa-fw"></i> <%= __('Join the community') %></a> Jun 10 07:45:00 19| <br> Jun 10 07:45:00 >> 20| <a href="https://riot.im/app/#/room/#codimd:matrix.org" target="_blank"><i class="fa fa-hashtag fa-fw"></i> <%= __('Meet us on %s', 'Matrix') %></a> Jun 10 07:45:00 21| <br> Jun 10 07:45:00 22| <a href="https://github.com/codimd/server/issues" target="_blank"><i class="fa fa-tag fa-fw"></i> <%= __('Report an issue') %></a> Jun 10 07:45:00 23| <br> Jun 10 07:45:00 Jun 10 07:45:00 [sprintf] unexpected placeholder Jun 10 07:45:00 at sprintf_parse (/app/code/node_modules/sprintf-js/src/sprintf.js:202:23) Jun 10 07:45:00 at sprintf (/app/code/node_modules/sprintf-js/src/sprintf.js:26:31) Jun 10 07:45:00 at vsprintf (/app/code/node_modules/sprintf-js/src/sprintf.js:30:24) Jun 10 07:45:00 at postProcess (/app/code/node_modules/i18n/i18n.js:547:13) Jun 10 07:45:00 at Object.i18nTranslate (/app/code/node_modules/i18n/i18n.js:234:12) Jun 10 07:45:00 at eval (eval at compile (/app/code/node_modules/ejs/lib/ejs.js:618:12), <anonymous>:609:26) Jun 10 07:45:00 at eval (eval at compile (/app/code/node_modules/ejs/lib/ejs.js:618:12), <anonymous>:723:10) Jun 10 07:45:00 at eval (eval at compile (/app/code/node_modules/ejs/lib/ejs.js:618:12), <anonymous>:754:10) Jun 10 07:45:00 at returnedFn (/app/code/node_modules/ejs/lib/ejs.js:653:17) Jun 10 07:45:00 at tryHandleCache (/app/code/node_modules/ejs/lib/ejs.js:251:36) Jun 10 07:45:00 at View.exports.renderFile [as engine] (/app/code/node_modules/ejs/lib/ejs.js:482:10) Jun 10 07:45:00 at View.render (/app/code/node_modules/express/lib/view.js:135:8) Jun 10 07:45:00 at tryRender (/app/code/node_modules/express/lib/application.js:640:10) Jun 10 07:45:00 at Function.render (/app/code/node_modules/express/lib/application.js:592:3) Jun 10 07:45:00 at ServerResponse.render (/app/code/node_modules/express/lib/response.js:1012:7) Jun 10 07:45:00 at responseCodiMD (/app/code/lib/response.js:104:7)
- 
This looks like one of the built-in templates fails. Did you by any chance added/removed/adjusted values in /app/data/config.json?The default values are: { "production": { "allowAnonymous": false, "allowAnonymousEdits": false, "allowEmailRegister": false, "allowFreeUrl": true, "allowPdfExport": false, "debug": false, "defaultPermission": "private", "email": false, "sessionSecret": "<secret>" } }
- 
What differs in my config is 
 allowAnonymousEdits": trueinstead offalse
 documentmaxlength": 1000000instead of whatever default is.Default settings makes no difference, neither a fresh install. The published read-pnly version of a doc works, still. It's the editor view that crashes. I've tried in Firefox (macOS), Safari (macOS) and Safari (iOS). 
- 
What differs in my config is 
 allowAnonymousEdits": trueinstead offalse
 documentmaxlength": 1000000instead of whatever default is.Default settings makes no difference, neither a fresh install. The published read-pnly version of a doc works, still. It's the editor view that crashes. I've tried in Firefox (macOS), Safari (macOS) and Safari (iOS). @yusf said in CodiMD error (since 1.4.0?): allowAnonymousEdits": true I have this set to trueas well and for me the app continues to work after the 1.4.0 update.@yusf said in CodiMD error (since 1.4.0?): Default settings makes no difference, neither a fresh install. So do I understand that right that even if you install the app completely new you still have the crashes of the editor? Did you reinstall to the same domain? I would use a new domain name just to rule out a caching issue (and also try to open the editor in incognito mode). 
- 
@fbartels said in CodiMD error (since 1.4.0?): So do I understand that right that even if you install the app completely new you still have the crashes of the editor? Did you reinstall to the same domain? I would use a new domain name just to rule out a caching issue (and also try to open the editor in incognito mode). Yes. New domain, fresh browser session, still Internal Server Error.
- 
@yusf just to be on the same page, you are installing codimd from your Cloudron's appstore view, not building the app on your own or so? 
- 
@yusf sorry don't know enough about node and codimd development to give any additional insight. Maybe the codimd issue tracker in GitHub would be able to give more insights? 
- 
Huh. "Them" turned out to be confusing: Currently, there are two active repositories/softwares named "CodiMD": This one and codimd/server. Both are actively maintained, but by different people. Especially for someone new to CodiMD/HackMD it's almost impossible to understand what's what. From reading other issues it seems like HackMD is making some structural changes which prompts Cloudron to make a choice which project to use. codimd/server is the "libre" and AGPL continuation of the project so probably favorable. 
- 
 




