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

learn more… | top users | synonyms

0
votes
0answers
20 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
27 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
25 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 ...
0
votes
1answer
26 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
41 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
36 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
60 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
0answers
86 views

How to fix encoding mismatch problem

So I had a local testing Drupal installation, which uses a MYSQL database version which supports utf8mb4 encoding. I deployed this local site to the remote server by copying the files and database, ...
0
votes
1answer
50 views

Lexicon: french sorting on accented letters

I'm facing an issue with Lexicon module for a while and I still can't figure it out. I have a glossary of french terms, sorted alphabetically. And I notice that the accented letters are considered as ...
0
votes
1answer
93 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
240 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
76 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
284 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
21 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
98 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
53 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
78 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
32 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
182 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
113 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
144 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
40 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
34 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
131 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
950 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
447 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
298 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
378 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
100 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
221 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
66 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
451 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
328 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
405 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
185 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
315 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 ...
5
votes
5answers
575 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
52 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
626 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
1k 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
173 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
220 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
290 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
705 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
188 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 ...