Deploying Updated or New Plugins That Modify the wp_options Table

I have a WordPress site under local version control with Git. I deploy it to the production server using Capistrano. For the initial deployment, I manually import the SQL database to the production server, and change all the local references by hand. Any content changes are made on the production server from then on. This … Read more

Multi-Environment Set up

I am facing this issue: we have one developers environment, one test environment, then the production. I would like to restrict the plugin additions, menu changes, any other changes not related to actual blog writing to the lower environment set up process and then propagation to production. Say I am adding a plugin: In development … Read more

IIS7 deployment – duplicate ‘system.web.extensions/scripting/scriptResourceHandler’ section

On attempting to deploy a .net 3.5 website on the default app pool in IIS7 having the framework section set to 4.0, I get the following error. There is a duplicate ‘system.web.extensions/scripting/scriptResourceHandler’ section defined. Commenting off the offending lines didn’t help either. Any pointers on what I need to do or look at? 15 Answers … Read more

Failure to establish connection when provisioning via ansible-playbook server.yml

I’m using Root.io‘s Trellis workflow. I’ve encountered an error wherein I couldn’t establish a connection via ansible-playbook. When I run ansible-playbook server.yml -e env=staging it throws me an error that the ssh connection cannot be established so I checked my users.yml file and saw a problem under the keys section: – name: “{{ admin_user }}” … Read more

WordPress Workflow – version control, deployment = database issue

I’m trying to work version control into developing a WordPress site, but I’m unable to solve the issue of DB synchronization. For simplicity’s sake, I will describe a scenario with just Live and Staging websites and repos: Pull down Live DB to Staging DB Do the same for code Install WP plugin on Staging. Tweak, … Read more

What is the usual process of saving changes made at the CMS level into source control?

I have a DEV environment setup with wordpress installed, where I have a wordpress developer working every day. I don’t feel comfortable every time he changes something in the environment because there’s no way of tracking the changes he’s doing, so in the case there’s an error o we want to go back 3 days … Read more

WordPress cannot upload data after migration

After migrating a WordPress instance from one hoster to another, it’s impossible to upload any media. Uploads fail with the message “Unable to create directory wp-content/uploads/2016/11. Is its parent directory writable by the server?”. Also, WordPress tells me that the max file size is 2MB. I’ve tried the following already: Checking phpinfo(). Nothing suspicious there. … Read more