gchenuet / nest-datagraph

Nest thermostat dashboard and graph charts
MIT License
36 stars 17 forks source link

Troubleshooting cron job and db. #22

Closed druw900 closed 6 years ago

druw900 commented 6 years ago

I'm not sure if this is the right place for this. I am having problems getting my setup working.

I first checked the db and it is empty. MariaDB [nest_datagraph]> select * from status; Empty set (0.00 sec)

I found this in the syslog. Dec 3 16:00:02 raspberrypi CRON[18964]: (pi) CMD (/usr/bin/python /opt/nest-datagraph/backend/poller.py) Dec 3 16:00:02 raspberrypi CRON[18960]: (CRON) info (No MTA installed, discarding output)

Any ideas? Thanks.

druw900 commented 6 years ago

UPDATE:

I installed postfix. DB is still empty. /var/log/syslog shows...

Dec 3 17:45:01 raspberrypi CRON[1146]: (pi) CMD (/usr/bin/python /opt/nest-datagraph/backend/poller.py) Dec 3 17:45:01 raspberrypi postfix/pickup[32697]: 78F8C1F58F: uid=1000 from= Dec 3 17:45:01 raspberrypi postfix/cleanup[1150]: 78F8C1F58F: message-id=20171203224501.78F8C1F58F@raspberrypi Dec 3 17:45:01 raspberrypi postfix/qmgr[32698]: 78F8C1F58F: from=pi@raspberrypi, size=724, nrcpt=1 (queue active) Dec 3 17:45:01 raspberrypi postfix/local[1155]: 78F8C1F58F: to=pi@raspberrypi, orig_to=, relay=local, delay=0.22, delays=0.15/0.04/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox) Dec 3 17:45:01 raspberrypi postfix/qmgr[32698]: 78F8C1F58F: removed