[TW5] NodeJS on Synology NAS

563 views
Skip to first unread message

TonyM

unread,
Jul 17, 2017, 4:52:07 AM7/17/17
to TiddlyWiki
Folks,

I just wanted to point out I have sucessfully installed an instance of TiddlyWiki on my Synology NAS using the NodeJS V4 package in the package centre.

It makes sence because the NAS is allways on. I have also learned you can in some models upgrade the RAM and will be doing that to support an additional load on the NAS.

To do this I have to use SSH (Using Putty) to load the tiddlywiki session. All good, it works but I do niot know how to use the SSH session to leave tiddlywiki running. The server no longer responds when I close the Putty session. Any NodeJS or SSH Gurus out there know how to fix this?

The Synology NAS now hosts useful information about our internal networks and Servers, and I can easily add helpdesk services into a tiddlywiki and more. I was even wondering if it may be an easyier way to make use of the Browser app on the Smart TV buy browsing to a custom tiddlywiki setup with Canned Internet links and information, may be even media.

I have not yet worked through the security implications, as perhaps I could get a DOS attack from fiilling the wiki with spamed tiddlers.

Anyway, I continue to be delighted with my foray into tiddlywiki version 5. In fact I think I need to "Get a life" :)

Regards
TonyM

Xavier Cazin

unread,
Jul 17, 2017, 5:43:58 AM7/17/17
to tiddl...@googlegroups.com
Hi Tony,

You need to use the nohup command in order for the tiddlywiki command to keep running after you close the ssh session.

Best,
Xavier. 

--
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+unsubscribe@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/32375c2e-3240-4a24-bbae-8446a3965060%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

TonyM

unread,
Jul 17, 2017, 9:19:47 AM7/17/17
to TiddlyWiki
Thanks Xavier,

Worked a treat, you saved me a lot of time.

For others that may come here

  • Connect to SSH on Synology using Putty session port 22
  • Start server nohup tiddleywiki twname --server "" "" "" "" "" "" "0.0.0.0" &
  • Then exit to end session


On Monday, July 17, 2017 at 7:43:58 PM UTC+10, Xavier wrote:
Hi Tony,

You need to use the nohup command in order for the tiddlywiki command to keep running after you close the ssh session.

Best,
Xavier. 
Le 17 juil. 2017 10:52, "TonyM" <anthony...@gmail.com> a écrit :
Folks,

I just wanted to point out I have sucessfully installed an instance of TiddlyWiki on my Synology NAS using the NodeJS V4 package in the package centre.

It makes sence because the NAS is allways on. I have also learned you can in some models upgrade the RAM and will be doing that to support an additional load on the NAS.

To do this I have to use SSH (Using Putty) to load the tiddlywiki session. All good, it works but I do niot know how to use the SSH session to leave tiddlywiki running. The server no longer responds when I close the Putty session. Any NodeJS or SSH Gurus out there know how to fix this?

The Synology NAS now hosts useful information about our internal networks and Servers, and I can easily add helpdesk services into a tiddlywiki and more. I was even wondering if it may be an easyier way to make use of the Browser app on the Smart TV buy browsing to a custom tiddlywiki setup with Canned Internet links and information, may be even media.

I have not yet worked through the security implications, as perhaps I could get a DOS attack from fiilling the wiki with spamed tiddlers.

Anyway, I continue to be delighted with my foray into tiddlywiki version 5. In fact I think I need to "Get a life" :)

Regards
TonyM

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

myst...@gmail.com

unread,
Jul 18, 2017, 5:12:11 PM7/18/17
to TiddlyWiki
I plan to replicate what you did as soon as i get back from vacation.

One thing i would suggest tho.. see if your synology NAS is running crontab (i bet it is).
I have the following added to my crontab, it ensures that the wiki is nohup started each time the system reboots:

@reboot nohup ~/.nvm/versions/node/v4.4.5/bin/tiddlywiki /home/dresdenless/gaming_wiki --server 8084 2>&1 >> ~/logs/cron.log &

  -- Kenn

TonyM

unread,
Jul 18, 2017, 11:42:42 PM7/18/17
to TiddlyWiki
Great Kenn,

That was the next Question.

Tony

Mubed

unread,
May 30, 2018, 7:23:48 AM5/30/18
to TiddlyWiki
Hi Tony,

Could you please describe all the steps you did to get TW run with node.js on DS? I had to give up when I tried it, because I couldn't make the wiki visible from outside of the ssh window.

Thanks
mubed

TonyM

unread,
May 30, 2018, 8:28:35 AM5/30/18
to TiddlyWiki
Mubed,

Sure I can help tomorrow my time. 12 hours.

Possibly the first question would be are yousetting the port number and the address as 0.0.0.0 then browsing to the synologyipaddress:port

From memory you need place holders for the parameters you do not use so you end up with sonething like "" "" "" "" "" "" "0.0.0.0"

Regards
Tony

Reply all
Reply to author
Forward
0 new messages