Homepage    |    GitHub    |    API    |    FAQ

Import Jex file fails

I exported 10-11 GB of files, etc. from AppImage 1.8.5 running on Ubuntu 18.04

I tried to import it on a laptop with the same AppImage version 1.8.5 (see below).

  • Joplin 1.8.5 (prod, linux)
  • Client ID: 0913127bc6b74d9db9ee762eba9a3458
  • Sync Version: 2
  • Profile Version: 35
  • Keychain Supported: No
  • Revision: b28f087

I received the following error message on the screen as it was just starting the import process.

Screenshot at 2021-05-13 09-58-04

My log file shows ...

2021-05-13 09:55:18: "Trying to load 0 master keys..."
2021-05-13 09:55:18: "Loaded master keys: 0"
2021-05-13 09:55:18: "ResourceFetcher: Auto-add resources: Mode: always"
2021-05-13 09:55:18: "ResourceFetcher: Auto-added resources: 0"
2021-05-13 09:55:18: "Running migration: 35"
2021-05-13 09:55:18: "SearchEngine: Updating FTS table..."
2021-05-13 09:55:19: "Trying to load 0 master keys..."
2021-05-13 09:55:19: "Loaded master keys: 0"
2021-05-13 09:55:19: "Trying to load 0 master keys..."
2021-05-13 09:55:19: "Loaded master keys: 0"
2021-05-13 09:55:19: "Trying to load 0 master keys..."
2021-05-13 09:55:19: "Loaded master keys: 0"
2021-05-13 09:55:19: "app.start: doing regular boot"
2021-05-13 09:55:19: "Trying to load 0 master keys..."
2021-05-13 09:55:19: "Loaded master keys: 0"
2021-05-13 09:55:19: "Trying to load 0 master keys..."
2021-05-13 09:55:19: "Loaded master keys: 0"
2021-05-13 09:55:19: "Trying to load 0 master keys..."
2021-05-13 09:55:19: "Loaded master keys: 0"
2021-05-13 09:55:19: "RevisionService::runInBackground: Starting background service with revision collection interval 600000"
2021-05-13 09:55:20: SpellCheckerServiceDriverNative: "Set effective language from "en-US" to "en-US""
2021-05-13 09:55:22: "Preparing scheduled sync"
2021-05-13 09:55:22: "Saving updated Dropbox auth."
2021-05-13 09:55:22: "DecryptionWorker: cannot start because no master key is currently loaded."
2021-05-13 09:55:22: "Synchroniser is missing credentials - manual sync required to authenticate."
2021-05-13 09:55:22: "Updating all notifications..."
2021-05-13 09:55:22: "Garbage collecting alarms..."
2021-05-13 09:55:23: "DecryptionWorker: cannot start because no master key is currently loaded."
2021-05-13 09:55:23: "RevisionService::maintenance: Starting..."
2021-05-13 09:55:23: "RevisionService::maintenance: Service is enabled"
2021-05-13 09:55:24: "RevisionService::collectRevisions: Created revisions for 0 notes"
2021-05-13 09:55:24: "RevisionService::maintenance: Done in 775ms"
2021-05-13 09:55:28: "SearchEngine: Updating FTS table..."
2021-05-13 09:55:28: "SearchEngine: Updated FTS table in 1ms. Inserted: 0. Deleted: 0"
2021-05-13 09:55:49: "ResourceService::indexNoteResources: Start"
2021-05-13 09:55:50: "ResourceService::indexNoteResources: Completed"
2021-05-13 09:55:50: "ResourceService::deleteOrphanResources:", "[]"
2021-05-13 10:05:20: "RevisionService::maintenance: Starting..."
2021-05-13 10:05:20: "RevisionService::maintenance: Service is enabled"
2021-05-13 10:05:20: "RevisionService::collectRevisions: Created revisions for 0 notes"
2021-05-13 10:05:20: "RevisionService::maintenance: Done in 490ms"

Thoughts or suggestions? Many thanks in advance.

Randy

If you run tar -xvf /path/to/file.jex does it successfully extract the files?

No it does not ... It extracts a number just fine, but then the following error message shows up.

... numerous files above this ...
resources/1a77f73bc39aea3b7d3bd6dd46ee0e04.pdf
tar: Unexpected EOF in archive
tar: rmtlseek not stopped at a record boundary
tar: Error is not recoverable: exiting now

Randy

FYI ... I am trying to import on LinuxMint 19.1 system. USB is formatted to ext3/ext4

Randy

The tar file is invalid so it would be best to re-export it again if you can.

I expanded it on the laptop, which gave an error. But, when I tar -xvf it on the original workstation all was well. Rather than copying it on a USB drive I will transfer it across the network and see what I get.

Hopefully that will work. But I will also fix that error message in any case.

What did you get eventually? Does the error still exist?

Still haven't copied it over the network - busy in other meetings.

Perhaps also take an MD5 of the file before and after transfer to check that it's still valid. I'm hoping it's not the app that exports corrupted JEX files, although I've never tried with such a large dataset.

I copied it across the network and at present it's importing - just taking a lot of time since it's so large. I will update once it's done ... or crashed again.

My sincere apologies ... as it worked and I did NOT reply as I should have.

The Network Copy worked, the import then worked just fine, but it did take a few hours to import.

Sorry for the delays.