Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: OSPI – UI not coming up after update #51330

    Sebastian
    Participant

    I just did what Samer recommended, same outcome:

    My major concern is that “netstat -an” doesn’t even list as listening on port 8080.

    With the latest version I get:

    
    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
    

    even though I do see the process running:

    pi@ospi ~/OpenSprinklerGen2 $ ps aux | grep Open
    root 7127 2.0 0.2 11568 2020 ? Sl 12:08 0:03 /home/pi/OpenSprinklerGen2/OpenSprinkler

    with 2.1.7 I get:

    
    tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
    

    I even did:

    
    sudo rm -rf OpenSprinklerGen2
    git clone https://github.com/OpenSprinkler/OpenSprinklerGen2.git
    cd OpenSprinklerGen2/
    sudo ./build.sh ospi
    sudo /etc/init.d/OpenSprinkler.sh restart
    

    same outcome. The process is NOT listening to port 8080.

    in reply to: OSPI – UI not coming up after update #51304

    Sebastian
    Participant

    About page lists:

    App Version: 1.7.9
    Firmware: 2.1.7
    Hardware Version: OSPi – AC

    in reply to: OSPI – UI not coming up after update #51303

    Sebastian
    Participant

    I did some more testing:

    $ git checkout 2.1.8
    Branch 2.1.8 set up to track remote branch 2.1.8 from origin.
    Switched to a new branch ‘2.1.8’
    $ sudo ./build.sh ospi
    Building OpenSprinkler…
    gpio.cpp: In function ‘void attachInterrupt(int, const char*, void (*)())’:
    gpio.cpp:411:14: error: ‘delay’ was not declared in this scope
    Done!
    The binary was not updated.

    $ git checkout 2.1.7
    Branch 2.1.7 set up to track remote branch 2.1.7 from origin.
    Switched to a new branch ‘2.1.7’
    $ sudo ./build.sh ospi
    Building OpenSprinkler…
    Done!
    $ sudo /etc/init.d/OpenSprinkler.sh restart

    Checked the UI and it works.

    $ git checkout master
    Switched to branch ‘master’
    $ sudo ./build.sh ospi
    Building OpenSprinkler…
    Done!
    $ sudo /etc/init.d/OpenSprinkler.sh restart

    Checked the UI and it does NOT work.

Viewing 3 posts - 1 through 3 (of 3 total)