@volvel/docs 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (585) hide show
  1. package/THIRD_PARTY_NOTICES.md +21 -3
  2. package/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
  3. package/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
  4. package/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
  5. package/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
  6. package/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
  7. package/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
  8. package/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
  9. package/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
  10. package/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
  11. package/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
  12. package/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
  13. package/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
  14. package/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
  15. package/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
  16. package/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
  17. package/{dist/assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
  18. package/{dist/assets/screenshots/console/app-builder-list.light.85064d6742d4.png → assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
  19. package/{dist/assets/screenshots/console/apps-list.dark.6580be4c6f17.png → assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
  20. package/{dist/assets/screenshots/console/apps-list.light.35ac9711c9a0.png → assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
  21. package/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
  22. package/{dist/assets/screenshots/console/apps-share.light.eddc9c058c37.png → assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
  23. package/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
  24. package/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
  25. package/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
  26. package/{dist/assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
  27. package/{dist/assets/screenshots/console/configure-alerts.light.24608f63f849.png → assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
  28. package/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
  29. package/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
  30. package/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
  31. package/{dist/assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
  32. package/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
  33. package/{dist/assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
  34. package/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
  35. package/{dist/assets/screenshots/console/extensions-list.light.f65bb930d029.png → assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
  36. package/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
  37. package/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
  38. package/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
  39. package/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
  40. package/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
  41. package/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
  42. package/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
  43. package/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
  44. package/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
  45. package/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
  46. package/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
  47. package/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
  48. package/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
  49. package/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
  50. package/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
  51. package/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
  52. package/{dist/assets/screenshots/console/releases-review.light.7f7eea72fc90.png → assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
  53. package/{dist/assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
  54. package/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
  55. package/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
  56. package/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
  57. package/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
  58. package/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
  59. package/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
  60. package/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
  61. package/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
  62. package/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
  63. package/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
  64. package/{dist/assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
  65. package/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
  66. package/{dist/assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
  67. package/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
  68. package/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
  69. package/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
  70. package/assets/screenshots/index.json +94 -94
  71. package/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
  72. package/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
  73. package/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
  74. package/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
  75. package/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
  76. package/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
  77. package/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
  78. package/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
  79. package/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
  80. package/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
  81. package/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
  82. package/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
  83. package/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
  84. package/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
  85. package/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
  86. package/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
  87. package/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
  88. package/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
  89. package/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
  90. package/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
  91. package/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
  92. package/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
  93. package/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
  94. package/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
  95. package/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
  96. package/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
  97. package/content/administer/explanation/sso/how-single-sign-on-works.md +2 -0
  98. package/content/administer/how-to/access/invite-end-users.md +8 -0
  99. package/content/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
  100. package/content/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
  101. package/content/administer/how-to/sso/provision-people-with-scim.md +1 -1
  102. package/content/administer/reference/screens/branding.md +1 -1
  103. package/content/administer/reference/screens/end-users.md +3 -1
  104. package/content/administer/reference/screens/overview.md +21 -0
  105. package/content/administer/reference/screens/retention.md +3 -2
  106. package/content/administer/reference/screens/single-sign-on.md +1 -1
  107. package/content/console/how-to/app-builder/publish-an-app.md +0 -1
  108. package/content/console/how-to/data/row-rules.md +1 -0
  109. package/content/console/reference/screens/build/published-apps.md +1 -2
  110. package/content/console/reference/screens/data/tables.md +1 -1
  111. package/content/console/reference/screens/home/tenants.md +1 -1
  112. package/content/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
  113. package/content/develop/explanation/apps/app-access.md +29 -10
  114. package/content/develop/explanation/scripts/how-scripts-run.md +1 -1
  115. package/content/develop/how-to/apps/write-an-app.md +1 -1
  116. package/content/develop/how-to/cli/install-from-source.md +1 -1
  117. package/content/develop/how-to/cli/install-the-cli.md +1 -1
  118. package/content/develop/how-to/cli/test-a-script.md +1 -1
  119. package/content/develop/how-to/configure/set-up-from-a-script.md +1 -1
  120. package/content/develop/reference/access/mcp.md +11 -1
  121. package/content/develop/reference/apps/app-client.md +10 -8
  122. package/content/develop/reference/apps/content-policy.md +8 -3
  123. package/content/develop/reference/queries/data-as-code.md +12 -0
  124. package/content/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
  125. package/content/develop/tutorials/cli/quickstart.md +1 -1
  126. package/content/self-host/explanation/access/index.md +1 -0
  127. package/content/self-host/explanation/access/instance-service-accounts.md +66 -0
  128. package/content/self-host/explanation/access/who-runs-what.md +2 -0
  129. package/content/self-host/explanation/running/architecture.md +1 -1
  130. package/content/self-host/explanation/running/egress-and-offline.md +1 -1
  131. package/content/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
  132. package/content/self-host/explanation/running/security-hardening.md +9 -8
  133. package/content/self-host/explanation/running/sizing-and-scaling.md +29 -0
  134. package/content/self-host/how-to/instance/moving-a-tenant.md +12 -0
  135. package/content/self-host/how-to/running/back-up-an-instance.md +1 -1
  136. package/content/self-host/how-to/running/build-the-image.md +1 -1
  137. package/content/self-host/how-to/running/install-on-fly.md +27 -10
  138. package/content/self-host/how-to/running/install-with-compose.md +4 -4
  139. package/content/self-host/how-to/running/monitor-an-instance.md +2 -0
  140. package/content/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
  141. package/content/self-host/how-to/running/restore-an-instance.md +34 -5
  142. package/content/self-host/how-to/running/run-a-standalone-worker.md +2 -2
  143. package/content/self-host/how-to/running/set-up-mail.md +13 -6
  144. package/content/self-host/reference/console/health.md +21 -1
  145. package/content/self-host/reference/running/configuration.md +1 -1
  146. package/content/self-host/reference/running/requirements.md +9 -2
  147. package/content/self-host/reference/running/retention.md +2 -1
  148. package/content/self-host/reference/running/troubleshooting.md +6 -1
  149. package/content/self-host/reference/running/versions-and-support.md +9 -1
  150. package/content/self-host/tutorials/install-on-one-machine.md +1 -1
  151. package/content/start/how-to/example/set-up-the-fernhill-example.md +26 -3
  152. package/content/start/index.md +11 -1
  153. package/content/start/reference/accessibility.md +35 -0
  154. package/content/start/reference/index.md +1 -0
  155. package/content/start/tutorials/index.md +6 -1
  156. package/content/start/tutorials/your-first-script.md +0 -1
  157. package/content/start/tutorials/your-first-table.md +2 -2
  158. package/dist/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
  159. package/dist/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
  160. package/dist/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
  161. package/dist/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
  162. package/dist/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
  163. package/dist/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
  164. package/dist/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
  165. package/dist/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
  166. package/dist/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
  167. package/dist/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
  168. package/dist/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
  169. package/dist/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
  170. package/dist/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
  171. package/dist/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
  172. package/dist/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
  173. package/{assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → dist/assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
  174. package/{assets/screenshots/console/app-builder-list.light.85064d6742d4.png → dist/assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
  175. package/{assets/screenshots/console/apps-list.dark.6580be4c6f17.png → dist/assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
  176. package/{assets/screenshots/console/apps-list.light.35ac9711c9a0.png → dist/assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
  177. package/dist/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
  178. package/{assets/screenshots/console/apps-share.light.eddc9c058c37.png → dist/assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
  179. package/dist/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
  180. package/dist/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
  181. package/dist/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
  182. package/{assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → dist/assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
  183. package/{assets/screenshots/console/configure-alerts.light.24608f63f849.png → dist/assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
  184. package/dist/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
  185. package/dist/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
  186. package/dist/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
  187. package/{assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → dist/assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
  188. package/dist/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
  189. package/{assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → dist/assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
  190. package/dist/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
  191. package/{assets/screenshots/console/extensions-list.light.f65bb930d029.png → dist/assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
  192. package/dist/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
  193. package/dist/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
  194. package/dist/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
  195. package/dist/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
  196. package/dist/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
  197. package/dist/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
  198. package/dist/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
  199. package/dist/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
  200. package/dist/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
  201. package/dist/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
  202. package/dist/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
  203. package/dist/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
  204. package/dist/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
  205. package/dist/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
  206. package/dist/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
  207. package/dist/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
  208. package/{assets/screenshots/console/releases-review.light.7f7eea72fc90.png → dist/assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
  209. package/{assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → dist/assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
  210. package/dist/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
  211. package/dist/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
  212. package/dist/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
  213. package/dist/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
  214. package/dist/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
  215. package/dist/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
  216. package/dist/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
  217. package/dist/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
  218. package/dist/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
  219. package/dist/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
  220. package/{assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → dist/assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
  221. package/dist/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
  222. package/{assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → dist/assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
  223. package/dist/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
  224. package/dist/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
  225. package/dist/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
  226. package/dist/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
  227. package/dist/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
  228. package/dist/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
  229. package/dist/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
  230. package/dist/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
  231. package/dist/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
  232. package/dist/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
  233. package/dist/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
  234. package/dist/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
  235. package/dist/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
  236. package/dist/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
  237. package/dist/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
  238. package/dist/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
  239. package/dist/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
  240. package/dist/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
  241. package/dist/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
  242. package/dist/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
  243. package/dist/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
  244. package/dist/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
  245. package/dist/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
  246. package/dist/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
  247. package/dist/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
  248. package/dist/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
  249. package/dist/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
  250. package/dist/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
  251. package/dist/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
  252. package/dist/fields.json +1 -1
  253. package/dist/manifest.json +1 -1
  254. package/dist/md/administer/explanation/sso/how-single-sign-on-works.md +2 -0
  255. package/dist/md/administer/how-to/access/invite-end-users.md +8 -0
  256. package/dist/md/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
  257. package/dist/md/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
  258. package/dist/md/administer/how-to/sso/provision-people-with-scim.md +1 -1
  259. package/dist/md/administer/reference/audit-actions.md +1 -0
  260. package/dist/md/administer/reference/permissions.md +1 -0
  261. package/dist/md/administer/reference/screens/branding.md +1 -1
  262. package/dist/md/administer/reference/screens/end-users.md +3 -1
  263. package/dist/md/administer/reference/screens/overview.md +21 -0
  264. package/dist/md/administer/reference/screens/retention.md +3 -2
  265. package/dist/md/administer/reference/screens/single-sign-on.md +1 -1
  266. package/dist/md/console/how-to/app-builder/publish-an-app.md +0 -1
  267. package/dist/md/console/how-to/data/row-rules.md +1 -0
  268. package/dist/md/console/reference/screens/build/published-apps.md +1 -2
  269. package/dist/md/console/reference/screens/data/tables.md +1 -1
  270. package/dist/md/console/reference/screens/home/tenants.md +1 -1
  271. package/dist/md/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
  272. package/dist/md/develop/explanation/apps/app-access.md +29 -10
  273. package/dist/md/develop/explanation/scripts/how-scripts-run.md +1 -1
  274. package/dist/md/develop/how-to/apps/write-an-app.md +1 -1
  275. package/dist/md/develop/how-to/cli/install-from-source.md +1 -1
  276. package/dist/md/develop/how-to/cli/install-the-cli.md +1 -1
  277. package/dist/md/develop/how-to/cli/test-a-script.md +1 -1
  278. package/dist/md/develop/how-to/configure/set-up-from-a-script.md +1 -1
  279. package/dist/md/develop/reference/access/mcp.md +11 -1
  280. package/dist/md/develop/reference/api/agents.md +27 -1
  281. package/dist/md/develop/reference/api/apps.md +25 -1
  282. package/dist/md/develop/reference/api/end-users.md +71 -6
  283. package/dist/md/develop/reference/api/figures.md +160 -0
  284. package/dist/md/develop/reference/api/identity.md +318 -1
  285. package/dist/md/develop/reference/api/index.md +7 -6
  286. package/dist/md/develop/reference/api/instance.md +59 -1
  287. package/dist/md/develop/reference/api/permissions.md +13 -4
  288. package/dist/md/develop/reference/api/tenancy.md +13 -0
  289. package/dist/md/develop/reference/apps/app-client.md +10 -8
  290. package/dist/md/develop/reference/apps/content-policy.md +8 -3
  291. package/dist/md/develop/reference/errors.md +6 -0
  292. package/dist/md/develop/reference/kinds/dashboard.md +10 -0
  293. package/dist/md/develop/reference/kinds/interface.md +10 -0
  294. package/dist/md/develop/reference/kinds/widget.md +1 -1
  295. package/dist/md/develop/reference/queries/data-as-code.md +12 -0
  296. package/dist/md/develop/reference/sdk/sdk.md +1 -1
  297. package/dist/md/develop/reference/sdk/widgets-page.md +13 -0
  298. package/dist/md/develop/reference/sdk/widgets.md +2 -2
  299. package/dist/md/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
  300. package/dist/md/develop/reference/widgets/chart.md +1 -1
  301. package/dist/md/develop/reference/widgets/goal.md +1 -1
  302. package/dist/md/develop/reference/widgets/pivot.md +1 -1
  303. package/dist/md/develop/reference/widgets/stat.md +1 -1
  304. package/dist/md/develop/tutorials/cli/quickstart.md +1 -1
  305. package/dist/md/self-host/explanation/access/index.md +1 -0
  306. package/dist/md/self-host/explanation/access/instance-service-accounts.md +66 -0
  307. package/dist/md/self-host/explanation/access/who-runs-what.md +2 -0
  308. package/dist/md/self-host/explanation/running/architecture.md +1 -1
  309. package/dist/md/self-host/explanation/running/egress-and-offline.md +1 -1
  310. package/dist/md/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
  311. package/dist/md/self-host/explanation/running/security-hardening.md +9 -8
  312. package/dist/md/self-host/explanation/running/sizing-and-scaling.md +29 -0
  313. package/dist/md/self-host/how-to/instance/moving-a-tenant.md +12 -0
  314. package/dist/md/self-host/how-to/running/back-up-an-instance.md +1 -1
  315. package/dist/md/self-host/how-to/running/build-the-image.md +1 -1
  316. package/dist/md/self-host/how-to/running/install-on-fly.md +27 -10
  317. package/dist/md/self-host/how-to/running/install-with-compose.md +4 -4
  318. package/dist/md/self-host/how-to/running/monitor-an-instance.md +2 -0
  319. package/dist/md/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
  320. package/dist/md/self-host/how-to/running/restore-an-instance.md +34 -5
  321. package/dist/md/self-host/how-to/running/run-a-standalone-worker.md +2 -2
  322. package/dist/md/self-host/how-to/running/set-up-mail.md +13 -6
  323. package/dist/md/self-host/reference/console/health.md +21 -1
  324. package/dist/md/self-host/reference/running/configuration.md +1 -1
  325. package/dist/md/self-host/reference/running/requirements.md +9 -2
  326. package/dist/md/self-host/reference/running/retention.md +2 -1
  327. package/dist/md/self-host/reference/running/troubleshooting.md +6 -1
  328. package/dist/md/self-host/reference/running/versions-and-support.md +9 -1
  329. package/dist/md/self-host/reference/settings.md +2 -2
  330. package/dist/md/self-host/tutorials/install-on-one-machine.md +1 -1
  331. package/dist/md/start/how-to/example/set-up-the-fernhill-example.md +26 -3
  332. package/dist/md/start/index.md +11 -1
  333. package/dist/md/start/reference/accessibility.md +35 -0
  334. package/dist/md/start/reference/changelog/0-7-0.md +208 -0
  335. package/dist/md/start/reference/index.md +1 -0
  336. package/dist/md/start/tutorials/index.md +6 -1
  337. package/dist/md/start/tutorials/your-first-script.md +0 -1
  338. package/dist/md/start/tutorials/your-first-table.md +2 -2
  339. package/dist/pages/administer/explanation/sso/how-single-sign-on-works.json +1 -1
  340. package/dist/pages/administer/how-to/access/invite-end-users.json +1 -1
  341. package/dist/pages/administer/how-to/access/rule-rows-by-group-or-attribute.json +1 -1
  342. package/dist/pages/administer/how-to/apps/give-an-app-a-hostname.json +1 -1
  343. package/dist/pages/administer/how-to/sso/provision-people-with-scim.json +1 -1
  344. package/dist/pages/administer/reference/audit-actions.json +1 -1
  345. package/dist/pages/administer/reference/permissions.json +1 -1
  346. package/dist/pages/administer/reference/screens/branding.json +1 -1
  347. package/dist/pages/administer/reference/screens/end-users.json +1 -1
  348. package/dist/pages/administer/reference/screens/overview.json +1 -1
  349. package/dist/pages/administer/reference/screens/retention.json +1 -1
  350. package/dist/pages/administer/reference/screens/single-sign-on.json +1 -1
  351. package/dist/pages/console/how-to/app-builder/publish-an-app.json +1 -1
  352. package/dist/pages/console/how-to/data/row-rules.json +1 -1
  353. package/dist/pages/console/reference/screens/build/published-apps.json +1 -1
  354. package/dist/pages/console/reference/screens/data/tables.json +1 -1
  355. package/dist/pages/console/reference/screens/home/tenants.json +1 -1
  356. package/dist/pages/develop/explanation/api/how-the-api-knows-who-is-calling.json +1 -1
  357. package/dist/pages/develop/explanation/apps/app-access.json +1 -1
  358. package/dist/pages/develop/explanation/scripts/how-scripts-run.json +1 -1
  359. package/dist/pages/develop/how-to/apps/write-an-app.json +1 -1
  360. package/dist/pages/develop/how-to/cli/install-from-source.json +1 -1
  361. package/dist/pages/develop/how-to/cli/install-the-cli.json +1 -1
  362. package/dist/pages/develop/how-to/cli/test-a-script.json +1 -1
  363. package/dist/pages/develop/how-to/configure/set-up-from-a-script.json +1 -1
  364. package/dist/pages/develop/reference/access/mcp.json +1 -1
  365. package/dist/pages/develop/reference/api/agents.json +1 -1
  366. package/dist/pages/develop/reference/api/apps.json +1 -1
  367. package/dist/pages/develop/reference/api/end-users.json +1 -1
  368. package/dist/pages/develop/reference/api/figures.json +1 -0
  369. package/dist/pages/develop/reference/api/identity.json +1 -1
  370. package/dist/pages/develop/reference/api/index.json +1 -1
  371. package/dist/pages/develop/reference/api/instance.json +1 -1
  372. package/dist/pages/develop/reference/api/permissions.json +1 -1
  373. package/dist/pages/develop/reference/api/tenancy.json +1 -1
  374. package/dist/pages/develop/reference/apps/app-client.json +1 -1
  375. package/dist/pages/develop/reference/apps/content-policy.json +1 -1
  376. package/dist/pages/develop/reference/errors.json +1 -1
  377. package/dist/pages/develop/reference/kinds/dashboard.json +1 -1
  378. package/dist/pages/develop/reference/kinds/interface.json +1 -1
  379. package/dist/pages/develop/reference/kinds/widget.json +1 -1
  380. package/dist/pages/develop/reference/queries/data-as-code.json +1 -1
  381. package/dist/pages/develop/reference/sdk/sdk.json +1 -1
  382. package/dist/pages/develop/reference/sdk/widgets-page.json +1 -1
  383. package/dist/pages/develop/reference/sdk/widgets.json +1 -1
  384. package/dist/pages/develop/reference/tenant-widgets/what-a-view-is-given.json +1 -1
  385. package/dist/pages/develop/reference/widgets/chart.json +1 -1
  386. package/dist/pages/develop/reference/widgets/goal.json +1 -1
  387. package/dist/pages/develop/reference/widgets/pivot.json +1 -1
  388. package/dist/pages/develop/reference/widgets/stat.json +1 -1
  389. package/dist/pages/develop/tutorials/cli/quickstart.json +1 -1
  390. package/dist/pages/self-host/explanation/access/index.json +1 -1
  391. package/dist/pages/self-host/explanation/access/instance-service-accounts.json +1 -0
  392. package/dist/pages/self-host/explanation/access/who-runs-what.json +1 -1
  393. package/dist/pages/self-host/explanation/running/architecture.json +1 -1
  394. package/dist/pages/self-host/explanation/running/egress-and-offline.json +1 -1
  395. package/dist/pages/self-host/explanation/running/managed-workers-and-isolation.json +1 -1
  396. package/dist/pages/self-host/explanation/running/security-hardening.json +1 -1
  397. package/dist/pages/self-host/explanation/running/sizing-and-scaling.json +1 -1
  398. package/dist/pages/self-host/how-to/instance/moving-a-tenant.json +1 -1
  399. package/dist/pages/self-host/how-to/running/back-up-an-instance.json +1 -1
  400. package/dist/pages/self-host/how-to/running/build-the-image.json +1 -1
  401. package/dist/pages/self-host/how-to/running/install-on-fly.json +1 -1
  402. package/dist/pages/self-host/how-to/running/install-with-compose.json +1 -1
  403. package/dist/pages/self-host/how-to/running/monitor-an-instance.json +1 -1
  404. package/dist/pages/self-host/how-to/running/put-a-proxy-in-front.json +1 -1
  405. package/dist/pages/self-host/how-to/running/restore-an-instance.json +1 -1
  406. package/dist/pages/self-host/how-to/running/run-a-standalone-worker.json +1 -1
  407. package/dist/pages/self-host/how-to/running/set-up-mail.json +1 -1
  408. package/dist/pages/self-host/reference/console/health.json +1 -1
  409. package/dist/pages/self-host/reference/running/configuration.json +1 -1
  410. package/dist/pages/self-host/reference/running/requirements.json +1 -1
  411. package/dist/pages/self-host/reference/running/retention.json +1 -1
  412. package/dist/pages/self-host/reference/running/troubleshooting.json +1 -1
  413. package/dist/pages/self-host/reference/running/versions-and-support.json +1 -1
  414. package/dist/pages/self-host/reference/settings.json +1 -1
  415. package/dist/pages/self-host/tutorials/install-on-one-machine.json +1 -1
  416. package/dist/pages/start/how-to/example/set-up-the-fernhill-example.json +1 -1
  417. package/dist/pages/start/index.json +1 -1
  418. package/dist/pages/start/reference/accessibility.json +1 -0
  419. package/dist/pages/start/reference/changelog/0-7-0.json +1 -0
  420. package/dist/pages/start/reference/index.json +1 -1
  421. package/dist/pages/start/tutorials/index.json +1 -1
  422. package/dist/pages/start/tutorials/your-first-script.json +1 -1
  423. package/dist/pages/start/tutorials/your-first-table.json +1 -1
  424. package/dist/redirects.json +1 -1
  425. package/dist/search.json +1 -1
  426. package/generated/administer/reference/audit-actions.md +1 -0
  427. package/generated/administer/reference/permissions.md +1 -0
  428. package/generated/develop/reference/api/agents.md +27 -1
  429. package/generated/develop/reference/api/apps.md +25 -1
  430. package/generated/develop/reference/api/end-users.md +71 -6
  431. package/generated/develop/reference/api/figures.md +160 -0
  432. package/generated/develop/reference/api/identity.md +318 -1
  433. package/generated/develop/reference/api/index.md +7 -6
  434. package/generated/develop/reference/api/instance.md +59 -1
  435. package/generated/develop/reference/api/permissions.md +13 -4
  436. package/generated/develop/reference/api/tenancy.md +13 -0
  437. package/generated/develop/reference/errors.md +6 -0
  438. package/generated/develop/reference/kinds/dashboard.md +10 -0
  439. package/generated/develop/reference/kinds/interface.md +10 -0
  440. package/generated/develop/reference/kinds/widget.md +1 -1
  441. package/generated/develop/reference/sdk/sdk.md +1 -1
  442. package/generated/develop/reference/sdk/widgets-page.md +13 -0
  443. package/generated/develop/reference/sdk/widgets.md +2 -2
  444. package/generated/develop/reference/widgets/chart.md +1 -1
  445. package/generated/develop/reference/widgets/goal.md +1 -1
  446. package/generated/develop/reference/widgets/pivot.md +1 -1
  447. package/generated/develop/reference/widgets/stat.md +1 -1
  448. package/generated/openapi.json +4899 -1734
  449. package/generated/self-host/reference/settings.md +2 -2
  450. package/generated/start/reference/changelog/0-7-0.md +208 -0
  451. package/package.json +11 -6
  452. package/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
  453. package/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
  454. package/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
  455. package/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
  456. package/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
  457. package/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
  458. package/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
  459. package/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
  460. package/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
  461. package/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
  462. package/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
  463. package/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
  464. package/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
  465. package/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
  466. package/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
  467. package/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
  468. package/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
  469. package/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
  470. package/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
  471. package/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
  472. package/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
  473. package/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
  474. package/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
  475. package/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
  476. package/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
  477. package/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
  478. package/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
  479. package/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
  480. package/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
  481. package/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
  482. package/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
  483. package/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
  484. package/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
  485. package/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
  486. package/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
  487. package/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
  488. package/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
  489. package/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
  490. package/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
  491. package/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
  492. package/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
  493. package/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
  494. package/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
  495. package/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
  496. package/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
  497. package/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
  498. package/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
  499. package/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
  500. package/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
  501. package/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
  502. package/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
  503. package/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
  504. package/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
  505. package/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
  506. package/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
  507. package/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
  508. package/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
  509. package/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
  510. package/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
  511. package/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
  512. package/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
  513. package/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
  514. package/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
  515. package/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
  516. package/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
  517. package/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
  518. package/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
  519. package/dist/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
  520. package/dist/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
  521. package/dist/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
  522. package/dist/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
  523. package/dist/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
  524. package/dist/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
  525. package/dist/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
  526. package/dist/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
  527. package/dist/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
  528. package/dist/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
  529. package/dist/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
  530. package/dist/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
  531. package/dist/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
  532. package/dist/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
  533. package/dist/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
  534. package/dist/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
  535. package/dist/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
  536. package/dist/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
  537. package/dist/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
  538. package/dist/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
  539. package/dist/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
  540. package/dist/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
  541. package/dist/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
  542. package/dist/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
  543. package/dist/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
  544. package/dist/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
  545. package/dist/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
  546. package/dist/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
  547. package/dist/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
  548. package/dist/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
  549. package/dist/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
  550. package/dist/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
  551. package/dist/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
  552. package/dist/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
  553. package/dist/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
  554. package/dist/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
  555. package/dist/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
  556. package/dist/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
  557. package/dist/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
  558. package/dist/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
  559. package/dist/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
  560. package/dist/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
  561. package/dist/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
  562. package/dist/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
  563. package/dist/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
  564. package/dist/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
  565. package/dist/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
  566. package/dist/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
  567. package/dist/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
  568. package/dist/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
  569. package/dist/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
  570. package/dist/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
  571. package/dist/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
  572. package/dist/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
  573. package/dist/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
  574. package/dist/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
  575. package/dist/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
  576. package/dist/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
  577. package/dist/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
  578. package/dist/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
  579. package/dist/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
  580. package/dist/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
  581. package/dist/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
  582. package/dist/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
  583. package/dist/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
  584. package/dist/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
  585. package/dist/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
@@ -1 +1 @@
1
- {"path":"self-host/how-to/instance/moving-a-tenant","title":"Move a tenant","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"move-a-tenant","children":[{"type":"text","value":"Move a tenant","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"You take a tenant out of one place and bring it in at another: to a different instance, or, on one instance, between the instance's own database and a registered database location. The tenant arrives whole or not at all, with its workspaces' triggers paused so that two copies never both act.","line":9}],"line":9},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":11}],"line":11},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"On the instance the tenant is leaving: the tenant's admin, or a person with ","line":13},{"type":"inlineCode","value":"export:write","line":13},{"type":"text","value":" in the tenant, makes the export. An operator needs an ","line":13},{"type":"link","href":"../../../administer/reference/screens/operator-access","children":[{"type":"text","value":"access grant","line":13}],"line":13},{"type":"text","value":" whose access level includes ","line":13},{"type":"inlineCode","value":"export:write","line":13},{"type":"text","value":": a grant as ","line":13},{"type":"inlineCode","value":"viewer","line":13},{"type":"text","value":" does not.","line":13}],"line":13},{"type":"listItem","children":[{"type":"text","value":"On the instance the tenant goes to: you are an operator with ","line":14},{"type":"inlineCode","value":"tenant:write","line":14},{"type":"text","value":" at the instance, and the instance is at the same version as the one that made the export (the same migration level). Upgrade one of them first if not.","line":14}],"line":14},{"type":"listItem","children":[{"type":"text","value":"If the tenant is to go into a database location, register it first on ","line":15},{"type":"link","href":"../../reference/console/databases","children":[{"type":"text","value":"Database locations","line":15}],"line":15},{"type":"text","value":".","line":15}],"line":15},{"type":"listItem","children":[{"type":"text","value":"A passphrase of at least 12 characters, chosen for this export. Pass it on separately from the file.","line":16}],"line":16},{"type":"listItem","children":[{"type":"text","value":"Moving on one instance, from one location to another, is export, delete, import: the tenant cannot be imported while it is still here (\"This tenant is already on this instance. Delete it here first if it should be replaced.\"). Make a good export and keep the file safe before you delete.","line":17}],"line":17}],"line":13},{"type":"heading","depth":2,"id":"move-it","children":[{"type":"text","value":"Move it","line":19}],"line":19},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"text","value":"Export the tenant. In the tenant, open ","line":22},{"type":"strong","children":[{"type":"text","value":"Export","line":22}],"line":22},{"type":"text","value":", type the passphrase twice, choose whether to include run, flow and event history (\"History can make the file much larger.\"), and press ","line":22},{"type":"strong","children":[{"type":"text","value":"Export tenant","line":22}],"line":22},{"type":"text","value":". The browser downloads ","line":22},{"type":"inlineCode","value":"SLUG-YYYY-MM-DD.tar","line":22},{"type":"text","value":". For a large tenant use the terminal instead: set ","line":22},{"type":"inlineCode","value":"VOLVEL_EXPORT_PASSPHRASE","line":22},{"type":"text","value":", then run ","line":22},{"type":"inlineCode","value":"volvel tenant export --tenant SLUG --out SLUG.tar --history","line":22},{"type":"text","value":".","line":22}],"line":22},{"type":"listItem","children":[{"type":"text","value":"If the tenant is to move on this instance, ","line":23},{"type":"link","href":"deleting-a-tenant","children":[{"type":"text","value":"delete it","line":23}],"line":23},{"type":"text","value":" now, after checking the file. If it is to go to another instance, keep it running until step 8.","line":23}],"line":23},{"type":"listItem","children":[{"type":"text","value":"On the instance it goes to, as an operator, open ","line":24},{"type":"strong","children":[{"type":"text","value":"Instance","line":24}],"line":24},{"type":"text","value":", then ","line":24},{"type":"strong","children":[{"type":"text","value":"Import a tenant","line":24}],"line":24},{"type":"text","value":".","line":24}],"line":24},{"type":"listItem","children":[{"type":"text","value":"Under ","line":25},{"type":"strong","children":[{"type":"text","value":"Export file","line":25}],"line":25},{"type":"text","value":", choose the ","line":25},{"type":"inlineCode","value":".tar","line":25},{"type":"text","value":" file. Optionally type ","line":25},{"type":"strong","children":[{"type":"text","value":"Its passphrase","line":25}],"line":25},{"type":"text","value":". Press ","line":25},{"type":"strong","children":[{"type":"text","value":"Upload and check","line":25}],"line":25},{"type":"text","value":". The ","line":25},{"type":"strong","children":[{"type":"text","value":"Check","line":25}],"line":25},{"type":"text","value":" step shows the tenant's name, when it was exported, the version, its workspaces, rows and members.","line":25}],"line":25},{"type":"listItem","children":[{"type":"text","value":"Type ","line":26},{"type":"strong","children":[{"type":"text","value":"Its passphrase","line":26}],"line":26},{"type":"text","value":" if you have not. After a moment the check runs again by itself. Read ","line":26},{"type":"strong","children":[{"type":"text","value":"Can it come in","line":26}],"line":26},{"type":"text","value":": every line should pass. \"The tenant is not here yet\" and \"Its slug is free here\" must pass.","line":26}],"line":26},{"type":"listItem","children":[{"type":"text","value":"Optionally type a ","line":27},{"type":"strong","children":[{"type":"text","value":"Slug on this instance","line":27}],"line":27},{"type":"text","value":" (empty keeps the slug it had) and choose ","line":27},{"type":"strong","children":[{"type":"text","value":"Where its custom tables go","line":27}],"line":27},{"type":"text","value":": the instance's own database, or a location. After a moment the check runs again with what you typed.","line":27}],"line":27},{"type":"listItem","children":[{"type":"text","value":"Press ","line":28},{"type":"strong","children":[{"type":"text","value":"Import tenant","line":28}],"line":28},{"type":"text","value":". It says \"Importing…\", then \"NAME was imported\" with the counts, where the tables are, and what was not carried. Press ","line":28},{"type":"strong","children":[{"type":"text","value":"Open the tenant","line":28}],"line":28},{"type":"text","value":".","line":28}],"line":28},{"type":"listItem","children":[{"type":"text","value":"Finish what an export does not carry, in the next section.","line":29}],"line":29}],"line":22}],"line":21,"endLine":30},{"type":"paragraph","children":[{"type":"text","value":"For a large file, or a script, the same import is one command on the instance it goes to: ","line":32},{"type":"inlineCode","value":"volvel tenant import SLUG.tar --slug NEW --location NAME","line":32},{"type":"text","value":", with an operator's API key and ","line":32},{"type":"inlineCode","value":"VOLVEL_EXPORT_PASSPHRASE","line":32},{"type":"text","value":" set. It sends the file, says what it holds, asks, and imports. Add ","line":32},{"type":"inlineCode","value":"--yes","line":32},{"type":"text","value":" where nobody can be asked.","line":32}],"line":32},{"type":"heading","depth":2,"id":"passwords-do-not-come-with-the-file","children":[{"type":"text","value":"Passwords do not come with the file","line":34}],"line":34},{"type":"paragraph","children":[{"type":"text","value":"An import brings no passwords. The accounts it creates have no password, so nobody can sign in to them until each person chooses one. The reason is that whoever made the export held every password in it: if the import kept them, that person could sign in as any member the import created, now or later. An account that already exists on the instance is not changed at all: it keeps its own password, keys and codes.","line":36}],"line":36},{"type":"paragraph","children":[{"type":"text","value":"Each person gets a link and chooses a password with it: see ","line":38},{"type":"link","href":"../../reference/console/members","children":[{"type":"text","value":"All members","line":38}],"line":38},{"type":"text","value":", ","line":38},{"type":"strong","children":[{"type":"text","value":"Make a password reset link","line":38}],"line":38},{"type":"text","value":". The console's import screen keeps none either, unless you tick its box for it.","line":38}],"line":38},{"type":"paragraph","children":[{"type":"text","value":"If you are moving your own tenant between your own instances, you made the file and you hold it, so nobody else knows the passwords. Then keep them: tick ","line":40},{"type":"strong","children":[{"type":"text","value":"Bring the members' passwords in with the file","line":40}],"line":40},{"type":"text","value":" on the console's import screen, add ","line":40},{"type":"inlineCode","value":"--keep-sign-ins","line":40},{"type":"text","value":" to the command, ","line":40},{"type":"inlineCode","value":"volvel tenant import SLUG.tar --keep-sign-ins","line":40},{"type":"text","value":", or send ","line":40},{"type":"inlineCode","value":"keepSignIns=true","line":40},{"type":"text","value":" to the import route. Before it asks, the command says how many accounts it will create and whether they will have a password. The instance's log records which you chose and how many accounts were made with and without a password.","line":40}],"line":40},{"type":"heading","depth":2,"id":"a-large-tenant","children":[{"type":"text","value":"A large tenant","line":42}],"line":42},{"type":"paragraph","children":[{"type":"text","value":"Use the command line for a large tenant. It does the same as the console, through the same routes, and differs in three ways:","line":44}],"line":44},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"It writes the archive to disk as it arrives. An export holds a database connection until its reader has taken all of it, and the instance ends one whose reader takes nothing for a while: a command line that writes to a disk reads as fast as the instance writes, which a browser tab does not promise.","line":46}],"line":46},{"type":"listItem","children":[{"type":"text","value":"It needs no browser open for as long as the export takes. Run it in a terminal session that stays, from a machine beside the instance, or from a script.","line":47}],"line":47},{"type":"listItem","children":[{"type":"text","value":"It shows progress on a terminal, waits and tries again when the instance is already writing as many exports as it allows, and says which setting ended an export that was ended.","line":48}],"line":48}],"line":46},{"type":"paragraph","children":[{"type":"text","value":"The command line is not a way around the limits below: it is the same export, held to the same limits. It stays inside them because it reads without delay.","line":50}],"line":50},{"type":"code","value":"export VOLVEL_EXPORT_PASSPHRASE='a passphrase of at least 12 characters'\nvolvel tenant export --tenant SLUG --out SLUG.tar --history\nvolvel tenant import SLUG.tar --slug NEW --yes","lang":"sh","line":52},{"type":"paragraph","children":[{"type":"inlineCode","value":"volvel tenant export","line":58},{"type":"text","value":" writes to ","line":58},{"type":"inlineCode","value":"SLUG.tar.part","line":58},{"type":"text","value":" and renames it to ","line":58},{"type":"inlineCode","value":"SLUG.tar","line":58},{"type":"text","value":" when the archive is whole. If the instance ends the export, it removes the part file and says why. It resumes nothing: run it again. When the instance answers that it is writing as many exports as it allows, or that the tenant is being exported, the command waits for the time the instance names (30 seconds) and asks again, up to 10 tries.","line":58}],"line":58},{"type":"heading","depth":3,"id":"the-limits-on-exports","children":[{"type":"text","value":"The limits on exports","line":60}],"line":60},{"type":"paragraph","children":[{"type":"text","value":"An instance bounds its exports so that slow readers cannot take every database connection. Four settings, in ","line":62},{"type":"link","href":"../../reference/running/configuration","children":[{"type":"text","value":"How an instance is configured","line":62}],"line":62},{"type":"text","value":":","line":62}],"line":62},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Setting","line":64}]},{"type":"tableCell","children":[{"type":"text","value":"Default","line":64}]},{"type":"tableCell","children":[{"type":"text","value":"What it limits","line":64}]}],"line":64},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORTS_AT_ONCE","line":66}]},{"type":"tableCell","children":[{"type":"text","value":"3","line":66}]},{"type":"tableCell","children":[{"type":"text","value":"Exports the instance writes at once. The next is answered 429 with ","line":66},{"type":"inlineCode","value":"Retry-After: 30","line":66},{"type":"text","value":".","line":66}]}],"line":66},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORTS_PER_TENANT","line":67}]},{"type":"tableCell","children":[{"type":"text","value":"1","line":67}]},{"type":"tableCell","children":[{"type":"text","value":"Exports of one tenant at once.","line":67}]}],"line":67},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORT_STALL_SECONDS","line":68}]},{"type":"tableCell","children":[{"type":"text","value":"60","line":68}]},{"type":"tableCell","children":[{"type":"text","value":"Seconds the reader may take nothing before the export is ended.","line":68}]}],"line":68},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORT_MAX_MINUTES","line":69}]},{"type":"tableCell","children":[{"type":"text","value":"30","line":69}]},{"type":"tableCell","children":[{"type":"text","value":"Minutes one export may take, however it is read. 0 is no limit.","line":69}]}],"line":69}],"line":64},{"type":"paragraph","children":[{"type":"text","value":"Raise ","line":71},{"type":"inlineCode","value":"EXPORT_MAX_MINUTES","line":71},{"type":"text","value":" (or set it to 0) when an export of a large tenant is ended at the time limit: the command says so, naming the setting. Raise ","line":71},{"type":"inlineCode","value":"EXPORTS_AT_ONCE","line":71},{"type":"text","value":" only if the instance has connections to spare: each export holds one for its whole length, and one more if the tenant has a database location. Leave ","line":71},{"type":"inlineCode","value":"EXPORT_STALL_SECONDS","line":71},{"type":"text","value":" alone unless a reader is slow for a reason you know, such as a slow disk.","line":71}],"line":71},{"type":"heading","depth":3,"id":"what-size-the-defaults-suit","children":[{"type":"text","value":"What size the defaults suit","line":73}],"line":73},{"type":"paragraph","children":[{"type":"text","value":"One measurement: an archive of 20 MB was written in 2.1 to 2.6 seconds with one dedicated CPU, about 8 to 10 MB a second. At that rate 30 minutes is about 15 GB of archive. A tenant whose export is smaller than that finishes inside the default; a larger one needs ","line":75},{"type":"inlineCode","value":"EXPORT_MAX_MINUTES","line":75},{"type":"text","value":" raised. This is one measurement on a small archive, not a measurement of a large one: the rate of a tenant with large tables or many stored files may differ. An export of a tenant that is that large has not been tried.","line":75}],"line":75},{"type":"heading","depth":3,"id":"what-a-large-tenant-meets","children":[{"type":"text","value":"What a large tenant meets","line":77}],"line":77},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"An export reads from one snapshot of the database for its whole length, so it holds a transaction open that long. Rows written to the tenant meanwhile are not in it.","line":79}],"line":79},{"type":"listItem","children":[{"type":"text","value":"An import takes the archive as a stream and writes it to a file in the control plane's temporary folder before it reads it: that folder needs room for the whole archive. The instance refuses a file larger than 50 GiB.","line":80}],"line":80},{"type":"listItem","children":[{"type":"text","value":"An import is one database transaction: the tenant arrives whole or not at all, and so a very large import is one long transaction.","line":81}],"line":81},{"type":"listItem","children":[{"type":"text","value":"A proxy in front of the instance may have a smaller body limit or a shorter timeout than the instance does. Both an upload and an export are one request.","line":82}],"line":82},{"type":"listItem","children":[{"type":"text","value":"Moving a whole instance is not done tenant by tenant. For that, ","line":83},{"type":"link","href":"../running/back-up-an-instance","children":[{"type":"text","value":"back up the database and restore it","line":83}],"line":83},{"type":"text","value":" on the new one: see ","line":83},{"type":"link","href":"../running/restore-an-instance","children":[{"type":"text","value":"Restore an instance","line":83}],"line":83},{"type":"text","value":".","line":83}],"line":83}],"line":79},{"type":"heading","depth":2,"id":"what-to-do-after","children":[{"type":"text","value":"What to do after","line":85}],"line":85},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"Give each member a way in. The accounts the import created have no password unless you used ","line":87},{"type":"inlineCode","value":"--keep-sign-ins","line":87},{"type":"text","value":": make each person a link, see ","line":87},{"type":"link","href":"../../reference/console/members","children":[{"type":"text","value":"All members","line":87}],"line":87},{"type":"text","value":", ","line":87},{"type":"strong","children":[{"type":"text","value":"Make a password reset link","line":87}],"line":87},{"type":"text","value":". A member who already had an account on this instance keeps it and its password, whichever way you imported.","line":87}],"line":87},{"type":"listItem","children":[{"type":"text","value":"Make new API keys and worker credentials. They are never in an export.","line":88}],"line":88},{"type":"listItem","children":[{"type":"text","value":"Point whatever calls the tenant's webhooks at the new address. The part after the host is unchanged.","line":89}],"line":89},{"type":"listItem","children":[{"type":"text","value":"Hostnames, identity providers and domains need to be set up again. Single sign-on providers and git sync arrive paused, domains unproved.","line":90}],"line":90},{"type":"listItem","children":[{"type":"text","value":"Stop the tenant where it was: pause its workspaces' triggers there, or ","line":91},{"type":"link","href":"pausing-triggers","children":[{"type":"text","value":"pause every trigger","line":91}],"line":91},{"type":"text","value":" on that instance.","line":91}],"line":91},{"type":"listItem","children":[{"type":"text","value":"Resume each workspace's triggers on the new instance. Each arrives paused.","line":92}],"line":92},{"type":"listItem","children":[{"type":"text","value":"When you are satisfied, ","line":93},{"type":"link","href":"deleting-a-tenant","children":[{"type":"text","value":"delete the tenant","line":93}],"line":93},{"type":"text","value":" on the old instance. Its history stays there.","line":93}],"line":93}],"line":87},{"type":"heading","depth":2,"id":"the-result","children":[{"type":"text","value":"The result","line":95}],"line":95},{"type":"paragraph","children":[{"type":"text","value":"The tenant is in ","line":97},{"type":"strong","children":[{"type":"text","value":"All tenants","line":97}],"line":97},{"type":"text","value":" with the same name, the slug you chose, and the same IDs as before. Its tables are where you said, shown under ","line":97},{"type":"strong","children":[{"type":"text","value":"Tables kept in","line":97}],"line":97},{"type":"text","value":". A ","line":97},{"type":"inlineCode","value":"tenant.imported","line":97},{"type":"text","value":" entry is in the tenant's own audit log, and ","line":97},{"type":"inlineCode","value":"tenant_import.staged","line":97},{"type":"text","value":" is in the instance's.","line":97}],"line":97},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":99}],"line":99},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"This tenant is already on this instance. Delete it here first if it should be replaced.\"","line":101}],"line":101},{"type":"text","value":" The check line \"This tenant is on this instance already\" fails and ","line":101},{"type":"strong","children":[{"type":"text","value":"Import tenant","line":101}],"line":101},{"type":"text","value":" stays disabled. Delete the tenant, or import elsewhere.","line":101}],"line":101},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"Another tenant here already uses the slug \"X\". Import with a different slug.\"","line":102}],"line":102},{"type":"text","value":" Type a different ","line":102},{"type":"strong","children":[{"type":"text","value":"Slug on this instance","line":102}],"line":102},{"type":"text","value":".","line":102}],"line":102},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"The passphrase does not open this export.\"","line":103}],"line":103},{"type":"text","value":" Retype it. Without the right passphrase the secrets cannot be read.","line":103}],"line":103},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"Made by an instance at another version: upgrade one of them first.\"","line":104}],"line":104},{"type":"text","value":" The two instances must be at the same migration level.","line":104}],"line":104},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"This file is not a tenant export.\"","line":105}],"line":105},{"type":"text","value":", or \"The export is damaged: PATH is not what was written.\" The file is not what an export wrote. Make a new export.","line":105}],"line":105},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"The uploaded file is no longer here: another replica of the control plane kept it, or it was removed. Upload it again.\"","line":106}],"line":106},{"type":"text","value":" An upload is kept on the replica that received it, for an hour. Use sticky routing, upload again, or use the command line.","line":106}],"line":106},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"The export is larger than this instance accepts.\"","line":107}],"line":107},{"type":"text","value":" The limit is 50 GiB for one file.","line":107}],"line":107},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"This tenant is already being exported\" or \"This instance is writing as many exports as it allows at once\" (429).","line":108}],"line":108},{"type":"text","value":" Wait for the time in ","line":108},{"type":"inlineCode","value":"Retry-After","line":108},{"type":"text","value":" and try again. The command line does so by itself, 10 times.","line":108}],"line":108},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"An export stops part-way.","line":109}],"line":109},{"type":"text","value":" The instance ended it: it was not read for ","line":109},{"type":"inlineCode","value":"EXPORT_STALL_SECONDS","line":109},{"type":"text","value":", or it took longer than ","line":109},{"type":"inlineCode","value":"EXPORT_MAX_MINUTES","line":109},{"type":"text","value":". The command line names the one it was.","line":109}],"line":109},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The Import button stays disabled after you typed.","line":110}],"line":110},{"type":"text","value":" It waits for a check made with what is typed: wait a moment, or press ","line":110},{"type":"strong","children":[{"type":"text","value":"Check again","line":110}],"line":110},{"type":"text","value":".","line":110}],"line":110},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"No database location is registered as \"X\".\"","line":111}],"line":111},{"type":"text","value":" Register it first.","line":111}],"line":111},{"type":"listItem","children":[{"type":"text","value":"A staged upload that you do not import is removed an hour after it came. ","line":112},{"type":"strong","children":[{"type":"text","value":"Throw it away","line":112}],"line":112},{"type":"text","value":" removes it at once.","line":112}],"line":112}],"line":101}]},"description":"Move a tenant to another instance, or from the instance's database to a database location and back, by exporting it, deleting it where it was and importing it."}
1
+ {"path":"self-host/how-to/instance/moving-a-tenant","title":"Move a tenant","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"move-a-tenant","children":[{"type":"text","value":"Move a tenant","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"You take a tenant out of one place and bring it in at another: to a different instance, or, on one instance, between the instance's own database and a registered database location. The tenant arrives whole or not at all, with its workspaces' triggers paused so that two copies never both act.","line":9}],"line":9},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":11}],"line":11},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"On the instance the tenant is leaving: the tenant's admin, or a person with ","line":13},{"type":"inlineCode","value":"export:write","line":13},{"type":"text","value":" in the tenant, makes the export. An operator needs an ","line":13},{"type":"link","href":"../../../administer/reference/screens/operator-access","children":[{"type":"text","value":"access grant","line":13}],"line":13},{"type":"text","value":" whose access level includes ","line":13},{"type":"inlineCode","value":"export:write","line":13},{"type":"text","value":": a grant as ","line":13},{"type":"inlineCode","value":"viewer","line":13},{"type":"text","value":" does not.","line":13}],"line":13},{"type":"listItem","children":[{"type":"text","value":"On the instance the tenant goes to: you are an operator with ","line":14},{"type":"inlineCode","value":"tenant:write","line":14},{"type":"text","value":" at the instance, and the instance is at the same version as the one that made the export (the same migration level). Upgrade one of them first if not.","line":14}],"line":14},{"type":"listItem","children":[{"type":"text","value":"If the tenant is to go into a database location, register it first on ","line":15},{"type":"link","href":"../../reference/console/databases","children":[{"type":"text","value":"Database locations","line":15}],"line":15},{"type":"text","value":".","line":15}],"line":15},{"type":"listItem","children":[{"type":"text","value":"A passphrase of at least 12 characters, chosen for this export. Pass it on separately from the file.","line":16}],"line":16},{"type":"listItem","children":[{"type":"text","value":"Moving on one instance, from one location to another, is export, delete, import: the tenant cannot be imported while it is still here (\"This tenant is already on this instance. Delete it here first if it should be replaced.\"). Make a good export and keep the file safe before you delete.","line":17}],"line":17}],"line":13},{"type":"heading","depth":2,"id":"move-it","children":[{"type":"text","value":"Move it","line":19}],"line":19},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"text","value":"Export the tenant. In the tenant, open ","line":22},{"type":"strong","children":[{"type":"text","value":"Export","line":22}],"line":22},{"type":"text","value":", type the passphrase twice, choose whether to include run, flow and event history (\"History can make the file much larger.\"), and press ","line":22},{"type":"strong","children":[{"type":"text","value":"Export tenant","line":22}],"line":22},{"type":"text","value":". The browser downloads ","line":22},{"type":"inlineCode","value":"SLUG-YYYY-MM-DD.tar","line":22},{"type":"text","value":". For a large tenant use the terminal instead: set ","line":22},{"type":"inlineCode","value":"VOLVEL_EXPORT_PASSPHRASE","line":22},{"type":"text","value":", then run ","line":22},{"type":"inlineCode","value":"volvel tenant export --tenant SLUG --out SLUG.tar --history","line":22},{"type":"text","value":".","line":22}],"line":22},{"type":"listItem","children":[{"type":"text","value":"If the tenant is to move on this instance, ","line":23},{"type":"link","href":"deleting-a-tenant","children":[{"type":"text","value":"delete it","line":23}],"line":23},{"type":"text","value":" now, after checking the file. If it is to go to another instance, keep it running until step 8.","line":23}],"line":23},{"type":"listItem","children":[{"type":"text","value":"On the instance it goes to, as an operator, open ","line":24},{"type":"strong","children":[{"type":"text","value":"Instance","line":24}],"line":24},{"type":"text","value":", then ","line":24},{"type":"strong","children":[{"type":"text","value":"Import a tenant","line":24}],"line":24},{"type":"text","value":".","line":24}],"line":24},{"type":"listItem","children":[{"type":"text","value":"Under ","line":25},{"type":"strong","children":[{"type":"text","value":"Export file","line":25}],"line":25},{"type":"text","value":", choose the ","line":25},{"type":"inlineCode","value":".tar","line":25},{"type":"text","value":" file. Optionally type ","line":25},{"type":"strong","children":[{"type":"text","value":"Its passphrase","line":25}],"line":25},{"type":"text","value":". Press ","line":25},{"type":"strong","children":[{"type":"text","value":"Upload and check","line":25}],"line":25},{"type":"text","value":". The ","line":25},{"type":"strong","children":[{"type":"text","value":"Check","line":25}],"line":25},{"type":"text","value":" step shows the tenant's name, when it was exported, the version, its workspaces, rows and members.","line":25}],"line":25},{"type":"listItem","children":[{"type":"text","value":"Type ","line":26},{"type":"strong","children":[{"type":"text","value":"Its passphrase","line":26}],"line":26},{"type":"text","value":" if you have not. After a moment the check runs again by itself. Read ","line":26},{"type":"strong","children":[{"type":"text","value":"Can it come in","line":26}],"line":26},{"type":"text","value":": every line should pass. \"The tenant is not here yet\" and \"Its slug is free here\" must pass.","line":26}],"line":26},{"type":"listItem","children":[{"type":"text","value":"Optionally type a ","line":27},{"type":"strong","children":[{"type":"text","value":"Slug on this instance","line":27}],"line":27},{"type":"text","value":" (empty keeps the slug it had) and choose ","line":27},{"type":"strong","children":[{"type":"text","value":"Where its custom tables go","line":27}],"line":27},{"type":"text","value":": the instance's own database, or a location. After a moment the check runs again with what you typed.","line":27}],"line":27},{"type":"listItem","children":[{"type":"text","value":"Press ","line":28},{"type":"strong","children":[{"type":"text","value":"Import tenant","line":28}],"line":28},{"type":"text","value":". It says \"Importing…\", then \"NAME was imported\" with the counts, where the tables are, and what was not carried. Press ","line":28},{"type":"strong","children":[{"type":"text","value":"Open the tenant","line":28}],"line":28},{"type":"text","value":".","line":28}],"line":28},{"type":"listItem","children":[{"type":"text","value":"Finish what an export does not carry, in the next section.","line":29}],"line":29}],"line":22}],"line":21,"endLine":30},{"type":"paragraph","children":[{"type":"text","value":"For a large file, or a script, the same import is one command on the instance it goes to: ","line":32},{"type":"inlineCode","value":"volvel tenant import SLUG.tar --slug NEW --location NAME","line":32},{"type":"text","value":", with an operator's API key and ","line":32},{"type":"inlineCode","value":"VOLVEL_EXPORT_PASSPHRASE","line":32},{"type":"text","value":" set. It sends the file, says what it holds, asks, and imports. Add ","line":32},{"type":"inlineCode","value":"--yes","line":32},{"type":"text","value":" where nobody can be asked.","line":32}],"line":32},{"type":"heading","depth":2,"id":"passwords-do-not-come-with-the-file","children":[{"type":"text","value":"Passwords do not come with the file","line":34}],"line":34},{"type":"paragraph","children":[{"type":"text","value":"An import brings no passwords. The accounts it creates have no password, so nobody can sign in to them until each person chooses one. The reason is that whoever made the export held every password in it: if the import kept them, that person could sign in as any member the import created, now or later. An account that already exists on the instance is not changed at all: it keeps its own password, keys and codes.","line":36}],"line":36},{"type":"paragraph","children":[{"type":"text","value":"Each person gets a link and chooses a password with it: see ","line":38},{"type":"link","href":"../../reference/console/members","children":[{"type":"text","value":"All members","line":38}],"line":38},{"type":"text","value":", ","line":38},{"type":"strong","children":[{"type":"text","value":"Make a password reset link","line":38}],"line":38},{"type":"text","value":". The console's import screen keeps none either, unless you tick its box for it.","line":38}],"line":38},{"type":"paragraph","children":[{"type":"text","value":"If you are moving your own tenant between your own instances, you made the file and you hold it, so nobody else knows the passwords. Then keep them: tick ","line":40},{"type":"strong","children":[{"type":"text","value":"Bring the members' passwords in with the file","line":40}],"line":40},{"type":"text","value":" on the console's import screen, add ","line":40},{"type":"inlineCode","value":"--keep-sign-ins","line":40},{"type":"text","value":" to the command, ","line":40},{"type":"inlineCode","value":"volvel tenant import SLUG.tar --keep-sign-ins","line":40},{"type":"text","value":", or send ","line":40},{"type":"inlineCode","value":"keepSignIns=true","line":40},{"type":"text","value":" to the import route. Before it asks, the command says how many accounts it will create and whether they will have a password. The instance's log records which you chose and how many accounts were made with and without a password.","line":40}],"line":40},{"type":"heading","depth":2,"id":"a-large-tenant","children":[{"type":"text","value":"A large tenant","line":42}],"line":42},{"type":"paragraph","children":[{"type":"text","value":"Use the command line for a large tenant. It does the same as the console, through the same routes, and differs in three ways:","line":44}],"line":44},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"It writes the archive to disk as it arrives. An export holds a database connection until its reader has taken all of it, and the instance ends one whose reader takes nothing for a while: a command line that writes to a disk reads as fast as the instance writes, which a browser tab does not promise.","line":46}],"line":46},{"type":"listItem","children":[{"type":"text","value":"It needs no browser open for as long as the export takes. Run it in a terminal session that stays, from a machine beside the instance, or from a script.","line":47}],"line":47},{"type":"listItem","children":[{"type":"text","value":"It shows progress on a terminal, waits and tries again when the instance is already writing as many exports as it allows, and says which setting ended an export that was ended.","line":48}],"line":48}],"line":46},{"type":"paragraph","children":[{"type":"text","value":"The command line is not a way around the limits below: it is the same export, held to the same limits. It stays inside them because it reads without delay.","line":50}],"line":50},{"type":"code","value":"export VOLVEL_EXPORT_PASSPHRASE='a passphrase of at least 12 characters'\nvolvel tenant export --tenant SLUG --out SLUG.tar --history\nvolvel tenant import SLUG.tar --slug NEW --yes","lang":"sh","line":52},{"type":"paragraph","children":[{"type":"inlineCode","value":"volvel tenant export","line":58},{"type":"text","value":" writes to ","line":58},{"type":"inlineCode","value":"SLUG.tar.part","line":58},{"type":"text","value":" and renames it to ","line":58},{"type":"inlineCode","value":"SLUG.tar","line":58},{"type":"text","value":" when the archive is whole. If the instance ends the export, it removes the part file and says why. It resumes nothing: run it again. When the instance answers that it is writing as many exports as it allows, or that the tenant is being exported, the command waits for the time the instance names (30 seconds) and asks again, up to 10 tries.","line":58}],"line":58},{"type":"heading","depth":3,"id":"how-long-a-large-tenant-takes","children":[{"type":"text","value":"How long a large tenant takes","line":60}],"line":60},{"type":"paragraph","children":[{"type":"text","value":"Run on Fly on 28 November 2026: a tenant with 100,000 rows, 230 files of 3.7 GB and its run history, on a control plane and a database of 4 CPUs and 8 GB, moved by the command line from a machine beside them.","line":62}],"line":62},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Step","line":64}]},{"type":"tableCell","children":[{"type":"text","value":"Time","line":64}]}],"line":64},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"volvel tenant export --history","line":66},{"type":"text","value":": a file of 3.85 GB","line":66}]},{"type":"tableCell","children":[{"type":"text","value":"62 s (63 MB/s)","line":66}]}],"line":66},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Deleting the tenant","line":67}]},{"type":"tableCell","children":[{"type":"text","value":"10 s","line":67}]}],"line":67},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"volvel tenant import --yes","line":68}]},{"type":"tableCell","children":[{"type":"text","value":"251 s","line":68}]}],"line":68}],"line":64},{"type":"paragraph","children":[{"type":"text","value":"Every file came back byte for byte the same. The command line held about 220 MB while it sent the file. Before version 0.7 it held the whole file in memory, and an import larger than the memory of the machine sending it was stopped.","line":70}],"line":70},{"type":"heading","depth":3,"id":"the-limits-on-exports","children":[{"type":"text","value":"The limits on exports","line":72}],"line":72},{"type":"paragraph","children":[{"type":"text","value":"An instance bounds its exports so that slow readers cannot take every database connection. Four settings, in ","line":74},{"type":"link","href":"../../reference/running/configuration","children":[{"type":"text","value":"How an instance is configured","line":74}],"line":74},{"type":"text","value":":","line":74}],"line":74},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Setting","line":76}]},{"type":"tableCell","children":[{"type":"text","value":"Default","line":76}]},{"type":"tableCell","children":[{"type":"text","value":"What it limits","line":76}]}],"line":76},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORTS_AT_ONCE","line":78}]},{"type":"tableCell","children":[{"type":"text","value":"3","line":78}]},{"type":"tableCell","children":[{"type":"text","value":"Exports the instance writes at once. The next is answered 429 with ","line":78},{"type":"inlineCode","value":"Retry-After: 30","line":78},{"type":"text","value":".","line":78}]}],"line":78},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORTS_PER_TENANT","line":79}]},{"type":"tableCell","children":[{"type":"text","value":"1","line":79}]},{"type":"tableCell","children":[{"type":"text","value":"Exports of one tenant at once.","line":79}]}],"line":79},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORT_STALL_SECONDS","line":80}]},{"type":"tableCell","children":[{"type":"text","value":"60","line":80}]},{"type":"tableCell","children":[{"type":"text","value":"Seconds the reader may take nothing before the export is ended.","line":80}]}],"line":80},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"EXPORT_MAX_MINUTES","line":81}]},{"type":"tableCell","children":[{"type":"text","value":"30","line":81}]},{"type":"tableCell","children":[{"type":"text","value":"Minutes one export may take, however it is read. 0 is no limit.","line":81}]}],"line":81}],"line":76},{"type":"paragraph","children":[{"type":"text","value":"Raise ","line":83},{"type":"inlineCode","value":"EXPORT_MAX_MINUTES","line":83},{"type":"text","value":" (or set it to 0) when an export of a large tenant is ended at the time limit: the command says so, naming the setting. Raise ","line":83},{"type":"inlineCode","value":"EXPORTS_AT_ONCE","line":83},{"type":"text","value":" only if the instance has connections to spare: each export holds one for its whole length, and one more if the tenant has a database location. Leave ","line":83},{"type":"inlineCode","value":"EXPORT_STALL_SECONDS","line":83},{"type":"text","value":" alone unless a reader is slow for a reason you know, such as a slow disk.","line":83}],"line":83},{"type":"heading","depth":3,"id":"what-size-the-defaults-suit","children":[{"type":"text","value":"What size the defaults suit","line":85}],"line":85},{"type":"paragraph","children":[{"type":"text","value":"One measurement: an archive of 20 MB was written in 2.1 to 2.6 seconds with one dedicated CPU, about 8 to 10 MB a second. At that rate 30 minutes is about 15 GB of archive. A tenant whose export is smaller than that finishes inside the default; a larger one needs ","line":87},{"type":"inlineCode","value":"EXPORT_MAX_MINUTES","line":87},{"type":"text","value":" raised. This is one measurement on a small archive, not a measurement of a large one: the rate of a tenant with large tables or many stored files may differ. An export of a tenant that is that large has not been tried.","line":87}],"line":87},{"type":"heading","depth":3,"id":"what-a-large-tenant-meets","children":[{"type":"text","value":"What a large tenant meets","line":89}],"line":89},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"An export reads from one snapshot of the database for its whole length, so it holds a transaction open that long. Rows written to the tenant meanwhile are not in it.","line":91}],"line":91},{"type":"listItem","children":[{"type":"text","value":"An import takes the archive as a stream and writes it to a file in the control plane's temporary folder before it reads it: that folder needs room for the whole archive. The instance refuses a file larger than 50 GiB.","line":92}],"line":92},{"type":"listItem","children":[{"type":"text","value":"An import is one database transaction: the tenant arrives whole or not at all, and so a very large import is one long transaction.","line":93}],"line":93},{"type":"listItem","children":[{"type":"text","value":"A proxy in front of the instance may have a smaller body limit or a shorter timeout than the instance does. Both an upload and an export are one request.","line":94}],"line":94},{"type":"listItem","children":[{"type":"text","value":"Moving a whole instance is not done tenant by tenant. For that, ","line":95},{"type":"link","href":"../running/back-up-an-instance","children":[{"type":"text","value":"back up the database and restore it","line":95}],"line":95},{"type":"text","value":" on the new one: see ","line":95},{"type":"link","href":"../running/restore-an-instance","children":[{"type":"text","value":"Restore an instance","line":95}],"line":95},{"type":"text","value":".","line":95}],"line":95}],"line":91},{"type":"heading","depth":2,"id":"what-to-do-after","children":[{"type":"text","value":"What to do after","line":97}],"line":97},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"Give each member a way in. The accounts the import created have no password unless you used ","line":99},{"type":"inlineCode","value":"--keep-sign-ins","line":99},{"type":"text","value":": make each person a link, see ","line":99},{"type":"link","href":"../../reference/console/members","children":[{"type":"text","value":"All members","line":99}],"line":99},{"type":"text","value":", ","line":99},{"type":"strong","children":[{"type":"text","value":"Make a password reset link","line":99}],"line":99},{"type":"text","value":". A member who already had an account on this instance keeps it and its password, whichever way you imported.","line":99}],"line":99},{"type":"listItem","children":[{"type":"text","value":"Make new API keys and worker credentials. They are never in an export.","line":100}],"line":100},{"type":"listItem","children":[{"type":"text","value":"Point whatever calls the tenant's webhooks at the new address. The part after the host is unchanged.","line":101}],"line":101},{"type":"listItem","children":[{"type":"text","value":"Hostnames, identity providers and domains need to be set up again. Single sign-on providers and git sync arrive paused, domains unproved.","line":102}],"line":102},{"type":"listItem","children":[{"type":"text","value":"Stop the tenant where it was: pause its workspaces' triggers there, or ","line":103},{"type":"link","href":"pausing-triggers","children":[{"type":"text","value":"pause every trigger","line":103}],"line":103},{"type":"text","value":" on that instance.","line":103}],"line":103},{"type":"listItem","children":[{"type":"text","value":"Resume each workspace's triggers on the new instance. Each arrives paused.","line":104}],"line":104},{"type":"listItem","children":[{"type":"text","value":"When you are satisfied, ","line":105},{"type":"link","href":"deleting-a-tenant","children":[{"type":"text","value":"delete the tenant","line":105}],"line":105},{"type":"text","value":" on the old instance. Its history stays there.","line":105}],"line":105}],"line":99},{"type":"heading","depth":2,"id":"the-result","children":[{"type":"text","value":"The result","line":107}],"line":107},{"type":"paragraph","children":[{"type":"text","value":"The tenant is in ","line":109},{"type":"strong","children":[{"type":"text","value":"All tenants","line":109}],"line":109},{"type":"text","value":" with the same name, the slug you chose, and the same IDs as before. Its tables are where you said, shown under ","line":109},{"type":"strong","children":[{"type":"text","value":"Tables kept in","line":109}],"line":109},{"type":"text","value":". A ","line":109},{"type":"inlineCode","value":"tenant.imported","line":109},{"type":"text","value":" entry is in the tenant's own audit log, and ","line":109},{"type":"inlineCode","value":"tenant_import.staged","line":109},{"type":"text","value":" is in the instance's.","line":109}],"line":109},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":111}],"line":111},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"This tenant is already on this instance. Delete it here first if it should be replaced.\"","line":113}],"line":113},{"type":"text","value":" The check line \"This tenant is on this instance already\" fails and ","line":113},{"type":"strong","children":[{"type":"text","value":"Import tenant","line":113}],"line":113},{"type":"text","value":" stays disabled. Delete the tenant, or import elsewhere.","line":113}],"line":113},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"Another tenant here already uses the slug \"X\". Import with a different slug.\"","line":114}],"line":114},{"type":"text","value":" Type a different ","line":114},{"type":"strong","children":[{"type":"text","value":"Slug on this instance","line":114}],"line":114},{"type":"text","value":".","line":114}],"line":114},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"The passphrase does not open this export.\"","line":115}],"line":115},{"type":"text","value":" Retype it. Without the right passphrase the secrets cannot be read.","line":115}],"line":115},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"Made by an instance at another version: upgrade one of them first.\"","line":116}],"line":116},{"type":"text","value":" The two instances must be at the same migration level.","line":116}],"line":116},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"This file is not a tenant export.\"","line":117}],"line":117},{"type":"text","value":", or \"The export is damaged: PATH is not what was written.\" The file is not what an export wrote. Make a new export.","line":117}],"line":117},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"The uploaded file is no longer here: another replica of the control plane kept it, or it was removed. Upload it again.\"","line":118}],"line":118},{"type":"text","value":" An upload is kept on the replica that received it, for an hour. Use sticky routing, upload again, or use the command line.","line":118}],"line":118},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"The export is larger than this instance accepts.\"","line":119}],"line":119},{"type":"text","value":" The limit is 50 GiB for one file.","line":119}],"line":119},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"This tenant is already being exported\" or \"This instance is writing as many exports as it allows at once\" (429).","line":120}],"line":120},{"type":"text","value":" Wait for the time in ","line":120},{"type":"inlineCode","value":"Retry-After","line":120},{"type":"text","value":" and try again. The command line does so by itself, 10 times.","line":120}],"line":120},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"An export stops part-way.","line":121}],"line":121},{"type":"text","value":" The instance ended it: it was not read for ","line":121},{"type":"inlineCode","value":"EXPORT_STALL_SECONDS","line":121},{"type":"text","value":", or it took longer than ","line":121},{"type":"inlineCode","value":"EXPORT_MAX_MINUTES","line":121},{"type":"text","value":". The command line names the one it was.","line":121}],"line":121},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The Import button stays disabled after you typed.","line":122}],"line":122},{"type":"text","value":" It waits for a check made with what is typed: wait a moment, or press ","line":122},{"type":"strong","children":[{"type":"text","value":"Check again","line":122}],"line":122},{"type":"text","value":".","line":122}],"line":122},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"\"No database location is registered as \"X\".\"","line":123}],"line":123},{"type":"text","value":" Register it first.","line":123}],"line":123},{"type":"listItem","children":[{"type":"text","value":"A staged upload that you do not import is removed an hour after it came. ","line":124},{"type":"strong","children":[{"type":"text","value":"Throw it away","line":124}],"line":124},{"type":"text","value":" removes it at once.","line":124}],"line":124}],"line":113}]},"description":"Move a tenant to another instance, or from the instance's database to a database location and back, by exporting it, deleting it where it was and importing it."}
@@ -1 +1 @@
1
- {"path":"self-host/how-to/running/back-up-an-instance","title":"Back up an instance","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"back-up-an-instance","children":[{"type":"text","value":"Back up an instance","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"By the end you have the three things a restore needs: a copy of Postgres, a copy of the object store and every master key, taken close together.","line":9}],"line":9},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":11}],"line":11},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"Access to the machine, or the provider's console, for Postgres and the object store.","line":13}],"line":13},{"type":"listItem","children":[{"type":"inlineCode","value":"MASTER_KEY","line":14},{"type":"text","value":" is kept once somewhere that is not the instance's disk, and again after each rotation, with the old one kept for older backups.","line":14}],"line":14},{"type":"listItem","children":[{"type":"text","value":"If a tenant has a dedicated database, back it up too. The instance's database holds only its address.","line":15}],"line":15}],"line":13},{"type":"heading","depth":2,"id":"back-up","children":[{"type":"text","value":"Back up","line":17}],"line":17},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Take the Postgres backup. Use your provider's point-in-time recovery, or ","line":20},{"type":"inlineCode","value":"pg_dump","line":20},{"type":"text","value":" on a schedule. With the bundled Postgres:","line":20}],"line":20},{"type":"code","value":"docker compose -f deploy/compose/compose.yaml exec -T postgres \\\n pg_dump -U platform --no-owner -Fc platform > platform.dump","lang":"bash","line":22},{"type":"paragraph","children":[{"type":"inlineCode","value":"--no-owner","line":27},{"type":"text","value":" is what lets the dump be restored under any user or database name. A dump taken this way is a backup: the instance makes its policies again at the first start after a restore.","line":27}],"line":27}],"line":20},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Back up the object store, close to the time of the dump. For an S3 service, copy the bucket with your provider's tool. For the bundled store, stop it and copy its volume:","line":28}],"line":28},{"type":"code","value":"docker compose -f deploy/compose/compose.yaml stop objectstore\ndocker run --rm -v <project>_objectstore:/data:ro -v \"$PWD\":/backup postgres:18 \\\n tar czf /backup/objectstore.tgz -C /data .\ndocker compose -f deploy/compose/compose.yaml start objectstore","lang":"bash","line":30},{"type":"paragraph","children":[{"type":"inlineCode","value":"<project>","line":37},{"type":"text","value":" is the Compose project name, ","line":37},{"type":"inlineCode","value":"volvel","line":37},{"type":"text","value":" unless you gave ","line":37},{"type":"inlineCode","value":"-p","line":37},{"type":"text","value":". Copying a running store's files may not give a store that opens.","line":37}],"line":37}],"line":28},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Keep the ","line":38},{"type":"inlineCode","value":".env","line":38},{"type":"text","value":" of the instance, or at least ","line":38},{"type":"inlineCode","value":"MASTER_KEY","line":38},{"type":"text","value":" and ","line":38},{"type":"inlineCode","value":"AUTH_SECRET","line":38},{"type":"text","value":", with the backup, on another disk.","line":38}],"line":38}],"line":38},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"For a dedicated database, run its own ","line":39},{"type":"inlineCode","value":"pg_dump","line":39},{"type":"text","value":" at the same moment.","line":39}],"line":39}],"line":39},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Try a restore on another machine. A backup is a backup once a restore from it has worked: ","line":40},{"type":"link","href":"restore-an-instance","children":[{"type":"text","value":"Restore an instance","line":40}],"line":40},{"type":"text","value":".","line":40}],"line":40}],"line":40}],"line":20}],"line":19,"endLine":41},{"type":"paragraph","children":[{"type":"text","value":"A tenant can also be backed up by itself, as an export, from its own ","line":43},{"type":"strong","children":[{"type":"text","value":"Export","line":43}],"line":43},{"type":"text","value":" page or with ","line":43},{"type":"inlineCode","value":"volvel tenant export","line":43},{"type":"text","value":". The file holds everything the tenant has, with its secrets encrypted under a passphrase. Treat it like a database backup. To move a whole instance, restore a database backup instead of exporting tenant by tenant. For a large tenant, see ","line":43},{"type":"link","href":"../instance/moving-a-tenant","children":[{"type":"text","value":"Move a tenant","line":43}],"line":43},{"type":"text","value":".","line":43}],"line":43},{"type":"heading","depth":2,"id":"the-result","children":[{"type":"text","value":"The result","line":45}],"line":45},{"type":"paragraph","children":[{"type":"text","value":"Three things, from about the same moment:","line":47}],"line":47},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"What","line":49}]},{"type":"tableCell","children":[{"type":"text","value":"Why","line":49}]}],"line":49},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"A Postgres dump (and each dedicated database's)","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"Everything except files.","line":51}]}],"line":51},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"The object store","line":52}]},{"type":"tableCell","children":[{"type":"text","value":"Bundles, uploaded files, large payloads and archived audit months.","line":52}]}],"line":52},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"The master key that sealed it, and ","line":53},{"type":"inlineCode","value":"AUTH_SECRET","line":53}]},{"type":"tableCell","children":[{"type":"text","value":"Without the key no stored secret can be read. ","line":53},{"type":"inlineCode","value":"AUTH_SECRET","line":53},{"type":"text","value":" can be replaced: see ","line":53},{"type":"link","href":"change-auth-secret","children":[{"type":"text","value":"Change AUTH_SECRET","line":53}],"line":53},{"type":"text","value":".","line":53}]}],"line":53}],"line":49},{"type":"paragraph","children":[{"type":"text","value":"A database that names a file the store does not have says so when the file is asked for, and not before.","line":55}],"line":55},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":57}],"line":57},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"inlineCode","value":"pg_dump","line":59},{"type":"text","value":" is newer or older than the server.","line":59}],"line":59},{"type":"text","value":" Use the server's own ","line":59},{"type":"inlineCode","value":"pg_dump","line":59},{"type":"text","value":", as in the command above.","line":59}],"line":59},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"A dump taken without ","line":60},{"type":"inlineCode","value":"--no-owner","line":60},{"type":"text","value":" fails to restore under another user.","line":60}],"line":60},{"type":"text","value":" Take it again with the option.","line":60}],"line":60}],"line":59},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":62},{"type":"link","href":"restore-an-instance","children":[{"type":"text","value":"Restore an instance","line":62}],"line":62},{"type":"text","value":", ","line":62},{"type":"link","href":"upgrade-an-instance","children":[{"type":"text","value":"Upgrade an instance","line":62}],"line":62},{"type":"text","value":".","line":62}],"line":62}]},"description":"What to back up, in what order, and how, with a pg_dump of the database, a copy of the object store and the master key."}
1
+ {"path":"self-host/how-to/running/back-up-an-instance","title":"Back up an instance","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"back-up-an-instance","children":[{"type":"text","value":"Back up an instance","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"By the end you have the three things a restore needs: a copy of Postgres, a copy of the object store and every master key, taken close together.","line":9}],"line":9},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":11}],"line":11},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"Access to the machine, or the provider's console, for Postgres and the object store.","line":13}],"line":13},{"type":"listItem","children":[{"type":"inlineCode","value":"MASTER_KEY","line":14},{"type":"text","value":" is kept once somewhere that is not the instance's disk, and again after each rotation, with the old one kept for older backups.","line":14}],"line":14},{"type":"listItem","children":[{"type":"text","value":"If a tenant has a dedicated database, back it up too. The instance's database holds only its address.","line":15}],"line":15}],"line":13},{"type":"heading","depth":2,"id":"back-up","children":[{"type":"text","value":"Back up","line":17}],"line":17},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Take the Postgres backup. Use your provider's point-in-time recovery, or ","line":20},{"type":"inlineCode","value":"pg_dump","line":20},{"type":"text","value":" on a schedule. With the bundled Postgres:","line":20}],"line":20},{"type":"code","value":"docker compose -f deploy/compose/compose.yaml exec -T postgres \\\n pg_dump -U platform --no-owner -Fc platform > platform.dump","lang":"bash","line":22},{"type":"paragraph","children":[{"type":"inlineCode","value":"--no-owner","line":27},{"type":"text","value":" is what lets the dump be restored under any user or database name. A dump taken this way is a backup: the instance makes its policies again at the first start after a restore.","line":27}],"line":27}],"line":20},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Back up the object store, close to the time of the dump. For an S3 service, copy the bucket with any S3 tool: ","line":28},{"type":"inlineCode","value":"aws s3 sync s3://<bucket> ./bucket --endpoint-url <the store's address>","line":28},{"type":"text","value":" copied 216 MB from a Tigris bucket on Fly in 10 seconds. For the bundled store, stop it and copy its volume:","line":28}],"line":28},{"type":"code","value":"docker compose -f deploy/compose/compose.yaml stop objectstore\ndocker run --rm -v <project>_objectstore:/data:ro -v \"$PWD\":/backup postgres:18 \\\n tar czf /backup/objectstore.tgz -C /data .\ndocker compose -f deploy/compose/compose.yaml start objectstore","lang":"bash","line":30},{"type":"paragraph","children":[{"type":"inlineCode","value":"<project>","line":37},{"type":"text","value":" is the Compose project name, ","line":37},{"type":"inlineCode","value":"volvel","line":37},{"type":"text","value":" unless you gave ","line":37},{"type":"inlineCode","value":"-p","line":37},{"type":"text","value":". Copying a running store's files may not give a store that opens.","line":37}],"line":37}],"line":28},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Keep the ","line":38},{"type":"inlineCode","value":".env","line":38},{"type":"text","value":" of the instance, or at least ","line":38},{"type":"inlineCode","value":"MASTER_KEY","line":38},{"type":"text","value":" and ","line":38},{"type":"inlineCode","value":"AUTH_SECRET","line":38},{"type":"text","value":", with the backup, on another disk.","line":38}],"line":38}],"line":38},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"For a dedicated database, run its own ","line":39},{"type":"inlineCode","value":"pg_dump","line":39},{"type":"text","value":" at the same moment.","line":39}],"line":39}],"line":39},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Try a restore on another machine. A backup is a backup once a restore from it has worked: ","line":40},{"type":"link","href":"restore-an-instance","children":[{"type":"text","value":"Restore an instance","line":40}],"line":40},{"type":"text","value":".","line":40}],"line":40}],"line":40}],"line":20}],"line":19,"endLine":41},{"type":"paragraph","children":[{"type":"text","value":"A tenant can also be backed up by itself, as an export, from its own ","line":43},{"type":"strong","children":[{"type":"text","value":"Export","line":43}],"line":43},{"type":"text","value":" page or with ","line":43},{"type":"inlineCode","value":"volvel tenant export","line":43},{"type":"text","value":". The file holds everything the tenant has, with its secrets encrypted under a passphrase. Treat it like a database backup. To move a whole instance, restore a database backup instead of exporting tenant by tenant. For a large tenant, see ","line":43},{"type":"link","href":"../instance/moving-a-tenant","children":[{"type":"text","value":"Move a tenant","line":43}],"line":43},{"type":"text","value":".","line":43}],"line":43},{"type":"heading","depth":2,"id":"the-result","children":[{"type":"text","value":"The result","line":45}],"line":45},{"type":"paragraph","children":[{"type":"text","value":"Three things, from about the same moment:","line":47}],"line":47},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"What","line":49}]},{"type":"tableCell","children":[{"type":"text","value":"Why","line":49}]}],"line":49},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"A Postgres dump (and each dedicated database's)","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"Everything except files.","line":51}]}],"line":51},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"The object store","line":52}]},{"type":"tableCell","children":[{"type":"text","value":"Bundles, uploaded files, large payloads and archived audit months.","line":52}]}],"line":52},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"The master key that sealed it, and ","line":53},{"type":"inlineCode","value":"AUTH_SECRET","line":53}]},{"type":"tableCell","children":[{"type":"text","value":"Without the key no stored secret can be read. ","line":53},{"type":"inlineCode","value":"AUTH_SECRET","line":53},{"type":"text","value":" can be replaced: see ","line":53},{"type":"link","href":"change-auth-secret","children":[{"type":"text","value":"Change AUTH_SECRET","line":53}],"line":53},{"type":"text","value":".","line":53}]}],"line":53}],"line":49},{"type":"paragraph","children":[{"type":"text","value":"A database that names a file the store does not have says so when the file is asked for, and not before.","line":55}],"line":55},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":57}],"line":57},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"inlineCode","value":"pg_dump","line":59},{"type":"text","value":" is newer or older than the server.","line":59}],"line":59},{"type":"text","value":" Use the server's own ","line":59},{"type":"inlineCode","value":"pg_dump","line":59},{"type":"text","value":", as in the command above.","line":59}],"line":59},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"A dump taken without ","line":60},{"type":"inlineCode","value":"--no-owner","line":60},{"type":"text","value":" fails to restore under another user.","line":60}],"line":60},{"type":"text","value":" Take it again with the option.","line":60}],"line":60}],"line":59},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":62},{"type":"link","href":"restore-an-instance","children":[{"type":"text","value":"Restore an instance","line":62}],"line":62},{"type":"text","value":", ","line":62},{"type":"link","href":"upgrade-an-instance","children":[{"type":"text","value":"Upgrade an instance","line":62}],"line":62},{"type":"text","value":".","line":62}],"line":62}]},"description":"What to back up, in what order, and how, with a pg_dump of the database, a copy of the object store and the master key."}
@@ -1 +1 @@
1
- {"path":"self-host/how-to/running/build-the-image","title":"Build the image from source","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"build-the-image-from-source","children":[{"type":"text","value":"Build the image from source","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"By the end you will have a local image, ","line":9},{"type":"inlineCode","value":"volvel/volvel:docs","line":9},{"type":"text","value":" or a name you choose, that every Compose file of the repository can run. From 0.6.0 the image is on Docker Hub, and ","line":9},{"type":"inlineCode","value":"docker pull volvel/volvel:0.6.0","line":9},{"type":"text","value":" is the normal way to get one (","line":9},{"type":"link","href":"install-with-compose","children":[{"type":"text","value":"Install with Compose","line":9}],"line":9},{"type":"text","value":"). Build it yourself to run code that is not a release, or where the machine cannot reach Docker Hub.","line":9}],"line":9},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":11}],"line":11},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"Docker with Compose, and a machine that can reach the internet for this step only: the build pulls ","line":13},{"type":"inlineCode","value":"node:24-slim","line":13},{"type":"text","value":" and fetches packages with ","line":13},{"type":"inlineCode","value":"pnpm install","line":13},{"type":"text","value":".","line":13}],"line":13},{"type":"listItem","children":[{"type":"text","value":"A copy of the repository at the version you want. A clean copy keeps files you changed or added out of the image: ","line":14},{"type":"inlineCode","value":"git archive HEAD | tar -x -C <folder>","line":14},{"type":"text","value":" makes one from a checkout.","line":14}],"line":14}],"line":13},{"type":"heading","depth":2,"id":"build","children":[{"type":"text","value":"Build","line":16}],"line":16},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Open a terminal in the root of the copy, where the ","line":19},{"type":"inlineCode","value":"Dockerfile","line":19},{"type":"text","value":" is.","line":19}],"line":19}],"line":19},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Build and name the image:","line":20}],"line":20},{"type":"code","value":"docker build -t volvel/volvel:docs .","lang":"bash","line":22},{"type":"paragraph","children":[{"type":"text","value":"The build compiles the services, builds the console's static files and the app that draws interfaces, then makes a self-contained copy of the control plane with production dependencies only. It took about 5 minutes in the run for this page.","line":26}],"line":26}],"line":20},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Check that the image is there: ","line":27},{"type":"inlineCode","value":"docker images volvel/volvel","line":27},{"type":"text","value":". It is about 900 MB on disk.","line":27}],"line":27}],"line":27},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Tell Compose to use it. In ","line":28},{"type":"inlineCode","value":"deploy/compose/.env","line":28},{"type":"text","value":" set:","line":28}],"line":28},{"type":"code","value":"VOLVEL_IMAGE=volvel/volvel:docs","lang":"bash","line":30}],"line":28}],"line":19}],"line":18,"endLine":33},{"type":"heading","depth":2,"id":"the-result","children":[{"type":"text","value":"The result","line":35}],"line":35},{"type":"paragraph","children":[{"type":"text","value":"The image holds the control plane, the worker host and the standalone worker. See ","line":37},{"type":"link","href":"../../explanation/running/architecture","children":[{"type":"text","value":"How an instance is put together","line":37}],"line":37},{"type":"text","value":". Without ","line":37},{"type":"inlineCode","value":"VOLVEL_IMAGE","line":37},{"type":"text","value":", ","line":37},{"type":"inlineCode","value":"docker compose up","line":37},{"type":"text","value":" builds the image itself and names it ","line":37},{"type":"inlineCode","value":"volvel/volvel:local","line":37},{"type":"text","value":", from the repository above the Compose folder.","line":37}],"line":37},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":39}],"line":39},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The build stops at ","line":41},{"type":"inlineCode","value":"pnpm install","line":41},{"type":"text","value":".","line":41}],"line":41},{"type":"text","value":" The machine cannot reach the package registry. Build on one that can, and carry the image across: ","line":41},{"type":"link","href":"install-offline","children":[{"type":"text","value":"Install where there is no internet","line":41}],"line":41},{"type":"text","value":".","line":41}],"line":41},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The build is short of memory.","line":42}],"line":42},{"type":"text","value":" Free memory, or build on a larger machine, and move the image.","line":42}],"line":42}],"line":41},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":44},{"type":"link","href":"install-with-compose","children":[{"type":"text","value":"Install with Compose","line":44}],"line":44},{"type":"text","value":".","line":44}],"line":44}]},"description":"Build the Volvel image from a copy of the repository, name it, and use it for Compose, a standalone worker or a transfer to another machine."}
1
+ {"path":"self-host/how-to/running/build-the-image","title":"Build the image from source","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"build-the-image-from-source","children":[{"type":"text","value":"Build the image from source","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"By the end you will have a local image, ","line":9},{"type":"inlineCode","value":"volvel/volvel:docs","line":9},{"type":"text","value":" or a name you choose, that every Compose file of the repository can run. From 0.6.0 the image is on Docker Hub, and ","line":9},{"type":"inlineCode","value":"docker pull volvel/volvel:0.6.0","line":9},{"type":"text","value":" is the normal way to get one (","line":9},{"type":"link","href":"install-with-compose","children":[{"type":"text","value":"Install with Compose","line":9}],"line":9},{"type":"text","value":"). Build it yourself to run code that is not a release, or where the machine cannot reach Docker Hub.","line":9}],"line":9},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":11}],"line":11},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"Docker with Compose, and a machine that can reach the internet for this step only: the build pulls ","line":13},{"type":"inlineCode","value":"node:26-slim","line":13},{"type":"text","value":" and fetches packages with ","line":13},{"type":"inlineCode","value":"pnpm install","line":13},{"type":"text","value":".","line":13}],"line":13},{"type":"listItem","children":[{"type":"text","value":"A copy of the repository at the version you want. A clean copy keeps files you changed or added out of the image: ","line":14},{"type":"inlineCode","value":"git archive HEAD | tar -x -C <folder>","line":14},{"type":"text","value":" makes one from a checkout.","line":14}],"line":14}],"line":13},{"type":"heading","depth":2,"id":"build","children":[{"type":"text","value":"Build","line":16}],"line":16},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Open a terminal in the root of the copy, where the ","line":19},{"type":"inlineCode","value":"Dockerfile","line":19},{"type":"text","value":" is.","line":19}],"line":19}],"line":19},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Build and name the image:","line":20}],"line":20},{"type":"code","value":"docker build -t volvel/volvel:docs .","lang":"bash","line":22},{"type":"paragraph","children":[{"type":"text","value":"The build compiles the services, builds the console's static files and the app that draws interfaces, then makes a self-contained copy of the control plane with production dependencies only. It took about 5 minutes in the run for this page.","line":26}],"line":26}],"line":20},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Check that the image is there: ","line":27},{"type":"inlineCode","value":"docker images volvel/volvel","line":27},{"type":"text","value":". It is about 900 MB on disk.","line":27}],"line":27}],"line":27},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Tell Compose to use it. In ","line":28},{"type":"inlineCode","value":"deploy/compose/.env","line":28},{"type":"text","value":" set:","line":28}],"line":28},{"type":"code","value":"VOLVEL_IMAGE=volvel/volvel:docs","lang":"bash","line":30}],"line":28}],"line":19}],"line":18,"endLine":33},{"type":"heading","depth":2,"id":"the-result","children":[{"type":"text","value":"The result","line":35}],"line":35},{"type":"paragraph","children":[{"type":"text","value":"The image holds the control plane, the worker host and the standalone worker. See ","line":37},{"type":"link","href":"../../explanation/running/architecture","children":[{"type":"text","value":"How an instance is put together","line":37}],"line":37},{"type":"text","value":". Without ","line":37},{"type":"inlineCode","value":"VOLVEL_IMAGE","line":37},{"type":"text","value":", ","line":37},{"type":"inlineCode","value":"docker compose up","line":37},{"type":"text","value":" builds the image itself and names it ","line":37},{"type":"inlineCode","value":"volvel/volvel:local","line":37},{"type":"text","value":", from the repository above the Compose folder.","line":37}],"line":37},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":39}],"line":39},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The build stops at ","line":41},{"type":"inlineCode","value":"pnpm install","line":41},{"type":"text","value":".","line":41}],"line":41},{"type":"text","value":" The machine cannot reach the package registry. Build on one that can, and carry the image across: ","line":41},{"type":"link","href":"install-offline","children":[{"type":"text","value":"Install where there is no internet","line":41}],"line":41},{"type":"text","value":".","line":41}],"line":41},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The build is short of memory.","line":42}],"line":42},{"type":"text","value":" Free memory, or build on a larger machine, and move the image.","line":42}],"line":42}],"line":41},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":44},{"type":"link","href":"install-with-compose","children":[{"type":"text","value":"Install with Compose","line":44}],"line":44},{"type":"text","value":".","line":44}],"line":44}]},"description":"Build the Volvel image from a copy of the repository, name it, and use it for Compose, a standalone worker or a transfer to another machine."}
@@ -1 +1 @@
1
- {"path":"self-host/how-to/running/install-on-fly","title":"Install an instance on Fly.io, as an example","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"install-an-instance-on-flyio-as-an-example","children":[{"type":"text","value":"Install an instance on Fly.io, as an example","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"By the end the control plane runs on Fly.io. Fly is an example, not a supported topology: Compose is the supported one. The files are ","line":9},{"type":"inlineCode","value":"deploy/fly/fly.toml","line":9},{"type":"text","value":" and ","line":9},{"type":"inlineCode","value":"deploy/fly/README.md","line":9},{"type":"text","value":".","line":9}],"line":9},{"type":"component","name":"alert","form":"container","props":{"type":"info"},"children":[{"type":"paragraph","children":[{"type":"text","value":"The control plane was run on Fly in November 2026 with ","line":12},{"type":"inlineCode","value":"MANAGED_WORKERS=process","line":12},{"type":"text","value":", a Fly Postgres app and a Tigris bucket, loaded and broken on purpose for a day. The ","line":12},{"type":"inlineCode","value":"workers","line":12},{"type":"text","value":" group of step 4 has not been run, and whether Fly runs it as root, which it must be, is not proved.","line":12}],"line":12}],"label":"What was run","line":11,"endLine":13},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":15}],"line":15},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"The ","line":17},{"type":"inlineCode","value":"fly","line":17},{"type":"text","value":" command, signed in with ","line":17},{"type":"inlineCode","value":"fly auth login","line":17},{"type":"text","value":".","line":17}],"line":17},{"type":"listItem","children":[{"type":"text","value":"A Fly Managed Postgres cluster in the same region (Postgres 16 or later), and a bucket from ","line":18},{"type":"inlineCode","value":"fly storage create","line":18},{"type":"text","value":".","line":18}],"line":18}],"line":17},{"type":"heading","depth":2,"id":"deploy","children":[{"type":"text","value":"Deploy","line":20}],"line":20},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Set ","line":23},{"type":"inlineCode","value":"app","line":23},{"type":"text","value":" and ","line":23},{"type":"inlineCode","value":"primary_region","line":23},{"type":"text","value":" in ","line":23},{"type":"inlineCode","value":"deploy/fly/fly.toml","line":23},{"type":"text","value":", then ","line":23},{"type":"inlineCode","value":"fly apps create <app>","line":23},{"type":"text","value":".","line":23}],"line":23}],"line":23},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Set the secrets under the names the instance reads:","line":24}],"line":24},{"type":"code","value":"fly secrets set --app <app> \\\n DATABASE_URL='postgres://...' \\\n S3_ENDPOINT='https://...' S3_REGION='auto' S3_BUCKET='...' \\\n S3_ACCESS_KEY_ID='...' S3_SECRET_ACCESS_KEY='...' \\\n PUBLIC_URL='https://<app>.fly.dev' \\\n AUTH_SECRET=\"$(openssl rand -hex 32)\" \\\n MASTER_KEY=\"$(openssl rand -base64 32)\" \\\n BOOTSTRAP_ADMIN_EMAIL='you@example.com' BOOTSTRAP_ADMIN_PASSWORD='...'","lang":"bash","line":26},{"type":"paragraph","children":[{"type":"text","value":"Keep a copy of ","line":37},{"type":"inlineCode","value":"MASTER_KEY","line":37},{"type":"text","value":". Remove the two bootstrap secrets after the first sign-in.","line":37}],"line":37}],"line":24},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Deploy from the repository root: ","line":38},{"type":"inlineCode","value":"fly deploy . --config deploy/fly/fly.toml --dockerfile Dockerfile","line":38},{"type":"text","value":".","line":38}],"line":38}],"line":38},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"For managed workers, set the shared secret and add a ","line":39},{"type":"inlineCode","value":"workers","line":39},{"type":"text","value":" group:","line":39}],"line":39},{"type":"code","value":"fly secrets set --app <app> WORKER_HOST_TOKEN=\"$(openssl rand -hex 32)\" MANAGED_WORKERS=host \\\n APPS_URL='https://apps.<your domain>'","lang":"bash","line":41},{"type":"code","value":"[processes]\n app = \"volvel-start dist/main.js\"\n workers = \"volvel-worker-host --url http://<app>.internal:8080\"","lang":"toml","line":46},{"type":"paragraph","children":[{"type":"text","value":"Or set ","line":52},{"type":"inlineCode","value":"MANAGED_WORKERS=false","line":52},{"type":"text","value":" if every tenant is served by standalone workers.","line":52}],"line":52}],"line":39},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Verify: ","line":53},{"type":"inlineCode","value":"curl https://<app>.fly.dev/api/v1/readyz","line":53},{"type":"text","value":" and ","line":53},{"type":"inlineCode","value":"/api/v1/instance","line":53},{"type":"text","value":".","line":53}],"line":53}],"line":53}],"line":23}],"line":22,"endLine":54},{"type":"heading","depth":2,"id":"what-the-file-sets","children":[{"type":"text","value":"What the file sets","line":56}],"line":56},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"inlineCode","value":"HOST = \"::\"","line":58},{"type":"text","value":", because ","line":58},{"type":"inlineCode","value":"<app>.internal","line":58},{"type":"text","value":" is an IPv6 address and the control plane would otherwise listen on IPv4 only.","line":58}],"line":58},{"type":"listItem","children":[{"type":"text","value":"The service names the ","line":59},{"type":"inlineCode","value":"app","line":59},{"type":"text","value":" group (","line":59},{"type":"inlineCode","value":"processes = [\"app\"]","line":59},{"type":"text","value":"), so the ","line":59},{"type":"inlineCode","value":"workers","line":59},{"type":"text","value":" group has none.","line":59}],"line":59},{"type":"listItem","children":[{"type":"inlineCode","value":"kill_timeout = 60","line":60},{"type":"text","value":": give the ","line":60},{"type":"inlineCode","value":"workers","line":60},{"type":"text","value":" machines the same. Without it Fly gives a stopping machine five seconds, and every deploy fails the scripts in progress. With it, a deploy lets them finish for thirty seconds.","line":60}],"line":60},{"type":"listItem","children":[{"type":"text","value":"The health check is ","line":61},{"type":"inlineCode","value":"/api/v1/healthz","line":61},{"type":"text","value":". Fly does not restart a machine whose check fails, it decides where traffic goes, and with one machine a failing check is the whole instance unreachable. ","line":61},{"type":"inlineCode","value":"/api/v1/readyz","line":61},{"type":"text","value":" answers 503 while the object store cannot be reached, though the console, the API and scripts still work, so it is not the check: watch it from a monitor of your own. Migrations run when the new machine starts, before it listens.","line":61}],"line":61},{"type":"listItem","children":[{"type":"inlineCode","value":"swap_size_mb = 512","line":62},{"type":"text","value":", and a machine of ","line":62},{"type":"inlineCode","value":"shared-cpu-1x","line":62},{"type":"text","value":" with 1024 MB, which gives three run slots in ","line":62},{"type":"inlineCode","value":"process","line":62},{"type":"text","value":" mode. Size the ","line":62},{"type":"inlineCode","value":"workers","line":62},{"type":"text","value":" machines for the scripts they will run.","line":62}],"line":62},{"type":"listItem","children":[{"type":"text","value":"The worker host runs as root, to start each worker as a user of its own. If its log says \"not running as root\" or \"a worker could not be started\", no worker will start.","line":63}],"line":63},{"type":"listItem","children":[{"type":"inlineCode","value":"APPS_URL","line":64},{"type":"text","value":" gives apps written as code an address of their own: ","line":64},{"type":"inlineCode","value":"fly certs add apps.<your domain>","line":64},{"type":"text","value":".","line":64}],"line":64}],"line":58},{"type":"paragraph","children":[{"type":"text","value":"A shared CPU has burst credit for a while, then a fraction of a core. On ","line":66},{"type":"inlineCode","value":"shared-cpu-1x","line":66},{"type":"text","value":" a Postgres spends its allowance when idle and every tenant's queries slow down together; on ","line":66},{"type":"inlineCode","value":"shared-cpu-2x","line":66},{"type":"text","value":" the control plane served 160 requests a second on its burst and 22 to 27 after. Give both a ","line":66},{"type":"inlineCode","value":"performance","line":66},{"type":"text","value":" CPU for anything past a trial: ","line":66},{"type":"inlineCode","value":"performance-1x","line":66},{"type":"text","value":" with 2 GB each is what the figures in ","line":66},{"type":"link","href":"../../explanation/running/sizing-and-scaling","children":[{"type":"text","value":"Sizing and scaling","line":66}],"line":66},{"type":"text","value":" were measured on.","line":66}],"line":66},{"type":"heading","depth":2,"id":"what-an-outage-looked-like","children":[{"type":"text","value":"What an outage looked like","line":68}],"line":68},{"type":"paragraph","children":[{"type":"text","value":"Each was done on purpose, under load:","line":70}],"line":70},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The app's machine killed.","line":72}],"line":72},{"type":"text","value":" Fly started it again: answering after 22 seconds, scripts running after 53. The queue was whole. Scripts in progress failed as not heard from, and one with no retries is not run again.","line":72}],"line":72},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The database's machine killed.","line":73}],"line":73},{"type":"text","value":" The control plane stayed up, answered 503 for about five seconds, and went on. No script failed.","line":73}],"line":73},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The database's disk full.","line":74}],"line":74},{"type":"text","value":" Fly's Postgres turns the database read-only. Reads and the console went on, changes were answered 503 ","line":74},{"type":"inlineCode","value":"read_only","line":74},{"type":"text","value":", and writes came back 11 to 17 seconds after the disk was freed, with no restart. See ","line":74},{"type":"link","href":"run-on-a-read-only-database","children":[{"type":"text","value":"Run on a read-only database","line":74}],"line":74},{"type":"text","value":".","line":74}],"line":74},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The bucket unreachable.","line":75}],"line":75},{"type":"text","value":" ","line":75},{"type":"inlineCode","value":"/api/v1/readyz","line":75},{"type":"text","value":" said so within three seconds. Everything that needs no file went on.","line":75}],"line":75}],"line":72},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":77}],"line":77},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"No worker starts.","line":79}],"line":79},{"type":"text","value":" Read the ","line":79},{"type":"inlineCode","value":"workers","line":79},{"type":"text","value":" group's log. See above.","line":79}],"line":79},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The workers cannot reach the control plane.","line":80}],"line":80},{"type":"text","value":" The control plane must listen on IPv6: ","line":80},{"type":"inlineCode","value":"HOST = \"::\"","line":80},{"type":"text","value":".","line":80}],"line":80}],"line":79},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":82},{"type":"link","href":"../../explanation/running/sizing-and-scaling","children":[{"type":"text","value":"Sizing and scaling","line":82}],"line":82},{"type":"text","value":", ","line":82},{"type":"link","href":"put-a-proxy-in-front","children":[{"type":"text","value":"Put a proxy in front","line":82}],"line":82},{"type":"text","value":".","line":82}],"line":82}]},"description":"Deploy the image to Fly.io with a managed Postgres and a bucket, and add the workers group. An example topology; Compose is the supported one."}
1
+ {"path":"self-host/how-to/running/install-on-fly","title":"Install an instance on Fly.io, as an example","tree":{"type":"root","v":1,"children":[{"type":"heading","depth":2,"id":"install-an-instance-on-flyio-as-an-example","children":[{"type":"text","value":"Install an instance on Fly.io, as an example","line":7}],"line":7},{"type":"paragraph","children":[{"type":"text","value":"By the end the control plane runs on Fly.io. Fly is an example, not a supported topology: Compose is the supported one. The files are ","line":9},{"type":"inlineCode","value":"deploy/fly/fly.toml","line":9},{"type":"text","value":" and ","line":9},{"type":"inlineCode","value":"deploy/fly/README.md","line":9},{"type":"text","value":".","line":9}],"line":9},{"type":"component","name":"alert","form":"container","props":{"type":"info"},"children":[{"type":"paragraph","children":[{"type":"text","value":"The control plane was run on Fly in November 2026 with ","line":12},{"type":"inlineCode","value":"MANAGED_WORKERS=process","line":12},{"type":"text","value":", a Fly Postgres app and a Tigris bucket, loaded and broken on purpose for a day. The ","line":12},{"type":"inlineCode","value":"workers","line":12},{"type":"text","value":" group of step 6 was run and tried on Fly on 28 November 2026: two tenants' scripts on one worker host, under load, with the checks in ","line":12},{"type":"link","href":"../../explanation/running/managed-workers-and-isolation","children":[{"type":"text","value":"Workers, users and what a script can reach","line":12}],"line":12},{"type":"text","value":".","line":12}],"line":12}],"label":"What was run","line":11,"endLine":13},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":15}],"line":15},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"The ","line":17},{"type":"inlineCode","value":"fly","line":17},{"type":"text","value":" command, signed in with ","line":17},{"type":"inlineCode","value":"fly auth login","line":17},{"type":"text","value":".","line":17}],"line":17},{"type":"listItem","children":[{"type":"text","value":"A Fly Postgres app in the same region, from ","line":18},{"type":"inlineCode","value":"fly postgres create","line":18},{"type":"text","value":" (Postgres 16 or later), and a bucket from ","line":18},{"type":"inlineCode","value":"fly storage create","line":18},{"type":"text","value":".","line":18}],"line":18}],"line":17},{"type":"component","name":"alert","form":"container","props":{"type":"warning"},"children":[{"type":"paragraph","children":[{"type":"text","value":"The instance cannot run on Fly Managed Postgres. The most a Managed Postgres user may be is ","line":21},{"type":"inlineCode","value":"schema_admin","line":21},{"type":"text","value":", which cannot create roles, and the instance makes a role for tenants' data: it stops at its first start with \"permission denied to create role\". The address ","line":21},{"type":"inlineCode","value":"fly mpg attach","line":21},{"type":"text","value":" gives also goes through PgBouncer, a transaction pooler, which the instance cannot use (","line":21},{"type":"link","href":"../../reference/running/requirements","children":[{"type":"text","value":"Requirements","line":21}],"line":21},{"type":"text","value":"). Tried on 28 November 2026.","line":21}],"line":21}],"label":"Not Fly Managed Postgres","line":20,"endLine":22},{"type":"heading","depth":2,"id":"deploy","children":[{"type":"text","value":"Deploy","line":24}],"line":24},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Set ","line":27},{"type":"inlineCode","value":"app","line":27},{"type":"text","value":" and ","line":27},{"type":"inlineCode","value":"primary_region","line":27},{"type":"text","value":" in ","line":27},{"type":"inlineCode","value":"deploy/fly/fly.toml","line":27},{"type":"text","value":", then ","line":27},{"type":"inlineCode","value":"fly apps create <app>","line":27},{"type":"text","value":".","line":27}],"line":27}],"line":27},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Make the instance's database and its user on the Postgres app. The user owns the database and may create roles; it need not be a superuser (","line":28},{"type":"link","href":"use-your-own-postgres","children":[{"type":"text","value":"Use your own Postgres","line":28}],"line":28},{"type":"text","value":"):","line":28}],"line":28},{"type":"code","value":"fly ssh console -a <db app> -C \"bash -c 'PGPASSWORD=\\$OPERATOR_PASSWORD psql -h localhost -p 5433 -U postgres \\\n -c \\\"create role volvel login createrole password '\\\\''<a long random password>'\\\\''\\\" \\\n -c \\\"create database volvel owner volvel\\\"'\"","lang":"bash","line":30},{"type":"paragraph","children":[{"type":"text","value":"The instance's ","line":36},{"type":"inlineCode","value":"DATABASE_URL","line":36},{"type":"text","value":" is then ","line":36},{"type":"inlineCode","value":"postgres://volvel:<password>@<db app>.internal:5433/volvel","line":36},{"type":"text","value":".","line":36}],"line":36}],"line":28},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Make the bucket with ","line":37},{"type":"inlineCode","value":"fly storage create -n <bucket> -a <app>","line":37},{"type":"text","value":". It sets its own secrets on the app, under the names ","line":37},{"type":"inlineCode","value":"AWS_ACCESS_KEY_ID","line":37},{"type":"text","value":", ","line":37},{"type":"inlineCode","value":"AWS_SECRET_ACCESS_KEY","line":37},{"type":"text","value":", ","line":37},{"type":"inlineCode","value":"AWS_ENDPOINT_URL_S3","line":37},{"type":"text","value":" and ","line":37},{"type":"inlineCode","value":"BUCKET_NAME","line":37},{"type":"text","value":", which the instance does not read: give their values again under the names below, and remove those with ","line":37},{"type":"inlineCode","value":"fly secrets unset","line":37},{"type":"text","value":".","line":37}],"line":37}],"line":37},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Set the secrets under the names the instance reads:","line":38}],"line":38},{"type":"code","value":"fly secrets set --app <app> \\\n DATABASE_URL='postgres://...' \\\n S3_ENDPOINT='https://...' S3_REGION='auto' S3_BUCKET='...' \\\n S3_ACCESS_KEY_ID='...' S3_SECRET_ACCESS_KEY='...' \\\n PUBLIC_URL='https://<app>.fly.dev' \\\n AUTH_SECRET=\"$(openssl rand -hex 32)\" \\\n MASTER_KEY=\"$(openssl rand -base64 32)\" \\\n BOOTSTRAP_ADMIN_EMAIL='you@example.com' BOOTSTRAP_ADMIN_PASSWORD='...'","lang":"bash","line":40},{"type":"paragraph","children":[{"type":"text","value":"Keep a copy of ","line":51},{"type":"inlineCode","value":"MASTER_KEY","line":51},{"type":"text","value":". Remove the two bootstrap secrets after the first sign-in.","line":51}],"line":51}],"line":38},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Deploy from the repository root: ","line":52},{"type":"inlineCode","value":"fly deploy . --config deploy/fly/fly.toml --dockerfile Dockerfile","line":52},{"type":"text","value":".","line":52}],"line":52}],"line":52},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"For managed workers, set the shared secret and add a ","line":53},{"type":"inlineCode","value":"workers","line":53},{"type":"text","value":" group:","line":53}],"line":53},{"type":"code","value":"fly secrets set --app <app> WORKER_HOST_TOKEN=\"$(openssl rand -hex 32)\" MANAGED_WORKERS=host \\\n APPS_URL='https://apps.<your domain>'","lang":"bash","line":55},{"type":"code","value":"[processes]\n app = \"volvel-start dist/main.js\"\n workers = \"volvel-worker-host --url http://app.process.<app>.internal:8080\"","lang":"toml","line":60},{"type":"paragraph","children":[{"type":"inlineCode","value":"app.process.<app>.internal","line":66},{"type":"text","value":" is the name of the control plane's process group. Do not use ","line":66},{"type":"inlineCode","value":"<app>.internal","line":66},{"type":"text","value":": it names every machine of the app, the workers' own included.","line":66}],"line":66},{"type":"paragraph","children":[{"type":"text","value":"Or set ","line":68},{"type":"inlineCode","value":"MANAGED_WORKERS=false","line":68},{"type":"text","value":" if every tenant is served by standalone workers.","line":68}],"line":68}],"line":53},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"text","value":"Verify: ","line":69},{"type":"inlineCode","value":"curl https://<app>.fly.dev/api/v1/readyz","line":69},{"type":"text","value":" and ","line":69},{"type":"inlineCode","value":"/api/v1/instance","line":69},{"type":"text","value":".","line":69}],"line":69}],"line":69}],"line":27}],"line":26,"endLine":70},{"type":"heading","depth":2,"id":"what-the-file-sets","children":[{"type":"text","value":"What the file sets","line":72}],"line":72},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"inlineCode","value":"HOST = \"::\"","line":74},{"type":"text","value":", because ","line":74},{"type":"inlineCode","value":"<app>.internal","line":74},{"type":"text","value":" is an IPv6 address and the control plane would otherwise listen on IPv4 only.","line":74}],"line":74},{"type":"listItem","children":[{"type":"text","value":"The service names the ","line":75},{"type":"inlineCode","value":"app","line":75},{"type":"text","value":" group (","line":75},{"type":"inlineCode","value":"processes = [\"app\"]","line":75},{"type":"text","value":"), so the ","line":75},{"type":"inlineCode","value":"workers","line":75},{"type":"text","value":" group has none.","line":75}],"line":75},{"type":"listItem","children":[{"type":"inlineCode","value":"kill_timeout = 60","line":76},{"type":"text","value":": give the ","line":76},{"type":"inlineCode","value":"workers","line":76},{"type":"text","value":" machines the same. Without it Fly gives a stopping machine five seconds, and every deploy fails the scripts in progress. With it, a deploy lets them finish for thirty seconds.","line":76}],"line":76},{"type":"listItem","children":[{"type":"text","value":"The health check is ","line":77},{"type":"inlineCode","value":"/api/v1/healthz","line":77},{"type":"text","value":". Fly does not restart a machine whose check fails, it decides where traffic goes, and with one machine a failing check is the whole instance unreachable. ","line":77},{"type":"inlineCode","value":"/api/v1/readyz","line":77},{"type":"text","value":" answers 503 while the object store cannot be reached, though the console, the API and scripts still work, so it is not the check: watch it from a monitor of your own. Migrations run when the new machine starts, before it listens.","line":77}],"line":77},{"type":"listItem","children":[{"type":"inlineCode","value":"swap_size_mb = 512","line":78},{"type":"text","value":", and a machine of ","line":78},{"type":"inlineCode","value":"shared-cpu-1x","line":78},{"type":"text","value":" with 1024 MB, which gives three run slots in ","line":78},{"type":"inlineCode","value":"process","line":78},{"type":"text","value":" mode. Size the ","line":78},{"type":"inlineCode","value":"workers","line":78},{"type":"text","value":" machines for the scripts they will run.","line":78}],"line":78},{"type":"listItem","children":[{"type":"text","value":"The image starts as root, because Fly runs every process of an app as the image's user and ","line":79},{"type":"inlineCode","value":"fly.toml","line":79},{"type":"text","value":" cannot set a user per process group. The control plane becomes ","line":79},{"type":"inlineCode","value":"node","line":79},{"type":"text","value":" before it starts. The worker host stays root, to start each worker as a user of its own. If its log says \"not running as root\" or \"a worker could not be started\", no worker will start.","line":79}],"line":79},{"type":"listItem","children":[{"type":"inlineCode","value":"APPS_URL","line":80},{"type":"text","value":" is optional. It gives apps written as code an address of their own: ","line":80},{"type":"inlineCode","value":"fly certs add apps.<your domain>","line":80},{"type":"text","value":". Without it they are served at the console's address, each page sandboxed.","line":80}],"line":80}],"line":74},{"type":"paragraph","children":[{"type":"text","value":"A shared CPU has burst credit for a while, then a fraction of a core. On ","line":82},{"type":"inlineCode","value":"shared-cpu-1x","line":82},{"type":"text","value":" a Postgres spends its allowance when idle and every tenant's queries slow down together; on ","line":82},{"type":"inlineCode","value":"shared-cpu-2x","line":82},{"type":"text","value":" the control plane served 160 requests a second on its burst and 22 to 27 after. Give both a ","line":82},{"type":"inlineCode","value":"performance","line":82},{"type":"text","value":" CPU for anything past a trial: ","line":82},{"type":"inlineCode","value":"performance-1x","line":82},{"type":"text","value":" with 2 GB each is what the figures in ","line":82},{"type":"link","href":"../../explanation/running/sizing-and-scaling","children":[{"type":"text","value":"Sizing and scaling","line":82}],"line":82},{"type":"text","value":" were measured on.","line":82}],"line":82},{"type":"heading","depth":2,"id":"what-an-outage-looked-like","children":[{"type":"text","value":"What an outage looked like","line":84}],"line":84},{"type":"paragraph","children":[{"type":"text","value":"Each was done on purpose, under load:","line":86}],"line":86},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The app's machine killed.","line":88}],"line":88},{"type":"text","value":" Fly started it again: answering after 22 seconds, scripts running after 53. The queue was whole. Scripts in progress failed as not heard from, and one with no retries is not run again.","line":88}],"line":88},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"One of two app machines killed","line":89}],"line":89},{"type":"text","value":" (28 November 2026, ","line":89},{"type":"inlineCode","value":"fly deploy --ha=true","line":89},{"type":"text","value":"). The other went on answering: 8 of about 140,000 requests failed, and the 3 scripts running on the killed machine failed 49 seconds later. Restarting each machine in turn lost no run. See ","line":89},{"type":"link","href":"../../explanation/running/sizing-and-scaling","children":[{"type":"text","value":"Sizing and scaling","line":89}],"line":89},{"type":"text","value":".","line":89}],"line":89},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The database's machine killed.","line":90}],"line":90},{"type":"text","value":" The control plane stayed up, answered 503 for about five seconds, and went on. No script failed.","line":90}],"line":90},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The database's disk full.","line":91}],"line":91},{"type":"text","value":" Fly's Postgres turns the database read-only. Reads and the console went on, changes were answered 503 ","line":91},{"type":"inlineCode","value":"read_only","line":91},{"type":"text","value":", and writes came back 11 to 17 seconds after the disk was freed, with no restart. See ","line":91},{"type":"link","href":"run-on-a-read-only-database","children":[{"type":"text","value":"Run on a read-only database","line":91}],"line":91},{"type":"text","value":".","line":91}],"line":91},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The bucket unreachable.","line":92}],"line":92},{"type":"text","value":" ","line":92},{"type":"inlineCode","value":"/api/v1/readyz","line":92},{"type":"text","value":" said so within three seconds. Everything that needs no file went on.","line":92}],"line":92}],"line":88},{"type":"heading","depth":2,"id":"if-it-does-not-work","children":[{"type":"text","value":"If it does not work","line":94}],"line":94},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"No worker starts.","line":96}],"line":96},{"type":"text","value":" Read the ","line":96},{"type":"inlineCode","value":"workers","line":96},{"type":"text","value":" group's log. See above.","line":96}],"line":96},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The workers cannot reach the control plane.","line":97}],"line":97},{"type":"text","value":" The control plane must listen on IPv6: ","line":97},{"type":"inlineCode","value":"HOST = \"::\"","line":97},{"type":"text","value":".","line":97}],"line":97}],"line":96},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":99},{"type":"link","href":"../../explanation/running/sizing-and-scaling","children":[{"type":"text","value":"Sizing and scaling","line":99}],"line":99},{"type":"text","value":", ","line":99},{"type":"link","href":"put-a-proxy-in-front","children":[{"type":"text","value":"Put a proxy in front","line":99}],"line":99},{"type":"text","value":".","line":99}],"line":99}]},"description":"Deploy the image to Fly.io with a Fly Postgres app and a bucket, and add the workers group. An example topology; Compose is the supported one."}