Hi all
Thank you all for the incredible work on this software!
I am trying to set up a tiddlywiki in Openshift. I first followed the steps outlined here:
https://ericmiao.github.io/blog/2014/04/05/setup-personal-tiddlywiki-on-openshift/
I then pulled the core/modules/commands/server.js and tiddlywebadaptor.js files from Eric Miao's GitHub repository and updated mine with them (to correct the "slash" error that the instructions page refers to).
Then I adjusted the server.js file that Miao refers to to include my username and password and changed nothing else. I then pushed the repo to Openshift.
Finally, I ssh'ed into my openshift install and, in the OPENSHIFT_DATA_DIR (namely 'app-root/data'), I created a tiddlywiki.info file with this in it:
{
"description": "Basic client-server edition",
"plugins": [
"tiddlywiki/tiddlyweb",
"tiddlywiki/filesystem",
"tiddlywiki/codemirror",
"tiddlywiki/highlight"
],
"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
]
}
Tiddlywiki then loads perfectly, along with the themes. However, whenever I try to create a new tiddler and save it, I get this:
Internal JavaScript Error
Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser
TypeError: this.syncer.tiddlerInfo is undefined
When I ssh back into Openshift, I find a tiddlers folder has been created, with only these two files in it:
Draft_of_'New_Tiddler'.tid $__StoryList.tid
In the draft tiddler, I find this:
created: 20170110175037622
creator: shankar
draft.of: New Tiddler
draft.title: Test
modified: 20170110175046425
modifier: shankar
tags: Test
title: Draft of 'New Tiddler'
type: text/vnd.tiddlywiki
That is, it's got the draft title correct and the tags, but the text is missing. The correct tid file is never saved.
What could I be doing wrong?