Yet Another vanilla upgrade and duplication tutorial.
Yet another example of upgrading that
Here is my experiment for duplicating a forum with a new version of software (tested and worked).
My example uses original forum - 220.127.116.11 and duplicated in vanilla 18.104.22.168.
end result : new forum with new version had all discussions as old one and worked.
Original forum in folder /vanilla database name : vanilla. version 22.214.171.124
New Forum in folder /newvanilla database name : newvanilla. version 126.96.36.199
write down the
from your config.php in your original version of vanilla (in this case it was from 188.8.131.52) on a piece of paper.
install of new version with pristine database
- 1) make a new folder /newvanilla
2) download version 184.108.40.206 of vanilla zip and put source files in /newvanilla
run the standard install process in the newvanilla
when asked for user, host, and password (get your piece of paper and type them in correctly matching upper and lower case correctly).
when asked for database name (enter newvanilla (NOT the same as the one in original config.php).
3) installation successful - pristine database. login was successful.
now for import - export process
- 4) go into phpmyadmin. select the newvanilla database and "drop" it (pay attention this means delete).
- 5) export the original live vanilla database into vanilla1.sql
- 6) select Create new database - give it the name newvanilla (matches what you deleted in step 4)
- 7) select newvanilla database (still empty but created).
- 8) import vanilla1.sql into newvanilla database
- 9) import successful (but you can't sign in).
- 10) run http://localhost/newvanilla/index.php?p=/utility/update
(substitute your actual web address) and after update you will be able to sign in.
- 11) successful update. (you can view and test a bit)
- 12) get your uploads directory moved over from the old version (for getting user uploaded pics and thumbnails).
- 13) download new versions of your plugins and theme as appropriate for your version and enable.
- 14) set locale if necessary.
- 15) go through dashboard settings to adjust paging, number of comments, if need be.
That's it. (At no time was an old config.php copied into the new one (so as not to confuse things but you can look and compare the two afterwards to see if you missed a setting or two for plugins, notifications etc., cookies, that you want to add.)
Obviously, there are many ways to do things. This is one way. If you've got another way. Write Yet another tutorial.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.