You could update your kobo-docker setup manually and then split the Postgres database using the same script that kobo-install executes: kobo-docker/postgres/primary/clone_data_from_kc_to_kpi.sh at master · kobotoolbox/kobo-docker · GitHub. You’d need to first pull the latest updates to kobo-docker from GitHub, then update the configuration (crucially, specifying a new database name for KPI), then run that script.
Alternatively, you could:
- clone the
shared-database-obsoletebranch of kobo-install;- to avoid conflicts with your existing installation, do not put clone kobo-install alongside your existing
kobo-dockerdirectory;
- to avoid conflicts with your existing installation, do not put clone kobo-install alongside your existing
- set up kobo-install “from scratch” (setting everything to match your current install);
- let it start up empty of data, and make sure it works;
- STOP ALL CONTAINERS (both new and old);
- kobo-install will have created a new
kobo-dockerdirectory. inside it, rename.volsto something else; - copy your old
kobo-docker/.volsto the newkobo-dockerdirectory; - start kobo-install again; make sure it works;
- follow the instructions in the first post of this thread, beginning with
Enter the kobo-install directory:
Whatever you do, make sure you take backups first. We’d like to help but are very busy with running our own instances and maintaining the software, so we cannot guarantee timely responses if you have trouble.
