[TW5] (vagrant) Oops! What happened? git pull gives me strange TW5

70 views
Skip to first unread message

Stephan Hradek

unread,
Feb 26, 2014, 3:39:17 AM2/26/14
to tiddly...@googlegroups.com
I just did a

git checkout master

and then

git pull jermolene master

Now something seems very wrong because when I start my vagrant machine and access the TW5 server, I get this:


PMario

unread,
Feb 26, 2014, 5:52:47 AM2/26/14
to tiddly...@googlegroups.com
did you try a browser shift-reload?
-m

Stephan Hradek

unread,
Feb 26, 2014, 5:59:42 AM2/26/14
to tiddly...@googlegroups.com
Sure. And I tried 2 different browsers.

Stephan Hradek

unread,
Feb 26, 2014, 6:01:34 AM2/26/14
to tiddly...@googlegroups.com
Update: I ran bld.sh and opened te generated standalone html. That looks perfect. Just the server edition looks rather strange.

PMario

unread,
Feb 26, 2014, 7:48:24 AM2/26/14
to tiddly...@googlegroups.com
Jeremy did some changes to the server edition. clientserver is now server ... Did you check this?
-m

Stephan Hradek

unread,
Feb 26, 2014, 8:47:30 AM2/26/14
to tiddly...@googlegroups.com


Am Mittwoch, 26. Februar 2014 13:48:24 UTC+1 schrieb PMario:
Jeremy did some changes to the server edition. clientserver is now server ... Did you check this?
-m

Sorry, I do not understand.

PMario

unread,
Feb 26, 2014, 9:59:57 AM2/26/14
to tiddly...@googlegroups.com

There is no clientserver edition anymore.  It's server now. have a look at index.html and see the --init command. ....
I need to change the vagrant setting. It will be broken when 5.0.8 comes out.

-m

PMario

unread,
Feb 26, 2014, 10:14:09 AM2/26/14
to tiddly...@googlegroups.com
I could reproduce the issue.
It is the "run script". It still points to /editions/clientserver, which is removed. So there is no tiddlywiki.info file, which tells the server, what to load.
-m

PMario

unread,
Feb 26, 2014, 10:50:54 AM2/26/14
to tiddly...@googlegroups.com

just go to the /home/vagrant/tw/service/  directory and edit the run file  so it starts the tw5.com-server edition instead of the clientserver


# exec setuidgid vagrant ./serve.sh a b 0.0.0.0
exec setuidgid vagrant \
    node ./tiddlywiki.js \
    editions/tw5.com-server \
    --verbose \
    --server 8080 $:/core/save/all text/plain text/html dev dev 0.0.0.0 \
    || exit 1

do a
$ sudo svc -h /service/tw

so the server will be restarted. .... this works for me.
-m

Stephan Hradek

unread,
Feb 26, 2014, 12:31:23 PM2/26/14
to tiddly...@googlegroups.com
Thanks! It works now!
Reply all
Reply to author
Forward
0 new messages