changes in attached files
I ran a test where I synced a resource with an attached file. Then I changed the attached file's contents and ran sync again. I went into my library on Zotero and found the resource and downloaded the attached file. What downloaded was the original file, not the changed one. Is there a way to get the sync feature to upload "edited" versions of attached files? Do I have to rename them or something? (I thought maybe the software pointed to the file on my machine so it would pick up the edited copy. Nope.) -- Dawn
http://www.zotero.org/support/kb/files_not_syncing
You have my permission to laugh uproariously at my mistake! :-)
And no, running Reset File Sync History won't cause any problems—it just shouldn't be necessary.
Does it make any difference in the file's updating when I sync if I use the "attach stored copy of file" or the "attach link to file" command? Or will both of those keep updating the file as I edit it?
Do you know how I can fix this, so that when I modify an attachment on my computer the modified version replaces the previous version in my comupter's Zotero file?
I'm pretty skeptical that this isn't working, but if you provide a Debug ID for a sync after modifying a file (and tell me the (eight-character random) name of the directory containing the file), I'll take a look.
I have to add some additional information that makes me think you are correct and I am incorrect. This time, before I did anything, I did a search in my online Zotero files for the file I was testing, which is called "Master Calendar". I had initially attached a version and then intentionally added a line of text immediately beneath the title lines in the attachment file. Then I had synced.
When I did this the first three times, and when I downloaded the file that was attached in Zotero (online), I got the original version of the document, not the edited one.
But just now, when I tried it again, it downloaded BOTH version of the document -- I think.
Could it have opened the one in my laptop that is attached to my Zotero files there, as well as opening the one stored online? Does it, instead, store versions and so it opened both of them even though I only clicked on one?
I am sorry to be so anal about this. I am just working with a large database I keep adding information to in the attached files. And I'm frightened that my updates don't really "exist" in Zotero.
Thank you for your endless patient help as I figure this out!
I am not sure what you mean by this, though: "tell me the (eight-character random) name of the directory containing the file". I remember that in Zotero 1.1 there was a number visible in the information pane that matched the file's number for that entry in my storage area. I remember locating things that way when they accidentally got disconnected. But I do not see anything like that in my upgraded Zotero. So I am not sure, still, that I am doing this correctly.
I have been assuming that my updates were at least on the computer here in front of me. Now I'm wondering if all the attachments are "old". That's even scarier than them not being on the server there where you store them via syncing.
Please explain carefully and clearly. I am starting to get worried and scared ...
(1) Select the item in the center panel;
(2) Click the triangle to expose the item's attachments;
(3) Right-click over the attachment you are interested in;
(4) Select "Show File"
This will bring up your operating system's file manager, with the actual file showing in a subdirectory with an 8-digit name. If you find the file there, then you local Zotero has it linked correctly. The 8-digit name is the 8-digit code.
To check that the local Zotero database you are in is being synced to your online account, visit the Zotero gear menu -> Preferences -> Sync, and check that (1) the Username shown is the same as the one you use to log in at zotero.org; and (2) that the checkbox next to "Sync attachment files in MyLibrary using ..." is checked, and that you are using the "Zotero" method to store the synced attachments.
To check that your account has enough room for the attachments to sync, visit zotero.org and log in. Then click on "settings", and then "storage". The percentage of your quota that is being used will show at the bottom of the table in that page.
That pretty much covers everything. If the attachment is present and linked to Zotero, and your database is syncing attachments with the correct Username, and you have room in your account, clicking the green sync icon should sync the copy of the document to the server, and you should find the latest copy in your library on the zotero.org website. If that doesn't happen, it's most likely just a problem with the timestamp on the file, as Dan says.
First step: I followed your first set of instructions. At first I was confused because the file was not where I expected it to be; it was in a folder on my hard drive (not in "Library", then "Application Support", and so on). This made me wonder suddenly if it was merely a LINKED file, not a STORED one. So I did the "Attach Stored Copy of File" command and did that -- and the new file icon looked different in Zotero. So I ran the right-click thing you said to do over THAT file and it DID open up a folder in the directory I expected to see! THAT ID (for the folder this is in) is J4FNTUQW. Does that sound right?
If you don't mind, I am going to stop there and make sure that much is right. Then I will do the next step.
I am starting to think maybe a lot of my files are merely links -- which I remember now is all I could set up in Zotero 1.1 (which is all I had until this past spring when I finally found a librarian who could help me safely upgrade). I am going to sit here and open them right now, now that I know what the two different icons look like, and see if that is part of the problem. As soon as I hear back from you if I have the first part of this right (the correct file ID number), then I will do step 2.
Thank you again for helping me get this worked out.
Dawn
I am going to assume the problem was that I had linked attachments in some cases, rather than stored, and that the ones I happened to choose to test were linked. So it did not work.
But I have learned (a) how to "show files" (for all kinds of reasons that are important), (b) how to make sure I have stored attachments rather than merely links to them, and (c) how to find out important things about my sync function.
Many MANY thanks!!!! You may mark this case CLOSED at last! :-)
Glad to hear it's all working. Back to work, enjoy your day. :-)
Last login: Sun Jun 24 13:22:40 on ttys000
/Users/dawn/Library/Application\ Support/Firefox/Profiles/80zw6jtz.default/zotero/storage/HFU78H7T/1\ master\ calendar ; exit;
Dawn-Adamss-MacBook-Pro-15:~ dawn$ /Users/dawn/Library/Application\ Support/Firefox/Profiles/80zw6jtz.default/zotero/storage/HFU78H7T/1\ master\ calendar ; exit;
-bash: /Users/dawn/Library/Application Support/Firefox/Profiles/80zw6jtz.default/zotero/storage/HFU78H7T/1 master calendar: cannot execute binary file
logout
[Process completed]
I thought I had this problem licked, but now it seems worse than it was before. Before I could at least see the file, though it did not update.
Please advise.
(Other people have reported this, but I'm not exactly sure what causes this. I can't reproduce it in Lion using a Word document without an extension—syncing that file down and opening it opens it in Word.)
I think I'll just have to store the file backups another way, darn it. As long as I link to them from my Zotero and keep copies of those attachments in another system for backup, at least I shouldn't lose my work.
Thanks for all the help you've all given me as I've tried to figure this out! I suspect I've simply got several different problems that are making it difficult to parse out why it works some times and not on others.
You can check the timestamp by viewing the file with "Show File" and then viewing its Properties.
(Just in case, the version to edit is the one shown with "Show File", of course, not the file wherever it was in your filesystem before you appended it to the Zotero item.)