sync button and webdav

I'm trying to set up a WebDAV sync to a local server (local legislation restricts what I can save to USA servers), and am running into a couple small problems.

1: I can connect and the "test" button works; the "zotero" folder shows up in the webdav repository, but no further sync takes place. The debug log shows lines like below; would that be Zotero or the WebDAV server causing the error?

[JavaScript Error: "Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src https://vault.sfu.ca 'unsafe-eval'")." {file: "https://vault.sfu.ca/index.php/apps/files/" line: 0 column: 0 source: "onsubmit attribute on DIV element"}]

edit: It's owncloud if that helps

2: When I hit the green sync button, it tells me I need to enter in my zotero.org username and password. Might be just because it's not successfully syncing in 1 though.
  • I think you may be misunderstanding what webDAV does -- it's a local file server. All data are still synced to Zotero, so you do need to login there. While it's possible to run a local Zotero server, that's significantly more involved.
  • So there's no way to cut out zotero.org completely?

    Hmm. So I'm basically SOL if I want to avoid storing data on USA servers entirely?

    How involved are we talking? "copy some files and edit a config file" involved? If you could point me to some documentation I could make that determination.
  • Hmm. So I'm basically SOL if I want to avoid storing data on USA servers entirely?
    basically, yes.

    The most functional available set of instructions and code are here:
    http://git.27o.de/dataserver/about/?h=doc
    They involve running and configuring a server with several dependencies and running a patched version of Zotero. People do it (maybe about 5-6 groups around the world--guessing here, though), but it's not for the faint of heart.
  • Yeah, that does look like it's got some landmines in it. I've done a ton of work with elasticsearch, so that's a plus, and all my servers are debian wheezy.

    Might be a fun weekend project sometime, but otherwise, I'll probably just skip it unless I'm mandated to do it by the PTB.

    Thanks for the link!
Sign In or Register to comment.