Linksys NSLU2 with unslung + barracudadrive for webDAV

Hello,

I'm trying to set up my own webDAV server running on:
Linksys NSLU2 with unslung firmware (V2.3R63)
http://www.nslu2-linux.org/wiki/Unslung/HomePage

and on top of that runs BaracudaDrive application server for webDAV functionality
http://barracudadrive.net/blog/2008/03/BarracudaDrive-for-Linksys-NSLU2

zotero is ver 1.5-sync2.2 (Firefox/3.0.3)

webDAV server has its own static ip that is accessible from internet.
I hope that I have configured webDAV correctly, in zotero sync options:

Enable file syncing is selected
Protocol is "webDAV secure"
URL: <serversIP>/dav/share/hdd/data/public/zotero/tftak
correct username & password

when I click on the "Verify Server" button, it says "File storage is successfully set up", when I tested this system from my computer, zotero uploaded files to server and I verified that they exist there also (some .zip and .prop files).

Now if I install same version of zotero-sync to some other computer, fill in my webDAV server information, and click on the "Verify Server" button, it says "File storage is successfully set up", but nothing much happens. Is there some way to initiate sync with storage server(similar to sync with zotero server button)? "Storage debug" is gray and cannot be clicked. I have restarted firefox.
  • edited October 23, 2008
    zotero error report ID : 116213240


    [edit]

    It seems, that zotero will upload my storage folder information to my webDAV server when I use the "Sync with zotero server" button, if I have some collections to upload, but it is not willing to sync them - basically if 2 different computers have their own collections and if I try to sync them, zotero will only upload data from each computer but will not download any existing files from server.
  • Can you generate debug output for a sync session and send it to support@zot....org?
  • just to be clear before I generate any debug outputs, If I have provided zotero (storage server) with my webDAV server address and credentials, do I still have to use my zotero account user and pass in the "zotero sync server" fileds?

    my system works when I use there my zotero user and pass, but I am not sure now where are my files uploaded for syncing - I cant see any changes on the webDAV direcotry(no new files).
    If I provide zotero sync server with user and password, zotero uses its own sync server?
  • If I have provided zotero (storage server) with my webDAV server address and credentials, do I still have to use my zotero account user and pass in the "zotero sync server" fileds?
    Yes.
    If I provide zotero sync server with user and password, zotero uses its own sync server?
    There are two separate syncs: Zotero metadata, which goes to the Zotero server, and attachment files, which go to your WebDAV server. The former needs to be set up for the latter to work.
  • I greatly appreciate your comments, some things are more clear now.

    I made a clean start with 1 article and 1 attachment to get a better grip about whats going on.
    so far: If i add article, and attach pdf file, then click on "sync with zotero server" it writes one .prop and .zip file to my webDAV folder.(to bad I cant confirm if there's actual pdf somewhere, because zip file contains mysterious files)

    Now I go to another computer with clean zotero, click on "sync with zotero server", it downloads article and shows that there is an attachment, but upon opening attachment it cant find it. It seems zotero tries to find it from the same location as it was in the original computer(just a guess). "The attachment could not be found, it could be deleted outside of zotero"

    I also emailed debug log files to support address with subject: "debug output files (user: pilpax)"
  • After reviewing your output files, it looks like storage sync is not enabled on the second machine. Can you go into Zotero preferences on the second machine and make sure that storage syncing is set up and verified? Then sync again, and the attachment should pull down. If it still does not work, please send us new debug log files.
  • edited October 24, 2008
    "enable file sync" is enabled (and was before), "verify server" gives positive output "File storage is successfully set up". Files are uploaded to webDAV server.

    just in case I also sended another debug output from second machine.
  • zotero(3): Storage sync is not active
    Verify Server on the second computer.

    (We're changing the verification to happen automatically at sync time, but, for now, you have to be sure to Verify Server after changing any storage settings and before syncing.)
  • edited October 25, 2008
    Tried it out on several different computers(verified server and so on), always the same case - metadata is syncing nicely with zotero sync server and even snapshot attachments are downloaded to firefox profile directory and they work. Snapshot files are synced trough my webDAV server?
    I even disabled all firewalls and antiviruses, but no success. :(
  • On the computer that isn't working, go to about:config in the address bar and look for extensions.zotero.sync.storage.verified. Tell us the current value. If it's false, keep that open while going to the Zotero preferences and doing a Verify Server, and see if the value changes to true once you get a success message (assuming that's what you're getting).

    If it's true already, send us debug output for the sync attempt.
  • extensions.zotero.sync.storage.verified value is true,
    if I reset strage history, it goes false, and if I then verify server, it goes true again.

    sent debug output of the sync when value was true (after verifying server)
  • One thing I noticed is that when I attach a file that locates at my hard drive "c:/folder/somename.pdf" and then sync with some other computer, it will work if I create a folder named "folder" to c:/ and put file named "somename.pdf" there. It seems that zotero is trying to find attached files from the same location they were originally added to zotero.
    Zotero only syncs imported files (stored within its own storage directory), not linked files (stored elsewhere on the hard drive).

    Are there imported files that Zotero isn't syncing properly?
  • I was already losing hope.
    Instead of "link to file" I should have "store copy of file".

    Now everything syncs nicely.

    Thank you for your time spent on my problem.
Sign In or Register to comment.