digitalmethodsinitiative / dmi-tcat

Digital Methods Initiative - Twitter Capture and Analysis Toolset
Apache License 2.0
367 stars 114 forks source link

dmi-tcat not tracking tweets #417

Open francescascpl opened 4 years ago

francescascpl commented 4 years ago

Helle,

I just installed dmi-tcat, but it seems tweets are not being tracked (screenshots attached). I was wondering if you might have any insights on why this is happening?

To install it I followed the instructions here: https://archives.williamwolff.org/dmi-tcat/

Thank you!

Screenshot 2020-11-03 at 08 49 06 Screenshot 2020-11-03 at 08 49 19
ErikBorra commented 4 years ago

Hi @francescascpl ,

Please not that the correct install instructions can be found on https://github.com/digitalmethodsinitiative/dmi-tcat/wiki/Installation-Guide

It seems that controller.php is not called by a crontab. Could you check the output of ps aux | grep php and make sure that dmitcat_track.php is running? If not, try the steps documented at https://github.com/digitalmethodsinitiative/dmi-tcat/wiki/Installation-Guide#test-the-capturing-scripts

Best,

Erik

ErikBorra commented 3 years ago

Any updates?

francescascpl commented 3 years ago

Hi Erik, sorry for the late reply. I’m in the process of sorting it out, it seems the misconfiguration is related to AWS specifically the way my instance has been setup. I’m working on it, hopefully I should be able to have the DMI-TCAT up and running by the end of the week.
Thanks for you help!

ErikBorra commented 3 years ago

OK. Keep us posted. Note that someone has provided some instructions for AWS: https://archives.williamwolff.org/dmi-tcat/ Not sure how up-to-date the information is, but it may still be helpful.

Best,

Erik

fishfree commented 3 years ago

In the docker version, it does not work either.

ErikBorra commented 3 years ago

Hi @fishfree,

It is very hard to track down a bug or misconfiguration with the only clue that 'it does not work'. When submitting bugs, please provide a clear and concise description of the problem. State what you expected to happen but what happened instead. And, in the case of TCAT, add output from controller.log and track.error.log

Best,

Erik

fishfree commented 3 years ago

I find an alternative:

docker exec -it tcat /bin/bash
nohup /usr/bin/php /var/www/dmi-tcat/capture/stream/dmitcat_track.php &