No CSS while hosting Tiddlywiki on Node.js on Qnap NAS

20 views
Skip to first unread message

Matt Kobe

unread,
Nov 26, 2021, 5:54:36 PM11/26/21
to TiddlyWiki
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.


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. 

Jeremy Ruston

unread,
Nov 27, 2021, 3:01:26 AM11/27/21
to tiddl...@googlegroups.com
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:


Best wishes

Jeremy


On 26 Nov 2021, at 23:04, Matt Kobe via Talk TW <nor...@talk.tiddlywiki.org> wrote:


--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/bd316685-7300-44a0-8cb3-eb8e3c831f70n%40googlegroups.com.

Jeremy Ruston

unread,
Nov 27, 2021, 3:01:28 AM11/27/21
to tiddl...@googlegroups.com
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:


Best wishes

Jeremy


On 26 Nov 2021, at 23:04, Matt Kobe via Talk TW <nor...@talk.tiddlywiki.org> wrote:


--

PMario

unread,
Nov 27, 2021, 7:42:49 AM11/27/21
to TiddlyWiki
On Friday, November 26, 2021 at 11:54:36 PM UTC+1 dr.vi...@gmail.com wrote:

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??

4. 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

Reply all
Reply to author
Forward
0 new messages