Headless Tiddlyserver on Pi

80 views
Skip to first unread message

Ste Wilson

unread,
Aug 6, 2018, 1:33:05 PM8/6/18
to TiddlyWiki

I've followed https://www.didaxy.com/tiddlyserver-on-the-raspberry-pi to try and set up tiddly server.including using the settings.json file there:

{
   
"tree": {
       
"pi_everything": "/",
       
"pi_public": "/Public"
   
},
   
"types":{
       
"htmlfile": ["htm", "html"]
   
},
   
"username": "",
   
"password": "",
   
"host": "0.0.0.0",
   
"port": 8888,
   
"backupDirectory": ""
}

Tiddly server sits in /home/pi/tiddlyserver/TiddlyServer/

running node server.js gives:

Settings file: /home/pi/tiddlyserver/TiddlyServer/settings.json
 APP
2018-08-06 17:08:37 server localhost listening
 APP
2018-08-06 17:08:37 server network error: listen EADDRINUSE 0.0.0.0:8888
 APP
2018-08-06 17:08:37 server network stack: Error: listen EADDRINUSE 0.0.0.0:8888
                             at
Object._errnoException (util.js:992:11)
                             at _exceptionWithHostPort
(util.js:1014:20)
                             at
Server.setupListenHandle [as _listen2] (net.js:1355:14)
                             at listenInCluster
(net.js:1396:12)
                             at doListen
(net.js:1505:7)
                             at _combinedTickCallback
(internal/process/next_tick.js:141:11)
                             at process
._tickCallback (internal/process/next_tick.js:180:9)
                             at
Function.Module.runMain (module.js:695:11)
                             at startup
(bootstrap_node.js:191:16)
                             at bootstrap_node
.js:612:3
 APP
2018-08-06 17:08:37 server network closed
 APP
2018-08-06 17:08:37 server localhost closed

Changing the port from 888 to something else seems to make no difference.
Running on local and opening with links browser seems to be fine, but links is a little...limited :)

I appreciate your already looking at this Arlen, but i thought i'd report in full.
Cheers

Ste

Arlen Beiler

unread,
Aug 7, 2018, 1:29:41 AM8/7/18
to TiddlyWiki
The fact that you're running on a Pi instead of Android makes a world of difference. Just Google how to check what process is listening on a specific interface on Linux. 

--
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/740519ab-06c2-425c-8597-efea561d40c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages