• Resolved lorigolively

    (@lorigolively)


    I used this plugin to create a staging environment in order to do a complete design overhaul on the site. Then I copied the staging install back over to the live install. Unfortunately that also copied the password requirement setting and the name “STAGING – site name”. I turned off the secure site setting for now, but was wondering how to take the various Staging settings off of the live copy. Please help… Thanks!

    https://wordpress.org/plugins/wp-staging/

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Rene Hermenau

    (@renehermi)

    Deactivate the WP Staging plugin on your live site and the password requirement should be gone.

    So, Rene, is this a good work-around of the “can’t push to live” limitation? I am disappointed, too, because I thought your plug-in would allow me to do an overhaul on eastmoreland.org, using eastmoreland.org/enarev, just as lorigolively thought.

    If it is a valid work-around, could you clarify the steps to successfully push the staging site to the live site?

    Thank you,
    Steve Keller

    Lorigolively…
    Rene apparently lives in Germany, so I don’t really expect a response til late tonight, but I would appreciate your input, as to whether your work-around worked.

    On the steps you took, copying “the staging install back over to the live install,” and then dealing with “the password requirement setting and the name “STAGING – site name”, how did you copy the staging install, or what does that mean? If it’s a valid work-around, I would think Rene would be very grateful…I know I will be.

    Thanks,
    Steve

    Thread Starter lorigolively

    (@lorigolively)

    Hi Steve–
    Yes, I do think this a good work-around. I used WP Staging to create the staging site, applied a new theme and made a bunch of changes. Then I used WP Clone to create a backup and then restored that backup to the main site. The first attempt to restore did not go through (I think there was a timeout error or something like that), but then it worked like a charm on the 2nd try. Deactivating the WP Staging plugin as Rene said did resolve my issues as well. Hope this helps!
    –Lori

    Hey Lori,
    I just added WP Clone by WP Academy, and in creating a backup of my staged site, though I haven’t really changed anything yet, I get an error message “page not found” and the original site is showing. I think there are a lot of old files on the original site, which I have not been given clearance to remove.

    I overrode max memory and execution time, limited file size to 100Mb and no other changes, and it went through. So, I have a url and just to the right (1.42GB) is indicated…size of the site??

    The instructions for the next steps are a bit unclear…to me, at least…

    paste into the “Restore” dialog of a new WordPress site, which will clone the original site to the new site. You must install the plugin on the new site and then run the WP Clone > Restore function.

    Since you were overhauling a site, you didn’t “paste into the Restore dialog of a new WP site”, but replaced what was on the original site…right?? And installing “the plugin on the new site”, you read as install WP Clone on the original site? Lastly, does running “the WP Clone > Restore function” replace the original content automatically, or did you have to take extra steps?

    Thanks for reading and if you have time, I would dig hearing your thoughts. Kudos to you for figuring this out!

    Thanks,
    Steve

    Just had another scary thought…Does “Deactivating the WP Staging plugin” on the original site delete the staged site, because that is where it originated and it seems like a subdomain? I may be confused, or overthinking it, but it does seem like one could lose the staged content, or might that only happen if you delete the WP Staging plugin?

    Thanks,
    Steve

    Hi Steve,

    Just following this topic, did not try the cloning and using the staging to replace the live site yet.

    However I can tell you that the staging site is not a subdomain.
    If you have/know how to access your files via FTP or your cPanel, you will see the plugin creates a simple subfolder in your same domain.

    Please look at my screenshot where you can see my staging folder created by the plugin in just a subfolder of my ( test ) site:

    http://www.awesomescreenshot.com/image/1470030/a9c29bf12e83b00598cf3127c45d62db

    Me again 🙂

    In the settings of this plugin there is an option to check a box to delete all files after deleting the staging plugin, please look at my screenshot:

    http://www.awesomescreenshot.com/image/1470045/b7986c4cfee3a3bf115bcb46d00f0d2f

    This tells me, if you do not check this box, all files and staging will remain if you just deactivate the plugin and even if you delete it completely.

    Ofcourse, if you take a backup of your domain/site you can always include the subfolder where the staging resides, in that way you can always restore everything again.

    I have just tested it myself in a ( self created staging site ) and if I deactivate the plugin, the staging folder was indeed not removed.

    However, you can no longer get to the stagingsite using your live sites dashboard if the plugin is deactivated. Just remember/use the direct link for the staging site and you can still log in.

    Still reporting my own tests, might help someone I hope!

    DATABASE

    It uses the same database as your live site, it creates its own tables within your existing database. You can see that if you access your control panel at your host and fo to the PhpMyAdmin section.

    So if for some reason you would no longer want to use this plugin, You should check that box to delete everything. I suppose it deletes the tables in your database as well, so it does not leave any unused clutter in your database.

    CLONE STAGING AND MIGRATE TO/OVER THE LIVE SITE

    I have just tested this:
    Installed the All in One migration plugin in both the live and the staging site.
    I saved the permalinks twice using the custom permalinks so the standard links that this staging uses is set to nice clean permalinks
    Made changes in the staging and exported the staging using the All in One migration plugin
    The staging and its changes were succesfully migrated and now populating the live site.
    I just had to apoint the homepage in wordpress settings and all is migrated perfectly!!

    However The message staging site is now visible in the live site. It only disapears if I deactivate the plugin..?

    TEST TO SEE WHAT HAPPENS AFTER DELETING THE PLUGIN

    I completely removed the plugin from the live site
    the staging folder was not deleted
    its database tables where still there ( obviously )
    I could access the staging site by using its direct link.

    HOW TO COMPLETELY REMOVE STAGING AND ITS DATABASE TABLES:

    remove the staging folder via FTP
    remove the dabasetables via PhpMyAdmin ( easely to be recognised by the stagina name you gave it )

    ISSUE AFTER THE ABOVE

    Even after doing all the above removing
    checking the box to delete everything after deleting the plugin
    then re-installing the plugin, the orange staging bar still appears?

    Seems after the migration of the staging site ( which went well ) one never gets rid of the staging bar in the live site, only if we deactivate the plugin? Not so great if we want to start over with a new staging site?

    Hey Logo…

    I went in another direction, and just opened a new domain to copy to and from, when done revising.

    Good luck,
    Steve

    Plugin Author Rene Hermenau

    (@renehermi)

    @logo you can also delete all data with the following order:

    – Delete first the staging site via plugin
    – Enable Wp Staging Option: Remove Data on Uninstall
    – Delete the plugin

    Done! No FTP or phpmyadmin needed

    Hi Rene,

    Thanks for the tip, I will give that a try!
    Maybe in that order the orange staging bar will be gone as well?

    If the push to live site becomes available, this work around will no longer be necessary ofcourse. Any indication when that would become available?

    Very exited about your plugin and testing it, so far…awesome!

    Annie

    Hey,

    I just used WP Clone to update my staging environment but now can’t log in to the staging site as it seems to have changed my email and the mailing was deactivated (intentionally on the staging site so our members didn’t get accidental emails).

    Any clues on what went wrong?

    Alex

    Able to clone the Live to Staging but not the staging to live, Can you explain the steps to do this ?

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Copies staging to live and now the live install says staging?’ is closed to new replies.