Skip to main content

WHM plugin not loading correctly

Thread needs solution

 

Hi,

we are installing the WHM backup plugin on one of our servers.

the plugin installed OK.

we then logged in to our services using the WHM plugin. 

Once we logged in it started the install. Pearl and Parted I think off the top of my head.

it then threw up an error about checking the log file that I missed. 

Now when we click on the Acronis icon in WHM it takes us to a greyish screen with a white box at the top with 3 blue lines... nothing to click.

so I thought about removing it it using the 

yum remove command. 

This fails with:

error: %preun(acronis-backup-cpanel-1.0-223.el7.centos.x86_64) scriptlet failed, exit status 1 
Error in PREUN scriptlet in rpm package acronis-backup-cpanel-1.0-223.el7.centos.x86_64 
Verifying : acronis-backup-cpanel-1.0-223.el7.centos.x86_64 1/1

is there a script we can use to remove it or see where the fault is? 

0 Users found this helpful
frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 3
Comments: 55

Hi James,

 

It's Evgeny from Acronis Service Provider Support.

 

Judging by the error message, yum cannot remove the package because a script which should be executed in the %preun section does not exist.

Please try to do "rpm -e --noscripts acronis-backup-cpanel" instead of "yum remove acronis-backup-cpanel"

--noscripts says rpm to avoid executing %preun and %postun scripts (http://ftp.rpm.org/max-rpm/ch-rpm-erase.html). 

 

That should resolve the issue with the plugin removal.

 

BTW,

To reinstall plugin without reinstalling the Backup Agent you can execute "yum reinstall acronis-backup-cpanel". If it doesn't help, please do the following things:
1. export UNINSTALL_BACKUP_AGENT=0
2. yum remove acronis-backup-cpanel
3. Run "ps aux | grep acronis_backup_srv" and kill all found processes.
4. yum install acronis-backup-cpanel

 

------------------------------------------------------------------------------------------------

Evgeny Ryuntyu | Senior Support Engineer

Acronis Backup Cloud | #1 Cloud Service Provider Backup

Thank You, 

Thats worked, but i need to re add the machine in the cloud console, how can i add it using a token (how do i generate one on cpanel?)

or re run wizard?

frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 3
Comments: 55

Hi James,

 

If you need to re-add the Agent, you can use the registration tool:

https://kb.acronis.com/content/55244 

 

-----------------------------------------------------------------------------------

Evgeny Ryuntyu | Senior Support Engineer

Acronis Backup Cloud | #1 Cloud Service Provider Backup