The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unable to run /scripts/upcp --force

Discussion in 'General Discussion' started by outofcontrol, Jul 17, 2015.

  1. outofcontrol

    outofcontrol Member

    Joined:
    May 18, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    We installed cPanel Release on a new CentOS 7 server. We ported our sites over, one of which required a few additional perl modules. We installed those via cpan, which might have been a mistake. Though that site works great now.

    All our sites work, the cPanel Dashboard works, but when I run

    Code:
    /scripts/upcp --force
    I get this errors:

    Code:
    /scripts/upcp syntax OK
    Running Futex Check/Fix
    Updating /scripts
    
    @ERROR: Unknown module 'scripts'
    rsync error: error starting client-server protocol (code 5) at main.c(1516) [Receiver=3.0.9]
    Unable to sync: $! at /usr/local/cpanel/Cpanel/Update.pm line 192.
    When I look at line 192, it is looking for 'cpanelsync' which, when I look for it, discover it is not in /scripts. Our old server has a copy of it, so I'm assuming that something, at some point, has been deleted.

    How many I re-install this missing script and any others?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you elaborate on the specific changes or steps you took to transfer over your accounts? Did the cPanel installation initially complete successfully? Is the "/scripts" location a valid symbolic link to "/usr/local/cpanel/scripts"?

    Thank you.
     
  3. outofcontrol

    outofcontrol Member

    Joined:
    May 18, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Montreal
    Thanks for the snappy response. The transfer went well and everything worked well afterwards except from perl based apps (Bugzilla). We used the built in cPanel transfer tools to move from one server to another, both servers were the same version but the old server was CentOS 6 and the new is CentOS 7.

    Then I tried to fix the issues with Bugzilla, which is where I went wrong, by apparently overwriting some cpanel required perl modules. To fix wrong I tried to run /scripts/upcp --force, and that no longer worker. After some googling I found a way to download the /scripts folder and did so. But, I apparently downloaded a really old version :-(

    I've now transferred the /scripts folder from my other server to this one (I know not ideal), and have successfully started /scripts/upcp --force.

    I think I'm sorted now. I believe my initial mistake was in how I installed the modules for Bugzilla.

    Question: Does /scripts/upcp --force reinstall the cpanel perl modules?

    Thanks again.

    - James
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,830
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, this should have corrected the issue.

    Thank you.
     
Loading...

Share This Page