Welcome to Windows 10

Finally beat the July 28th deadline for upgrading Windows 7 to Windows 10.

Made backups with Macrium Reflect first.  Paid for that one, got rid of the perpetually flaky Acronis.

Both machines (Intel Core Duo 2Ghz dual-core and old AMD dual core) upgraded successfully. AMD box slow, but it worked, with install apps and files in place. A little juggling the start menu to lose the junk, and we are back in biz.

A potential issue came up where the audio was crackling.  One post suggested the LatencyMon app from Resplendence Software.   Way cool. Said I had serious latency issues and could not host real-time software – like audio. Duh.

This post, Speakers Crackling since Windows 10 update, suggested I reinstall the old audio driver.  Not trying that yet.

Ultimately, this YouTube video, How to FIX Windows 10 Audio/Sound Problem , worked by running the non-low-power power profile. Not sure why that matters – tries to starve the CPU? Seems to work.

Then I replaced the CPU with Intel Core 2 Quad Q9650 3Ghz from eBay for $65. Windows 10 rebooted and barfed a few times; I had to reset the BIOS to even have Windows 10 detect the new CPU. Then I had an issue with the CPU fan, but I think that was related to the dust buildup. 5 minutes with the compressor outside cleaned it out, and using the great HWMonitor program,  cores are running 100-110F. Not bad. The machine runs very smoothly with the new two cores, for very little coin.

Upgrading WordPress in Bulk

Of course there is the old faithful Updating_WordPress_with_Subversion and Upgrading_WordPress_Extended, but there is a lot of fluff there. Old blogs are “You are using WordPress 2.9.1”. Show me the command lines.

Certainly.

  • “Backup your database. Read Backing Up Your Database for a detailed explanation.”
    • Use Plugin WP-DB-Backup from http://austinmatzko.com/wordpress-plugins/wp-db-backup/
    • Download it – make sure the copy is here. Open it up.
  • “Backup ALL your WordPress files in your WordPress directory. Don’t forget your .htaccess file.”
    • Make a local shadow directory
      • $ rsync -vur ./sarajane/ ./backups/sarajane-snapshot-20110416/
    • Make a tar file for download for archive
    • $ tar cvf sarajane-snapshot-20110416.tar sarajane/
    • $ gzip sarajane-snapshot-20110416.tar
    • Verify the backups you created are there and usable. This is essential.
  • “Deactivate ALL your Plugins.”
  • “Ensure first four steps are completed. Do not attempt the upgrade unless you have completed the first four steps.”
  • Gotta upgrade the MYSQL Database? I did… The nice thing is, use two different ones. Since you saved the original directory, you can switch back to old state and db by replacing the directory.
    • Per Backing_Up_the_Database
      • $ mysqldump --add-drop-table -h mysqlservername  -u mysqlusername -p dbname> ms-db-backup-20110416.sql
  • edit wp-config.php (save the old one)
  • $ cp wp-config.php wp-config.php.save
  • $ vi wp-config.php ...
  • Use new SVN install into new folder
    • $ mkdir sarajane2
    • $ cd sarajane2
    • $ svn co http://core.svn.wordpress.org/tags/3.1.1 .
  • Copy these files from your old site to the new
    • $ export OLDBLOG=$HOME/sarajane
    • $ export NEWBLOG=$HOME/sarajane2
    • $ cp $OLDBLOG/wp-config.php $NEWBLOG/
    • $ ls $OLDBLOG/wp-content/cache
    • $ rm -rf $OLDBLOG/wp-content/cache
    • $ ls $OLDBLOG/wp-content/plugins/widgets
    • $ rm -rf $OLDBLOG/wp-content/plugins/widgets
    • $ rsync -vur --exclude=.svn/ $OLDBLOG/wp-content/ $NEWBLOG/wp-content
  • # this only is in older WP installs
    • $ rsync -vur --exclude=.svn/ $OLDBLOG/wp-images/ $NEWBLOG/wp-images
    • $ cp sarajane/.htaccess sarajane2
  • Swap directories
    • $ mv sarajane sarajane0
    • $ mv sarajane2 sarajane
  • Hit the upgrade link

Atualhalpa stores settings in the database, so you don’t have to copy anything.

WP 3.0.1 and Atahualpa

So I upgrade to WP 3.0.1 using Atahualpa and cannot edit pages. Page, edit, left menu but no text, no nothing. Bad. Have to hold off upgrading all the other blogs. Upgrade Atahualpa to 3.5.3. No good.

After weeks of search, found this post which sez PHP4 does not cut it.

What does 1&1 supply by default?

(uiserver):xxxxxx:~/xxxxxx> php --version
PHP 4.4.9 (cgi) (built: Aug 12 2008 13:28:34)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

Update .htaccess. Add:

AddType x-mapp-php5 .php

Works nice. Thank you very much.