منتدى استراحات زايد

منتدى استراحات زايد (http://vb.ma7room.com/index.php)
-   منتدى أخبار المواقع والمنتديات العربية والأجنبية (http://vb.ma7room.com/forumdisplay.php?f=183)
-   -   Forum Possibly a seamless upgrade from 4.0.1 to 4.0.2 (http://vb.ma7room.com/showthread.php?t=332492)

محروم.كوم 02-18-2010 10:20 PM

Forum Possibly a seamless upgrade from 4.0.1 to 4.0.2
 
Ok everyone, so after sitting on the fence after hearing all the doom and gloom about the upgrade from 4.0.1 to 4.0.2. I decided to move forward with an upgrade. Everything seems to have gone well, CMS and articles are all visible. Thread with attachment deletion problem seems fixed in 4.0.2.

I should also mention that I'm on HostGator and I did NOT have the 64M limit problem others have reported where their upgrade script error'ed out. Did not run into any template reversion problems either. I only had one template customized (header) and I reverted it back prior to upgrading.

Here are the steps I followed

1) Backed up everything (attachments dir, wwwdir, database)
2) Turned off forums
3) Disabled all plugins except blog and CMS which I left active. I disabled in "Manage Products" AND unchecked in "Plugin Manager".
4) created a NEW database in Hostgator and imported the backup I had just created (same user/pass as old db)
5) created a new directory in public_html on HG and copied my original www dir into it (using "cp -R -p" to preserve permissions).
6) Edited my config.php to point to the new database.
7) Went into site options and updated my site URLs to point to the new www directory.
8) Copied 4.0.2 files into my new www directory.
9) Ran upgrade script
10) Logged back into admincp (remember, use the NEW URL).
11) Ran repair on CMS nodes/
12) Went into maintenance / update counters and updated everything.
13) Removed install.php
14) Looked at CMS and Forums to make sure everything was there.
15) Re-enabled all my plugins in both "Manage Products" and "Plugin Manager".
16) Took another look around to make sure everything was working.
17) Once I knew everything was OK, I deleted the forum directory in my OLD wwwdir and moved the newly created one to the original's location. On HG each add-on domain has it's own sub-directory on your account, so for example, I had "public_html/myforumsdomain.com/forums" as my original, and I just had created a second one called "public_html/myforumsdomain.com2/forums". So I deleted "public_html/myforumsdomain.com/forums" then did a "mv public_html/myforumsdomain.com2/forums public_html/myforumsdomain.com/."
18) Turned forums back on.

I like this method because at the end of the process, my original database is still there (unused now of course) but I can delete it later on and my original forums directory goes untouched until I verify the upgrade went smoothly.

So far so good.

Regards,

ErnestA


الساعة الآن 10:43 PM

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By Almuhajir


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227