NOTICE! This is a static HTML version of a legacy Fiji BugZilla bug.

The Fiji project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Bug 362 - Updater reports "Updated successfully" but doesn't upload in existing ssh repository
Updater reports "Updated successfully" but doesn't upload in existing ssh rep...
Status: RESOLVED INVALID
Product: Fiji
Classification: Unclassified
Component: Other
unspecified
Macintosh Mac OS
: P2 normal
Assigned To: ImageJ Bugs Mailing List
Depends on:
Blocks:
 
Reported: 2011-09-15 10:22 CDT by Jan Eglinger
Modified: 2011-09-15 16:15 CDT
0 users

See Also:

Description Jan Eglinger 2011-09-15 10:22:25 CDT
I had an ssh repository which used to work for up- and downloading a while ago.
When I try to upload a new file (a .txt macro in macros/toolsets in my case), the updater reports "Updated successfully. Please restart Fiji!", but the files in the repository did not change. It still contains the files that were uploaded some months ago, and I can download them via the updater in any other instance of Fiji, but the newly "uploaded" files aren't even written.

Might this have to do with the recent inclusion of sftp in addition to ssh?

I also tried to remove and re-add the upload site in the updater, but no success.

Jan
Comment 1 Jan Eglinger 2011-09-15 11:21:49 CDT
I may add that the updater doesn't even ask for a login name and password when trying to upload a file to the repository.
(When setting up a new repository, it does ask, and writing of a new db.xml.gz works well.)

Jan
Comment 2 Curtis Rueden 2011-09-15 16:04:13 CDT
After flagging a file for upload in the updater, are you clicking the "Upload to server" button? I think if you click "Apply changes" it just does the updates and not the uploads.
Comment 3 Jan Eglinger 2011-09-15 16:10:19 CDT
Oops, you're right. I must have clicked the wrong button all the time (didn't use this function for a while). Sorry for the invalid bug.

Then I might turn this into a feature request:
When marking something for upload, but no file to download, deactivate the "Apply changes" button, or at least make "Upload to server" the default button with focus. :)

Jan
Comment 4 Curtis Rueden 2011-09-15 16:15:13 CDT
Yes, intuitively, I was wondering why "Apply changes" does not also perform the uploads. In other words, why have an "Upload to server" button at all? But there may be a good reason for it, I'm not sure.