Troubleshooting Common Deploy Problems

Last updated on
30 April 2025

You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules

Here are some common problems that people may encounter with Deploy

Drupal 7 notes
ensure that the following modules have been downloaded to both environments (source and destination):

deploy-7.x-2.x-dev
services-7.x-3.x-dev
entity_dependency-7.x-1.x-dev
uuid-7.x-1.x-dev

after this, things may still not work. If not, try:

1) rebuild the deployment plan created on the source server
2) edit the service endpoint and resave it on the destination server

Also, make sure that UUID values are the same for users in both environments. This may manifest itself as the following error found in watchdog:

DeployServiceException: Service error: 404 Not found: Could not find the controller. in DeployServiceRest->httpRequest() (line 74 of /var/www/Sites/example.com/sites/all/modules/contrib/deploy/includes/DeployServiceRest.inc).

since the watchdog message doesn't contain the url of the service requested, its all but impossible to diagnose this. I added (at line 74) a debug message that shows the url and traced mine down to a url that looked like this:

http://example.com/inbound/user/df655d48-437d-461b-a554-7083b0360141.json

good luck!

Drupal 6 notes

  • Deploy does not work with CCK Date fields, unless they are of Date type with select box widgets. For more information, see http://drupal.org/node/374346#comment-1532770.
  • Modules that redirect the user on login (such as Login Tobaggan) will not work with Deploy. See #433102: Deploy fails to login to destination server for more details.
  • Deploy does not support the (soon to be deprecated) upload module which comes with core, however it does support CCK filefields so you may want to consider going that route.
  • If, when enabling the various modules the installation instructions tell you to, some of the Services modules appear to be missing or have different names, make sure you're using Services 6.x-2.x-dev, not Services 6.x-3.x-dev.
  • If, when you attempt to deploy a node, you're asked for an API Key and Domain rather than a Username and Password, go back to admin/build/deploy/servers on the source site, click on the edit link for the server you're trying to deploy to, and make sure the authentication type is set to "Session ID", not "Key authentication".

Help improve this page

Page status: Not set

You can: