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

learn more… | top users | synonyms

-1
votes
0answers
32 views

Can we use the features module to organize the mess of an existing site?

My client is having an existing D7 site with 3 environments: dev => staging => production. Migration of definitions from one environment to the next is currently done manually. Can we use the ...
0
votes
2answers
23 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
44 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
108 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
90 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
58 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
34 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
69 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 ...
2
votes
4answers
149 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
25 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 ...
8
votes
1answer
119 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 ...
2
votes
2answers
216 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
59 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
33 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
106 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
316 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: ...
0
votes
0answers
877 views

Lost connection to MySQL server at 'reading initial communication packet', system error: 110

We try to deploy drupal application in our production server.we face this strange error "Lost connection to MySQL server at 'reading initial communication packet', system error: 110" after ...
1
vote
2answers
130 views

Authentication error when deploying site's content

I have two sites site01 and site02 each having some content (book pages) in them. I want to copy the content of site01 to site02 without overwriting its existing content. I am using Deploy module to ...
0
votes
1answer
248 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
1answer
115 views

What tools do I need to automate my Drupal workflow? [closed]

What tools do I need to automate the following tasks: Project setup Generate project wide password Setup prod domain and dev and stage subdomain on server Create user with access to /bin/bash/ Add ...
12
votes
5answers
340 views

Manage custom modules across multiple installations

We have some custom modules which are used for multiple sites. Those can't be released as contributed modules, for example because they are client specific, make assumptions that don't work for ...
1
vote
1answer
38 views

Merging new contents with new functionalities

Assuming a situation when you develop a new functionality on a local copy of an already published site for quite a while, during which period the client adds new content over and over again. How do ...
2
votes
2answers
110 views

Install.php available after xcopy deployment

I created a Drupal 7 site with Sqlite on my dev machine. When I go to localhost/install.php it says: Drupal is already installed. After deploying the whole bunch to shared hosting (windows) the ...
3
votes
3answers
108 views

Is there is a module like, “dbcm”?

Is there is a module like dbcm in Drupal 7? I want to know changes happen in database, so I can update my production sites with all configuration changes: new block, new views, new (CCK) fields. I ...
14
votes
4answers
841 views

Are Drush and Phing redundant?

I've installed JenkinsCI on our dev server to start automating our dev build and test process. I'm using Jenkins with the Git Plugin and some Drush commands via a shell script. When researching how ...
1
vote
2answers
979 views

drupal moving from local host to live server - error

Error The website encountered an unexpected error. Please try again later. Error message PDOException: SQLSTATE[42000]: Syntax error or access violation: 1231 Variable 'sql_mode' can't be set to the ...
2
votes
2answers
335 views

500 error: Output filter: Response body too large

I recently copied a drupal 7 site from my development server to my production server. Everything on the site seems to be working as expected, except for when I log in as the admin user and try to ...
2
votes
0answers
78 views

For what website size does the deploy module make sense?

I have a website that I am in the process of developing that I hope to grow to 1,000 active users or so by the end of the year. I'm using the Features module to manage deployment, and a local-> dev-> ...
0
votes
1answer
355 views

Deploying to multiple hosts using Webistrano

We're using Webistrano to deploy our Drupal sites to testing and production. The recipe we're using is as follows: namespace :drupal do desc "symlink_files" task :symlink_files do ...
2
votes
2answers
196 views

Disable editing of post during update

I would like to disable user access to the administration during updates, such as bugfixes and additions of new content-types etc. I'm not completly sure on how to achive this. What would be the best ...
1
vote
1answer
1k views

How do I add taxonomy terms and vocabularies to an exportable deployment plan?

I'm in the process of developing an installation profile for a new site. We're using Features to export much of our functionality, and are very interested in using the Deploy module integration with ...
12
votes
1answer
330 views

How to correctly remove a module in a staged environment?

Some modules have deïnstallation routines. Which typically remove databasetables for that module, variables from the variable table and locales introduced by that module. These routines live in the ...
2
votes
2answers
400 views

Using wget to get the latest module version

I was contemplating building a quick bash script to wget all of the modules I use on Drupal sites but every time the module version changes, the link changes. Take for example the views module. At ...
0
votes
1answer
109 views

Server Deployment of Economist.com

As documented here, it seems the Economist is using Drupal for most of it's site. I am just curious if anyone has information on the number of servers and their config. Any idea?
1
vote
1answer
170 views

Comprehensive tutorial on maintaining and updating a Drupal installation and it's modules

I'm looking for a comprehensive tutorial on best practices for updating and maintaining a Drupal installation and it's modules where there are multiple instances of the site, that is having a ...
6
votes
3answers
2k views

Export/Deploy Drupal site/page to static? (no cache)

I wonder if there is an existing module that can help in the subject. I am not looking for a caching module (like Boost or Varnish), but a way to export my whole site (or only certain pages) into ...
1
vote
1answer
103 views

Deploying block settings as an update script?

I need to add a block to an existing Drupal site and would like to if possible automate the process using hook_update_N or something similar. Specifically I'm referring to the position and region of ...
8
votes
5answers
1k views

Deploying code to multiple front end servers

We have a situation where we have multiple load balanced servers pointing to a common database. In the normal run of things this works fine and gives redundancy, scalability etc. However we are ...
10
votes
2answers
3k views

Amazon EC2 Virtual Server setup and deploying Drupal 7 website

All, Has anyone any tutorials/ instructions of how to go about configuring AWS EC2 server and then deploying Drupal 7 website (including db)? Much appreciated
6
votes
4answers
661 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 ...
13
votes
8answers
2k views

Deploying Drupal with Git [closed]

What is the best practice for deploying Drupal to production servers with Git?