joplin-plugin-backup icon indicating copy to clipboard operation
joplin-plugin-backup copied to clipboard

Automatic Backups Not Working in Linux Mint

Open pvstyps opened this issue 2 years ago • 7 comments

I've been using the Simple Backup plugin with Joplin for a while now on two different machines and it's been working great. I just added Joplin 2.11.11 to a third machine running Linux Mint 21.1 and the automatic backups don't seem to be working in this case. Manual backups do seem to work just fine, however. I've tried deleting and reinstalling the plugin but that didn't change anything, and I've also rebooted the computer and application several times and waited for a long time to see if an automatic backup would eventually be created, but nothing seems to work.

pvstyps avatar Jul 31 '23 03:07 pvstyps

Could you please set the Loglevel to debug, run a manual backup and upload the log. The logfile is stored in the backup path.

JackGruber avatar Jul 31 '23 10:07 JackGruber

I tried to do this, but there is no "Debug" option for the Loglevel. There is only Verbose, Info, Warning, and Error. I also tried each of these and none of them created a log file in the backup path.

I tried this on a Windows machine and it does make the log file just fine, so this is only happening on Linux Mint.

pvstyps avatar Aug 09 '23 21:08 pvstyps

Ok, set it to verbose and enable the joplin debuging mode . Than do the same steps again and post the log file from joplin and during the backup run and check the following folder for a logfile: ~/.config/joplin-desktop/cache/io.github.jackgruber.hotfolder during the backup and after. Have you configured a Temporary export path? When yes, please check this path also for a logfile.

JackGruber avatar Aug 10 '23 05:08 JackGruber

Okay, here are those log files.

backup.log log.txt

pvstyps avatar Aug 11 '23 08:08 pvstyps

Ok backups are only made when something has changed Only on change and when one hour has passed. Configured this way on purpose?

JackGruber avatar Aug 11 '23 10:08 JackGruber

I set it that way so I wouldn't have superfluous backups, but the problem is backups aren't being created even when changes are made. This function does work on my other computers.

pvstyps avatar Aug 11 '23 10:08 pvstyps

We can try if we see more in the develop version of the plugin.

  1. Uninstall the backup plugin
  2. restart joplin
  3. download the backup_plugin_dev.zip
  4. unzip the backup_plugin_dev.zip file
  5. enter the path to the unzipted dev plugin in Joplin under Plugins -> Advanced Settings -> Development plugins
  6. restart joplin

Now a new window with the debug console from the plugin should open. Change a note and wait wait at least one hour. Copy alle the output from the debuge console in a file and uplode the file to the issue

JackGruber avatar Aug 15 '23 05:08 JackGruber