Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonwee/c698a447353b23692a0492b446aac76d to your computer and use it in GitHub Desktop.
Save jasonwee/c698a447353b23692a0492b446aac76d to your computer and use it in GitHub Desktop.
upload empty file
[Thread-2] INFO io.goobox.sync.storj.CheckStateTask - Checking for changes
[Thread-1] DEBUG org.dizitart.no2.Nitrite - Unsaved changes committed successfully.
[Thread-2] INFO io.goobox.sync.storj.SleepTask - Sleeping for 1 minute
[ForkJoinPool.commonPool-worker-1] DEBUG io.methvin.watcher.DirectoryWatcher - ENTRY_CREATE [/home/user/Goobox/empty]
[ForkJoinPool.commonPool-worker-1] DEBUG io.goobox.sync.storj.FileWatcher - 1525415027266 CREATE /home/user/Goobox/empty count: 1
[ForkJoinPool.commonPool-worker-1] DEBUG io.methvin.watcher.DirectoryWatcher - ENTRY_MODIFY [/home/user/Goobox/empty]
[Timer-0] INFO io.goobox.sync.storj.FileWatcher - 3 seconds after the last file event
[Timer-0] INFO io.goobox.sync.storj.SleepTask - Sleep interrupted
[Thread-2] INFO io.goobox.sync.storj.CheckStateTask - Checking for changes
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Filter EqualsObjectFilter(field=name, value=empty) found total 0 document(s) to remove with options RemoveOptions(justOne=false) from io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Notifying REMOVE event for items [] from io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Returning write result WriteResultImpl(nitriteIdList=null) for collection io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Total 1 document(s) to be inserted in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Inserting document {name=empty, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=0, localSize=0, state=null, _id=514111966930851, _revision=1, _modified=1525415031727} in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Notifying INSERT event for items [ChangedItem(document={name=empty, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=0, localSize=0, state=null, _id=514111966930851, _revision=1, _modified=1525415031727}, changeType=INSERT, changeTimestamp=1525415031727)] from io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Returning write result WriteResultImpl(nitriteIdList=[[514111966930851]NO₂]) for collection io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Filter EqualsObjectFilter(field=name, value=empty) found total 1 document(s) to update with options UpdateOptions(upsert=false, justOnce=false) in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Document to update {name=empty, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=0, localSize=0, state=null, _id=514111966930851, _revision=1, _modified=1525415031727} in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Document {name=empty, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=1525415027000, localSize=0, state=FOR_UPLOAD, _id=514111966930851, _revision=2, _modified=1525415031728} updated in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Notifying UPDATE event for items [ChangedItem(document={name=empty, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=1525415027000, localSize=0, state=FOR_UPLOAD, _id=514111966930851, _revision=2, _modified=1525415031728}, changeType=UPDATE, changeTimestamp=1525415031728)] from io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Returning write result WriteResultImpl(nitriteIdList=[[514111966930851]NO₂]) for collection io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG io.goobox.sync.storj.ipc.IpcExecutor - Command sent: {"method":"syncState","args":{"newState":"synchronizing"}}
{"method":"syncState","args":{"newState":"synchronizing"}}
[Thread-1] DEBUG org.dizitart.no2.Nitrite - Unsaved changes committed successfully.
[Thread-2] INFO io.goobox.sync.storj.UploadFileTask - Uploading file empty
[Thread-1] INFO io.goobox.sync.storj.UploadFileTask - 0% 0/0 bytes
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Filter EqualsObjectFilter(field=name, value=empty) found total 1 document(s) to update with options UpdateOptions(upsert=false, justOnce=false) in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Document to update {name=empty, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=1525415027000, localSize=0, state=FOR_UPLOAD, _id=514111966930851, _revision=2, _modified=1525415031728} in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Document {name=empty, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=1525415027000, localSize=0, state=UPLOAD_FAILED, _id=514111966930851, _revision=3, _modified=1525415032784} updated in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Notifying UPDATE event for items [ChangedItem(document={name=empty, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=1525415027000, localSize=0, state=UPLOAD_FAILED, _id=514111966930851, _revision=3, _modified=1525415032784}, changeType=UPDATE, changeTimestamp=1525415032784)] from io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Returning write result WriteResultImpl(nitriteIdList=[[514111966930851]NO₂]) for collection io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG org.dizitart.no2.Nitrite - Unsaved changes committed successfully.
[Thread-1] ERROR io.goobox.sync.storj.UploadFileTask - Upload failed: File size error (3003)
[Thread-2] INFO io.goobox.sync.storj.CheckStateTask - Checking for changes
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Filter EqualsObjectFilter(field=name, value=empty) found total 1 document(s) to update with options UpdateOptions(upsert=false, justOnce=false) in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Document to update {name=empty, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=1525415027000, localSize=0, state=UPLOAD_FAILED, _id=514111966930851, _revision=3, _modified=1525415032784} in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Document {name=empty, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=1525415027000, localSize=0, state=UPLOAD_FAILED, _id=514111966930851, _revision=4, _modified=1525415033801} updated in io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Notifying UPDATE event for items [ChangedItem(document={name=empty, storjId=null, storjCreatedTime=0, storjSize=0, localModifiedTime=1525415027000, localSize=0, state=UPLOAD_FAILED, _id=514111966930851, _revision=4, _modified=1525415033801}, changeType=UPDATE, changeTimestamp=1525415033801)] from io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG o.dizitart.no2.internals.DataService - Returning write result WriteResultImpl(nitriteIdList=[[514111966930851]NO₂]) for collection io.goobox.sync.storj.db.SyncFile
[Thread-1] DEBUG org.dizitart.no2.Nitrite - Unsaved changes committed successfully.
[Thread-1] DEBUG io.goobox.sync.storj.ipc.IpcExecutor - Command sent: {"method":"syncState","args":{"newState":"idle"}}
{"method":"syncState","args":{"newState":"idle"}}
[Thread-2] INFO io.goobox.sync.storj.SleepTask - Sleeping for 1 minute
@jasonwee
Copy link
Author

jasonwee commented May 4, 2018

$ storj ls Goobox
Unlock passphrase:  
ID: 8e29af614d1d03712b3fb35f 	Name: Goobox
No files for bucket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment