Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member
    Join Date
    Sep 2001
    Posts
    315

    Default cPanel Sync Server for cPaddons

    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

  2. #2
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Did you install cPanel::SyncUtil via CPAN? That is where the script in question is.

  3. #3
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default

    I just did an install of the cPanel::SyncUtil located at
    http://search.cpan.org/~dmuey/cPanel...el/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
    -Albert

  4. #4
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default

    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
    -Albert

  5. #5
    Member
    Join Date
    Sep 2001
    Posts
    315

    Default

    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

  6. #6
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default

    are you using the Add Remove Vendors URL ?
    -Albert

  7. #7
    Member
    Join Date
    Sep 2001
    Posts
    315

    Default

    Exactly, there I entered the url to the perl script which is mentioned in the pdf file.

  8. #8
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default

    fr tge ND5_Sum_of_your_/cPAddonsMd5/vendor.pm what did you use?
    -Albert

  9. #9
    Member
    Join Date
    Sep 2001
    Posts
    315

    Default

    I entered there the MD5 checksum of my vendor file:

    Just enter:

    md5sum cPAddonsMd5/vendor.pm

  10. #10
    Member
    Join Date
    Jun 2003
    Posts
    396

    Default

    I must be missing something, not able to get the URL to take anything, rechecked the scripts.
    -Albert

  11. #11
    Member hostmedic's Avatar
    Join Date
    Apr 2003
    Location
    Ohio
    Posts
    556
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default 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



    Feel like your Cloud Provider's just weathering the storm? Hop Off the Cloud - The Weathers nicer over here.

Similar Threads & Tags
Similar threads

  1. Replies: 2
    Last Post: 07-28-2010, 09:04 AM
  2. how to make cpanel sync zones with another bind server
    By madpato in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-12-2009, 04:20 PM
  3. Creating a cPanel Sync Server
    By WebXSolution in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-06-2006, 06:21 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube