imscp-uninstall aborted

  • In order to familiarise myself with imscp I installed 1.1.0-rc2.3 on Ubuntu 12.04 (precise) without any problems. But now that I'm trying to uninstall it according to the INSTALL file:


    Code
    1. # cd /var/www/imscp/engine/setup# perl imscp-uninstall -d


    I onyl get error messages:

    Code
    1. Global symbol "$rs" requires explicit package name at imscp-uninstall line 162.
    2. Global symbol "$rs" requires explicit package name at imscp-uninstall line 166.
    3. Global symbol "$rs" requires explicit package name at imscp-uninstall line 167.
    4. Global symbol "$rs" requires explicit package name at imscp-uninstall line 168.
    5. Global symbol "$rs" requires explicit package name at imscp-uninstall line 168.
    6. Global symbol "$err" requires explicit package name at imscp-uninstall line 278.
    7. Global symbol "$err" requires explicit package name at imscp-uninstall line 284.
    8. Execution of imscp-uninstall aborted due to compilation errors.


    What am I doing wrong? Any hints?


    Thanks.

  • I have no knowledge of perl but it seems to help to explicitly declare the variables


    Code
    1. my $rs = 0;


    in sub _removeCustomers and


    Code
    1. my $err = 0;


    in sub _removeSqlData. At least the script seems to work after these changes. But what follows looks like a mess.


    _removeCustomers: HASH(0x2ce2b48)


    removing bind: an unexpected error occured


    httpd server:: apache_fcgi
    iMSCP::Debug::END: Exit code is 255!


    Has anybody ever tested this?

  • This is now fixed in the latest master.


    But why would you want to uninstall such a great product? :D


  • This is now fixed in the latest master.


    Thanks a lot.


    Quote


    But why would you want to uninstall such a great product? :D


    Indeed. But now I can safely recommend it. :-)

  • [/u]Hi, i try to unintall and see the some problem. whit Latest Beta/RC Release: 1.1.0-rc2.3


    Reading the post i see solve in last master.


    i download and update 3 files, i see updates:



    imscp-setup-methods.pl


    Plugin management: Small fixes


    6 days ago



    imscp-uninstall


    fixed uninstall script


    8 days ago



    set-engine-permissions.pl


    Cleanup + small fixes


    2 days ago


    update this files because i see more recent, but now i have got this problem:


    The setup now start but end whit this:


    [ ERROR ]


    iMSCP::Debug::END: Exit code is 255!


    before chmod 750 to new files


    I dont know if can see debug info, if possible? any suggestion?

  • Hi,
    Thank you for the info, but i do this manual, impacient jejeje, but now i have got this error:


    [ ERROR ]


    iMSCP::Debug::END: Exit code is 1!


    [ FATAL ERROR ]iMSCP::Debug::__ANON__: Can't call method
    "disableMod" on an undefined value at
    /var/www/imscp/engine/setup/../PerlLib/Servers/httpd/apache_fcgi/uninstaller.pm
    line 145, <CATCHERR> line 4.


    I use debian 6 squeeze., and master download 3 min ago.


    Any suggestion?? i can help to solve?? Thank for your time.
    [hr]
    Thanks for the script, dont only download update, execute and update the panel and tools.


    Exelent, Recomend ,Thanks.