After upgrading to 5.0.7 on node.js can no more access my tiddlywiki

314 views
Skip to first unread message

Marcel Kaczala

unread,
Jan 27, 2014, 4:03:05 PM1/27/14
to tiddl...@googlegroups.com
I don't know what went wrong...
Some data:

node --version
v0.10.24

tiddlywiki --version
5.0.7-beta
syncer: Queuing up sync task with type: save title: $:/StoryList
syncer: Dispatching 'save' task: $:/StoryList
FileSystem: Saved file /home/mk/mywiki/tiddlers/tiddlers/$__StoryList.tid

tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      2590/node

8080                       ALLOW       Anywhere


Jason Swager

unread,
Jan 27, 2014, 6:08:55 PM1/27/14
to tiddl...@googlegroups.com
Having a similar problem.  I had to downgrade to 5.0.6-beta to get the node.js variant of tiddlywiki working.

RA

unread,
Jan 27, 2014, 11:48:19 PM1/27/14
to tiddl...@googlegroups.com
I had a JavaScript error and found a solution in another recent thread - I had a tiddler with css enclosed in triple-backticks. After removing those by editing the tiddler file with a text editor, I restarted tiddlywiki and everything was normal. That shouldn't have happened, and will be fixed in 5.0.8, according to Jeremy.

Marcel Kaczala

unread,
Jan 28, 2014, 5:51:12 AM1/28/14
to tiddl...@googlegroups.com

Jeremy Ruston

unread,
Jan 28, 2014, 3:23:56 PM1/28/14
to TiddlyWiki
Hi Marcel

The problem might be caused by one change in 5.0.7: the --server command now defaults to listening on 127.0.0.1, instead of 0.0.0.0.

You can override the default by specifying all the parameters to the --server command, including the host, as specified here:


For example:

--server 8080 $:/core/save/all text/plain text/html MyUserName passw0rd 127.0.0.1
Best wishes

Jeremy



--
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 post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.



--
Jeremy Ruston
mailto:jeremy...@gmail.com

Marcel Kaczala

unread,
Jan 29, 2014, 7:55:08 AM1/29/14
to tiddl...@googlegroups.com, jeremy...@gmail.com
mk@T2:~$ tiddlywiki --server 8080 0.0.0.0
Serving on 127.0.0.1:8080
(press ctrl-C to exit)
syncer: Queuing up sync task with type: save title: $:/StoryList

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: listen EADDRINUSE
    at errnoException (net.js:901:11)
    at Server._listen2 (net.js:1039:14)
    at listen (net.js:1061:10)
    at net.js:1135:9
    at dns.js:72:18
    at process._tickCallback (node.js:415:13)
    at Function.Module.runMain (module.js:499:11)
    at startup (node.js:119:16)
    at node.js:902:3

Jeremy Ruston

unread,
Jan 29, 2014, 10:24:24 AM1/29/14
to Marcel Kaczala, TiddlyWiki
Hi Marcel,

mk@T2:~$ tiddlywiki --server 8080 0.0.0.0

I'm afraid you need to include all the parameters in between the port number and the hostname:

mk@T2:~$ tiddlywiki --server 8080 $:/core/save/all text/plain text/html MyUserName passw0rd 0.0.0.0

Best wishes

Jeremy
Reply all
Reply to author
Forward
0 new messages