How to upgrade TWClassic "manually"

568 views
Skip to first unread message

Eric Shulman

unread,
Oct 9, 2012, 10:15:02 PM10/9/12
to TiddlyWiki
If you are having problems using the built-in backstage "upgrade"
process, here's a simple manual procedure that you can use:

1) Download the latest empty.zip from http://www.TiddlyWiki.com and
extract a copy of empty.html
2) Load your existing TW document into the browser
3) Invoke "save changes" to create a backup copy of the current
document
4) Replace the existing TW document's file on disk with a copy of the
latest empty.html
5) Invoke "save changes" again
6) Reload your document

Normally, when "save changes" is triggered, the TWCore code is first
read in from the existing file, and then the current tiddlers (as
loaded in the browser) are merged in, and the combined content is
saved back to the file.

When you invoke "save changes" in step (3), it simply creates a backup
copy of the existing document, without altering the TWCore version or
any tiddler content. This ensures that your current document is
safely preserved in a backup file, regardless of any further actions
you perform.

Then, in step (4), you manually *replace* the existing TW file on disk
with a copy of the latest empty.html, so that in step (5), the "save
changes" process actually reads in the *updated* TWCore code from the
empty.html, and merges it with your existing tiddler content and saves
that combination back to the file, resulting in an upgraded document.

When you are finished, you will have two backup files. The first
backup will be your old version of the document. The second backup
file will be an exact copy of the empty.html you used for the upgrade,
and can be safely discarded.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
http://www.TiddlyTools.com/#Donations

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
http://www.TiddlyTools.com/#Contact

Igor Perković

unread,
Oct 10, 2012, 8:46:11 AM10/10/12
to tiddl...@googlegroups.com
Hey Eric,

this great procedure works fine.

Thank you! 

Best regards!

IgorP

TonyM

unread,
Dec 9, 2012, 7:15:03 PM12/9/12
to tiddl...@googlegroups.com
Thank you, Thank you, Thank you. All Other options were proving impossible.

packetlevel

unread,
May 17, 2013, 5:34:21 PM5/17/13
to tiddl...@googlegroups.com
Right - have used that in the past, and kinda forgot about it - But - I really was curious about the step by step import and seeing which versions might of might not import, anyway - science is fun. Thanks -

Now I have to search here about getting the singlepagemodeplugin to work - not being much of a programmer myself.

Cheers -

John Gonder

cflow

unread,
May 22, 2013, 9:23:56 PM5/22/13
to tiddl...@googlegroups.com
Thanks Eric, gold! 

This worked as advertised, however I can't use it with my TeamTasks version of TiddlyWiki as I am not sure which components are specific just to that in the java, I assume lots. If I can work out the right elements I may rename the functions for the TeamTasks so they are clearly separate and put them separated from the main TiddlyWiki code so that updating in the future is easier. Additionally the Colors and CSS I have changed in my TeamTasks so that is always going to be a bit of a bugger to update given that the update reverts some of the CSS to base and removes referrals to "TeamTasksColors" in favour of the "ColorPalette".

Otherwise as a procedure its magic ;)

Would I be better off with just checking through the update and copying the specific javascript updates?

Tobias Beer

unread,
Aug 18, 2013, 5:45:34 PM8/18/13
to tiddl...@googlegroups.com
Hi Eric,

That is a great and simple method. I have added this to the FAQ on http://TiddlyWiki.org ...

http://tiddlywiki.org/#%5B%5BHow%20to%20manually%20upgrade%20TiddlyWiki%3F%5D%5D

(Anyone on TiddlySpace could do this! ;-)

Cheers, Tobias.

Jeremy Ruston

unread,
Aug 19, 2013, 10:11:08 AM8/19/13
to TiddlyWiki
Hi Tobias

Many thanks for your recent updates to tiddlywiki.org, much appreciated,

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
Reply all
Reply to author
Forward
0 new messages