Results 1 to 4 of 4

Thread: broken sugar 5.2.0a - modules won't uninstall

  1. #1
    jhancock is offline Junior Member
    Join Date
    May 2009
    Posts
    2

    Default broken sugar 5.2.0a - modules won't uninstall

    I have sugarcrm 5.2.0a running on linux (used the fast stack installer).
    The admin of this system installed 6 modules and things didn't work out as planned. 4 of the newly added modules will not uninstall

    Now, Accounts are unaccessible throughout the system. The accounts view shows nothing. There are tens of thousands accounts in the db.

    There was no recent backup of mysql prior to installing the modules. I"m the linux expert brought in to fix this mess. I am not a Sugar expert.

    The errors I'm getting for each uninstall are:

    1 - "Enhanced Search" v 3.0.5 demo
    Including: /opt/sugarcrm-5.2.0a/htdocs/sugarcrm/cache/upload/upgrades/temp/o6UpMa/scripts/pre_uninstall.php

    2 - "Team Notifications" v 0.10.12369
    ERROR: rmdir_recursive(): argument modules/TeamNotifications is not a file or a dir.

    3 - "Teams" v 0.98.12338
    Uninstalling Bean : team
    ERROR: rmdir_recursive(): argument custom/Extension/application/Ext/Include/Teams.php is not a file or a dir. ERROR: rmdir_recursive(): argument modules/team is not a file or a dir. ERROR: rmdir_recursive(): argument modules/Users/metadata/subpanels/CETeams.php is not a file or a dir. ERROR: rmdir_recursive(): argument custom/themes/default/images/icon_team.gif is not a file or a dir. ERROR: rmdir_recursive(): argument custom/themes/default/images/team.gif is not a file or a dir. Uninstalling Administration Section
    ERROR: rmdir_recursive(): argument custom/Extension/modules/Administration/Ext/Administration/Teams.php is not a file or a dir. Rebuilding administration Section...
    Uninstalling Variable Definitions
    Rebuilding Vardefs...
    Uninstalling Subpanel Layouts
    Rebuilding Layoutdefs...

    4 - "Yahoo Maps Dashlet" v .15
    Uninstalling Sugar Dashlet MapsDashlet
    ERROR: rmdir_recursive(): argument custom/modules/Home/Dashlets/MapsDashlet is not a file or a dir. Removing Sugar Dashlets cache and scanning known directories for Sugar Dashlet files.


    I would like to get this system back to a state as close as possible prior to these module installs.
    What methods are recommended? I have taken backups of the entire fast stack installed directory. I have a current mysql dump (post bad module installs) .

    Can I reinstall sugar from scratch and then import the db dump?

    Are there reasonably sane methods to manually remove these errant modules?

    Any advice appreciated..
    thanks, Jon

  2. #2
    jtanen is offline Junior Member
    Join Date
    Jan 2009
    Posts
    1

    Unhappy Re: broken sugar 5.2.0a - modules won't uninstall

    I am also facing this issue with some modules that didn't uninstall cleanly.

  3. #3
    Marcokid is offline Sugar Community Member
    Join Date
    Sep 2009
    Posts
    19

    Default Unistall problem with sugar 5.2.0j - module won't uninstall

    Hello,

    I wonder if the problem mentioned in the previous posts has been solved as I have the same problem with a custom package built using ModuleBuilder and Studio that does not uninstall any more. I started with a fresh installation of Sugar CE 5.20j and installed my custom module, that runs well on another host under the same version of Sugar.
    When i try to uninstall the package it reaches only 70% and I get consistently the following error message:

    Disinstallazione Bean : bdt_acquisto_attivita
    Disinstallazione Bean : bdt_Settori_attivita
    Disinstallazione Bean : bdt_prove_codice
    Disinstallazione Bean : bdt_risult_ricerca
    Disinstallazione Bean : bdt_prova
    Disinstallazione Bean : bdt_Membri1
    Disinstallazione Bean : bdt_operazioni
    Disinstallazione Bean : bdt_cruscotto1
    Disinstallazione Bean : bdt_richiesta_offerte
    Disinstallazione Definizione Variabile
    Ricostruzione Vardefs...
    Disinstallazione Layout Sottopannello
    Ricostruzione Layoutdefs...

    Warning: require_once(modules/bdt_acquisto_attivita/bdt_acquisto_attivita.php) [function.require-once]: failed to open stream: No such file or directory in /web/htdocs/www.eladios.it/home/sugarcrm/modules/ModuleBuilder/Module/StudioModule.php on line 64

    Fatal error: require_once() [function.require]: Failed opening required 'modules/bdt_acquisto_attivita/bdt_acquisto_attivita.php' (include_path='/web/htdocs/www.eladios.it/home/sugarcrm/include/..:.:/php5/lib/php/') in /web/htdocs/www.eladios.it/home/sugarcrm/modules/ModuleBuilder/Module/StudioModule.php on line 64

    If I try again to unistall the module I get a different error message:

    ERROR: rmdir_recursive(): argument custom/Extension/application/Ext/Include/Banca_del_Tempo.php is not a file or a dir.
    Warning: unlink(modules/bdt_acquisto_attivita/bdt_acquisto_attivita_sugar.php) [function.unlink]: No such file or directory in /web/htdocs/www.eladios.it/home/sugarcrm/ModuleInstall/ModuleInstaller.php on line 358
    I need of course to uninstall the module in order to continue the development. What can I do?
    Anyone can help?
    Many thanks.

  4. #4
    fijiaaron is offline Junior Member
    Join Date
    Sep 2009
    Location
    Bellevue, WA
    Posts
    3

    Default Re: Unistall problem with sugar 5.2.0j - module won't uninstall

    Same thing here, using sugarondemand.com

    Sugar Professional
    Version 5.2.0j (Build 5804)

    Uninstalling Bean : module_a
    Uninstalling Bean : module_b
    Uninstalling Bean : module_c
    Uninstalling Bean : module_x
    Uninstalling Bean : module_y
    Uninstalling Bean : module_z
    ERROR: rmdir_recursive(): argument custom/Extension/application/Ext/Include/mypackage.php is not a file or a dir.

    This happens with modules enabled or disabled, deleting tables or not.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Post Uninstall for Custom Modules
    By bconvis in forum Developer Help
    Replies: 2
    Last Post: 2009-01-22, 10:25 PM
  2. Can't uninstall modules
    By sbantz in forum Help
    Replies: 3
    Last Post: 2008-08-01, 04:33 PM
  3. Uninstall Modules
    By kbrill in forum Feature Requests
    Replies: 1
    Last Post: 2007-01-18, 07:29 AM
  4. how to uninstall upadates and modules?
    By henmar in forum General Discussion
    Replies: 0
    Last Post: 2006-03-24, 10:39 AM
  5. Replies: 3
    Last Post: 2006-03-20, 07:28 AM

Tags for this Thread

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
  •