WordPress: Soo kabashada Musiibada

WordPress wuu jabay

Musiibada Hindenburgee la soo dhaafay ayaa maalmo yar I've been working furiously on getting my good friend Pat Coyle's blog back up. (My vacation continues to get more interesting – today it's snowing slightly… in April! Whatever happened to Global Warming?)

Waxaan rabaa inaan la wadaago waxa dhacay ka dibna ka wada hadlo talaabooyinka ka hortaga ee aan qaaday iyo waliba sida loo saxay.

Waa tan waxa dhacay:

  1. A DNS server ayaa tagay fritz. A DNS Server wuxuu tarjumayaa taraafikada soo galaya magac domain wuxuuna u weecinayaa dhanka adeegaha saxda ah. Markay dhacdadan dhacdo, waxay dhab ahaan jartay 2 hab oo isgaadhsiin ah - magaca domainka ee goobta iyo goobta loogu talagalay keydka xogta (keydkiisa xogtu wuxuu hadda ku jiraa deegaan wadaag ah).
  2. I complicated things by quickly moving his blog over to another server, not realizing that there was a DNS issue. This adds another level of complexity. Passwords in WordPress (and most other database applications) are uniquely encrypted by the server that they are on. If you move the site to another server, you've just disabled your ability to decrypt that password. Thankfully, WordPress (another great feature) has a password recovery system where you can reset your password via a link in an email.

Here's the immediate action that I took:

  1. Before this ever occurred, I have to say that I'm with a fantastic web hosting company who does comprehensive backups. I've never had an issue that they weren't able to correct through backups. I've heard nightmares from other folks on their blogs and sites being totally lost. I can't imagine what it's like to go through that. (Ku qor qoraaladayda RSS oo waxaad ku heli kartaa kuuboon sanad fasax ah aniga iyo martigeyga).
  2. Waxaan awooday inaan ku galo Adeegga Shabakadda FTP iyo soo ceshano goobta labadaba iyo keydka macluumaadka. Muuqaal kale oo ka mid ah xirmadayda martigelinta ayaa ah inaan ka wada heli karo dhammaan VDS ka baxsan websaydhka dhabta ah laftiisa. MySQL wuxuu kaydiyaa keydka macluumaadka galka faylka (/ var / lib / mysql /). Waxaan awooday inaan kala soo baxo xog ururin si fudud anigoo nuqul ka dhigaya galka deegaanka. Ka hadal gurmad weyn! Lama soo dejin karo, lama dhoofin karo, ma jiri karo cabirka faylalka ugu badan ee lagula macaamilo… kaliya FTP.

Hadda oo aan haysto goobta iyo keydka macluumaadka maxalliga ah, waxaan neefsaday nafis. Haddaan si fudud halkan ku joojiyo oo aan u dulqaato, arrinta DNS ayaa iskeed u shaqeyn lahayd oo Pat ayaa dhakhso u soo laaban lahaa. Waxaan xaqiijiyey in Magaca Domain-ka uu wali tilmaamayo Magaca Ku-habboon ee Adeeg-bixiyahayga martigelinaya Whois.net. Haddii aad ka hubiso boggaaga halkaas, magacyada magacyadu waxay ku yaalaan hoosta warbixinta.

Tani waxay igu dhalisay inaan aaminsanahay in goobta laga yaabo in la jabsaday. Magaca server-ku wuu saxanaa laakiin bogga soo socdaa wuxuu ahaa bog cabsi badan oo umuuqday spam. Waxaan ka faa'iideystay Ku dar Mawduucyada Tooska ah to Firefox to ensure I actually wasn't being redirected – the typical hack that many people see. The site wasn't being redirected. I could have done some additional troubleshooting; however, I entered a support ticket with my host so their experts could begin investigating.

Ku soo celinta boggaaga koonto kale ama martigeliyaha:

Anigu ma aanan cusbooneysiinin Pat qaabka ugu dambeeyay ee WordPress 2.1, PHP, iyo MySQL weli, sidaa darteed waxaan go'aansaday inaysan jirin waqti ka wanaagsan kan hadda jira! Waan tirtiray akoonkiisii ​​hore oo waxaan furay xisaab cusub. Waxaan dib u galiyay e-maylkiisa macluumaad alias ah waxaanan rakibey keydka macluumaadka, WordPress 2.1 and Pat's content:

  • wp-content galka galka - waa halka ay ku yaalliin dhammaan sawirradaada la soo galiyay.
  • wp-content plugins directory - dhammaan plugins-kaaga (tan tan ugu dambeysay samee tan iyo markii laga yaabo inaad leedahay arrimo nooc ah.
  • tusaha mawduucyada wp-content - mawduucaaga.

I hope in a future release of WordPress that these 3 directories are root directories rather than sub-directories. It would make upgrading much easier! By this time, my host had found the DNS issue and properly redirected the site. Whew! Now Pat's page was coming back up with a WordPress Upgrade message. I clicked through to upgrade the database and he was back up… almost.

Remember the encryption issue I spoke about? Yea, Pat couldn't login because of it. His password no longer decrypted the value in the database properly so I had one more correction to make. I physically logged into the database and changed Pat's reply email address in the user table to my email address. I then utilized the “Lost my Password” feature to email myself a link to reset the password. After resetting the password, I logged in and changed Pat's email address back.

And now Pat is back up! Hindsight is 20/20… had I simply waited on my host, the issue would have been corrected. I really complicated the issue. However, Pat's now upgraded and running the best versions of everything. I'm sorry he was down so long, though. It doesn't take long to bounce back from downtime, but it is a nasty inconvenience! Sorry, Pat!

Casharadii laga bartay:

  1. Make sure you're with a host that has great backups.
  2. Ku kaydi bartaada iyo keydka xogta kuna keydi meel aamin ah.
  3. If you're with a good host, rely on them to find and correct the issue.
  4. Haddii aad u baahato, u gudub martigeliye ama akoon cusub oo faham sida loo soo celiyo goobta, keydka xogta, iyo soo kabashada lambarkaaga sirta ah.

Faahfaahin dheeri ah

Maalmahan baahida loo qabo isku xirnaanta internetka degdegga ah waxay kordhisay tiro badan. Xaqiiqdii, adduunkan wareegaya ee internetka, telefoonka dayax gacmeedka cadeeyay qiimaheeda. Marka laga hadlayo internetka bilaa-waayirka ah, dadku wali khatar bay ku jiraan oo way weydiinayaan internet wireless sida aad loogu qiimeeyay iyaga. Gaar ahaan maamulayaasha websaydhadu muhiimada ay leedahay wireless DSL su'aal dambe ma ahan Badanaa maamuleyaashani waxay doorbidaan istuudiyaha naqshada webka naqshadeynta ka dibna u baahan xiriirkan xawaaraha sare si aad u soo dhigto. Tallaabada xigta xiriirkan dhakhsaha leh ayaa sidoo kale looga baahan yahay geeddi-socodka ah suuq geynta raadinta. Qof qaba Shahaadada Microsoft si fudud u xallin kara dhammaan dhibaatooyinka ka jira isku xirka isku-xirnaanta.

Maxay idinla tahay?

Boggani wuxuu isticmaalaa Akismet si loo yareeyo spam. Baro sida xogtaada faallooyinkaaga looga shaqeeyo.