1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Installer.sh Error

Discussion in 'Help' started by eDroid, Feb 5, 2017.

  1. eDroid

    eDroid Witch

    Messages:
    59
    GitHub:
    edroiid
    i was running the installer and got the following error:
    Code:
    installer.sh: line 136: / 1000: syntax error: operand expected (error token is "/ 1000")
    Reproduce the error:
    1. curl -sL https://get.pmmp.io > installer.sh
    2. ./installer.sh -r

    You get:
    Code:
    root@eDroid:/home/mcpe# ./installer.sh -r
    ./installer.sh: line 136: / 1000: syntax error: operand expected (error token is "/ 1000")
    [*] Found PocketMine-MP  (build ) using API
    [*] This stable build was released on
    [-] This channel should have a signature, none found
    [*] Installing/updating PocketMine-MP on directory ./
    [1/3] Cleaning...
    [2/3] Downloading PocketMine-MP  phar... failed!
    [!] Couldn't download PocketMine-MP automatically from
    
    installer.sh:
    Code:
    130: VERSION_DATA=$(download_file "https://jenkins.pmmp.io/job/PocketMine-MP/lastSuccessfulBuild/api/json?pretty=true&tree=url,artifacts[fileName],number,timestamp")
    ....
    ....
    136: VERSION_DATE=$(($(echo "$VERSION_DATA" | grep -m 1 '"timestamp"' | cut -d ':' -f2- | tr -d ' ",') / 1000))
    
    can you fix this?
    (this might be caused because jenkins is down?)
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    There's your answer lol

    Try replacing the jenkins url with https://poggit.pmmp.io/get.pmmp
     
    jasonwynn10 likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.