[tw5] No CSS while hosting Tiddlywiki on Node.js on Qnap NAS

Hi. I try to host Tiddlywiki Node.js on my Qnap NAS (with COntainer Station / Docker). I managed to do it successfully but there are 2 problems: CSS is not working (no template) and it doesn’t save online.

Take a look: http://vielebny.myqnapcloud.com:5678/

What is wrong?
It is hosted in Container Station with Node.js 17.1.0, Tiddlywiki 5.2.0

Steps I made inside Container:

  1. npm install -g tiddlywiki
  2. tiddlywiki kompendium --init server
  3. tiddlywiki kompendium --listen
  4. forever start --spinSleepTime 10000 ./usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js ./ --server 5678 $:/core/save/lazy-all “” “” “” “” 0.0.0.0 “”

On Synology DSM it worked like a charm.

Hi Matt

It looks like the problem is that your wiki is missing a theme plugin. Try adding this to your tiddlywiki.info file:

“themes”: [
“tiddlywiki/vanilla”,
“tiddlywiki/snowwhite”
],

For example:

https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/empty/tiddlywiki.info

Best wishes

Jeremy

Hi Matt

It looks like the problem is that your wiki is missing a theme plugin. Try adding this to your tiddlywiki.info file:

“themes”: [
“tiddlywiki/vanilla”,
“tiddlywiki/snowwhite”
],

For example:

https://github.com/Jermolene/TiddlyWiki5/blob/master/editions/empty/tiddlywiki.info

Best wishes

Jeremy

Steps I made inside Container:

  1. npm install -g tiddlywiki
  2. tiddlywiki kompendium --init server
  3. tiddlywiki kompendium --listen

I think the following command is wrong. Why do you use --listen above and the deprecated --server below??

  1. forever start --spinSleepTime 10000 ./usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js ./ --server 5678 $:/core/save/lazy-all “” “” “” “” 0.0.0.0 “”

imo it should be

forever start --spinSleepTime 10000 ./usr/local/lib/node_modules/tiddlywiki/tiddlywiki.js kompendium --server 5678 $:/core/save/lazy-all “” “” “” “” 0.0.0.0 “”

BUT connecting a server without a password to the internet is a big mistake.

just a thought
-m