Data Is Broken. Error Is 2


GieltjE

Recommended Posts

platform: Linux 4.2.3-hardened #1 SMP Sun Oct 11 17:34:13 CEST 2015 x86_64
version: 2.2.6.147
[22:27:20.030] Debug log mask has been set to FFFFFFFF
[22:27:20.030] Features mask has been set to 0
[20151108 22:27:20.033] total physical memory 536870912 max disk cache 2097152
[20151108 22:27:20.033] assert failed /home/jenkins/slave-root/jenkins-Build-Sync-Manually-397/diskio.cpp:607
[20151108 22:27:20.033] Data is broken. Error is 2
[20151108 22:27:20.033] Can't locate [version] in zip.
[20151108 22:27:20.034] Using IP address 192.168.199.200
[20151108 22:27:20.034] test sha1: AE5BD8EFEA5322C4D9986D06680A781392F9A642
[20151108 22:27:20.034] test sha2: 630DCD2966C4336691125448BBB25B4FF412A49C732DB2C8ABC1B8581BD710DD
[20151108 22:27:20.034] test aes: 0A940BB5416EF045F1C39458C653EA5A07FEEF74E1D5036E900EEE118E949293
 

Gotta love these generic error's, if I can do anything to help debug this please let me know.

 

Running:

Gentoo hardened X64 fully up to date, 2.2.5 als failed, there is enough disk space and memory available. Clearing all files except the config en the bin also proved fruitless.

Link to comment
Share on other sites

GieltjE,

 

error 2 - file not found. Sync cannot find a config file. 

Does it crash or just not working? What issue the error produces in the end? 

 

Also, the failed assert mean that Sync could not create data steam. 
How exactly do you launch Sync on your machine? from where? with what config? Does if have enough permission to launch in your environment?

Check webui.zip file in your storage folder and make sure it's present there. 

Can you please collect full log and send it to support team.  Don't forget to mention this forum topic. Thank you. 

Link to comment
Share on other sites

GieltjE,

 

error 2 - file not found. Sync cannot find a config file. 

Does it crash or just not working? What issue the error produces in the end? 

 

Also, the failed assert mean that Sync could not create data steam. 

How exactly do you launch Sync on your machine? from where? with what config? Does if have enough permission to launch in your environment?

Check webui.zip file in your storage folder and make sure it's present there. 

Can you please collect full log and send it to support team.  Don't forget to mention this forum topic. Thank you. 

 

 - The webui.zip isn't present

 - The config is present and read/write available

 - Launch: cd /home/gieltje/btsync && sudo -u gieltje ./btsync --config /home/gieltje/btsync/btsync.conf

 - Until a month ago it ran perfectly in the environment, nothing changed except some normal system updates

 - The log posted is the full log, the app remains in memory but doesn't fork or perform any other task.

Link to comment
Share on other sites

well, you need to recreate webui.zip. You can copy the binary to some "111' folder and launch from there. Sync will generate new .sync storage beside it, take the webui from there and put to your production storage. Delete the 111 folder. 

Else, if it doesn't work, I'm afraid you will need to recreate your storage - start from scratch.

 

And double check your storage permissions. Normally Sync will recreate the deleted webui.zip archive.

And check sync.lng file in the storage - it's also an archive file, so it can be affected the same way as webui. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.