CoolMike

Well-Known Member
Sep 6, 2001
313
0
316
Hi

I have a cPaddon which I would like to distribute to all my servers. Because there will be maybe a lot of updates later on, I would like to use the cPanel Sync Server instead of installing it manually on all the servers.

Unfortuantely the information on http://www.cpanel.net/docs/cpaddons/ are not correct. The script "/scripts/cpanelsync_build_cpaddons_dir" is at least on my servers not existing.

Where can I find this script, is someone using the Sync Server already?

Thanks
Michael
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
Did you install cPanel::SyncUtil via CPAN? That is where the script in question is.
 

asmithjr

Well-Known Member
Jun 13, 2003
516
8
168
I just did an install of the cPanel::SyncUtil located at
http://search.cpan.org/~dmuey/cPanel-SyncUtil-v0.0.3/lib/cPanel/SyncUtil.pm

I then did the Installation and it created the scripts cpanelsync_build_cpaddons_dir cpanelsync_build_dir 2

I created a cpaddons folder in the home directory of /home/USER/public_html/

Then a chmod 755 cpalensync_build_cpaddons_dir
then executed
./cpanelsync_build_cpaddons_dir -d /home/USER/public_html/cpaddons/ -u USER-a
bz2 -v VendorName

I get back
read_dir './cPAddonsAvailable' - opendir: No such file or directory at ./cpanelsyn
c_build_cpaddons_dir line 158
 

asmithjr

Well-Known Member
Jun 13, 2003
516
8
168
update:
I created the following folders in my cpaddons folder

cPAddonsAvailable cPAddonsMD5 and MyVendor

then in my MyVendor folder I placed my folder CMS and in it the Joomla folder the Joomla.pm

Now the script executes:

When I try to add the URL to the WHM I get
Url "http://DOMAINNAME.net/cpaddons/MyVendor/" did not work or was otherwise invalid.

I tried appending the CMS to the URL also as well as the CMS/Joomla and CMS/Joomla.pm
 

CoolMike

Well-Known Member
Sep 6, 2001
313
0
316
In the following documentation on page 19 I found a script which need to be called from WHM:
http://www.cpanel.net/docs/pdf/cpaddons/

I created all the files mentioned in the pdf, and when I add the URL in WHM I got the following:

Updating vendor config...
Adding Vendor MYNAME to your config...

So far it looks good, but when I update the cpaddon list, my addon ist not there.

I hope cpanelkenneth can help more.

Thanks
Michael
 

CoolMike

Well-Known Member
Sep 6, 2001
313
0
316
Exactly, there I entered the url to the perl script which is mentioned in the pdf file.
 

asmithjr

Well-Known Member
Jun 13, 2003
516
8
168
fr tge ND5_Sum_of_your_/cPAddonsMd5/vendor.pm what did you use?
 

CoolMike

Well-Known Member
Sep 6, 2001
313
0
316
I entered there the MD5 checksum of my vendor file:

Just enter:

md5sum cPAddonsMd5/vendor.pm
 

asmithjr

Well-Known Member
Jun 13, 2003
516
8
168
I must be missing something, not able to get the URL to take anything, rechecked the scripts.
 

hostmedic

Well-Known Member
Apr 30, 2003
543
0
166
Washington Court House, Ohio, United States
cPanel Access Level
DataCenter Provider
hire someone to set this up

Is anyone interested in making a quick $75 to set this up ?

We have a cpAddon we want to distribute between our 35 or so servers
be easier to do it via cpAddons but need the sync server...

Please PM me.

thanks
:D