The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CPanel Release Announcement Script

Discussion in 'General Discussion' started by gator, Jul 18, 2003.

  1. gator

    gator Active Member

    Joined:
    Feb 27, 2003
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Get CPanel Release Announcements Emailed to you!

    On my wish list for some time has been an email notification of CPanel stable releases. I like to know about new releases 'before' they are installed on my server and not 'after'.

    With the upcoming release of version 7, I was a little uneasy about automatic updates (even to Stable) until I've searched the forums to see what issues to expect. I've turned off automatic updates and have a PHP script which checks the CPanel website each night for new releases. The script is configurable for STABLE, RELEASE, or EDGE as well as which platform you are interested in (Linux or FreeBSD).

    Maybe someone else may find this as useful as I do. If so, then enjoy!

    (*** Attachment Updated 8/3/2003 ***)
     

    Attached Files:

    #1 gator, Jul 18, 2003
    Last edited: Aug 3, 2003
  2. wwwhosts

    wwwhosts Well-Known Member

    Joined:
    Apr 25, 2003
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NZ
    Fatal error: Call to undefined function: curl_init() in /home/xxxxxx/public_html/cpanel-announce.php on line 36

    any idea why this is happening?

    thanks

    cPanel.net Support Ticket Number:
     
  3. gator

    gator Active Member

    Joined:
    Feb 27, 2003
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    >> Fatal error: Call to undefined function: curl_init() in /home/xxxxxx/public_html/cpanel-announce.php on line 36

    Yeah, the script requires curl to be compiled into PHP. It's possible to rework the script without that requirement but it's probably easier to run easyapache and include curl in the PHP compile.

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
  4. infinityws

    infinityws Well-Known Member

    Joined:
    Feb 20, 2003
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    16
    I've asked several times if Cpanel 6.4.2 can compile curl into php but all I get is install verison 7. I don't want to :d

    Maybe i'mm blind but where do we go to do this?

    cPanel.net Support Ticket Number:
     
  5. xsenses

    xsenses Well-Known Member

    Joined:
    Aug 29, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Huntington Beach, Ca
    If I am not mistaken you can do it with easyapache.
     
  6. infinityws

    infinityws Well-Known Member

    Joined:
    Feb 20, 2003
    Messages:
    110
    Likes Received:
    0
    Trophy Points:
    16
    I tried the advanced option for experts, and i didn't see it.

    cPanel.net Support Ticket Number:
     
  7. wwwhosts

    wwwhosts Well-Known Member

    Joined:
    Apr 25, 2003
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    NZ
    looks like you can install curl from whm > software > install rpm

    but I have curl installed???

    cPanel.net Support Ticket Number:
     
  8. NeutralGold

    NeutralGold Well-Known Member

    Joined:
    Jun 5, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Great script, thanks.. Since I like to know about 'release' & 'stable' version's I copied and renamed the script and setup 2 cron's so that I could get an email for each.. :D

    cPanel.net Support Ticket Number:
     
  9. NeutralGold

    NeutralGold Well-Known Member

    Joined:
    Jun 5, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Well, the script cought me off guard because right when i tested the stable release, there just happened to be a 7.2.1 stable version released!! Now there shouldn't be any problems with any of you up adding curl to apache..

    cPanel.net Support Ticket Number:
     
  10. jackal

    jackal Well-Known Member
    PartnerNOC

    Joined:
    Feb 23, 2002
    Messages:
    708
    Likes Received:
    0
    Trophy Points:
    16
    Getting this chmod file to 777

    There is a new version of CPanel Available!

    Platform: Linux
    Rlease : EDGE
    New File: Cpanel-7.2.1-EDGE_64-Linux-i686-glibc-2.1.tar.gz
    Date : Fri Jul 18 21:50:59 2003


    The version file is not writable. You will probably get duplicate notifications until you resolve this.

    cPanel.net Support Ticket Number:
     
  11. NeutralGold

    NeutralGold Well-Known Member

    Joined:
    Jun 5, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Hey, theres a bug in this script that won't read versions over 99. I'm guessing, because it won't detect the latest 'Release' Build. I removed the entry completly out of the log to make it redetect the latest build and it read build 92 which is the version next to the latest.

    cPanel.net Support Ticket Number:
     
  12. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    Yes, there is a bug.
    Now the script stop sending me announcement.

    Gator, do you have fixed version already ?

    cPanel.net Support Ticket Number:
     
  13. NeutralGold

    NeutralGold Well-Known Member

    Joined:
    Jun 5, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Oh yeah, were definatly broke now lol. This figures huh?:rolleyes: :D

    cPanel.net Support Ticket Number:
     
  14. gator

    gator Active Member

    Joined:
    Feb 27, 2003
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    The file attached is updated. Looks like the CPanel website has a new look. The revamping of the html broke the script but it seems to work with a few tweaks (until they change it again I suppose).

    Wierd thing is they removed the platform (Linux or BSD) from the download file names which isn't very accomodating.

    It should also handle builds over 99 correctly now :)

    A better way to do this would be to parse an FTP directory listing but I keep getting an error saying that it's 'unable to set anonymous permissions'. I think this is because it's a shared IP FTP server but I don't know the magic URL which would work for this particular server. If someone knows I'd be interested in the info.

    Let me know how the script works. Just managed to do some cursory testing but worked ok for me.

    cPanel.net Support Ticket Number:
     
  15. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    Were is the update ?
    Is it on first post on top of this thread ?

    I already download it again and compare to the old one and i don't see any update script.

    What line is you update the script ?

    Just curious :confused:

    cPanel.net Support Ticket Number:
     
  16. shaun

    shaun Well-Known Member

    Joined:
    Nov 9, 2001
    Messages:
    698
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    San Clemente, Ca
    to build curl into php you can do so via the WHM buildapache or by running /scripts/easyapache.

    if running /scripts/easyapache you need to use option 6 and under the php sub-menu you will see curl and curl-ssl.

    cPanel.net Support Ticket Number:
     
  17. gator

    gator Active Member

    Joined:
    Feb 27, 2003
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Yes the file attached in the first post to this thread is the updated and current version. :)

    cPanel.net Support Ticket Number:
     
  18. SoftmegUK

    SoftmegUK Well-Known Member

    Joined:
    Feb 13, 2002
    Messages:
    372
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK
    You'll have to change it again, the page has been modified!

    cPanel.net Support Ticket Number:
     
  19. gator

    gator Active Member

    Joined:
    Feb 27, 2003
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    I suspect they still aren't done changing it. You use to be able to actually download the files that are listed on the "download" page.

    cPanel.net Support Ticket Number:
     
  20. isputra

    isputra Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    576
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Mbelitar
    I have this error after upload the update script :

    No CPanel Files Found - Did page format change?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page