ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

"Is system on" resetting on redeploy

February 10, 2012 12:20pm

Subscribe [2]
  • #1 / Feb 10, 2012 12:20pm

    Matt Fordham

    14 posts

    I deploy my ExpressionEngine sites using Capistrano, which creates a new directory on the server for each “release” (using Git) and creates a symlink to the current one, which gets served.

    The issue I am having is that after I deploy a new version, the “is system on” setting is getting reset to “yes”. My deploy doesn’t do anything to the database. I am baffled as to how this could change. Is it cached somewhere as a file?

    Any ideas? Thanks!
    Matt.

  • #2 / Feb 11, 2012 8:02pm

    Dan Decker

    7338 posts

    Hi Matt Fordham,

    While version controlled deployments are a bit outside, a couple of things spring to mind.

    That value isn’t cached, but it can be overridden in /system/expressionengine/config/config.php
    Can look in your master branch files and check config.php for:

    $config['is_system_on'] = 'y';

    Does the deployment honor the setting if you change it? Are you using any of the available config bootstraps as part of your deployment?

    Cheers!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases