Title: Capistrano Deploy
Last modified: August 30, 2016

---

# Capistrano Deploy

 *  [devnull666](https://wordpress.org/support/users/devnull666/)
 * (@devnull666)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/capistrano-deploy/)
 * Has anyone tried to deploy using Capistrano + Composer?
 * I get things working on localhost…
 * After deploying to production server from localhost, contact forms fail to send
   messages.
 * Activating & De-activating does not make a difference.
 * Deleting the plugin and re-installing fixes the issue.
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [davmerit](https://wordpress.org/support/users/davmerit/)
 * (@davmerit)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/capistrano-deploy/#post-6691229)
 * > I get things working on localhost… After deploying to production server from
   > localhost, contact forms fail to send messages.
 * There are a host of issues that can stop or delay emails on both the sending 
   and receiving ends. It depends entirely on your local Server & WordPress configuration.
   You will need to investigate this issue for your particular local configuration.
 * See [Contact Form 7 Email Issues](http://kb.cf7skins.com/contact-form-7-email-issues/).
   Provides a comprehensive and detailed article which covers many issues. Most 
   people that work through this information appear to be able to resolve their 
   email sending & receiving issues.
 *  Thread Starter [devnull666](https://wordpress.org/support/users/devnull666/)
 * (@devnull666)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/capistrano-deploy/#post-6691362)
 * Thanks for the reply.
 * When I install Contact Form 7 on the host from scratch, email delivery works.
   So, there are no issues with my server / wordpress configuration in delivering
   mail.
 * It’s only when I install through a capistrano+composer workflow, Contact Form
   7 fails. This failure happens even though Contact Form 7 works on the local host.
 * I think something is happening during installation of Contact Form 7, that causes
   server / configuration dependence.
 * When you simply copy your WP configuration from one host to another (which is
   what capistrano+composer workflow does), the setup no longer works.
 * It’s easy to fix: re-install Contact Form 7 from scratch and email delivery starts
   working again. But, it also means that Contact Form 7 breaks automated deployments.
 * In essence, the installation (not just activation) of Contact Form 7 has host
   dependent components, and you cannot just copy WP from host to host.
 * Perhaps you could describe the installation process and what gets setup in databases,
   etc. so that I can modify and fix it?
 *  Thread Starter [devnull666](https://wordpress.org/support/users/devnull666/)
 * (@devnull666)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/capistrano-deploy/#post-6691385)
 * any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Capistrano Deploy’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [devnull666](https://wordpress.org/support/users/devnull666/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/capistrano-deploy/#post-6691385)
 * Status: not resolved