Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [staging]

This tag is for questions regarding problems related to staging sites. Staging sites are development sites of a project where developers make the final tests before pushing changs to production.

0
votes
2answers
32 views

Can't acces my site and without login and drush clear cache

I moved my local site to shared host. all code has been deployed to the staging server I changed settings.php import the database from local to the staging server database When I try to reach the ...
-1
votes
2answers
59 views

Create a setting.*.php file for every stage of the website

I understand that my question could be opition-based and that it depends on the comfort of every drupal developer so please do not flag it as so ! For every Drupal 8 website i start, i use the below ...
0
votes
0answers
33 views

Development -> Production pipeline

Is there any way that Development website can be passed to Production without overriding the nodes on Production. I tried the default backup and migrate modules but it overrides the existing nodes. ...
0
votes
3answers
367 views

How to anonymise user names and emails?

The developer stages need their user names and email address anonymised. I did not find anything googling the subject matter. Maybe somebody developed a Drush extension for this? Any other suggestions ...
3
votes
1answer
107 views

Best method of pushing content changes that contains paragraph fields from dev to production?

I manage a very big site with over 30k nodes and these nodes have many fields in them including paragaph fields with many sub fields in them too. Currently when testing and adding in content. I have ...
3
votes
1answer
79 views

What is the value of “Drupal user” in Drush status for?

What is the value of "Drupal user" in Drush status for? Suddenly, one of my websites lists the Drupal user as "anonymous" instead of blank, like the other environments. I noticed the change after ...
1
vote
1answer
80 views

Can I use Feature for development and CMI only for deployment?

As a developer working in team I don't like using CMI to synch config from/into development server at all (cim/cex) in local development machine. Instead I'd like to use Feature. What I wanted to ...
3
votes
2answers
338 views

Synching development and production site versions

Drupal 8, two versions of a site - dev and production. How to move changes, especially changes in content from dev to production without destroying DB on production? I know we have Features for ...
0
votes
1answer
593 views

How to use Gitlab server as a central staging server for Drupal8? Making the 1st push to Gitlab?

I just installed a Gitlab instance on my LAN. I want to use it as the central repository for a Drupal dev->test->prod staging setup. So, 1st step, I want to push my local "dev" workspace to the ...
6
votes
7answers
2k views

How can I protect development sites with Basic Auth module enabled?

During development phase a dev site should be protected from being browsable by unauthorized visitors. Usually I use Basic Auth configured in the web server. This way the only information an ...
2
votes
1answer
270 views

Drupal Deployment to Dev & Prod and Git Code Repository Setup

I have a dev and a prod server with 4 other developers. What is the most efficient way of setting up a development code push environment without the need to have to get too involved in the process? I ...
-1
votes
1answer
63 views

protecting a staging Drupal environment

I've been using this code block inspired by Acquia to protect a client's staging environment. if($_SERVER['SERVER_ADDR'] == '192.168.1.1') { $username = 'user'; $password = 'password'; if (!(...
2
votes
2answers
439 views

How to combine content from two different environments?

We have two Drupal environments: dev and prod. We use dev to stage content before it goes to production. We also have prod, where content is created and then have to manually re-create those changes ...
2
votes
1answer
836 views

Should the Drupal 8 sites/default/files/config folder be stored in git with its hash suffix?

New question title: "Should the sites/default/files/config folder be stored in git with it's hash suffix?" " Reason I ask this is that this might cause 2 issues: May be a hindrance when comparing ...
1
vote
1answer
31 views

Site maintenance/merge changes [duplicate]

I set up an account at BlueHost and my unfinished site is now live at columbiablooms.org. My understanding is that when I make modifications, such as enhancements, that changes are made not only to ...
2
votes
1answer
191 views

Drush policy restriction doesn't restrict sql_sync

On my @dev machine, I've installed a drush policy rule that should (?) prevent sql_sync to my remote @prod machine, cat /etc/drush/policy.drush.inc <?php function ...
3
votes
1answer
59 views

Limit drush sync paths?

I have 3 drush-aliased sites: @DEV, @STAGE & @PROD rsync & sql-sync all work between them. At the moment, that's both directions, between any two sites. I want to limit the sync paths to ...
5
votes
4answers
7k views

How to push changes from a dev environment to prod

Our team of 10 developers would like to use Dev, Test, Staging and Production environments for our large site. How can we streamline pushing our changes from one site to another, keeping them as ...
2
votes
0answers
96 views

Staging / testing environment [closed]

I've started a big project and need to create some kind of staging area or testing environment, where I'm able to start off with developing the site and after launch will be able to use as the server ...
4
votes
4answers
5k views

How do you disable Cron on a staging / dev server?

I have a staging and dev setup, but I wonder if I can disable cron on these as I don't want cron firing. It's mainly because I have backup migrate module scheduled to backup my site everyday, but I ...
0
votes
1answer
251 views

How can i display a environment indicator notice on my dev and staging when browsing the site?

I know there is a environment_indicator module that displays a bar on the bottom of the website showing if your on staging or dev. http://drupal.org/project/environment_indicator I want to know if ...
1
vote
1answer
148 views

Self-hosted development and deployment control panel - does this exist?

My company requires a dev/staging/production environment for a new Drupal project. Plus some kind of control panel for managing development workflow and testing, upgrades and backups of code and ...
2
votes
1answer
53 views

How to make sure you're not on the production website in Drupal 7?

I remember seeing some kind of module where it lets you know that your on a staging / dev site without the risk of you editing the main production site. Or is there other methods that others use to ...
1
vote
0answers
539 views

Deployment Module on Drupal 7 issue

I've installed and set up the deploy module; I've followed instruction on Installation docs of deploy module for D7 and double checked it. When I try to deploy node content, and run the cron, ...
5
votes
1answer
4k views

Efficient and easy Drupal 7 Development to Production workflow

How would you put large existing Drupal 7 production site in some simple Development-Staging-Production workflow ? I read through various documentation about the issue, but would like to know more ...
0
votes
1answer
217 views

Module to Create Historic Timeline Snapshots of Drupal Sites?

I'm looking for a module to create a functionality where it will take snapshots of the entire site and then replicate it to another domain/sub-domain every X number of days or weeks. I want to do this ...
4
votes
2answers
2k views

How can we synchronize Nodes from Staging to Production Server

My Question is there any way we can track the node changes on Staging Server and Push the same to the Production Server. Best use case will be, Customer does not want to change the content on ...
3
votes
2answers
495 views

dev-test-prod staging workflow for drupal with transport of database changes

Hi I am looking for a best practice staging workflow for a four level staging environement for drupal: dev->test->pre-prod->prod I found this quite informative thread already Applying Updates to ...
3
votes
2answers
459 views

Setting up a development environment for drupal site

I have a production site at example.com (with a subdomain multi-install) and I have been meaning to setup a development environment at beta.example.com (also having all of the multi-sites). I would ...
20
votes
13answers
11k views

How can I stop Drupal from sending e-mails of any kind?

I have a dev, staging, and live server workflow set up on Pantheon. My site has a lot of rules that cause members to be e-mailed for various reasons. I sometimes need to work on these on my dev/...
1
vote
1answer
808 views

Error sending Drush commands to remote host

I have Drush 5.2 installed on my local dev system and my remote host, which has staging and production sites. I have aliases for all three sites, and am able to use rsync and sql-sync on both systems ...
0
votes
3answers
817 views

Moving content from dev directory to production server

When developing websites for clients, each developer has all sites under a relative path in his htdocs dir: /client1site/ /client2site/ /clientsite/ and so on Most links within the drupal ...
3
votes
1answer
430 views

Staging process — how NOT to overwrite user content/data @ DB push to Production site?

I've finally gotten my Drupal7 Development->Staging->Production file & db syncing all working nicely using a mix of rsync, rsyncd, git &, where it doesn't cause more/unnecessary work for me, ...
9
votes
4answers
2k views

(dis)advantages of staging dev->production using 'drush rsync' vs 'git'?

I set up a Drupal site under git control for development work. It's parented in a master, bare GIT repo, and as changes are made in my various project-work git clones, and pushed back to the master, ...
7
votes
2answers
5k views

How do I set up default.settings.php to use it for development, testing and production sites?

I use dev, tst and prd environments for my Drupal 7 site set up. I use git for version control. I would like to eliminate one manual step I need to do when moving site from dev to tst and from tst ...
7
votes
2answers
3k views

How to speed up Drupal 7 compiling PHP to C++?

I would like to improve Drupal 7 performance with HipHop or any other similar solution transforming the code from PHP to C++ or C. What steps are needed to properly do the scenario below ? I would ...
2
votes
1answer
1k views

How to set Drush sql-sync not to clone users between @dev and @staging?

As I wrote in my previous question, I am using the following drush commands to synchronize development and staging environments. drush rsync @dev @staging drush sql-sync @dev @staging How to set up ...
2
votes
1answer
443 views

How to make Drush rsync @dev @staging exclude some directories?

I am using the following drush commands to synchronize development and test environments. drush rsync @dev @staging drush sql-sync @dev @staging How to setup drush to exclude certain directories (...
3
votes
1answer
2k views

Export blocks to production site [duplicate]

Possible Duplicate: Quickest way to reimport menus and blocks (D7) I need a way to easily transfer the block configuration from my staging site over to the live site. I've been working on ...
1
vote
1answer
1k views

Ensure a given module (set) is enabled on a dev site

Configuring dev-site specific settings is easy using the $conf array in settings.php Sometimes I need to also disable (securepages) or enable (devel) certain modules on a dev site, but I don't know ...
46
votes
3answers
18k views

How to migrate from test environment to production environment?

The migration is from the local environment to the production environment. The production environment has run some time and created a lot of articles. In order to add new things to my site, I added ...
9
votes
5answers
3k views

Deploying content updates from staging server to live server

We are trying to deploy content updates from our staging server to our live server but are having difficulty finding a good way to do this. We need to be able to deploy new pages, page updates and ...
81
votes
7answers
8k views

Suggestions for settings.php - Local dev, Development server, Live server

Basically, one of the greatest questions of all time: What are some ways you're using settings.php in your development/staging workflow? Right now, I have my settings.php file set up like the ...