Results 1 to 4 of 4

Thread: Error deploying custom module

  1. #1
    owfavreau is offline Junior Member
    Join Date
    May 2011

    Lightbulb Error deploying custom module


    I created a few months ago a custom module in SugarCRM 6.4.2 (build version 7526). I have made ​​several deployments on different platforms (local, online), with more or less success.

    Sometimes, I encountered the following error: "An error occurred during deployment, your pack can not be installed correctly".
    Previously, I had to completely reinstall SugarCRM and it worked again (on my local instance).
    Today, I have the same problem on the online website, so it is difficult for me to do the same thing.

    I followed some advice found on some forums, without success, for example:
    - Re:Impossible e déployer un nouveau pack - Forums CRM-France - CRM-France
    - Error Deploying Custom Module
    - Required File System Permissions on Linux - SugarCRM Support Site

    I have NO logs in sugarcrm.log when the page is loading.

    I have to do some changes often, so I have to deploy many times. Should I tell my client to make changes directly in the Studio and not by an automated deployment ?

    If not, could you suggest me something else ?

    Thank you in advance for your help!

  2. #2
    gregambrose is offline Junior Member
    Join Date
    Sep 2011
    Sydney, Australia

    Default Re: Error deploying custom module

    I don't know the specific solution as the problem could be anything, including a badly formatted file. What I would suggest you do, for this and future similarly unsolvable problems, is to (a) get Eclipse for PHP and install it on your PC or MAC, (b) get Apache and MYSQL on your PC or MAC, using something like XAMPP (c) get debugging work so you can break execution on any line of code, (d) find the line of code that generates the error message you reported, and finally (e), set a break point there and run and see what is happening in the code to cause the error.

    That is a lot of work, but setting yourself up this way makes it easy to solve almost any Sugar problem. You can normally set up a local instance, and find such problems in less than an hour, and sometimes that is worth the time.

    Good luck,
    Greg Ambrose

  3. #3
    Aroddo is offline Sugar Community Member
    Join Date
    Mar 2011

    Default Re: Error deploying custom module

    You could check your manifest.php in the root directory of your custom module install package if there is a file modifying some not update-safe files. Like index.php

    I recently lost an hour figuring out why I couldn't install my own custom module until I noticed that I forgot to update my archive script which puts all the necessary files in the zip archive.

  4. #4 is offline Sugar Community Member
    Join Date
    May 2013

    Default Re: Error deploying custom module

    Hello owfavreau,

    The Module Builder Best Practices documentation on our Support site my prove useful - Best Practices When Building Custom Modules - SugarCRM Support Site

    We recommend making all customizations, especially relationships, in Studio and never redeploying a package.

    Kind regards,

    Dan Kallish
    SugarCRM Technical Support Engineer

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error Deploying Custom Module
    By soorajpsuresh in forum Developer Help
    Replies: 5
    Last Post: 2013-12-30, 10:56 AM
  2. Error deploying custom module
    By owfavreau in forum Developer Help
    Replies: 0
    Last Post: 2013-09-10, 03:07 PM
  3. Error deploying a custom package
    By judgej in forum Help
    Replies: 11
    Last Post: 2012-07-20, 12:49 PM
  4. Serious error when deploying custom module
    By dukeofgaming in forum Help
    Replies: 5
    Last Post: 2011-01-08, 10:34 PM
  5. Deploying custom module
    By Keyser in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2010-04-12, 08:40 AM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts