Results 1 to 5 of 5

Thread: Can Not Deply Custom package

  1. #1
    ajlisowski is offline Sugar Community Member
    Join Date
    Jul 2010
    Posts
    56

    Default Can Not Deply Custom package

    Hey all, I am having an issue that is hurting my development with SUGAR. I am unable to deploy any custom packages.

    I have two enviroments, my development XAMPP set up on my local machine.

    And my company's LAMPP set up on a unix box.

    SUGAR works perfectly fine on my local XAMPP machine. However any package I create there can not be loaded into the UNIX installation of SUGAR.

    I am able to develop on XAMPP and deploy my modules there, then I am able to move my updates to the UNIX box by exporting the database and uploading the custom directory via FTP.

    However is not the best way to do things. When I try to load a module or deploy one in the UNIX install it just freezes up, any ideas?

  2. #2
    ajlisowski is offline Sugar Community Member
    Join Date
    Jul 2010
    Posts
    56

    Default Re: Can Not Deply Custom package

    It appears as though 2 of my modules get installed out of the package, then it dies. So I am assuming one of the modules is causing the problem!

  3. #3
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Can Not Deply Custom package

    Some tips:

    Edit the php.ini at your linux server and update the attributes to log errors, display errors and display all kind of errors (Errors, Fatals, Warnings);
    Update into php.ini the attributes for max allowed memory, upload max size, time out, post max size;
    Restart your apache;
    Try again.

    Hopefully you will see some error message.

    Let us know them.

    Kind regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  4. #4
    ajlisowski is offline Sugar Community Member
    Join Date
    Jul 2010
    Posts
    56

    Default Re: Can Not Deply Custom package

    Ok, so I am able to export a module from an installation on my server and successfully upload/install it to another sugar install on my server. I just can not deploy the module to the installation its created in.

    The only error I get when installing the export is that although the module shows up in the list of packages it does not show up in the installed modules list. Deploying the module adds another version of the module to the list of packages but still nothing in the installed modules.

    When I try to delete the module from the list, the entries created by deploying will not be deleted.

    I will post soon with various errors logged from apache.

  5. #5
    ajlisowski is offline Sugar Community Member
    Join Date
    Jul 2010
    Posts
    56

    Default Re: Can Not Deply Custom package

    So. I think I fixed it. I turned error reporting on in index.php and then I manually entered the URL for the ajax request when deploying. I got a number of reasonable responses "Table already exists" etc. Then a memory error. So I jacked up my memory and then I got a completed.

    Apparently my PHP settings just didnt have enough memory allocated for Sugar to deploy the modules. I think this is something that should be mentioned on install. Or perhaps it was and I just didn't notice.

    I wonder if more memory would be required for larger packages?

    Either way deploying seems to work now. The module is listed as installed and can be uninstalled now! Yay!

    One question though: When redeploying, changes to tables that already exist dont seem to take effect. Should I uninstall always before redeploying? This would work fine for development. But it would be tricky if modifications have to be made AFTER the system goes into production. If I want to add a field a month from now I would have to backup the module tables and then write an import script to bring them into the newly deployed tables. That seems a bit silly. Am I wrong about this?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Custom Package for Telco Industry
    By benano in forum Developer Help
    Replies: 1
    Last Post: 2011-11-19, 01:36 PM
  2. Failed to Deply built module 6.0.3
    By ldebaets in forum Developer Help
    Replies: 9
    Last Post: 2010-12-15, 05:23 PM
  3. Custom Package questions
    By lir in forum Developer Help
    Replies: 7
    Last Post: 2009-08-17, 11:22 AM
  4. Deply not working second time....
    By bconvis in forum Developer Help
    Replies: 2
    Last Post: 2008-04-22, 09:49 PM

Bookmarks

Posting Permissions

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