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

[Bug] Untitled Bug Issue #1030

Open
pyctt opened this issue Nov 28, 2024 · 3 comments
Open

[Bug] Untitled Bug Issue #1030

pyctt opened this issue Nov 28, 2024 · 3 comments

Comments

@pyctt
Copy link

pyctt commented Nov 28, 2024

This seemed to be a problem, and when I deployed,

2024-11-28 15:36:20 {"level":"info","msg":"Go runtime metrics collection started","time":"2024-11-28T07:36:20Z"}
2024-11-28 15:36:20 {"args":[0.222450111],"component":"pop","level":"info","msg":"%.4f seconds","time":"2024-11-28T07:36:20Z"}
2024-11-28 15:36:20 {"level":"fatal","msg":"running db migrations: error executing migrations/20240729123726_add_mfa_phone_config.up.sql, sql: do $$ begin\n alter type auth.factor_type add value 'phone';\nexception\n when duplicate_object then null;\nend $$;\n\n\nalter table auth.mfa_factors add column if not exists phone text unique default null;\nalter table auth.mfa_challenges add column if not exists otp_code text null;\n\n\ncreate unique index if not exists unique_verified_phone_factor on auth.mfa_factors (user_id, phone);\n: ERROR: type "auth.factor_type" does not exist (SQLSTATE 42704)","time":"2024-11-28T07:36:20Z"}

@khorshuheng
Copy link
Collaborator

Have you included this migration script via

- ./migrations/before:/docker-entrypoint-initdb.d
?

@pyctt
Copy link
Author

pyctt commented Nov 28, 2024

I've got this setup, and I think I might've messed up the settings somewhere. Now, the system is up and running, but I've hit a snag. See, when I add a new user, they don't get a password in the welcome email.

@khorshuheng
Copy link
Collaborator

Appflowy does not use password based authentication. We use either an identity provider like Google/GitHub/Discord/Apple, or magic link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants