-
Notifications
You must be signed in to change notification settings - Fork 61
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
Using docker with external DB #59
Comments
Something that I noticed is that SOME data appears to show for certain places, but not when searching. For instance, on the dashboard the SIPCapture Charts is populated: But when I go to the search page nothing is returned. @lmangani do you have any idea what is going on? |
@arainero as a starter, make sure you hit "clear" on the form to avoid ghost parameters impacting search - the statistics are generated from actual messages, so both should be on the system most definitely. |
I tried clearing before doing a search and that didn't help.
In the database I see the data being generated. It seems like the site just
isn't pulling it. I didn't see anything useful in http logs either.
…On Feb 6, 2018 5:22 PM, "Lorenzo Mangani" ***@***.***> wrote:
@arainero <https://github.com/arainero> as a starter, make sure you hit
"clear" on the form to avoid ghost parameters impacting search - the
statistics are generated from actual messages, so both should be on the
system most definitely.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/sipcapture/homer-docker/issues/59#issuecomment-363585157>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZZyZxiVuXnALBXmVOd52tBcKqZqL4Mvks5tSNCSgaJpZM4R3xbt>
.
|
This might sound silly but... you selected a timerange, right? This is a known deficiency in new homer installations, they default to an old date and confuse some users. If data is in the db, it should be returned. |
I usually select "last 10 minutes" and get results.
On Feb 6, 2018 5:54 PM, "Lorenzo Mangani" <[email protected]> wrote:
This might sound silly but... you selected a timerange, right? This is a
known deficiency in new homer installations, they default to an old date
and confuse some users. If data is in the db, it should be returned.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/sipcapture/homer-docker/issues/59#issuecomment-363593354>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZZyZzdbA9X3EX4rYLjEs2pfb26UzeKtks5tSNgggaJpZM4R3xbt>
.
|
@arainero you'll have to provide more details to understand whats happening, such as some example data you see in DB to confirm why it wouldn't be returned as a starter. |
In the homer_data database I see that it is making new tables for every new day. Data is populating the tables too. I read your previous comment again about the time suggestion. I modified the dates and I was able to get one row to return in the search results, but I was unable to reproduce it. It makes me believe that this may in fact be date/time related. @lmangani, which table would you like to see data from? `` |
I am experiencing an issue when using an external database that data will not show up on the website. I have gotten this to fully work when using the docker database and making no modifications.
I configured an external database in the homer.env file. I set the following fields:
DB_USER=homer, DB_PASS=XXXXXXX, USE_REMOTE_MYSQL=true, and DB_HOT=x.x.x.x
After doing a docker-build and docker-compose up I see the following:
This just goes on and on.
At this point I am able to log into the website, but I can not get any data to show when doing a search. I do see that data is being pushed into my external database now, however.
To help with the "bootstrap-mysql | Bootstrap container is waiting for mysql, sleeping 2 seconds, intentionally waited X seconds so far" issue I tried manually setting "mysql_started=false" to "mysql_started=true" in the "bootstrap-data/bootstrap.sh" file.
After doing a docker-build and docker-compose up I now see the following:
when I do that I no longer see the message "Bootstrap container is waiting for mysql, sleeping X seconds, intentionally waited 6 seconds so far" but I see "bootstrap-mysql | ERROR 1045 (28000): Access denied for user 'root'@'10.10.10.220' (using password: YES)" in the output.
In both situations I still can not pull up any data via the website.
Any help would be appreciated with this,
Thank you.
The text was updated successfully, but these errors were encountered: