Betreff: Re: Downgrad von 2.2.5 auf 2.0.16 von kroewing am 25.03.2008 11:17:08
Ich mache alles in einer Testumgebung und wenn es funktioniert, schiebe ich es 1 zu 1 in die Prod.
Danke für das Script...habe noch eine Anleitung dazu gefunden, die vielleicht noch jemand anderes mit dem Script brauchen könnte.
Tutorial:
** ATENTION THIS WILL DELETE ALL YOUR CUSTOM BLOCKS **
(11,12,13)
(you may save all your custom blocks in a txt file, to paste later)
1) ** BACKUP MYSQL AND ALL FILES**
(be sure that everything are backup first)
2) Pickup the downgrade.php script there.
3) Copy the script to root of website
4) Login as administrator, and change the language to english, change the template to default, set debug mode to on
5) Disable(not uninstall) all modules (else system)
6) Remove all templates (else default)
7) Overwrite all of 2.0.14 files(else mainfile.php), to your site, all this folders
htdocs/*.* and the folder upgrade, all to root.
xoops.md5 and xoops_md5.php to root.
(Be sure that all files are upload correctly go to http://www.mysite.com/xoops_md5.php)
8) go to script to downgrade 2.2 to 2.0.13
http://www.mysite.com/downgrade.php
Click on the the bottons (1º, the 2º and the them the 3º)
9) Give access 777 to mainfile.php
Go to script to upgrade 2.0.13 to 2.0.14 (like http://www.mysite.com/upgrade)
upgrade your site.
10) delete the downgrade.php, xoops.md5, xoops_md5.php files and the upgrade folder.
11, 12 and 13 are in mysql (eg. use phpMyAdmin)
11) Delete all records in ****_tplfile table
12) Delete all records in ****_tplsource table
13) Certify that ****_tplset table only have one record(default template)
14) Copy all new versions of the modules that have, some modules require to have new files to run properly in 2.0
(Like newsbb, need to copy in Framework the xoops22 folder)
15) Go to admin http://www.mysite.com/admin.php
Update first the system module, and next, update all other modules.
16) Enable all other modules
17) Go to Administration Groups, and give permition to all groups to access all blocks and modules (else if you don't want to)
18) Add blocks
19) Clone template, and you may set you custom blocks
20) Now the (down) upgrade is completed, add all others things you want in this stage (theme,etc..).
Ich werde dann berichten ob es bei mir funktioniert hat.
Gruß Heinz
|