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

offside db postgresql #32

Open
geeks121 opened this issue Jan 9, 2022 · 6 comments
Open

offside db postgresql #32

geeks121 opened this issue Jan 9, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@geeks121
Copy link

geeks121 commented Jan 9, 2022

i tried offside db using postgresql from bit.io but nothing happened

@davidjameshowell
Copy link
Owner

Could you provide more details on the issue you are facing and what you have done thus far to help troubleshoot?

@geeks121
Copy link
Author

i tried with heroku verified : 0
using postgresql from bit.io and the setting above not triggered to use offside DB . as i read the readme ,, to use offside db i should set heroku verified to 0 right? ..

and if i set
heroku verified : 0
use_psql : 0
the bot will setup without any database

i setup db connection in secrets github ..

@davidjameshowell davidjameshowell added the bug Something isn't working label Jan 31, 2022
@ncomerci
Copy link

HEROKU_VERIFIED variable is hardcoded in deploy.yml and update.yml, simple fix here

@davidjameshowell
Copy link
Owner

The only real reason it is hard coded is any value that is listed in secret becomes redacted in logs, which subsequently means anything with a "1" becomes an asterisk. Can make debugging a pain.

@ncomerci
Copy link

Yes, I get your point but I ran into the same problem mentioned here when I did my deploy and I solved it this way so I could change it quickly. I think it would be good to clarify this issue in the readme because I think it is not very clear 🙌🏻😉

@aditya-shri
Copy link

aditya-shri commented Apr 14, 2022

Yes, I get your point but I ran into the same problem mentioned here when I did my deploy and I solved it this way so I could change it quickly. I think it would be good to clarify this issue in the readme because I think it is not very clear 🙌🏻wink

Hi bro, I used the bit.io database but after deployment heroku is giving following error:

2022-04-14 20:09:39.204][panic][ERROR] thread 'main' panicked at 'Failed to disable Foreign Key Checks during migrations: DatabaseError(__Unknown, "QueryParsingError: Unsupported command: SET CONSTRAINTS ALL DEFERRED\nvalidate_unsupported_cmd")': src/db/mod.rs:449

If I use Heroku Postgres it works but for bitio,it doesn't works.
Any suggestion?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants