Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default Is postupcp running? If so, when is it running?

    I have a number of lines in /scripts/postupcp to remove PHPBB and Advanced Gustbook after upcp runs because we dont want it on our servers and if we dont remove it those script appear under ADDON SCRIPTS in the users control panel. We already have Fantastico that handles this and since there is no way to disable the display of SCRIPTS ADDON we are forced to remove PHPBB and Advanced GuestBook

    The problem being, those entries are no longer being removed.

    Postupcp is supposed to run at the very end of the upcp update but its not running or the order of processing has now changed.

  2. #2
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    Not this this has to do with postupcp - but just do not turn it on in Whm. Then it will not show up in Cpanel. Can also disable it in feature manager.

    As a cheat with postupcp - if that works best for you - just put in the crontab

    Code:
    30 5 * * * /scripts/cpbackup ; /scripts/postupcp
    Worst that can happen is that postupcp it runs twice.
    Lloyd F Tennison

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Simplest answer is to look yourself, edit /scripts/upcp and search for postupcp and you can see where it runs it yourself.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  4. #4
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    Quote Originally Posted by lloyd_tennison
    Not this this has to do with postupcp - but just do not turn it on in Whm. Then it will not show up in Cpanel. Can also disable it in feature manager.

    As a cheat with postupcp - if that works best for you - just put in the crontab

    Code:
    30 5 * * * /scripts/cpbackup ; /scripts/postupcp
    Worst that can happen is that postupcp it runs twice.
    We dont have PHPBB enabled in addon scripts in WHM yet it always installs inself and the checkmark is always enabled no matter how many times we uncheck this option it always reappears after upcp processing.
    Last edited by jackie46; 02-03-2006 at 01:29 AM.

  5. #5
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    Quote Originally Posted by chirpy
    Simplest answer is to look yourself, edit /scripts/upcp and search for postupcp and you can see where it runs it yourself.
    First of all, I'm not a Perl expert, thank god. Second, postupcp does not get executed at the end of UPCP at all. Postupcp is suposed to execute at the end of upcp processing so that if you have any special processing you want to add, that it is executed at final processing. This is no longer the case. The last part of upcp executes and installs enabled Addon Scripts and updates them. So whats the use of adding special processing to postupcp if its does not get executed when it should.

    My postupcp contains the following;

    rm /usr/local/cpanel/addons/phpBB -fr
    rm /usr/local/cpanel/base/frontend/monsoon -fr
    rm /usr/local/cpanel/addons/AdvancedGuestBook -fr

    And thats because i have the monsoon theme disabled yet it gets installed everytime.
    And thats because i have PHPBB disabled in ADDON SCRIPTS yet it gets installed.
    And thats because i have AdvancedGuestbook disabled in ADDON SCRIPTS yet it gets installed after upcp processing.

    If postupcp process was was executing when it should i would not have this problem!
    Last edited by jackie46; 02-03-2006 at 01:27 AM.

  6. #6
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    I have verified that AdvancedGuestbook and PHPBB gets installed after upcp gets executed no matter how many times we UNCHECK THE OPTION IN ADDON SCRIPTS.

    ...Done
    Updating addon type:scripts addon:AdvancedGuestBook version:latest.......Done
    Updating addon type:cpanel addon:bluelagoon version:latest.......Done
    Updating addon type:cpanel addon:monsoon version:1.5.......Done
    Updating addon type:whm addon:Xskin version:latest.......Done
    Updating addon type:modules addonro version:1.0rc36.......Done
    Done

    Why? WHy is this happening. Included with this Monsoon theme gets installed and since its poorly supported we DONT WANT IT! Its unchecked and it gets installed every single time UPCP runs.

    So thats why Chirpy, we add the this to postupcp and its supposed to get removed!

  7. #7
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    Turn it off in Feature Manager. It has never shown back up for me (or if it did it disappeared later before I noticed it.)
    Lloyd F Tennison

  8. #8
    BANNED
    Join Date
    Jul 2005
    Posts
    537
    Last edited by jackie46; 02-03-2006 at 02:52 AM.

  9. #9
    Member
    Join Date
    Mar 2004
    Posts
    710

    Default

    And what does that have to do with the Feature Manager? It works fine all of the boxes I have tried. That thread does not say that they tried that.

    Feature Manager - NOT Addon Scripts.
    Lloyd F Tennison

  10. #10
    NT
    NT is offline
    Member
    Join Date
    May 2004
    Location
    England, UK
    Posts
    137

    Default

    I think he's saying disable it in Feature Manager, then it'll never show up in the cPanel interface.

    I have the same problem - maybe it's time to submit a bug for this?
    Nick

  11. #11
    Member
    Join Date
    Apr 2003
    Location
    Denver, CO
    Posts
    294

    Default

    Has anyone come up with a valid real solution? phpBB and Advanced Guestbook get installed no matter if I have them checked or unchecked, and after an upcp they get rechecked.

    Its getting really annoying and I should NOT have to make a postupcp script to remove it when the functionality is there.

Similar Threads & Tags
Similar threads

  1. Running without cPGS
    By SyntaxLAMP in forum cPGS Discussions
    Replies: 13
    Last Post: 06-21-2008, 02:25 AM
  2. Replies: 8
    Last Post: 06-18-2008, 07:45 PM
  3. Running on 1 IP
    By eclipse2000 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-31-2006, 11:06 AM
  4. up2date -u running by itself
    By abubin in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-27-2005, 09:31 PM
  5. couriertcpd is not running authdaemond is not running ?
    By Radio_Head in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-07-2005, 03:27 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube