/usr/local/cpanel/scripts not found

Nicoladie

Registered
Sep 20, 2011
3
0
51
cPanel Access Level
Root Administrator
After I reinstall cpanel, I tried to run the backup manually, and discovered I discovered that /usr/local/cpanel/scripts is not found, and none of the scripts were there. Did I need to do something to install the scripts? It was there before I reinstall it, but after, they all disappeared.
 

JawadArshad

Well-Known Member
PartnerNOC
Apr 8, 2008
459
7
68
PK
cPanel Access Level
DataCenter Provider
What do you mean re-install. Did you run the cPanel installer script on a normal working cPanel server. Check /scripts folder and see if they are there.

After I reinstall cpanel, I tried to run the backup manually, and discovered I discovered that /usr/local/cpanel/scripts is not found, and none of the scripts were there. Did I need to do something to install the scripts? It was there before I reinstall it, but after, they all disappeared.
 

Nicoladie

Registered
Sep 20, 2011
3
0
51
cPanel Access Level
Root Administrator
I did a clean reinstall for the entire operating system and cPanel and rebuild from scratch, because I couldn't fix the disk quota problem with cPanel, so I rebuilt the entire disk.

I backed up everything from cPanel before this reinstall. After the rebuild, the entire script folder /usr/local/cpanel/scripts disappeared after the reinstallation.

Now I cannot even backup my cPanel because the scripts disappeared. Now I cannot run any scripts because the script folder does not exist any more.

I was wondering if I installed cPanel correctly the second time, or if there is something I need to re-enable to get the scripts back.
 

Infopro

Well-Known Member
May 20, 2003
17,075
524
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
You should not have to reload everything in this manner, ever, unless the system has been compromised.

Any files cPanel needs that might be missing for whatever reason, should be replaced on an update. This should force that update.

/scripts/upcp --force
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
43
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
If the scripts directory is missing entirely, /scripts/upcp will not work because it won't exist. Please submit a ticket for us to correct this issue for you using the link in my signature.