loggit-web icon indicating copy to clipboard operation
loggit-web copied to clipboard

can't sign up user local instance

Open lgwapnitsky opened this issue 1 year ago • 5 comments

Whenever I try to sign up a user on a local instance, I'm receiving "invalid email/password". Is there a setting that is disallowing this?

lgwapnitsky avatar Feb 14 '24 09:02 lgwapnitsky

@lgwapnitsky is there an error you're seeing in the logs? Have you set IS_UNSAFE_SELF_HOSTED="true" in your .env file?

BrunoBernardino avatar Feb 14 '24 14:02 BrunoBernardino

.env file

PORT=8000
BASE_URL="http://0.0.0.0:8000"

POSTGRESQL_HOST="localhost"
POSTGRESQL_USER="loggit"
POSTGRESQL_PASSWORD="PASSWORD"
POSTGRESQL_DBNAME="loggit"
POSTGRESQL_PORT=5432
POSTGRESQL_CAFILE=""

BREVO_API_KEY="fake"

STRIPE_API_KEY="fake"

# Uncomment this variable to log verification codes instead of emailing them, and create "lifetime" accounts on signup instead of trials
IS_UNSAFE_SELF_HOSTED="true" # any non-empty value will be considered true

Screenshot from 2024-02-14 10-02-06

As for logs, I do not see any log files.

lgwapnitsky avatar Feb 14 '24 15:02 lgwapnitsky

Are you running via make start or Docker? There should be direct output in make start, and for docker, it depends on how you're running it, but docker-compose logs -f should show something if you're using docker-compose up -d.

In the browser's console, do you have any information/error that could help understand what's happening if there are no errors in the server logs (for example, web crypto won't work without https:// in Firefox)?

BrunoBernardino avatar Feb 14 '24 17:02 BrunoBernardino

Via make start. Very little output

On Wed, Feb 14, 2024, 12:32 Bruno Bernardino @.***> wrote:

Are you running via make start or Docker? There should be direct output in make start, and for docker, it depends on how you're running it, but docker-compose logs -f should show something if you're using docker-compose up -d.

In the browser's console, do you have any information/error that could help understand what's happening if there are no errors in the server logs (for example, web crypto won't work without https:// in Firefox)?

— Reply to this email directly, view it on GitHub https://github.com/BrunoBernardino/loggit-web/issues/7#issuecomment-1944290465, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE6CFG3CITSUNJVF3F4PCDYTTYJFAVCNFSM6AAAAABDH7ALHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBUGI4TANBWGU . You are receiving this because you were mentioned.Message ID: @.***>

lgwapnitsky avatar Feb 14 '24 20:02 lgwapnitsky

Ok, what about the browser? Can you inspect the console and the request for some more information? And in the database, is there any user entry?

BrunoBernardino avatar Feb 15 '24 05:02 BrunoBernardino

I'm closing this since there wasn't any new information in the last few months. Please let me know if you have any more new information.

BrunoBernardino avatar May 24 '24 11:05 BrunoBernardino