joplin-plugin-backup: Blank password make backup unterminated

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.

About this issue

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

Commits related to this issue

Most upvoted comments

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

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.

I’ve got the same issue, the password gets lost in the settings and then the backup fails to be created.