Comments (12)
Hi Joe,
There's really no quick install for H7 only containers. Could you confirm what instructions you followed?
from homer-app.
Yea sorry it was the docker containers. hep7-influx. The only other thing I did was use nginx as a reverse proxy to port 9060. But I tried it without nginx and got the same 503 when trying to auth. The hep5-influx works fine and I can auth with admin/test123 but it seems to use a different backend api.
from homer-app.
Hi Joe,
Indeed, the API between 5 and 7 is entirely different. The latest containers should all work great as-is unless there are errors intializing. Specifically this one should match your setup:
https://github.com/sipcapture/homer7-docker/tree/master/heplify-server/hom7-hep-influx
from homer-app.
Yep so all I did is docker-compose up -d and verified that all the containers started properly. I guess I will need to attach to the container running the api/nodejs server and figure out what is going on with it.
from homer-app.
docker logs --follow homer-webapp
should do to get an idea
from homer-app.
Here we go. Looks like the users
isn't getting created:
root@homer:/opt/homer-docker/heplify-server/hom7-hep-influx# docker logs --follow homer-webapp
run-parts: executing /docker-entrypoint.d/00-sed_files.sh
Pre-Flight provisioning completed!
run-parts: executing /docker-entrypoint.d/01-seeding_db.sh
Using environment: development
Knex:warning - migrations failed with error: globalSettingsTable is not defined
ReferenceError: globalSettingsTable is not defined
at TableBuilder._fn (/app/migrations/20171007143156_Datastructure.js:55:7)
at TableBuilder.toSQL (/app/node_modules/knex/lib/schema/tablebuilder.js:71:12)
at SchemaCompiler_PG.createTable (/app/node_modules/knex/lib/schema/compiler.js:62:23)
at SchemaCompiler_PG.toSQL (/app/node_modules/knex/lib/schema/compiler.js:51:26)
at SchemaBuilder.toSQL (/app/node_modules/knex/lib/schema/builder.js:57:43)
at /app/node_modules/knex/lib/runner.js:56:32
at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)
at /app/node_modules/bluebird/js/release/using.js:185:26
at tryCatcher (/app/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/app/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/app/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/app/node_modules/bluebird/js/release/promise.js:693:18)
at Promise._fulfill (/app/node_modules/bluebird/js/release/promise.js:638:18)
at PromiseArray._resolve (/app/node_modules/bluebird/js/release/promise_array.js:126:19)
at PromiseArray._promiseFulfilled (/app/node_modules/bluebird/js/release/promise_array.js:144:14)
at Promise._settlePromise (/app/node_modules/bluebird/js/release/promise.js:574:26)
at Promise._settlePromise0 (/app/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/app/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/app/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/app/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues (/app/node_modules/bluebird/js/release/async.js:17:14)
Using environment: development
error: relation "users" does not exist
at Connection.parseE (/app/node_modules/pg/lib/connection.js:545:11)
at Connection.parseMessage (/app/node_modules/pg/lib/connection.js:370:19)
at Socket.<anonymous> (/app/node_modules/pg/lib/connection.js:113:22)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
at readableAddChunk (_stream_readable.js:250:11)
at Socket.Readable.push (_stream_readable.js:208:10)
at TCP.onread (net.js:601:20)
Seeding completed!
run-parts: executing /docker-entrypoint.d/03-rebuild.sh
> [email protected] start /app
> node bootstrap.js
Server started
Debug: handler, error
{"msec":2.290091998875141,"error":"Not Found","data":{"data":null,"isBoom":true,"isServer":false,"output":{"statusCode":404,"payload":{"statusCode":404,"error":"Not Found","message":"Not Found"},"headers":{}},"message":"Not Found"}}
Debug: handler, error
{"msec":0.466796999797225,"error":"Not Found","data":{"data":null,"isBoom":true,"isServer":false,"output":{"statusCode":404,"payload":{"statusCode":404,"error":"Not Found","message":"Not Found"},"headers":{}},"message":"Not Found"}}
Debug: handler, error
{"msec":0.4172740001231432,"error":"Not Found","data":{"data":null,"isBoom":true,"isServer":false,"output":{"statusCode":404,"payload":{"statusCode":404,"error":"Not Found","message":"Not Found"},"headers":{}},"message":"Not Found"}}
Debug: handler, error
{"msec":12.520929999649525,"error":"fail to get user: select \"guid\", \"hash\" from \"users\" where \"username\" = $1 - relation \"users\" does not exist","data":{"isBoom":true,"isServer":true,"output":{"statusCode":503,"payload":{"statusCode":503,"error":"Service Unavailable","message":"fail to get user: select \"guid\", \"hash\" from \"users\" where \"username\" = $1 - relation \"users\" does not exist"},"headers":{}}}}
from homer-app.
Everything works fine with hom7-hep-prom-graf
from homer-app.
@jmordica could you pull the latest sipcapture/homer-app:master
container and try again?
from homer-app.
@lmangani the last container for homer-app
have an issue with the migration, see 929a045#diff-528c0c313081bc1040c1262dce60b32c
It would be great if you could push an update!
from homer-app.
@areski could you open a separate issue for that with the case details? We'll look in parallel
from homer-app.
Surely, sorry for hijacking this issue!
from homer-app.
Closing in preparation for the 7.7 Release. Please re-test your issue using the 7.7. branch or Compose containers and feel free to reopen w/ fresh details if needed. Thanks!
from homer-app.
Related Issues (20)
- Database logs can't be switched off HOT 8
- Authentication to Grafana in widget HOT 7
- How To search and visualize LOGs from PGSQL (missing HEP Logs subtab)? HOT 17
- SQL identifiers and string literals aren't escaped in migration.go HOT 3
- Homer-App duplicate LOG messages in Ladder Diagram HOT 2
- Flow Default View - heading character limit HOT 1
- Make character limit configurable in Flow tab. HOT 1
- relase tagging HOT 3
- Question: Is there an homer-UNinstall.sh script? HOT 3
- Version 7.7 -- Widget result only 200 item displayed HOT 2
- Not able to see all details of a call in a single trace HOT 7
- Question about Field Mapping.json file? HOT 6
- Documentation bug: invalid "-update-ui-user" option HOT 1
- Building from source tagged release 1.4.59 build version 1.1.7 HOT 3
- Attempting a Mapping Rule for two SIP call legs HOT 9
- Can't turn on SSL for PGSQL from config during setup HOT 8
- Difficulties with dashboards HOT 6
- How to provide a consistent Home dashboard for new Homer Users HOT 14
- How to configured oauth2 (or sso or whatever) with Okta SSO HOT 3
- OAuth2 with custom provider HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homer-app.