sipcapture / homer7-docker Goto Github PK
View Code? Open in Web Editor NEWHOMER 7 Docker Images
HOMER 7 Docker Images
On Centos 7.6
cd /opt/
git clone https://github.com/sipcapture/homer7-docker.git
cd /opt/homer7-docker/heplify-server/hom7-hep-elastic/
docker-compose up
I see the following errors :
homer-webapp | Error....
homer-webapp | Debug: handler, error
homer-webapp | {"msec":4.11526899994351,"error":"stats data has been not found","data":{"data":null,"isBoom":true,"isServer":false,"output":{"statusCode":404,"payload":{"statusCode":404,"error":"Not Found","message":"stats data has been not found"},"headers":{}}}}
homer-webapp | Error....
homer-webapp | Debug: handler, error
homer-webapp | {"msec":4.080958999926224,"error":"stats data has been not found","data":{"data":null,"isBoom":true,"isServer":false,"output":{"statusCode":404,"payload":{"statusCode":404,"error":"Not Found","message":"stats data has been not found"},"headers":{}}}}
....
I activated sip capture on my test Freeswitch and configured it to point to homersrv:9060
I can not find any data in either Homer or Kibana yet ; Am I doing anything wrong?
I deleted my old 7 setup and started fresh with 7.7, found that no info was being showed in Prometheus and Homer.
Removing the values from the variables according to #50 did start to fill up Prometheus, thanks for that.
There seems to be a problem writing to the database:
db | 2020-01-29 15:44:30.337 UTC [51] ERROR: invalid input syntax for type json
db | 2020-01-29 15:44:30.337 UTC [51] DETAIL: Token "NOTIFY" is invalid.
db | 2020-01-29 15:44:30.337 UTC [51] CONTEXT: JSON data, line 1: ...ion_id":"o: <sip:172.18.0.27:5060>;method="NOTIFY...
db | COPY hep_proto_5_default, line 77, column protocol_header: "{"protocolFamily":2,"protocol":17,"srcIp":"172.18.0.27","dstIp":"172.18.135.98","srcPort":60315,"dst..."
db | 2020-01-29 15:44:30.337 UTC [51] STATEMENT: COPY hep_proto_5_default(sid,create_date,protocol_header,data_header,raw) FROM STDIN
I pulled the latests version and also deleted everything and cloned from scratch, It seems the database does get created #58, but tables aren't receiving data from the HEP packets being received.
Thanks for the hard work and help.
After completely clean install of docker container it loaded version 7.7.021 of the Homer-UI which is somewhat outdated.
Hello,
I am running the hep-grafana-loki docker version of Homer7.
I need to make some modifications to the Heplify-server metrics so I downloaded the source from: https://github.com/sipcapture/heplify-server and without modifying it, I compiled it.
The problem is that by changing the heplify-server executable by the compiled one and restarting the container, it is continually restarting.
On the console I get messages that contains: invalid input syntax for type json
Is there any incompatibility between the two versions of the server? Should I delete the databases and start them from scratch when I change the executable?
Thanks
Hi guys
Can I maybe get some assistants, I'm trying to install homer in my Lab but for some reason I keep getting stuck. Does anyone maybe have a in-depth guide to install homer 7 and to configure it with a capture agent.
I want to setup a server for the capture agent that will capture the SIP and RTP streams from 4 different networks (each on a separate network port) and then i want to send that to another server on which Homer will run.
I tried installing homer 7 with the docker images, but i'm not seeing any VoIP traffic on homer. Some assistants regarding this will be awesome.
Hello,
I've composed hom7-hep-influx package, but I can't get to Homer page, even though it logs "Server started".
It also logs this: E! Error in plugin [inputs.prometheus]: error making HTTP request to http://heplify-server:9096/metrics: Get http://heplify-server:9096/metrics: dial tcp 172.18.0.6:9096: connect: connection refused
I don't really know how to solve this, it is quite different from H5, which worked to me, except of long msg database problem, that's why I am trying H7.
cloned repo
went into homer7-docker/heplify-server/hom7-hep-influx dir
tried
docker-compose up
error reads
Starting caddy ...
Starting hom7-hep-influx_db_1_f0dfb2b2f2a9 ...
Starting hom7-hep-influx_db_1_f0dfb2b2f2a9 ... error
Starting caddy ... error
ERROR: for hom7-hep-influx_db_1_f0dfb2b2f2a9 Cannot start service db: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v1.linux/moby/e72a9659ea1daad63e7e6828e0b2bdcea9fc658e436ecff5ce4a3c2f3a9578e5/log.json: no such file or directory): runc did not terminate sucessfully: unknown
ERROR: for caddy Cannot start service caddy: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v1.linux/moby/085e6d740c56f20e0b689c6cb91e49d0ef952c1a01593dee781d587d6cb35b1e/log.json: no such file or directory): rStarting hom7-hep-influx_influxdb_1_a2447b2e8064 ... error
ERROR: for hom7-hep-influx_influxdb_1_a2447b2e8064 Cannot start service influxdb: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v1.linux/moby/cebb108938e4468319915db929d58392f556a1981cd5777eda51ffe0207c80e5/log.json: no such file or directory): runc did not terminate sucessfully: unknown
ERROR: for db Cannot start service db: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v1.linux/moby/e72a9659ea1daad63e7e6828e0b2bdcea9fc658e436ecff5ce4a3c2f3a9578e5/log.json: no such file or directory): runc did not terminate sucessfully: unknown
ERROR: for caddy Cannot start service caddy: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v1.linux/moby/085e6d740c56f20e0b689c6cb91e49d0ef952c1a01593dee781d587d6cb35b1e/log.json: no such file or directory): runc did not terminate sucessfully: unknown
ERROR: for influxdb Cannot start service influxdb: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v1.linux/moby/cebb108938e4468319915db929d58392f556a1981cd5777eda51ffe0207c80e5/log.json: no such file or directory): runc did not terminate sucessfully: unknown
ERROR: Encountered errors while bringing up the project.
using debian 9 OS , docker is 18.09.8v ,
Hi,
Does HOMER 7 support MariaDB?
Thanks!
Leon
I've been playing with these settings all day, and can't find any documentation or rhyme or reason as to why I can't add the usual SIPCapture statistics to Homer 7. (the same stats available on the dashboard of Homer 5).
Anyone have any advice for getting some stats in Homer 7?
See attached.
Hello,
Does HOMER7 support Green-PLUM which is pgsql based database?
https://github.com/greenplum-db/gpdb
During practice, we found the pgsql supported by HOMER7 has capacity bottle-neck...we need to find out another database which has a better I/O and capacity...
Thanks!
br,
Leon
https://github.com/grafana/loki/releases
Specifically:
caller=main.go:78 msg="error initialising loki" err="error initialising module: table-manager: retention period should now be a multiple of periodic table duration"
Hi team
I have one CentOS VM with two NIC. On one NIC SIP traffic is coming and the second one is being used for internet and management. Only the second NIC has an IP address. docker-compose up is running properly for HEPlify + InfluxDB + LoudML.
When I ran Wireshark trace on NIC one, I am getting SIP packets. But I don't have anything in database and homer app. Can anyone help here?
Here NIC one is receiving mirrored traffic from the switch.
I can see that Heplify-server is listening on port 9060. What configuration I have to do to send NIC traffic (Raw packet) to Heplify-server?
I've just installed Homer using docker. I am sending SIP data from OpenSIPs (a pretty old version) and I can see the SIP hit the box on port 9060, however no data seems to be being stored by Homer. I'm assuming I am missing something simple? I would appreciate any help!
Thanks!
Hi, The homer-webapp is not starting. I see this error after executing of docker-compose:
db_1 | 2019-02-19 12:31:38.558 UTC [48] FATAL: database "homer_config" does not exist
Hello,
Do you have plan to support H.248 protocol and Diameter protocols?
Or is there any fast way to support a new protocol?
Thanks!
Regards,
Leon
The default Admin authentication :
user: admin
password: sipcature
Fails with Email and password combination not recognised
error.
This seem to affect Homer7 deployments.
Screenshot captures homer7-docker/hepop/hom7-json-influx
instance
UPDATE:
This is the Docker deployments seems to be related to this guy
Hi,
I'm trying to start a docker-compose image "hom7-prom-all" and when I put the web page myserver:9080 the system ask for user/passwd and then send de message "502 Bad Gateway".
The OS is an Ubuntu Server 18.04.
Any suggestion?
Thanks
We upated Homer to 7.7 branch and find that default user and password not working. In further investigation we found what it trying to connect: http://de9.sipcapture.io
Hi,
I m using hom7-prom-all 7.7 and faced a problem with KPI, i have add direction tag to the metric in order to differentiate target traffic direction Incoming or Outgoing:
clamp_max((sum(increase(heplify_method_response{target_name="$tn", direction="src", method="INVITE", response="200"}[30m])) * 100) /"$tn", direction="src", method="INVITE", response="INVITE"}[30m]))
(sum(increase(heplify_method_response{target_name=
Steps to reproduce:
Tested in Firefox & Chrome.
Is there a command or a instruction of commands?
I did a fresh install of 7.7 hom7-prom-all yesterday and I noticed that when viewing the results page clicking the top left logo/link does not return to the dashboard but results in a blank page being displayed and the URL does not change from /call/result
Tested using Firefox 71.0
HTH
Mark.
Hi, I start homer7-docker with server hom7-prom-all and I have problem with Loki container. It alway restart. Error log :
level=error ts=2019-06-05T06:26:51.286856691Z caller=main.go:46 msg="error loading config"
filename=/etc/loki/loki-local-config.yaml err="parsing time "0" as "2006-01-02": cannot parse "0" as
"2006"
Applogies if this is the wrong tracker for this issue, but i seem to have an issue with homer 7.7 docker install, but i dont know if its actually an issue with heplify-server.
Issue
Tables/partitions dont seem to get created in postgres, fillings logs with this:
db | 2020-04-15 12:37:30.256 UTC [225] ERROR: no partition of relation "hep_proto_1_default" found for row' 'db | 2020-04-15 12:37:30.256 UTC [225] DETAIL: Partition key of the failing row contains (create_date) = (2020-04-15 12:37:26.609269+00).
db | 2020-04-15 12:37:30.256 UTC [225] CONTEXT: COPY hep_proto_1_default, line 1: "75acad854ad2620a4f2dc9142d5ab90 2020-04-15T12:37:26.609269Z {"protocolFa..."
If i restart heplify server sudo docker-compose restart heplify-server
the tables seem to get created and everything works for a day or so, then the same issue happens until i manually restart it again.
My install is literally the following:
sudo docker-compose up -d
Works fine for a week or so, then needs the heplify server restarted every day.
Am i missing something in my deployment or is a scheduled job failing?
Hi guys,
being a docker dummy, I wanted to try to get my hands "dirty", and launch Homer using one of the available scripts. I started with hom7-json-influx
, that seemed like a good place to start, but even though the docker compose process seems to start things correctly, I can't access the Homer UI. More precisely, if I open localhost:9080
with a browser, I'm presented with a login page, but inserting the credentials provided in the README nothing happens: after a while, I get an error on a JWT token not being returned, which suggests a DB error.
Looking at the docker-compose
output, I see a couple of things that seem out of place and that may be the cause of the issue:
hepsub |
hepsub | > [email protected] start /app
hepsub | > nodejs helloworld.js
hepsub |
kapacitor_1 | ts=2019-11-06T15:34:37.697Z lvl=info msg="listening for signals" service=run
hepsub | sh: nodejs: not found
hom7-hep-influx_provisioning_1 exited with code 0
hepsub | npm ERR! file sh
hepsub | npm ERR! code ELIFECYCLE
hepsub | npm ERR! errno ENOENT
hepsub | npm ERR! syscall spawn
hepsub | npm ERR! [email protected] start: `nodejs helloworld.js`
hepsub | npm ERR! spawn ENOENT
hepsub | npm ERR!
hepsub | npm ERR! Failed at the [email protected] start script.
hepsub | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
hepsub |
hepsub | npm ERR! A complete log of this run can be found in:
hepsub | npm ERR! /root/.npm/_logs/2019-11-06T15_34_41_966Z-debug.log
db_1 | 2019-11-06 15:34:42.165 UTC [73] FATAL: password authentication failed for user "homer"
db_1 | 2019-11-06 15:34:42.165 UTC [73] DETAIL: Role "homer" does not exist.
db_1 | Connection matched pg_hba.conf line 95: "host all all all md5"
homer-webapp | error: password authentication failed for user "homer"
homer-webapp | at Connection.parseE (/app/node_modules/pg/lib/connection.js:545:11)
homer-webapp | at Connection.parseMessage (/app/node_modules/pg/lib/connection.js:370:19)
homer-webapp | at Socket.<anonymous> (/app/node_modules/pg/lib/connection.js:113:22)
homer-webapp | at emitOne (events.js:116:13)
homer-webapp | at Socket.emit (events.js:211:7)
homer-webapp | at addChunk (_stream_readable.js:263:12)
homer-webapp | at readableAddChunk (_stream_readable.js:250:11)
homer-webapp | at Socket.Readable.push (_stream_readable.js:208:10)
homer-webapp | at TCP.onread (net.js:601:20)
hepsub exited with code 1
db_1 | 2019-11-06 15:34:42.864 UTC [74] ERROR: role "postgres" does not exist
db_1 | 2019-11-06 15:34:42.864 UTC [74] STATEMENT: GRANT postgres to homer_user;
heplify-server | 2019/11/06 15:34:42.864657 rotator.go:364: WARN pq: role "postgres" does not exist
The first is the nodejs
error: this might be because most nodejs installations now only install /usr/bin/node
and not /usr/bin/nodejs
. I thought this was tied to my local installation (which does lack a nodejs
executable), but even adding a symbolic link the error remained, so it's likely a missing executable inside the image itself. Not sure if that can be the cause of the issue, though.
Another likely culprit seems to be the password authentication failed for user "homer"
, which seems to indeed suggest a DB error: for some reason the application can't contact Postgres at startup, which may be why the login process timeouts when I try it later on. I already tried removing the influx
and postgres-data
folders more than once and bring the image back up using docker-compose
, but nothing changed.
Unfortunately, since everything is retrieved and deployed automatically via docker, I have no idea on how I can mess with the image to see if I can fix things myself manually. Any hint on what may be going wrong, and/or how I can fix it?
Thanks!
Hi
I have cloned the repo and tried to install hepop - hom7-loudml-influx using docker-compose up but it's throwing error.
Screenshot is attached below
docker-compose --version : 1.23.2
docker --version : 19.03.1
duration strings now no longer accept just 0, but need to be 0s
Hi, any call searching is working just fine, but when I try to search something in the registration profile, nothing shows up, but logically that data should be there, when calls are ok. Maybe there is problem with registration profile itself, but I don't know how to debug something like this. When I try to search, this log pops up in CLI up:
2019-03-21 19:32:49.194 UTC [785] ERROR: relation "hep_proto_1_registration" does not exist at character 119
db_1 | 2019-03-21 19:32:49.194 UTC [785] STATEMENT: select "id", "sid", "protocol_header", "data_header", ROUND(EXTRACT(epoch FROM create_date)*1000) as create_date from "hep_proto_1_registration" where "create_date" between $1 and $2 limit $3
homer-webapp | Debug: handler, error
homer-webapp | {"msec":2.069543999619782,"error":"select \"id\", \"sid\", \"protocol_header\", \"data_header\", ROUND(EXTRACT(epoch FROM create_date)*1000) as create_date from \"hep_proto_1_registration\" where \"create_date\" between $1 and $2 limit $3 - relation \"hep_proto_1_registration\" does not exist","data":{"name":"error","length":124,"severity":"ERROR","code":"42P01","position":"119","file":"parse_relation.c","line":"1180","routine":"parserOpenTable","isBoom":true,"isServer":true,"output":{"statusCode":503,"payload":{"statusCode":503,"error":"Service Unavailable","message":"select \"id\", \"sid\", \"protocol_header\", \"data_header\", ROUND(EXTRACT(epoch FROM create_date)*1000) as create_date from \"hep_proto_1_registration\" where \"create_date\" between $1 and $2 limit $3 - relation \"hep_proto_1_registration\" does not exist"},"headers":{}}}}
HEP messages containing REGISTER dialog messages are coming to Homer without error.
using hom7-prom-all with docker-compose up -d I still had to connect to postgres server and create the homer_data database. Is this a bug or was I doing something wrong.
I keep getting the following error:
postgres | 2020-03-17 11:15:27.832 UTC [66] ERROR: invalid input syntax for type json
postgres | 2020-03-17 11:15:27.832 UTC [66] DETAIL: Token "bmGhEfDoNeJ0m" is invalid.
postgres | 2020-03-17 11:15:27.832 UTC [66] CONTEXT: JSON data, line 1: ...","correlation_id":"M_eP0431313170w"bmGhEfDoNeJ0m...
postgres | COPY hep_proto_1_call, line 80, column protocol_header: "{"protocolFamily":2,"protocol":17,"srcIp":"80.90.160.221","dstIp":"159.65.125.17","srcPort":5060,"ds..."
postgres | 2020-03-17 11:15:27.832 UTC [66] STATEMENT: COPY hep_proto_1_call(sid,create_date,protocol_header,data_header,raw) FROM STDIN
heplify | 2020/03/17 11:15:27.833508 postgres.go:284: ERR pq: invalid input syntax for type json
heplify | 2020/03/17 11:15:27.834590 postgres.go:292: ERR pq: Could not complete operation in a failed transaction
I'm using a simple Homer stack with heplify version 1.56, following is the compose:
version: "2.1"
services:
homer:
container_name: homer
image: sipcapture/webapp:latest
ports:
- "80:80/tcp"
environment:
- "DB_HOST=postgres"
- "DB_USER=root"
- "DB_PASS=homerSeven"
restart: unless-stopped
depends_on:
- heplify
heplify:
container_name: heplify
image: sipcapture/heplify-server:latest
ports:
- "9060:9060/tcp"
- "9060:9060/udp"
command:
- "./heplify-server"
environment:
- "HEPLIFYSERVER_HEPADDR=0.0.0.0:9060"
- "HEPLIFYSERVER_HEPTLSADDR=0.0.0.0:9060"
- "HEPLIFYSERVER_DBSHEMA=homer7"
- "HEPLIFYSERVER_DBDRIVER=postgres"
- "HEPLIFYSERVER_DBADDR=postgres:5432"
- "HEPLIFYSERVER_DBUSER=root"
- "HEPLIFYSERVER_DBPASS=homerSeven"
- "HEPLIFYSERVER_DBDATATABLE=homer_data"
- "HEPLIFYSERVER_DBCONFTABLE=homer_config"
- "HEPLIFYSERVER_DBDROPDAYS=30"
- "HEPLIFYSERVER_LOGLVL=info"
- "HEPLIFYSERVER_LOGSTD=true"
- "HEPLIFYSERVER_DEDUP=true"
restart: unless-stopped
depends_on:
- postgres
postgres:
container_name: postgres
image: postgres:11-alpine
restart: always
environment:
POSTGRES_PASSWORD: homerSeven
POSTGRES_USER: root
expose:
- 5432
restart: unless-stopped
volumes:
- ./postgres-init.sh:/docker-entrypoint-initdb.d/init.sh
- ./postgres-data:/var/lib/postgresql/data
While docker compose, i got this error:
ERROR: for homer-webapp Container "6809987ccb76" is unhealthy.
ERROR: Encountered errors while bringing up the project.
docker ps: grafan is not launched
docker logs grafana:
standard_init_linux.go:211: exec user process caused "exec format error"
standard_init_linux.go:211: exec user process caused "exec format error"
standard_init_linux.go:211: exec user process caused "exec format error"
standard_init_linux.go:211: exec user process caused "exec format error"
CAN YOU HELP PLEASE
Attempting to fix #73
I have hit a roadblock/limit of my knowledge with docker.
I have changed the syntax of the duration parameters but cant seem to get them to apply to the container, i have also intentionally malformed the yaml file to trigger a different parse error to verify the config is being honoured and again no indication that its being applied to my container.
I have tried the following commands with no luck, am i doing something wrong?
docker-compose up -d
docker-compose down docker-compose up -d
docker-compose --verbose up --force-recreate --build
hi,
i am very new in grafana/loki/hep and in github as well(sorry for my formatting), trying to run the containers from docker_compose file, where loki looks like:
loki:
image: grafana/loki:master
container_name: loki
restart: unless-stopped
expose:
- 3100
ports:
- "3100:3100"
labels:
org.label-schema.group: "monitoring"
however, my loki home page is not found:
[r$]# curl http://localhost:3100
404 page not found
[r$]#
i am seeing following logs in container of loki, but not sure what those means:
level=info ts=2020-01-29T03:20:14.383411595Z caller=table_manager.go:364 msg="creating table" table=index_2565
level=info ts=2020-01-29T03:20:14.383438423Z caller=table_manager.go:364 msg="creating table" table=index_2521
level=info ts=2020-01-29T03:20:14.383466714Z caller=table_manager.go:364 msg="creating table" table=index_2572
level=info ts=2020-01-29T03:20:14.383494233Z caller=table_manager.go:364 msg="creating table" table=index_2580
level=info ts=2020-01-29T03:20:14.383520919Z caller=table_manager.go:364 msg="creating table" table=index_2603
level=info ts=2020-01-29T03:20:14.383549634Z caller=table_manager.go:364 msg="creating table" table=index_2569
do you think in docker compose some volumes are missing?
these are the files in the root directory:
[r$]# ls -lrth
total 20K
-rw-r--r-- 1 root root 5.0K Jan 29 00:39 docker_compose.yml
drwxr-xr-x 3 root root 25 Jan 29 00:41 grafana
drwxr-xr-x 2 root root 6 Jan 29 00:42 init-user-db.sh
drwxr-xr-x 2 root root 23 Jan 29 00:48 alertmanager
drwxr-xr-x 2 root root 45 Jan 29 00:50 prometheus
drwxr-xr-x 2 root root 22 Jan 29 00:50 caddy
-rw-r--r-- 1 root root 238 Jan 29 00:57 to_ring_up.txt
-rw-r--r-- 1 root root 1 Jan 29 01:17 bootstrap
drwxr-xr-x 2 root root 83 Jan 29 05:37 loki
drwx------ 19 70 root 4.0K Jan 29 05:37 postgres-data
[r$]#
docker_compose is just copy paste from here
thanks in advance,
When trying to import the saved object we receive
"Sorry, there was an error
The file could not be processed."
I put the file into https://jsonlint.com/ as it says it has errors.
Hi Guys,
Dont really know where else to ask this, as I dont really think its an issue, rather something im overlooking, so apologies in advance.
i have deployed hom7-prom-all, however my XRTP dashboard in Grafana currently shows no data.
Is this something on hepfliy's end, does it require a certain flag to capture+send XRTP?
These are the flags im using currently:
/usr/bin/heplify -i bond0 -hi 103 -pr 5050-5060 -hs my.hepserver.com:9060 -e -m SIPRTCP
Im receiving all SIP and RTCP data, as the other dashboards populate fine.
Please let me know if this is the incorrect place to post this.
Hi,
I'm trying Homer7 with HEPlify + Prometheus + Loki but the Loki container is continually restarting and I can't find any explanation of that.
Any suggestion?
Thanks
The master version of
Is currently invalid json it looks like there may be a copy and paste error at lines 256/257
Using the previous commit works okay, but I think is missing some things :)
Hey guys,
First of all - thanks a lot for your time to develop and maintain such an interesting project!
My issue may be super simple and stupid, but I am wondering why no data was shown to the Web UI when I trying to generate some SIP packets with hepgen
tool.
Here is what I did:
git clone https://github.com/sipcapture/homer7-docker
cd homer7-docker/heplify-server/hom7-prom-all
docker-compose up -d
commandcd
to hepgen
folder (outside) and run node hepgen.js -s 127.0.0.1 -p 9060 -c "./config/b2bcall_rtcp.js"
commandheplify-server
container on the same machine: vd: 43, parsed: 27, hepsent: 26, err: 0, heperr: 0
How it looks like in a Homer Web App:
Nothing was changed in config files since git clone
command (as mentioned above).
init-user-db.sh:
#!/bin/bash
set -e
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
CREATE DATABASE homer_config;
EOSQL
Some logs of db
container:
PostgreSQL init process complete; ready for start up.
2020-02-02 16:53:09.778 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2020-02-02 16:53:09.779 UTC [1] LOG: listening on IPv6 address "::", port 5432
2020-02-02 16:53:09.802 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2020-02-02 16:53:09.874 UTC [57] LOG: database system was shut down at 2020-02-02 16:53:09 UTC
2020-02-02 16:53:09.883 UTC [58] FATAL: the database system is starting up
2020-02-02 16:53:09.897 UTC [1] LOG: database system is ready to accept connections
2020-02-02 16:53:12.316 UTC [78] ERROR: role "postgres" does not exist
2020-02-02 16:53:12.316 UTC [78] STATEMENT: GRANT postgres to homer_user;
Please pay attention at this error: ERROR: role "postgres" does not exist
May it broke the whole system? What is the best way to fix that?
Thanks in advance!
Regards,
Dmitry
Hi
I am trying to install Homer7 via Docker and I am having problems running docker-compose up (with hom7-hep-influx)
This gives an error that says:
Pulling influxdb (influxdb:1.5-alpine)...
1.5-alpine: Pulling from library/influxdb
ERROR: no matching manifest for linux/386 in the manifest list entries
The server is an Ubuntu 18.04 and claims to have a linux/i686 architecture.
Any suggestions?
Thanks.
Hi sipcapture fans,
i tried homer-7 and there homer7-docker/heplify-server/hom7-prom-all
3963a6e
after 8 days uptime i saw that i got many errors from the heplify-server (see below):
And i could not find any things in the webgui.
Could that only solve with "docker-compose down" and "docker-compose up -d"
I am not sure how to debug the "rotation" process. Maybe that is not clean.
2020/04/09 19:05:08.923474 postgres.go:283: ERR pq: no partition of relation "hep_proto_1_default" found for row 2020/04/09 19:05:08.923529 postgres.go:283: ERR pq: no partition of relation "hep_proto_1_default" found for row 2020/04/09 19:05:08.923566 postgres.go:283: ERR pq: no partition of relation "hep_proto_1_default" found for row 2020/04/09 19:05:08.923857 postgres.go:291: ERR pq: Could not complete operation in a failed transaction 2020/04/09 19:05:08.923864 postgres.go:291: ERR pq: Could not complete operation in a failed transaction 2020/04/09 19:05:08.923886 postgres.go:291: ERR pq: Could not complete operation in a failed transaction 2020/04/09 19:05:08.925969 postgres.go:283: ERR pq: no partition of relation "hep_proto_1_default" found for row 2020/04/09 19:05:08.926138 postgres.go:291: ERR pq: Could not complete operation in a failed transaction
Cheers Karsten
Hi
I am using Debian 9. I downloaded docker file for H7 + InfluxDB docker installation from here. But facing issue while running docker-compose up command.
The output of the docker-compose up command is attached below.
2019-01-24 17:25:48.567 UTC [31329] ERROR: out of shared memory
2019-01-24 17:25:48.567 UTC [31329] HINT: You might need to increase max_locks_per_transaction.
STATEMENT: COPY hep_proto_1_register(sid,create_date,protocol_header,data_header,raw) FROM STDIN
homer7-docker/heplify-server/hom5-hep-prom-graf/
Steps to reproduce:
Hi dear Sipcapture Team.
I face this issue when a call is sent to the hom7-hep-influx from heplify.
Here you are the docker output:
heplify-server | SET Bucket ID: hep_proto_1_call
heplify-server | /app/node_modules/pg-promise/lib/formatting.js:154
heplify-server | throw new Error('Property '' + v.name + '' doesn't exist.');
heplify-server | ^
heplify-server |
heplify-server | Error: Property 'sid' doesn't exist.
heplify-server | at query.replace.name (/app/node_modules/pg-promise/lib/formatting.js:154:19)
heplify-server | at String.replace ()
heplify-server | at Object.object (/app/node_modules/pg-promise/lib/formatting.js:134:22)
heplify-server | at $formatQuery (/app/node_modules/pg-promise/lib/formatting.js:295:29)
heplify-server | at format (/app/node_modules/pg-promise/lib/formatting.js:831:16)
heplify-server | at data.map (/app/node_modules/pg-promise/lib/helpers/methods/insert.js:128:26)
heplify-server | at Array.map ()
heplify-server | at Object.insert (/app/node_modules/pg-promise/lib/helpers/methods/insert.js:124:29)
heplify-server | at Object.insert (/app/node_modules/pg-promise/lib/helpers/index.js:52:24)
heplify-server | at Object.exports.insert (/app/src/pgsql.js:101:34)
heplify-server | npm ERR! code ELIFECYCLE
heplify-server | npm ERR! errno 1
heplify-server | npm ERR! [email protected] start: node hepop.js -c /app/myconfig.js
heplify-server | npm ERR! Exit status 1
heplify-server | npm ERR!
heplify-server | npm ERR! Failed at the [email protected] start script.
heplify-server | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
heplify-server |
heplify-server | npm ERR! A complete log of this run can be found in:
heplify-server | npm ERR! /root/.npm/_logs/2019-10-02T14_26_03_761Z-debug.log
Attached the pcap file of the call sniffed by sngrep on the same server where heplify runs.
I noticed that the CALL-ID had a ";" in the string: could it be the possible responsible of the issue? I noticed that on the same system other calls runs without any issues and the CALLID isn't with any ";".
Hello
I am running homer7-docker/heplify-server/hom7-influx-tick branch 7.7.
Browser: Chrome 79.0.3945.117
Every time when I click to Session ID (Call Id) I am getting javascript error:
ERROR TypeError: Cannot read property 'protocol_id' of null
at SearchGridCallComponent.push../src/app/components/search-grid-call/search-grid-call.component.ts.SearchGridCallComponent.queryBuilderQOS (main.b0c0ae891134c32fe5c6.js:321570)
at SearchGridCallComponent.push../src/app/components/search-grid-call/search-grid-call.component.ts.SearchGridCallComponent.openTransactionDialog (main.b0c0ae891134c32fe5c6.js:321886)
at SearchGridCallComponent.push../src/app/components/search-grid-call/search-grid-call.component.ts.SearchGridCallComponent.openTransactionForSelectedRows (main.b0c0ae891134c32fe5c6.js:321828)
at ColumnCallidRenderer.push../src/app/components/search-grid-call/renderer/column-callid-renderer.component.ts.ColumnCallidRenderer.openTransactionPopup (main.b0c0ae891134c32fe5c6.js:321183)
at ColumnCallidRenderer_Template_a_click_0_listener (template.html:1)
at executeListenerWithErrorHandling (main.b0c0ae891134c32fe5c6.js:86868)
at wrapListenerIn_markDirtyAndPreventDefault (main.b0c0ae891134c32fe5c6.js:86896)
at HTMLAnchorElement. (main.b0c0ae891134c32fe5c6.js:160133)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (polyfills.db252f9f61df52652520.js:3271)
at Object.onInvokeTask (main.b0c0ae891134c32fe5c6.js:97771)
The same issue for homer7-docker/heplify-server/hom7-prom-all
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.