# Content Import Issues with USB Flash drive

**URL:** <https://community.learningequality.org/t/content-import-issues-with-usb-flash-drive/1974>\
**Category:** Kolibri\
**Created:** [March 31, 2021, 2:08pm UTC](https://community.learningequality.org/t/content-import-issues-with-usb-flash-drive/1974 "2021-03-31T14:08:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bryan\_Fisher](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/bryan_fisher/32/160_2.png) [@Bryan\_Fisher](https://community.learningequality.org/u/Bryan_Fisher)\
**Post date:** [March 31, 2021, 2:08pm UTC](https://community.learningequality.org/t/content-import-issues-with-usb-flash-drive/1974/1 "2021-03-31T14:08:24Z")

</div>

Please have a look at the two kolibri.txt files.

kolibri.txt - This is the logs for importing content via internet. The problem is it is showing files are corrupted when i use the tail -f command.

kolibri\_usb.txt - This is the fiel where i’m trying to import the content from a usb flash drive. On some boxes it only updates the “version” of the channel, and does not show me the content selection. I have updated other boxes with it.

I have 65 Boxes to update ☹ only updated 14 for these past 3 days due to struggling with our own internet and usb issues)

Please see files attached. Thank you so much!  
[https://drive.google.com/drive/folders/1BaNyyglLZdnmRJ\_\_QDN9PaMy9QuFA8ni?usp=sharing](https://drive.google.com/drive/folders/1BaNyyglLZdnmRJ__QDN9PaMy9QuFA8ni?usp=sharing)

## Technical details

- Kolibri version - 0.14.6
- Operating system: Ubuntu Server 20.10 & Raspberry Pi OS Lite
- Browser - Chrome

---

<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 5, 2021, 7:43pm UTC](https://community.learningequality.org/t/content-import-issues-with-usb-flash-drive/1974/2 "2021-04-05T19:43:42Z")

</div>

Hi @Bryan_Fisher , could you point me to the lines in the logs were you think Kolibri is failing?

> [@Bryan\_Fisher](#):
>
> kolibri\_usb.txt - This is the fiel where i’m trying to import the content from a usb flash drive. On some boxes it only updates the “version” of the channel, and does not show me the content selection. I have updated other boxes with it.

I do see some errors related to the “version” upgrade like around here (line 182 of kolibri\_usb.txt)

```auto
ERROR 2021-03-31 15:48:37,236 django.request Internal Server Error: /kolibri/api/content/remotechannel/a418892e64b94e33b939483b92c40d53/
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/kolibri/dist/urllib3/connection.py", line 158, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/kolibri/dist/urllib3/util/connection.py", line 57, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution

```

Are you importing from a USB drive, but your kolibri device is still connected to the internet (which is why it tells you there is an upgrade available)? Do things run more smoothly if you’re _not_ connected to the internet while importing from the USB drive?

---

<div class="post-metadata">

**Author:** ![Bryan\_Fisher](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/bryan_fisher/32/160_2.png) [@Bryan\_Fisher](https://community.learningequality.org/u/Bryan_Fisher)\
**Post date:** [April 16, 2021, 1:20pm UTC](https://community.learningequality.org/t/content-import-issues-with-usb-flash-drive/1974/3 "2021-04-16T13:20:35Z")

</div>

I have stored a copy of the update channel on a USB key. I have tried multiple time to update with the USB drive without plugging in the LAN Cable with Internet access.

"but your kolibri device is still connected to the internet " No its not connected to the inter at the time, the content on the USB Drive is the Updated content.

---

<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 16, 2021, 10:04pm UTC](https://community.learningequality.org/t/content-import-issues-with-usb-flash-drive/1974/4 "2021-04-16T22:04:49Z")

</div>

Are you able to provide some screenshots of what you are seeing? Also, what channel are importing? Is it Growsmart ID `a418892e64b94e33b939483b92c40d53` that I see in the logs?

I’ll try to reproduce this by

1. Downloading Growsmart to my copy of Kolibri
2. Exporting it to a USB drive
3. Deleting Growsmart
4. disconnecting from the internet
5. Attempting to re-import Growsmart

do those steps somewhat match what you have been doing?

---

<div class="post-metadata">

**Author:** ![Bryan\_Fisher](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.learningequality.org/bryan_fisher/32/160_2.png) [@Bryan\_Fisher](https://community.learningequality.org/u/Bryan_Fisher)\
**Post date:** [April 20, 2021, 7:23am UTC](https://community.learningequality.org/t/content-import-issues-with-usb-flash-drive/1974/5 "2021-04-20T07:23:17Z")

</div>

@jonathan Thank you kinldy for your reply.  
Yes,

I do:  
Export from kolibri to USB drive.  
Then Import it onto another instance of Kolibri on raspberry pi.

Outcomes:  
The first one will usually work without any issues.  
Second one will then update only the “Version” of the channel. But not the content itself, It will also display the content as if it is fully updated, but that only means that Version number of the channel is updated.

I will try and do a video for you to see. The behaviour is inconsistent most times.
