lanceseidman / PiCAST

PiCAST turns your $35 Raspberry Pi in to a Chromecast like Device.
https://munchron.com
1.77k stars 263 forks source link

PiCAST does run, but not listening to anything. #44

Open angristan opened 7 years ago

angristan commented 7 years ago
pi@picast:~/PiCAST $ bash picast_stop.sh
Stopping PiCAST...
error:   Forever cannot find process with id: picast.js
pi@picast:~/PiCAST $ bash picast_start.sh
Starting PiCAST3...
warn:    --minUptime not set. Defaulting to: 1000ms
warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info:    Forever processing file: picast.js
pi@picast:~/PiCAST $ sudo netstat -tlp
Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale          Adresse distante        Etat        PID/Program name
tcp        0      0 localhost:8953          *:*                     LISTEN      515/unbound
tcp        0      0 localhost:domain        *:*                     LISTEN      515/unbound
tcp        0      0 *:ssh                   *:*                     LISTEN      409/sshd
tcp6       0      0 localhost:8953          [::]:*                  LISTEN      515/unbound
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      409/sshd

And I can't acess IP:3000.

GraemeFulton commented 7 years ago

I have the same @Angristan issue, did you find any solution?

GraemeFulton commented 7 years ago

I noticed there was a package.json, so ran (from the PiCAST directory): sudo npm install followed by: sudo sh picast_start.sh and it works:

screen shot 2016-11-20 at 21 28 58
angristan commented 7 years ago

No I haven't found anything, thanks for the tip, I'll test when I can.

However it's still a bug, but I don't know why

Kisty commented 7 years ago

Ah, I ran into this. After running forever manually, it needed the express module.

solvaholic commented 6 years ago

I noticed the same symptom @Angristan reported and npm install got me through it.

For what it's worth, npm install told me it added 49 packages (not just express).