question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blank password make backup unterminated

See original GitHub issue

Hi, Today, back to the office after vacation, I upgraded Joplin (from 2.1.9 to 2.3.5), the plugins and all the needs. I try to make manual backup, from the Tools menu, but I don’t see the backup file in the destination directory.

Then I started fumbling through directories and I see the temporary file jex and a 0-byte 7zip file. image It stuck in this situation.

Then I looked in the plugin configuration and I see this: image

In the log file there’s no information (see log pasted at bottom).

I think there’s a problem when the password is left blank. N.B. The password was set before the last joplin upgrade. Maybe it was deleted in the process?

Bye and thanks.

[2021-08-23 11:44:05.417] [info] Backup started
[2021-08-23 11:44:05.421] [verbose] loadSettings
[2021-08-23 11:44:05.423] [verbose] loadBackupPath
[2021-08-23 11:44:05.432] [verbose] Plugin settings:
[2021-08-23 11:44:05.433] [verbose] path: y:\Research and Development\Working Area\XXXXXXXX\joplin-bkp\
[2021-08-23 11:44:05.434] [verbose] singleJex: true
[2021-08-23 11:44:05.437] [verbose] backupRetention: 3
[2021-08-23 11:44:05.440] [verbose] backupInterval: 24
[2021-08-23 11:44:05.442] [verbose] onlyOnChange: true
[2021-08-23 11:44:05.443] [verbose] usePassword: true
[2021-08-23 11:44:05.445] [verbose] lastBackup: 1626252674049
[2021-08-23 11:44:05.447] [verbose] fileLogLevel: verbose
[2021-08-23 11:44:05.448] [verbose] zipArchive: no
[2021-08-23 11:44:05.450] [verbose] compressionLevel: 0
[2021-08-23 11:44:05.451] [verbose] exportPath: 
[2021-08-23 11:44:05.453] [verbose] backupSetName: {YYYY}-{MM}-{DD}-{HHmm}
[2021-08-23 11:44:05.454] [verbose] backupInfo: [{"name":"2021-07-14-1051","date":1626252674049},{"name":"2021-07-13-1049","date":1626166142194},{"name":"2021-07-12-1046","date":1626079561451}]
[2021-08-23 11:44:05.456] [verbose] activeBackupPath: C:\Users\XXXXXXXX\Joplin\JoplinProfile\tmp\joplin_active_backup_job
[2021-08-23 11:44:05.457] [verbose] backupBasePath: y:\Research and Development\Working Area\XXXXXXXX\joplin-bkp\
[2021-08-23 11:44:05.457] [verbose] logFile: C:\Users\XXXXXXXX\Joplin\JoplinProfile\cache\io.github.jackgruber.backup\activeBackup.log
[2021-08-23 11:44:05.458] [verbose] showDoneMsg: true
[2021-08-23 11:44:05.459] [verbose] installationDir: C:\Users\XXXXXXXX\Joplin\JoplinProfile\cache\io.github.jackgruber.backup
[2021-08-23 11:44:05.464] [info] Enable password protection: true
[2021-08-23 11:44:05.465] [verbose] Backup path: y:\Research and Development\Working Area\XXXXXXXX\joplin-bkp\
[2021-08-23 11:44:05.465] [verbose] Active backup path (export path): C:\Users\XXXXXXXX\Joplin\JoplinProfile\tmp\joplin_active_backup_job
[2021-08-23 11:44:05.466] [verbose] Create folder C:\Users\XXXXXXXX\Joplin\JoplinProfile\tmp\joplin_active_backup_job
[2021-08-23 11:44:05.468] [info] Backup Profile Data
[2021-08-23 11:44:05.468] [verbose] Create folder C:\Users\XXXXXXXX\Joplin\JoplinProfile\tmp\joplin_active_backup_job\profile
[2021-08-23 11:44:05.471] [verbose] Copy C:\Users\XXXXXXXX\Joplin\JoplinProfile\settings.json
[2021-08-23 11:44:05.476] [verbose] Copy C:\Users\XXXXXXXX\Joplin\JoplinProfile\keymap-desktop.json
[2021-08-23 11:44:05.478] [verbose] Copy C:\Users\XXXXXXXX\Joplin\JoplinProfile\userchrome.css
[2021-08-23 11:44:05.480] [verbose] Copy C:\Users\XXXXXXXX\Joplin\JoplinProfile\userstyle.css
[2021-08-23 11:44:05.483] [info] No templateDir, Joplin >= v2.2.5
[2021-08-23 11:44:05.484] [info] Select notebooks for export
[2021-08-23 11:44:05.489] [verbose] Add 'LAVORO' (651d3340ca254cbb9f1574436e6b4761)

[---8<------8<------8<------8<--- SNIP! ---8<------8<------8<------8<---]

[2021-08-23 11:44:05.584] [verbose] Add 'Imported Templates - 23/08/2021' (adf9634c660a49efa969f2b6160045cc)
[2021-08-23 11:44:05.585] [info] Create single file JEX backup
[2021-08-23 11:44:16.258] [info] Create zip archive
[2021-08-23 11:44:16.260] [verbose] Add C:\Users\XXXXXXXX\Joplin\JoplinProfile\tmp\joplin_active_backup_job\all_notebooks.jex to zip C:\Users\XXXXXXXX\Joplin\JoplinProfile\tmp\joplin_active_backup_job\all_notebooks.jex.7z

UPDATE!

The backup seemed impossible to restart and the password kept disappearing. It all seemed frozen. As soon as I restarted Joplin (several times) the automatic backup started, but it was impossible to finish and the password kept disappearing.

To try to restart from a “clean” situation, I removed the check from “Password protected backups”, I stopped Joplin, I deleted the backup logfile and the tmp directory, then I restarted joplin and the first automatic backup started and went successful. So I reset the “Password protected backups”, entered the password, launched a manual backup and everything was fine. The only strange thing, no done message was showed.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
JackGrubercommented, Nov 19, 2021

The problem with no KeyChain support and lost password is fixed in Joplin 2.6.2

1reaction
antoniopaolinicommented, Oct 10, 2021

The issue is yet there, with the last Joplin. I see the asterisk in the password box, but every time I close and restart Joplin the Backup fails, with message “passwords did not match”.

I’m sorry, at this moment I cant’ have time to help you in debugging it by trying, logging, etc, but If this issue remains there I’ll advice you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pass a blank password to wbadmin (windows backup) via ...
The issue I have is the backup destination is a unix share drive with a username but no password (I dont have the...
Read more >
If you can't remember the password for your encrypted backup
On your device, go to Settings > General > Transfer or Reset [Device], then tap Reset. Tap Reset All Settings and enter your...
Read more >
How do I backup to network drive with no password?
I am running Windows 7 Ultimate and I would like to use Windows Backup to backup my system to either a Buffalo Tearstation...
Read more >
How to Try a Blank Backup Password in iTunes - Decipher Tools
If you don't know your password for the backup of your iPhone in iTunes, or think you never set one, here are some...
Read more >
Lenovo ThinkPad Edge 13 [47/126] Undetermined problems - Mans.io
Lenovo ThinkPad Edge 13 Hardware Maintenance Manual Page: 47 Undetermined problems.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found