Error update: "Unable to retrieve version file"

Discussion in 'General' started by MaxT, Apr 29, 2017.

  1. MaxT

    MaxT Member HowtoForge Supporter

    I cannot update to version 3.12:

    Code:
    # ispconfig_update.sh
    ...
    Select update method (stable,git-stable,git-master) [stable]:
    Unable to retrieve version file.
    
    # ping -c 3 www.ispconfig.org
    PING www.ispconfig.org (104.24.0.68) 56(84) bytes of data.
    64 bytes from 104.24.0.68: icmp_req=1 ttl=58 time=4.28 ms
    64 bytes from 104.24.0.68: icmp_req=2 ttl=58 time=4.21 ms
    
    # host ispconfig.org
    ispconfig.org has address 104.24.1.68
    ispconfig.org has address 104.24.0.68
    ispconfig.org has IPv6 address 2400:cb00:2048:1::6818:144
    ispconfig.org has IPv6 address 2400:cb00:2048:1::6818:44
    ispconfig.org mail is handled by 10 mail.ispconfig.org.
    
    some help?
     
  2. MaxT

    MaxT Member HowtoForge Supporter

    I see the function to check the update is passthru:
    Code:
     passthru('/usr/local/ispconfig/server/scripts/update_stable.sh');
    I don't have passthru function disabled in en my php.ini.

    Is there some way to check the reason for this failure?
    thanks!
     
  3. MaxT

    MaxT Member HowtoForge Supporter

    ed: finally I have found the error.
    passthru function depends of allow_url_fopen=on
    It was off in my /etc/php5/cli/php.ini

    I wonder it would be goof including the checking of this active function in the bash :)
     
    Jesse Norell likes this.

Share This Page