Open henri9813 opened 4 months ago
This patch appears to fix the startup issue:
diff --git a/src/application.rs b/src/application.rs
index 69e093c..0bc9470 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -320,6 +320,7 @@ async fn setup_admin_account(
Err(err) => {
if let app_error::gotrue::GoTrueError::Internal(err) = err {
match (err.code, err.msg.as_str()) {
+ (403, "Signups not allowed for this instance") => Ok(gotrue_admin),
(400, "User already registered") => {
info!("Admin user already registered");
Ok(gotrue_admin)
Hello,
Should we not just check if the admin account exists before trying to create it and wait an error ?
That's better option in my opinion.
Hello, I have the same problem, is there a way around it?
I will learn rust and then propose a patch if no one do this :)
Describe the bug At each appflowy cloud start
When we configure gotrue with:
Appflowy is not able to start at all
To Reproduce Steps to reproduce the behavior:
Expected behavior User already exist, no error triggered.
Desktop (please complete the following information):
Additional context