Into the Ether and Back

$&#%*! If you live in Salem, Oregon you may have heard me over the cacophony of fireworks and mortars on New Year’s Eve. Around the time 2019 was ending, I deleted what I thought were corrupted archives of my website. In fact, I deleted my WordPress installation, which took my site with it. Seven years of photos and posts gone…like the puffs of smoke from the expended fireworks outside my window that night. Family history, memoirs and other valuable content deleted with the click of a button. Actually, two buttons. The second asking if I was sure I wanted to delete. WELL, I THOUGHT I WAS!

Before going further, it helps to understand a few basics about WordPress, the free content management system that powers more than 35% of the world’s websites. It makes building sites much easier for non-developers, though developers use and modify the open source code. Plugins are pieces of software added to a WordPress site giving it security, optimizations, visual effects, etc. Themes are templates.

Among the myriad folders and files in a WordPress installation, two are of utmost importance. First, the content folder, which holds the plugins and themes the site uses and all the images. Second, the SQL file, which resides elsewhere on the server and holds the site’s database information. This includes all written content, plugin data and other information that tells WordPress how to display the site.

Back to New Year’s Eve. In full panic mode, I opened my FTP client and connected to the server to look around and…yep. All the WordPress files were gone. Forever. While digging around, however, I discovered that my web host does automatic nightly backups. A flicker of hope! Inside the nightly backup folder was a copy of the content folder, but I also needed the SQL file, and that isn’t backed up because it hides in a more secure area of the server. Not secure enough apparently. Once I hit the delete button on WordPress it was irretrievable. Just great.

But, then another glimmer of hope! Inside the backed up content folder I found my plugins, including the one I use to manually back up my website. It was holding the backup files from a week prior of both my content folder and my SQL file. (It sounds like I’m going down a rabbit hole. Stay with me!) I immediately downloaded all the backups off the server onto my computer so they would not be overwritten the following night. Now, I had to put all the pieces back together.

This was where things became maddening. I had to do a fresh installation of WordPress. That was an easy click of a button. Done! Unfortunately, restoring everything had a broken easy button. After reinstalling the backup plugin, I tried many times to restore the files it had saved. The program simply refused to do so, thinking I was moving my website to a different server. That is a paid feature. No go. There was a note in the Frequently Asked Questions section of the plugin’s support website, mentioning if a database table prefix was different (huh?) this error could come up. Support for free plugins is not particularly robust and certainly not over a holiday. I filed a ticket and hoped to hear something before spring.

In the meantime, I moved forward with the messiness of a manual restoration, but the backed up files from the plugin were compressed in a proprietary file format. I had to grab the developer’s extraction tool so I could separate the content folder and the SQL file. Then, when overwriting the fresh WordPress content folder with my backup, I completely borked the website. I had to ask my web host for help because it was fundamentally broken. It turned out a couple files added from the backup were referencing files that did not exist, crashing the site, so the simple fix was deleting the offending files.

By this time, I figured out where I was supposed to put that SQL backup file — the one that hides in a special place. It required going into the back end of my website, adding a database and importing the SQL file into it. Everything was there that I lost, so I hoped to be nearly done with the project, but the restoration process dragged on like a root canal. I could get the site partially functioning, but not fully. Back to the beginning.

Mentally and emotionally I was a mess. There was a lot of self-loathing for making such a stupid mistake to begin with. Anxiety attacks greeted me every morning when I woke up. I wondered if I was going to have to open that SQL file and hunt through all the code for more than 130 posts I’d written and then copy and paste them back one at a time. There were also more than 300 photos and images and the thoughts of trying to put those back made me ill.

I reached out to developers who didn’t think they could help. I talked to friends who had some experience with WordPress, and they weren’t sure how to help but were fairly certain I had everything I needed. There were suggestions to start over. I began seeing the situation as having locked my keys in my car. I didn’t need a new car. I needed someone who could help me get back into the car!

I became too singularly focused on getting the website back and finally had to mentally let go, knowing I had done all I knew to do. By the fifth day of this ordeal, I found relief in that. I had hope and faith I’d get the help I needed and stopped spending all day and night in front of the computer trying different solutions.

By the start of the next week, the plugin developers responded to my request for help. Further research online helped me figure out a few things on my own. As it turned out, when I did my first installation of WordPress seven years ago I put it at http:///stormyweatherdesign.com. When I reinstalled it after my disaster I put it at http://www.stormyweatherdesign.com. I didn’t think there was a difference, and in practice there’s not, but the software thought it was a new website and thus a migration. Again, a paid feature and something I couldn’t do. Once I got that fixed, I was able to start the automated restoration. And…

…it didn’t work. $&#%*! You have GOT to be kidding me. The backup was large, and the server allows only a limited amount of time for the program to finish its work. Mine took too long because of the backup’s size. My web host was not open to allowing a temporary increase of the execution time, so I had to do everything manually, something that had not worked 100 attempts before.

This time I found better instructions on manual restoration and got the site up to about 90% put together. The missing 10% though included the administration page, which is needed to do any kind of changes going forward, and the site was still a bit wonky. After more research, I found a solution, and the site was back, a week to the exact hour I destroyed it.

Getting everything back and fully functioning was a miracle. It may not rate highly in great miracles of the world, but it was a big one to me. Not having a stroke or cardiac episode was probably a marvel too. Ha! I’m grateful for the support of many who were aware of the problems I was having and for those who offered advice, even if it was more about my personal health rather than actually restoring the website.

I learned a lot about WordPress and databases in a week. I’ll be a little more careful about what I’m deleting in the future, but I saved all the instructions for how to put things back together should this happen again. To be extra safe, I’m offloading my backups to a location other than the server. As the saying goes, “There are those who have lost data and those who will.” Best to increase the odds of recovery.

When I told my five-year-old that the website was back she said, “It didn’t even take you seven years.” She thought when I said I lost seven years of material that it would take seven years to get back. Ultimately, it took seven days. And that was enough.

The Summer of My Discontent

With apologies to William Shakespeare and John Steinbeck, it was quite a summer. There were a lot of things going on, but the big news was that we moved — not far but enough to create a great deal of upheaval. The post title is perhaps a bit hyperbolic, but moves are always stressful and this one came with extra challenges.

My wife, Lisa, is a rising star with the state of Oregon, and early in April she told me that a move from our home in Wilsonville to Salem, the state capital, would be beneficial for her career. The prospect of moving to Salem was a source of low grade tension for several years and something I fought. I loved our home and the unique neighborhood we lived in. I also liked keeping my commute time into Portland at a reasonable 30 minutes. But this time was different. Lisa really needs to be within 15 minutes of work, rather than 40. (Wilsonville is right between Portland and Salem.) Our daughter is coming of school age in another year, and Lisa wants to be close when that starts. There is also built-in help from her parents who live in Salem. Lisa loves her job, and I don’t want to hold her back, so I quickly agreed.

Unfortunately, the reality of what I had agreed to sunk in a few hours later and I fell into a deep funk. Villebois, where we lived, is a beautiful master planned development — the largest non-resort community in the state. I knew we’d never find anything like it again. I was also sentimental about our townhome. It was the first house we purchased, it was where we brought our baby girl home after she was born, and it required little maintenance. I lamented that our daughter wouldn’t attend the beautiful new school down the street that is in one of the best districts in the state. I also started dreading how my commute was going to grow to 60 minutes one way. It wasn’t good.

After some tough but honest conversations with Lisa, I snapped out of despair by mid-April, and we promptly escaped on vacation — with all the uncertainty of moving, selling a house and buying a house waiting for us when we returned.

This next chapter really had its challenges. House hunting started out fun but quickly became a slog. We looked at a number of homes in Salem and the immediate surrounding area and most left something to be desired or the neighborhoods did.

Everything changed when we visited a newly constructed home in south Salem in May. We walked in the door and fell in love with it immediately. It was beautiful inside, had a clean look in its design, and the builder had upgraded the home with a number of features. We were going to make an offer…

Meanwhile, our home in Wilsonville didn’t take much to get ready for market and we started packing boxes. The first day on the market we received a cash offer that we turned down, as we wanted our home to go to someone who would live in the neighborhood, rather than an investor turning it into a rental. Later that first day we received an offer from a couple of my work colleagues. I had told them about the house, and they loved it. We were thrilled it was going to people who would take care of it. We made our offer on the Salem home, it was accepted, and everything was on schedule for a late June closing and move. That didn’t happen.

On the day we signed the sale papers on the Wilsonville home, we learned our buyer had been given bad advice from their lender and the loan had been declined. The solution was relatively simple but required the closing date be extended another month. We contacted the builder of our Salem home immediately to let them know of the situation. That’s when things got ugly. The construction company is local in Salem and small. They threatened all sorts of actions that made me think they needed us a lot more than we needed them. Had they just been honest about their financial situation and the construction loans they had to pay rather than playing games, they would have gotten the same result but without the animosity and distrust that grew out of unfortunate conversations. Pro tip: this is where it’s critical to have a good realtor.

The good news is that our buyer quickly met the contingencies required to fund the loan and we just had to wait for the closing date. The Wilsonville house was mostly packed up with boxes everywhere. We were all getting a little testy about the long transition when the central air conditioning went out during one of the hottest weeks of summer. We did have insurance on the home that covered such issues, which was a lifesaver, but it added another layer of complexity and red tape to a sales transaction that had started out pretty simple!

There was a lot of back and forth between the warranty company and the contractor for what ultimately was a simple repair. It didn’t get taken care of until after we moved out of the house and the new owners moved in, but at least it was fixed not long afterward.

We discovered, however, that the central air in our new Salem home wasn’t working either. Remember the pro tip? Our realtor stepped in and forced the issue with our builder, and the repair got done the day we moved in. A wire on the thermostat had been snipped during drywall construction, and somehow the home inspector hadn’t caught it during testing of the heating and cooling system. Hmmm.

There have been a few other new construction hiccups as we’ve gotten settled, but overall we love the home and have taken to the area fairly quickly. We’ve been in the house now since the tail end of July. It’s crazy to think how much has changed since April, but we’re grateful for a new place to call home and look forward to life slowing down a bit in the fall.

What Happened to Clarke?

In a word? Everything! An eventful spring and summer led to less writing over the past few months. The CliffsNotes version:

  • We took our first major family vacation in years to Hawaii.
  • We decided to move.
  • We sold our house and bought a new home — in a new city.
  • I worked feverishly on a long-term project that is due in a few days.

As the dust settles, figuratively and literally, I look forward to sharing the story behind each bullet point. In the meantime, where do you keep the Advil around here?

Talk with you soon…