Questions about deployment: how to stage content, managing and syncing sites across multiple servers, etc.

learn more… | top users | synonyms

0
votes
0answers
9 views

Is hosting a Drupal site on an AWS Windows Server practical?

I'm working with a partner on a relatively short Drupal contract. Part of our work will necessitate that we migrate the site to a new host, which we think ought to be AWS. However, my partner, who ...
2
votes
2answers
30 views

How to deploy a module locally for testing?

I'm currently developing my first custom module for Drupal 7 and am having a hard time finding documentation about the available local deployment strategies. I have a custom module project, ...
10
votes
2answers
115 views

How do I deploy/manage similar sites from an unique profile, without dumps?

I do not like the "cloning website" solutions which implies dumping a database and importing this dump in another environment. This does not look like a real world way of deploying several instances ...
0
votes
0answers
20 views

What are the content deployment options from staging to production

The query is regarding the content deployment from Staging to Production. Drupal dev or Drupal admin can easily complete the deployment process using different option available in Drupal like below - ...
1
vote
0answers
17 views

How to revert a feature in hook_update programatically? [duplicate]

I've created a feature to update a menu. Then in my deploy module, I did this: function phoenix_deploy_update_7106() { $feature_list = array( 'campus_dropdown', ); ...
0
votes
0answers
12 views

Integrating DraggableViews with Deploy module

I'm starting to use DraggableViews & need to integrate it with the Deploy module, I have no idea how to do this though. Does anyone have any ideas? I do have "Views deployment aggregator" ...
0
votes
1answer
30 views

Under what circumstances should a site be placed into maintenance mode

I was recently ask to deploy a set of changes to a production server. The changes included Drupal core and contrib module updates, as well as, updated custom theme related code. In preparation for ...
0
votes
1answer
32 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 ...
0
votes
0answers
23 views

Drupal deployment error

I am using deploy module and while sending node from one Environment to another environment i am facing below error EntityMalformedException: Missing bundle property on entity of type node. in ...
1
vote
1answer
233 views

Best way to backup and restore the databases of a Drupal 7 multisite using Drush?

I'm looking for an easy way to backup (and if needed restore) the databases of a Drupal multisite using Drush. Drush command I use to backup all the databases: drush @sites sql-dump --result-file ...
0
votes
1answer
32 views

Add permissions for a new content type

Context: I created a new content type (press room nodetype) locally and made a feature with it so it is easier to deploy on my dev-stage-prod environments. This works perfectly well. The thing is, is ...
1
vote
1answer
38 views

Creating menu items for views during installation of a custom install profile fails

I have created a custom installation profile in which I enable some default features and modules. In the profile I added an extra task at the end in witch I enable a custom deployment module. That ...
0
votes
2answers
78 views

How can I deploy User interface translation in Drupal 8?

Strings that I translate at "User interface translation" /admin/config/regional/translate are not exportable by "Configuration management" /admin/config/development/configuration for me. Am I missing ...
0
votes
1answer
48 views

Using Features with an existing content type?

I'm trying to use features to deploy some changes from a local development site to a staging site on a seperate server, the problem is that I've got an existing content type on my dev and staging ...
0
votes
1answer
153 views

How to scp one file to remote using drush?

I'd like to send one file to remote host which is defined as alias in drush. The file is actually private ssh key, so it needs to be placed in ~/.ssh. I've tried the following command: drush -v ...
0
votes
1answer
155 views

Why would taxonomy_term_save be slow when called from hook_install_tasks?

As part of making a site more easily deployable from scratch, I have generated two PHP scripts to pre-populate taxonomy vocabularies with a list of terms. The scripts are straightforward, creating ...
0
votes
1answer
402 views

How to sql-sync database between two remotes which share the same host?

I've two remotes: @source and @destination. I'm trying to transfer the database from dev to test environment by using sql-sync: $ drush -vy sql-sync @source @destination But at the end drush ...
1
vote
1answer
104 views

How to rsync files between two remotes which share the same host?

I've two remotes: @remote.dev and @remote.test. I'm trying to rsync between these two remote Drupal instances by: $ drush -vy rsync @remote.dev @remote.test But rsync complains that: The ...
0
votes
2answers
186 views

Override preexisting rules

Currently, changes are replicated by hands (and rules exports) from dev to a test stage available to the customers. There is actually no live site. We are going to use the Features module and ...
0
votes
1answer
101 views

DeployAuthenticationException: Authentication error when try to push the content

I have two sites on my localhost registration and testing. I want to push the content (node having type article) from testing to registration.I am using Deploy module to do this, by following this ...
1
vote
2answers
99 views

Is there incremental deployment module for Drupal 7?

I can find Deploy module for Drupal 7 that achieves full deployment. Also, I can find Incremental Deploy module for Drupal 6. Is there incremental deployment module for Drupal 7? or even work around ...
0
votes
1answer
43 views

Is there a way to export all roles and permissions from testing environment to be imported/deployed on production environment?

I have testing and production environments that host drupal-7. I have some roles and permissions settled on the testing environment. Can I export these roles and permissions to the production ...
2
votes
1answer
253 views

Drush rsync permission woes (files directory)

I'm rsyncing just the files directory (rest of the site is done through git) from my local Ubuntu setup to my centOS server. It worked at least (thankfully), but produced a ton of errors. First it ...
0
votes
1answer
161 views

Drush unable to find settings.php

I have a unique problem, for which I am unable to find the reason and thus not an inch closer to solution since 4 days. Drush is taking a separate settings.php file instead of the correct one. Check ...
0
votes
1answer
169 views

Forbidden 403 http request using deployment module

When I use the deployment module on my local websites it works perfectly, I make a devlopment plan, add one or more endpoints, I select some nodes and then I deploy the plan and run Cron. This way ...
1
vote
1answer
42 views

Synchronizing Database Configuration Across Environments

I am the sole developer on a Drupal 7 site, and I need advice. I use Git, having a 'master' branch (the published version of the site) and a 'dev' branch (the experimental features for future versions ...
0
votes
1answer
38 views

Repository-based site deployment — what to do about sites/default/files?

I'm trying to get more rigorous about my process for deploying Drupal sites across development and production servers. In particular, I'm experimenting with pulling the site from my SVN repository ...
1
vote
1answer
182 views

Is there an optimal method to grant permissions for a newly added permission defined by hook_permission?

I'm attempting to deploy a new permission and granting in a single update. I have custom.module which defines a new permission with hook_permission: function custom_booking_permission() { return ...
0
votes
2answers
1k views

Is it possible to export all block's region settings to Features?

I'm about use Features to deploy all configuration of my Drupal (7) site. Now I'm wondering if there is a way to export the entire settings for block to region assignment without having to export ...
1
vote
3answers
1k views

How to migrate content edits in Drupal from staging to live environment

I have stagging environment where I used to add and update contents first and than move it to live site once the changes passed by the QA. I can't use the backup and migrate module because of the ...
0
votes
0answers
518 views

Sync two Drupal sites with Drupal_sync module

I have two Drupal 7 sites: one, local dev portal (.0.101), and two, remote copy portal (.0.100), which in certain moment was desync. In both there new nodes and users creates, and in dev there are new ...
-1
votes
2answers
335 views

Licensing: Deploying Drupal websites to clients [closed]

A client asked me to create System X. I decided to use Drupal due to its flexibility. I have completed System X and is now ready for deployment. The client will pay me an amount for my development ...
5
votes
6answers
2k views

Enable new modules dependencies on deploy

How can I automatically enable new dependency added on a custom feature (or standard modules) with drush? After getting the new code, my deployment script basically run: drush cc all drush fra But ...
2
votes
3answers
467 views

What advantages does Features offer in deploying changes

What advantages does using features to manage deploying changes (versus keeping code updated and data fresh)? The Features way (near as I can discern): Features takes configuration (which is ...
1
vote
1answer
113 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 ...
0
votes
2answers
242 views

How to deploy a site with open source?

I created a Drupal 7 site on my localhost. I installed some modules, created some content types and fields, changed some preferences, etc. and also entered some real test data. (I want this data to be ...
2
votes
1answer
69 views

How to theming and deploy custom blocks which created in admin UI?

I've created some custom blocks in my development environment and export them with Features + FE Block with given machine names. And then deploy and enable them in my staging environment. Just like ...
3
votes
1answer
517 views

git post-receive hook to trigger drush rsync without prompt or with predefined answer

I have set up post-receive hook on my staging server, so whenever I push from dev server a master branch, it updates staging webroot and triggers drush rsync to update live site. #!/bin/bash ...
0
votes
1answer
363 views

Git workflow from dev to live when central repo is in local network [closed]

I use @dev - @stage - @live workflow, managed with drush rsync and drush aliases to update code, syncing db down from @live to @dev / @stage to have recent state. Recently, I am trying to implement ...
1
vote
0answers
457 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, ...
2
votes
1answer
208 views

How to redirect all images in the files folder to a default file?

Because we work with DTAP environments, our developers work on their own laptops. To get a good view of the live environment, we copy the PROD database and the files to our own laptop. However, this ...
0
votes
1answer
361 views

How do I get debug_backtrace() to fire on the endpoint site of a Deployment process?

I'm trying to work through this UUID features bug with the deploy module. On the receiving site, I see errors in that log like PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect integer ...
8
votes
5answers
743 views

Deployment for staging and production

I need to make the deployment easy between my staging and production servers. How can I do this? I need to deploy all the changes, so if I pull from Github and run the script, the changes are ...
1
vote
0answers
65 views

What are the advantages, for managing a single multisite instance of Drupal, to using drush make instead of git fetch & merge?

I don't intend to publicly distribute an installation profile for my multisite instance. Are there still advantages to using platform/site makefiles to move code updates through dev/test/production ...
9
votes
1answer
676 views

How can I install composer packages with drush make?

How does one include composer package in a drush make file? The more general answer, the better. There's already a composer drush module allowing drush dl to handle composer packages, but that ...
4
votes
5answers
2k views

Best method to enable/disable modules depending on the environment

What would be the best solution to enable/disable modules depending on the site environment (dev, stage or production)? Created a database dump containing the system table for each installation. ...
2
votes
1answer
194 views

How do you handle long runtime updates needed in hook_install()?

I have a new module that includes a series of hook_update_N()s. I had written these without knowing that during module install the modules schema value is set to the highest value of hook_update_N() ...
0
votes
1answer
41 views

Is it possible to create an installation pack in Drush make?

I already have a Drupal 7 running. Is it possible to create an installation package using Make from my current setup. My goal is I have a Drupal 6 version which I need to convert to D7. For the sake ...
1
vote
1answer
248 views

Latest Best Practise: Reusing blocks

What's the best way of reusing blocks between sites in Drupal 7. I want to re-use not only the block, but also the block's position in my theme. Apparently, Features extra is designed for this. ...
1
vote
1answer
3k views

Site off-line with correct data in settings.php

I'm trying to set up a development folder for a Drupal6 already existing website. Under htdocs/sites/<website>/settings.php I have the following line in order to connect to the drupal6 DB: ...