Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No logs when things aren't going right #3

Open
mathstuf opened this issue Jun 25, 2014 · 3 comments
Open

No logs when things aren't going right #3

mathstuf opened this issue Jun 25, 2014 · 3 comments

Comments

@mathstuf
Copy link

I'm not seeing any data and I'm also not seeing any logs with errors as to what is going wrong. How can I get things to be more verbose?

@rgillet311
Copy link
Contributor

First off, thanks for taking an interest in acilos! We appreciate the feedback.
Can I get some additional info about your situation?

Which accounts have you authenticated and are trying to get data for?

Have you authenticated the accounts to where you can log into the app, and under settings->manageAccounts->authAccounts you can see your accounts and have a valid token?

Are you running from dist/app-production after having done a build? or are you running it from src? (it is recommended to run from /src/ as all of the console statements have been removed and the code minified in the build process.

Has elasticsearch just started? sometimes ES can take a moment to get the ball rolling and have data entered into it.

You can run the crons directly by putting in DOMAIN/src/cron/poller/clientManager.php and cronManager.php and see what errors get logged from there.
it will say error-> something or array[ok] otherwise.

Let me know if any of that helped

@mathstuf mathstuf reopened this Jun 25, 2014
@mathstuf
Copy link
Author

I've connected it to a Facebook account and it is shown in the Facebook side and the acilos side, just no data is being downloaded.

I am running it from dist/app-production, but I'll try it from src once I get another shot at it. I haven't seen any indication that ES is running; I'll double check.

@rgillet311
Copy link
Contributor

Wherever you run start.sh (either from dist/app-production or from src) is
where the app will set itself up. You can check and see if ES is running
from the command line by typing ps -ef | grep elastic

You can also run sudo crontab -l to see if the crons exist and what scripts
they are pointed at. They are written by start.sh so depending on where
start.sh was run, they will point to the appropriate files in that
directory. The app should mine data every time you authenticate an account
as well as when you log in. If you change from app-production to src I
recommend killing the ES process and also removing the crons as they will
be written again when you run the start script again from the new directory
and there will be conflicts.

Running the crons manually from /src/cron/poller/clientManager.php and
cronManager.php is another way to get feedback from the app. ES must be
running at that point though.

On Wed, Jun 25, 2014 at 11:29 AM, Ben Boeckel [email protected]
wrote:

I've connected it to a Facebook account and it is shown in the Facebook
side and the acilos side, just no data is being downloaded.

I am running it from dist/app-production, but I'll try it from src once I
get another shot at it. I haven't seen any indication that ES is running;
I'll double check.


Reply to this email directly or view it on GitHub
#3 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants