Comments (7)
@leongwaikay yup, unfortunately a lot of things are missing from the description. I'll try to run through them and update any missing things.
Also the code (currently) does not automatically create the table on the 1st run. Will need to update that as well.
from nora-service.
@leongwaikay the exact same thing happened to me 2days ago for some reason. this happened:
login: { error: password authentication failed for user "ohubflebemtayr"
and its because of this in config.ts:
export const postgres = { connectionString: 'postgres://ohubflebemtayr:798e58067843da246bd9e3016c16b1e91e8429ed1f835bc028b4654905476c4b@ec2-79-125-26-232.eu-west-1.compute.amazonaws.com:5432/d971p7nrn8fnsv', ssl: ssl, max: (isLocal ? local.postgresMax : ~~getCfg('POSTGRES_MAX')) || 5, idleTimeoutMillis: (isLocal ? local.postgresIdleTimeoutMills : ~~getCfg('POSTGRES_IDLETIMEOUTMILLS')) || 4 * this.HOUR, connectionTimeoutMillis: (isLocal ? local.postgressConnectionTimeoutMills : ~~getCfg('CONNECTIONTIMEOUTMILLIS')) || 2000 };
i mention the line to edit to create the table in the guide btw, but i have to apologize for anything missing in there. @andrei-tatar let me know when you edit the tutorial so i can test it for you from scratch
from nora-service.
ah sorry, forgot the fix 😂 change
connectionString: 'postgres://ohubflebemtayr:798e58067843da246bd9e3016c16b1e91e8429ed1f835bc028b4654905476c4b@ec2-79-125-26-232.eu-west-1.compute.amazonaws.com:5432/d971p7nrn8fnsv'
to connectionString: getCfg(DATABASE_URL)
from nora-service.
to
connectionString: getCfg(DATABASE_URL)
Shoud be connectionString: getCfg('DATABASE_URL')
So you mean previously we were connecting to someone else postgres?!
from nora-service.
Also the code (currently) does not automatically create the table on the 1st run. Will need to update that as well.
Seems like @nicandris has added the code in user.repository.ts
from nora-service.
Hey guys,
Is this issue resolved yet?
At first run looks like still the necessary database/tables are not created.
Not sure if it's related but when I try to add my project in Google Home app I can now authenticate successfully but nothing happens after that. I mean no project is added to my Google Home app.
Any hints to fix the issue is highly appreciated.
Cheers
from nora-service.
Hi, is it correct that the change connectionString: getCfg('DATABASE_URL')
must be made in the config.ts
?
from nora-service.
Related Issues (20)
- Locks HOT 16
- Feature: RunCycle support HOT 2
- Added camera device
- Tutorial HOT 17
- How to add devices? HOT 1
- How to get the state of the Device HOT 12
- Setting up on heroku HOT 5
- Themostat command "make it cooler" returns "setpoint: [object object]-1.5" HOT 2
- Google Project API HOT 1
- unable to redirect to <home> after login
- Erros building the app
- Login fails - Cert issues HOT 5
- Nora Home not getting added to Google Home HOT 4
- Continuing to develop going forward? HOT 3
- Login corrupted HOT 2
- Help with Google API console HOT 3
- nora-firebas-service? HOT 1
- Push Failed
- Nora service offline? HOT 6
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 nora-service.