Skip to main content

Questions tagged [staging]

Use it for questions about problems related to staging sites, development sites of a project.

Filter by
Sorted by
Tagged with
-3 votes
0 answers
41 views

cloning site killed by unreadable config file?

I've got a Drupal 9.5.11 site that I'm using Softaculous to attempt to clone it to another location. But any time I try, at around the 95% done mark, I get an error "Could not read config file.&...
turpentyne's user avatar
0 votes
0 answers
55 views

How can I update my staging with with the users from the live site?

I have a staging site I am about to push live, however I have a bunch of users on the live site that I need to pull over to the staging site before I push it up to the live site. I have google ...
Eluchel's user avatar
  • 387
1 vote
1 answer
38 views

What's the difference between creating a multisite vs development and production site? [closed]

Can I set up a multisite to perform the dev, production site, and eventually deployment ? Are they the same?
user avatar
0 votes
1 answer
23 views

Replace E-Mails in Webform 8 when dumping to test stage

We sanititze our dumps from production to test so that no newsletter subscriptions, form submissions or ohter things get into the test environement and bad things happen :D Is there a simple way to ...
macbert's user avatar
  • 363
0 votes
1 answer
51 views

How do I spawn additional instances with the same configuration?

I have the following scenario: I will develop an application based on Drupal. Everything will be developed on a local instance. Composer files, configuration and so on will be kept in a git repository....
flauschi's user avatar
1 vote
1 answer
414 views

Pull content from production to staging server

I have a setup that consists of a Drupal 8 instance on my localhost, a staging instance on a develop server and a productive version on a production server. Initially, I was co-designing the theme, ...
flauschi's user avatar
0 votes
2 answers
304 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 ...
meez's user avatar
  • 1,333
-1 votes
2 answers
405 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 ...
Elie Masaad's user avatar
0 votes
0 answers
55 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. ...
Michael's user avatar
  • 125
0 votes
3 answers
2k 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 ...
ñull's user avatar
  • 161
2 votes
1 answer
360 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 ...
Patoshi パトシ's user avatar
2 votes
1 answer
116 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 ...
Christia's user avatar
  • 1,667
1 vote
1 answer
95 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 ...
Codium's user avatar
  • 4,953
3 votes
3 answers
2k views

Syncing content between stage and prod [closed]

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 ...
Gleb Varenov's user avatar
0 votes
1 answer
670 views

How do I use Gitlab server as a central staging server?

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 ...
user58258's user avatar
  • 121
6 votes
8 answers
3k 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 ...
sanzante's user avatar
  • 6,981
2 votes
1 answer
369 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 ...
Patoshi パトシ's user avatar
-1 votes
1 answer
104 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 (!(...
Steven Grant's user avatar
2 votes
2 answers
926 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 ...
Matt's user avatar
  • 37
3 votes
1 answer
1k 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 ...
therobyouknow's user avatar
1 vote
1 answer
34 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 ...
Sam Stamport's user avatar
2 votes
1 answer
206 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 ...
MidGes's user avatar
  • 21
3 votes
1 answer
70 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 ...
MigDes's user avatar
  • 31
5 votes
4 answers
9k 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 ...
Johnathan Elmore's user avatar
2 votes
0 answers
105 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 ...
MadsK's user avatar
  • 21
8 votes
4 answers
8k 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 ...
Patoshi パトシ's user avatar
0 votes
1 answer
327 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 ...
Patoshi パトシ's user avatar
1 vote
1 answer
176 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 ...
pushka's user avatar
  • 1,853
2 votes
1 answer
56 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 ...
Patoshi パトシ's user avatar
1 vote
0 answers
542 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, ...
user1814734's user avatar
6 votes
1 answer
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 ...
NenadP's user avatar
  • 1,517
0 votes
1 answer
219 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 ...
Patoshi パトシ's user avatar
5 votes
2 answers
3k 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 ...
Anil Sagar's user avatar
  • 12.2k
3 votes
2 answers
547 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 ...
macbert's user avatar
  • 363
3 votes
2 answers
540 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 ...
Patrick James McDougle's user avatar
30 votes
14 answers
18k 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/...
Patrick Kenny's user avatar
1 vote
1 answer
831 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 ...
handsofaten's user avatar
0 votes
3 answers
848 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 ...
thanos panousis's user avatar
3 votes
1 answer
576 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, ...
user avatar
9 votes
4 answers
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, ...
user avatar
8 votes
2 answers
6k 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 ...
LLub's user avatar
  • 3,662
7 votes
2 answers
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 ...
LLub's user avatar
  • 3,662
2 votes
1 answer
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 ...
LLub's user avatar
  • 3,662
2 votes
1 answer
484 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 (...
LLub's user avatar
  • 3,662
3 votes
1 answer
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 ...
Jukebox's user avatar
  • 1,204
1 vote
1 answer
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 ...
Chris Burgess's user avatar
48 votes
3 answers
19k 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 ...
enjoylife's user avatar
  • 3,788
8 votes
5 answers
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 ...
antgiant's user avatar
  • 522
80 votes
7 answers
9k 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 ...
geerlingguy's user avatar
  • 5,483