outofcontrol

Active Member
May 18, 2009
27
1
53
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,254
463
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.
 

outofcontrol

Active Member
May 18, 2009
27
1
53
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