Categories
General

Tips for moving a domain to a new PS at Dreamhost

I finally got nginx to work with WordPress at Dreamhost, so I’m moving more domains (including this one) over to it. When you edit a domain in the panel at Dreamhost there’s a handy-looking way to move from one PS to another, including moving all of the files. Sadly, I don’t think it’s ever worked for me. Here are the issues I’ve encountered and their solutions:

  • “Site Temporarily Unavailable” after you move a domain, whether you try to move the files or not. Scary! Editing the domain again and saving with the same settings usually works for me, but sometimes I have to do it a couple of times. This is apparently due to slow DNS propagation, so you can also just wait it out. Why DH can’t manage to still serve the site from the old PS is a mystery to me.
  • Failure to move the files. This seems to happen when your domain has a lot of files – like a WordPress install – and the source PS is overloaded. To fix this I just use rsync to sync the files to my local machine, sync those to the new PS, then move the domain in the panel (unchecking the box to move the files). Upping the resources for the source PS would likely work too.
  • Sometimes nothing works. This is when most people would wisely contact tech support. I’m too stubborn for that, so I move the domain back to the old PS and try again later. Oddly, trying again the next day has always worked.
  • If you do use the panel to move a domain, the file ownership can be weird. Fix this by setting up an admin user for the new PS in the panel and using chown.
  • When you change an nginx conf file for a domain you’ll need to restart nginx (sudo /etc/init.d/nginx restart) using your admin user. I think it’s possible to reload the config without restarting using /etc/init.d/nginx reload instead.
Categories
General

Developed some film

Sailboat

First time and it worked! I used caffenol – a mixture of washing soda, instant coffee, and vitamin C.

Categories
General

Birthdaze 0.5.2

I got an email suggestion to add a way to highlight a birthday if it’s today. It turned out to be pretty easy – this minor update adds a span tag with a class “bdaytoday” or “nobdaytoday” to each birthday in a list. So, adding this would make today’s birthday(s) red:

.bdaytoday {
color: #f00;
}

Get the latest version here: birthdaze-0.5.2

Categories
General

No sound with RealTek ALC892

Every now and then my computer’s sound dies and my speakers only produce pops and clicks. I have a Biostar TA880GB+ motherboard with a RealTek ALC892 sound chip. I assumed the fault was with the driver and went on a quest to reinstall all of the audio-related stuff in my Fedora 15 install. Sadly, after much driver reinstalling and audio reconfiguring the speakers were still only emitting pops and clicks. I finally tried powering down the computer (who ever does that?) and now it works. I had rebooted several times – for some reason the system needed to be powered down completely.

Categories
General

Alaska 2011

I caught some fish and stuff!

King Salmon and I
Eagle on a tank
Just a gull
Overseas Martinez
Salmon face
Bow
Local kitty.
TARDIS sighting

We spotted the TARDIS along the road to K-Bay Caffe in Homer.

Shells
Pink toilet
Moss
Maybe a car?
Truck

The major sights of Sterling, Alaska.