Hi @cjackson,
By running kolibri start
instead of systemctl start kolibri
, it will run Kolibri as the currently logged in user, which may not be the system user the Kolibri service installation uses. Since Kolibri stores its databases and configuration in a directory that is dependent on the system user’s home directory location, this would cause the effect you described-- a completely new installation of Kolibri running.
My recommendation is to first check that /etc/kolibri/username
exists, which I believe it should. If it does, please follow these instructions:
- Stop the Kolibri instance running as the
pi
user:kolibri stop
- Ensure the system installation is stopped:
sudo systemctl stop kolibri
- Change to the user the system installation uses:
sudo su $(cat /etc/kolibri/username)
- Manually run the migrations:
kolibri manage migrate
- Log out of the system user:
exit
- Start the system installation:
sudo systemctl start kolibri
Regards,
Blaine