Comment history
Versions of a comment on Unable to self-host with "Single Community", newest first.
Current version | Edited by Rex
Changes
> if (data.app_public) {Removed: Thanks [@schemen](https://github.com/schemen) for this, I have created a new repo that uses this structure for patching but also helps you export and then import a premade community into the new Single Community instance.Added: Thanks @schemen for this, I have created a new repo that uses this structure for patching but also helps you export and then import a premade community into the new Single Community instance.https://github.com/whenbearsreign/Fluxer-Guild-to-Single-Community
Show
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.Thanks @schemen for this, I have created a new repo that uses this structure for patching but also helps you export and then import a premade community into the new Single Community instance. https://github.com/whenbearsreign/Fluxer-Guild-to-Single-CommunityRestart the api containerdocker exec fluxer-api-1 sed -i \ 's/appPublic\.setup\.configured || current\.single_community_locked/current.single_community_locked/' \ /usr/src/app/fluxer_api/src/api/admin/controllers/InstanceConfigAdminController.tsdocker 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:Please note, this is a blunt tool, and it worked on my instance, it's not fixing the ordering. It's located here: fluxer/fluxer_api/src/api/admin/controllers/InstanceConfigAdminController.ts Line 258 in [fa3e852](/fluxerapp/fluxer/commit/fa3e8525755dae087c03ceaf83b814cbe46c7228) if (data.app_public) {docker compose down api docker compose up -d
Original by Rex
Show
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.Thanks @schemen for this, I have created a new repo that uses this structure for patching but also helps you export and then import a premade community into the new Single Community instance. https://github.com/whenbearsreign/Fluxer-Guild-to-Single-CommunityRestart the api containerdocker exec fluxer-api-1 sed -i \ 's/appPublic\.setup\.configured || current\.single_community_locked/current.single_community_locked/' \ /usr/src/app/fluxer_api/src/api/admin/controllers/InstanceConfigAdminController.tsdocker 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:Please note, this is a blunt tool, and it worked on my instance, it's not fixing the ordering. It's located here: fluxer/fluxer_api/src/api/admin/controllers/InstanceConfigAdminController.ts Line 258 in [fa3e852](/fluxerapp/fluxer/commit/fa3e8525755dae087c03ceaf83b814cbe46c7228) if (data.app_public) {docker compose down api docker compose up -d