[TW5] - NodeJs : AutoSave not working

192 views
Skip to first unread message

nbertr...@gmail.com

unread,
Dec 18, 2014, 1:48:46 PM12/18/14
to tiddl...@googlegroups.com
Hi,

I've installed tiddlyWiki via Node.js on my home server.
I'm protecting the TWiki server by an nginx proxy.

Unfortunately the autosave doesn't work, i don't know what log to look at to find the problem (i mean other than nginx logs).
Is it due to the proxy ? Some missing permission ?

Thanks in advance for your help.

Here some more information about my configuration :

root@:/var/www# ls -ld tiddlywiki/
drwxr
-xr-x 2 nginx nginx 4096 Dec 18 10:56 tiddlywiki/

root@
:/var/www# ls -l tiddlywiki/
-rw-r--r-- 1 nginx nginx 1454 Dec 18 10:56 tiddlywiki.info

root@web
:/var/www# ps -ef |grep tiddly
root      
5894     1  0 14:21 ?        00:00:09 node /usr/bin/tiddlywiki /var/www/tiddlywiki --server


root@web
:/var/www# cat /etc/nginx/conf.d/tiddly.conf
server
{
    listen      
80 ;
    server_name HOSTNAME
;
   
return 301 https://HOSTNAME ;
}

server
{
    listen      
443 ssl spdy;
    server_name HOSTNAME
;
    root
/var/www/tiddlywiki ;

   
... some conf for ssl

    location
/ {
        proxy_pass   http
://127.0.0.1:8080;
        proxy_max_temp_file_size
0 ;
        proxy_set_header        
Host             $host;
        proxy_set_header        X
-Real-IP        $remote_addr;
        proxy_set_header        X
-Forwarded-For  $proxy_add_x_forwarded_for;
   
}
}


Danielo Rodríguez

unread,
Dec 19, 2014, 3:12:59 AM12/19/14
to tiddl...@googlegroups.com
The autosave needs two plugins to works on node:
  • Filesystem plugin
  • Tiddlyweb plugin

Do you have thos plugins installed? Check it on the control panel.

nbertr...@gmail.com

unread,
Dec 21, 2014, 7:09:15 AM12/21/14
to tiddl...@googlegroups.com
Indeed, I don't have these 2 plugins installed, but these 2 mandatory plugins are not listed in the documentation.

But how do i install them ? I mean apart the github repository there is no link on tiddlywiki.com for these 2 plugins, and when i drag/drop the git repository it only save the hyperlink.

Jeremy Ruston

unread,
Dec 21, 2014, 7:15:35 AM12/21/14
to TiddlyWiki
Hi nbertrand

> But how do i install them ? I mean apart the github repository there is no link on tiddlywiki.com for these 2 plugins, and when i drag/drop the git repository it only save the hyperlink.

The two required plugins are installed automatically when you create your wiki folder with the `--init` command.

You can add them to an existing wiki folder by manually editing the tiddlywiki.info file to include references to tiddlywiki/filesystem and tiddlywiki/tiddlyweb. For example:


Best wishes

Jeremy.



On Sun, Dec 21, 2014 at 12:09 PM, <nbertr...@gmail.com> wrote:
Indeed, I don't have these 2 plugins installed, but these 2 mandatory plugins are not listed in the documentation.

But how do i install them ? I mean apart the github repository there is no link on tiddlywiki.com for these 2 plugins, and when i drag/drop the git repository it only save the hyperlink.

--
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/d/optout.



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

nbertr...@gmail.com

unread,
Dec 21, 2014, 8:31:37 AM12/21/14
to tiddl...@googlegroups.com
Ok, finally find out what was wrong, the installation had not been correctly completed.
After uninstallation/Reinstallation the plugins were presents and everything works fine.

Thanks for your help,
Regards.

Captain Packers

unread,
Jul 21, 2017, 3:47:05 PM7/21/17
to TiddlyWiki
I've been looking for a way to set this up for over a year now. I still can't quite get it working. Can you provide more detail about your config files and the URL you use to invoke the tiddlywiki?

stevesuny

unread,
Jul 21, 2017, 7:55:16 PM7/21/17
to TiddlyWiki
To set what up exactly?
Tiddlywiki using node js? Or something else?

Reply all
Reply to author
Forward
0 new messages