Have deployed kobocat/kpi 2.024.19e with some niggling issues which were eventually resolved, so now move up to the latest(?) kpi 2.026.03c and…ok, quite a few changes.
Method of installation is to create the VPS Server, create the sub domains, assign IP addresses etc then..
Each and every time kpi startup crashes out after “Creating superuser…” Specifically the error messag is this:
DETAIL: Key (user_id)=(1) already exists.
and then the whole startup process recommences to culminate in the same error.
I saw a reference somewhere that if the installation is over an existing deployment that removing the .vols folder, ie removing the database, would help, but it doesnt make a difference, and these are totally fresh installs anyway
Also tried kpi 2.026.03a and got the same error. Is it just me seeing this error given that ANY git clone of the latest throws this exception? Hoping theres an easy fix if its just a database constraint issue
Before restarting the installation, remove all Docker volumes associated with Kobo using docker compose down && docker volume prune -f. Also remove the local directories using rm -rf .vols && rm -rf .cache && rm -rf .env and restart the installation.