# Shifting Kolibri + Content onto another Computer

**URL:** <https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609>\
**Category:** Kolibri\
**Created:** [April 26, 2018, 8:23pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609 "2018-04-26T20:23:20Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![eliteschools](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@eliteschools](https://community.learningequality.org/u/eliteschools)\
**Post date:** [April 26, 2018, 8:23pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/1 "2018-04-26T20:23:20Z")

</div>

Hello,  
I have been working on my laptop, creating classes, weekly lessons and weekly tests. I would like to set up the school server to have the identical setup as on my laptop without having to duplicate the efforts already spent creating the weekly lessons and tests. Is there a way I can migrate things as they are on my laptop onto the school server?

Thanks!

---

<div class="post-metadata">

**Author:** ![jonathan](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jonathan/32/314_2.png) [@jonathan](https://community.learningequality.org/u/jonathan)\
**Post date:** [April 30, 2018, 6:45pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/2 "2018-04-30T18:45:53Z")

</div>

Hi @eliteschools. I think the simplest way to copy your laptop setup to your school server would be to copy the entire contents of `~/.kolibri` on your laptop (if you’re using a Linux computer) to the school server.

If this data synchronization needs to be done on an ongoing basis, Kolibri does offer a command `kolibri manage fullfacilitysync` to handle this, but I do not believe it is currently documented, but we can help you get started with that.

---

<div class="post-metadata">

**Author:** ![eliteschools](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@eliteschools](https://community.learningequality.org/u/eliteschools)\
**Post date:** [May 1, 2018, 12:13pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/3 "2018-05-01T12:13:32Z")

</div>

> [@jonathan](#):
>
> fullfacilitysync

Thanks for the response, I would like to know how to use `kolibri manage fullfacilitysync` please. So this would enable me to migrate my whole setup on one Linux machine onto another, with all my custom classes, tutorials and tests?

---

<div class="post-metadata">

**Author:** ![jonathan](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jonathan/32/314_2.png) [@jonathan](https://community.learningequality.org/u/jonathan)\
**Post date:** [May 1, 2018, 5:24pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/4 "2018-05-01T17:24:10Z")

</div>

Yes, `fullfacilitysync` should be able to transfer your Lessons, Exams, Classrooms, and Reports between devices. I’m going to ask around if we can get some documentation written to help you with this.

---

<div class="post-metadata">

**Author:** ![jonathan](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jonathan/32/314_2.png) [@jonathan](https://community.learningequality.org/u/jonathan)\
**Post date:** [May 1, 2018, 5:38pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/5 "2018-05-01T17:38:14Z")

</div>

@eliteschools But `fullfacilitysync` will not copy over your Channels between devices. If you need the same Channels (videos, books, etc.), I would recommend copying `~/.kolibri` or your system’s `KOLIBRI_HOME` directory between computers.

---

<div class="post-metadata">

**Author:** ![eliteschools](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@eliteschools](https://community.learningequality.org/u/eliteschools)\
**Post date:** [May 3, 2018, 10:58am UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/6 "2018-05-03T10:58:46Z")

</div>

> [@jonathan](#):
>
> KOLIBRI\_HOME

where do I find my KOLIBRI\_HOME directory, and what would the directory structure look like (`echo $KOLIBRI_HOME` gives me naught, `which kolibri` gives me `/usr/bin/kolibri`)? Would still appreciate the documentation for `fullfacilitysync` as well though…

---

<div class="post-metadata">

**Author:** ![eliteschools](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@eliteschools](https://community.learningequality.org/u/eliteschools)\
**Post date:** [May 3, 2018, 11:13am UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/7 "2018-05-03T11:13:28Z")

</div>

just seen it now, missed the fact that its a hidden folder!

Cheers

---

<div class="post-metadata">

**Author:** ![jamalex](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jamalex/32/2_2.png) [@jamalex](https://community.learningequality.org/u/jamalex)\
**Post date:** [May 3, 2018, 11:04pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/8 "2018-05-03T23:04:57Z")

</div>

Heya! So, `fullfacilitysync` is not yet fully supported (which is why it hasn’t been added to the documentation for now). In general it works, but we just found a small bug that was introduced recently, and also want to do further testing before “releasing” it (as part of 0.10 sometime next month). In the meantime, copying the `db.sqlite3` file across (or the entire `.kolibri` folder) should accomplish what you need. Let us know how it goes!

---

<div class="post-metadata">

**Author:** ![eliteschools](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@eliteschools](https://community.learningequality.org/u/eliteschools)\
**Post date:** [May 6, 2018, 6:26pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/9 "2018-05-06T18:26:03Z")

</div>

Hello. I have just copied the `.kolibri` file from my Ubuntu 16.04 laptop (which already has learners, coaches, classes, and channels set up) onto a brand new kolibri install on another PC also running 16.04. Right clicking on the `.kolibri` folder after copying across shows that the new install has a `.kolibri` folder of 12GB, which tallies with what I have in my original `.kolibri` folder i.e 2 GB OpenStax, 8GB Khan Academy Mathematics and some miscellaneous). However opening Kolibri in the browser after restarting shows that there is no content in the brand new install, despite having the `.kolibri` replaced with one which _does_ have content. Please advise?

Cheers

---

<div class="post-metadata">

**Author:** ![jonathan](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/jonathan/32/314_2.png) [@jonathan](https://community.learningequality.org/u/jonathan)\
**Post date:** [May 8, 2018, 5:32pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/10 "2018-05-08T17:32:43Z")

</div>

Hi @eliteschools. Did you restart your Kolibri server on your non-laptop computer after copying `.kolibri`? The list of channels needs to be re-created when content is added or removed from outside of the Kolibri application (e.g. by copying it through the OS).

Aside from that, have your accounts, lessons, and so-on been successfully copied on to your non-laptop computer?

---

<div class="post-metadata">

**Author:** ![lingyi](https://avatars.discourse-cdn.com/v4/letter/l/d2c977/32.png) [@lingyi](https://community.learningequality.org/u/lingyi)\
**Post date:** [May 8, 2018, 5:37pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/11 "2018-05-08T17:37:31Z")

</div>

Hi @eliteschools,

Did you install your Kolibri from our PPA and run it as system service? If so, your KOLIBRI\_HOME will be `/var/kolibri/.kolibri` instead of `~/.kolibri`. This is because we created a new user `kolibri` for you and started your Kolibri by this user if you chose to run Kolibri as system service. To copy the files to `/var/kolibri/.kolibri`, the safest way to do would be:

```auto
sudo service kolibri stop # stop the kolibri service to copy the files to KOLIBRI_HOME in case you have kolibri still running
copy_the_files_to_`/var/kolibri/.kolibri`
sudo service kolibri start # start the kolibri service again

```

Please feel free to comment here if the steps above still don’t work for you.  
Thank you!

Sincerely,  
Lingyi

---

<div class="post-metadata">

**Author:** ![eliteschools](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@eliteschools](https://community.learningequality.org/u/eliteschools)\
**Post date:** [May 8, 2018, 8:48pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/12 "2018-05-08T20:48:40Z")

</div>

When you say “the list of channels has to be re-created” am not sure what do you mean, that I should download channels again? Then where is the 12 gb size of the migrated .kolibri folder coming from if not content? My original request in this thread was

> Blockquote  
> I have been working on my laptop, creating classes, weekly lessons and weekly tests. I would like to set up the school server to have the identical setup as on my laptop without having to duplicate the efforts already spent creating the weekly lessons and tests. Is there a way I can migrate things as they are on my laptop onto the school server?

Is this possible at all?

---

<div class="post-metadata">

**Author:** ![eliteschools](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@eliteschools](https://community.learningequality.org/u/eliteschools)\
**Post date:** [May 8, 2018, 8:57pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/13 "2018-05-08T20:57:20Z")

</div>

This is what I have in my laptop (where I have the content, classes, lessons and tests that I wish to migrate to a desktop PC), It seems I have both a `~/.kolibri` _and_ a `/var/kolibri/.kolibri`, is this o be expected?

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/learneq/original/1X/f00d79be2ceefac8aee70e1813e7f6598fe06ba3.png).

---

<div class="post-metadata">

**Author:** ![lingyi](https://avatars.discourse-cdn.com/v4/letter/l/d2c977/32.png) [@lingyi](https://community.learningequality.org/u/lingyi)\
**Post date:** [May 8, 2018, 9:44pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/14 "2018-05-08T21:44:11Z")

</div>

Hi @eliteschools,

This could be possible. At some point, you ran `kolibri start` with the user `baraka` so that it created the folder `~/.kolibri` as KOLIBRI\_HOME.  
But if you have chose to run kolibri as a system service, the preferred way to start kolibri is `sudo service kolibri start`. Or you can switch to user `kolibri` by `sudo su kolibri` and then run `kolibri start`. In this case, the folder `/var/kolibri/.kolibri` will be used as KOLIBRI\_HOME.

---

<div class="post-metadata">

**Author:** ![eliteschools](https://avatars.discourse-cdn.com/v4/letter/e/e47774/32.png) [@eliteschools](https://community.learningequality.org/u/eliteschools)\
**Post date:** [October 15, 2018, 1:18pm UTC](https://community.learningequality.org/t/shifting-kolibri-content-onto-another-computer/609/16 "2018-10-15T13:18:37Z")

</div>

Please elaborate further?
