When I try to complete the wizard selecting the "Single Community" option, it does not complete.
Steps to reproduce
Start wizard
Select "Single Community" option
Try to finish wizard
Environment
Ubuntu 26.04
Docker version 29.5.3,
Docker Compose version v5.1.4
Logs or screenshots
Failed to load resource: the server responded with a status of 400 ()
AppLogger.ts:117 [10:26:16] [SelfHostedSetupWizardGate] [Error] Failed to complete instance setup HttpError: [400] POST /admin/instance-config/update
at RestTransport.ts:593:10
at Generator.next (<anonymous>)
at s (8cbe6afe043ceca0.js:14:179733)
at o (8cbe6afe043ceca0.js:14:179930)
I'm setting up a brand new Fluxer instance on my home server, I just want a private Discord I can use with friends. I followed all instructions in the setup guide but after going through the initial server setup in the web UI I'm getting an error "This instance policy change is not allowed" without any further details. How do I know what policy it's talking about? What did I do wrong here?
Same here. Response of [400] POST /admin/instance-config/update:
{"code":"INSTANCE_POLICY_TRANSITION_NOT_ALLOWED","message":"This instance policy change is not allowed."}
Edit: Seems that setup was already completed somehow, maybe was related to #587 that caused 500 Internal Server Error on first completion attempt.
It's a small bug in the setup process. As a workaround, you can run this once everything started up. Please note, do this at your own risk, this changes a flag in the code.
Restart the api container
docker restart fluxer-api-1
Now you should be able to finish the setup. Once done, clean up by fully replacing the api container back to the unmodified one:
RexSystem1 voteMerged from #640originally by @timjrobinson on GitHub
I set claude on the diagnosis and it found that an earlier setup in the process marked the setup as configured when the admin account was bootstrapped but then the server refused to enable policy.single_community_enabled because the server was configured (I've only been going through the main setup flow once, I haven't restarted it or tried to do a new setup).
Claude notes:
Confirmed the root cause. Here's your current stored state:
- app_public_config → setup.configured: **true**
- admin_bootstrapped → true
- instance_policy_config → does not exist (single-community mode was never successfully enabled)
So what happened: an earlier step already marked setup as configured and bootstrapped your admin account. Now the final "Finish
Setup" click sends policy.single_community_enabled: true, but the server refuses to enable single-community ("one server") mode once
setup.configured is already true — hence the 400 on every retry. You're in a stuck loop.
RexSystem1 voteMerged from #640originally by @timjrobinson on GitHub
When I went back to the main domain the server was already configured in multi community mode and I could create a community there. It seems setting up as a single community is currently broken.
It's a small bug in the setup process. As a workaround, you can run this once everything started up. Please note, do this at your own risk, this changes a flag in the code.
Restart the api container
docker restart fluxer-api-1
Now you should be able to finish the setup. Once done, clean up by fully replacing the api container back to the unmodified one:
I was able to get single community mode enabled, but new users do not auto-join the guild as expected upon account creation. The guild ID is listed correctly in the admin panel under single community. Is there somewhere in the DB where this functionality is configured? If so, how can I confirm that it is set correctly?
I was able to get single community mode enabled, but new users do not auto-join
@zixhaa I did not experience this issue, users were able to auto-join when creating an account for me. I did not share a "guild invite" but instead just gave them the URL and it presented them with a "create an account" screen and they got in without additional steps.
Try the URL without the /INVITE= and see if it lets them in.
RexSystem1 voteeditedoriginally by @zixhaa on GitHub
> I was able to get single community mode enabled, but new users do not auto-join
@zixhaa I did not experience this issue, users were able to auto-join when creating an account for me. I did not share a "guild invite" but instead just gave them the URL and it presented them with a "create an account" screen and they got in without additional steps.
Try the URL without the /INVITE= and see if it lets them in.
@whenbearsreign Okay, so, I did some testing. It seems to be related to registration policy; if approval is required and you do not use a registration URL to create an account, the user will not auto-join the server.
I was able to auto-join with both open registration and closed/approval-required + a registration URL, but not approval-required + no registration URL.
Can you test this behavior on your instance?
@zixhaa I confirmed the same test with the same parameters. When set to "Closed", auto-join worked when using the Admin-Issued Registration URL with "Approval required" unchecked, it auto-joined the guild upon completing registration. When testing it with "Approval required" checked, then it created the account but did not auto-join the guild and left the account hanging without a guild.
13 comments
Comment by @ComagHaveFun
{"code":"INSTANCE_POLICY_TRANSITION_NOT_ALLOWED","message":"This instance policy change is not allowed."}Edit: Seems that setup was already completed somehow, maybe was related to #587 that caused 500 Internal Server Error on first completion attempt.Comment by @schemen
Comment by @schemen
docker restart fluxer-api-1Now you should be able to finish the setup. Once done, clean up by fully replacing the api container back to the unmodified one:Comment by @D1reW0lf
Comment by @timjrobinson
Comment by @timjrobinson
Comment by @timjrobinson
Comment by @whenbearsreign
Comment by @zixhaa
Comment by @whenbearsreign
/INVITE=and see if it lets them in.Comment by @zixhaa
Comment by @whenbearsreign
Comment by Hampus