GooBox / goobox-community-gui

Desktop community syncing client for Sia and Storj (DApp)
GNU General Public License v3.0
50 stars 4 forks source link

Deleted and restored file does not sync again #102

Closed betaboot closed 6 years ago

betaboot commented 6 years ago

When i delete a file from the sync folder and then restore it again (either restore from the recycle bin or just move the file out of the sync folder and then back in), the file gets first a yellow icon and afterwards it has no icon anymore. It does not automatically sync again unless i restart Goobox.

MeijeSibbel commented 6 years ago
2018-02-11 18:02:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files stored only in the local directory but marked as synced
2018-02-11 18:02:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files filed to be uploaded
2018-02-11 18:03:03 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - ENTRY_CREATE [C:\Users\meije\Goobox\log.old.log]
2018-02-11 18:03:03 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - Failed to hash created file [C:\Users\meije\Goobox\log.old.log]. It may have been deleted.
2018-02-11 18:03:03 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - ENTRY_MODIFY [C:\Users\meije\Goobox\log.old.log]
2018-02-11 18:03:03 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - Failed to hash modified file [C:\Users\meije\Goobox\log.old.log]. It may have been deleted.
2018-02-11 18:03:03 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - ENTRY_MODIFY [C:\Users\meije\Goobox\log.old.log]
2018-02-11 18:03:03 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - Failed to hash modified file [C:\Users\meije\Goobox\log.old.log]. It may have been deleted.
2018-02-11 18:03:03 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - ENTRY_MODIFY [C:\Users\meije\Goobox\log.old.log]
2018-02-11 18:03:03 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - Failed to hash modified file [C:\Users\meije\Goobox\log.old.log]. It may have been deleted.
2018-02-11 18:03:03 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - ENTRY_MODIFY [C:\Users\meije\Goobox\log.old.log]
2018-02-11 18:03:03 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - Failed to hash modified file [C:\Users\meije\Goobox\log.old.log]. It may have been deleted.
2018-02-11 18:03:06 [pool-2-thread-1] INFO  io.goobox.sync.sia.FileWatcher - Found modified file log.old.log
2018-02-11 18:03:14 [pool-2-thread-3] INFO  i.g.s.s.task.CheckDownloadStateTask - Checking download status
2018-02-11 18:03:17 [pool-2-thread-3] INFO  i.g.s.sia.task.CheckUploadStateTask - Checking upload status
2018-02-11 18:03:29 [pool-2-thread-3] INFO  i.g.sync.sia.task.CheckStateTask - Checking for changes
2018-02-11 18:03:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files found in the cloud network
2018-02-11 18:03:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files stored only in the local directory and modified
2018-02-11 18:03:29 [pool-2-thread-3] INFO  i.g.sync.sia.task.CheckStateTask - Local file log.old.log is going to be uploaded
2018-02-11 18:03:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files stored only in the local directory but deleted
2018-02-11 18:03:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files stored only in the local directory but marked as synced
2018-02-11 18:03:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files filed to be uploaded
2018-02-11 18:04:14 [pool-2-thread-1] INFO  i.g.s.s.task.CheckDownloadStateTask - Checking download status
2018-02-11 18:04:17 [pool-2-thread-3] INFO  i.g.s.sia.task.CheckUploadStateTask - Checking upload status
2018-02-11 18:04:17 [pool-2-thread-3] INFO  i.g.s.sia.task.CheckUploadStateTask - File C:\Users\meije\Goobox\log.old.log has been uploaded
2018-02-11 18:04:29 [pool-2-thread-1] INFO  i.g.sync.sia.task.CheckStateTask - Checking for changes
2018-02-11 18:04:29 [pool-2-thread-1] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files found in the cloud network
2018-02-11 18:04:29 [pool-2-thread-1] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files stored only in the local directory and modified
2018-02-11 18:04:29 [pool-2-thread-1] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files stored only in the local directory but deleted
2018-02-11 18:04:29 [pool-2-thread-1] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files stored only in the local directory but marked as synced
2018-02-11 18:04:29 [pool-2-thread-1] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files filed to be uploaded
2018-02-11 18:04:33 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - ENTRY_DELETE [C:\Users\meije\Goobox\log.old.log]
2018-02-11 18:04:37 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - ENTRY_CREATE [C:\Users\meije\Goobox\log.old.log]
2018-02-11 18:04:37 [pool-2-thread-2] DEBUG io.methvin.watcher.DirectoryWatcher - ENTRY_MODIFY [C:\Users\meije\Goobox\log.old.log]
2018-02-11 18:05:14 [pool-2-thread-1] INFO  i.g.s.s.task.CheckDownloadStateTask - Checking download status
2018-02-11 18:05:17 [pool-2-thread-1] INFO  i.g.s.sia.task.CheckUploadStateTask - Checking upload status
2018-02-11 18:05:17 [pool-2-thread-1] DEBUG i.g.s.sia.task.CheckUploadStateTask - Since found remote file log.old.log was deleted, delete the remote file
2018-02-11 18:05:29 [pool-2-thread-3] INFO  i.g.sync.sia.task.CheckStateTask - Checking for changes
2018-02-11 18:05:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files found in the cloud network
2018-02-11 18:05:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files stored only in the local directory and modified
2018-02-11 18:05:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files stored only in the local directory but deleted
2018-02-11 18:05:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Remove deleted file log.old.log from the sync DB
2018-02-11 18:05:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files stored only in the local directory but marked as synced
2018-02-11 18:05:29 [pool-2-thread-3] DEBUG i.g.sync.sia.task.CheckStateTask - Processing files filed to be uploaded
2018-02-11 18:06:14 [pool-2-thread-1] INFO  i.g.s.s.task.CheckDownloadStateTask - Checking download status
2018-02-11 18:06:17 [pool-2-thread-1] INFO  i.g.s.sia.task.CheckUploadStateTask - Checking upload status