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

learn more… | top users | synonyms

0
votes
1answer
14 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
49 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
33 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 ...
1
vote
2answers
125 views

Performance issues with big amount of nodes [duplicate]

In the last couple of months I was working on renewing old project's platform from Drupal 5 to Drupal 7. The last step was to migrate old data (from the past year) to the new system. For this purpose ...
0
votes
0answers
14 views

Cannot get add option for deployment appear in VBO list

I'm having trouble getting "Add to managed deployment plan" option appear in bulk operation list for node content. I have check "Bulk operation" in "administration: Deployment Nodes (Content)" page of ...
0
votes
2answers
18 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
22 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 ...
0
votes
2answers
56 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
26 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
110 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
65 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
97 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 ...
0
votes
1answer
34 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
32 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 ...
0
votes
2answers
58 views

Unable save/update any content after migrating from local to production

This is the first time I have made my Drupal site live on a production server (Ubuntu ls 10.04). These are the steps I did: Zip the entire webroot folder Upload to the production server Extract the ...
1
vote
1answer
76 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
1answer
590 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 ...
0
votes
3answers
675 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
325 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 ...
-2
votes
2answers
239 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
5answers
1k 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
242 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 ...
0
votes
1answer
85 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
172 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
62 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
375 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
279 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
322 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
132 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
253 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 ...
4
votes
5answers
442 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
37 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
525 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 ...
3
votes
5answers
889 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
136 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
38 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
182 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
2k 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
1k 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
248 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 ...
1
vote
1answer
615 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
180 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 ...
13
votes
5answers
578 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
41 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
132 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
115 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 ...
20
votes
4answers
2k 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
2k 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
0answers
112 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
624 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 ...