Upgrade to 017.5 failed, content folder/database disappeared

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:

  1. Stop the Kolibri instance running as the pi user: kolibri stop
  2. Ensure the system installation is stopped: sudo systemctl stop kolibri
  3. Change to the user the system installation uses: sudo su $(cat /etc/kolibri/username)
  4. Manually run the migrations: kolibri manage migrate
  5. Log out of the system user: exit
  6. Start the system installation: sudo systemctl start kolibri

Regards,
Blaine