Discussion:
[unison-users] Error renaming file on High Sierra
dnj@mit.edu [unison-users]
2018-01-22 17:15:37 UTC
Permalink
I suspect I just did something very stupid and upgraded one of my machines to High Sierra. Now I don't seem to be able to sync new files.


I get errors of this form:


Failed: Error in renaming /Users/dnj/Filestore/.unison.jan-02-2018 trash me.txt.273b0d9d469d57ba214be3bf62cdacc4.unison.tmp to /Users/dnj/Filestore/.unison.jan-02-2018 trash me.txt-bad.273b0d9d469d57ba214be3bf62cdacc4.unison.tmp:

No such file or directory [rename(/Users/dnj/Filestore/.unison.jan-02-2018 trash me.txt.273b0d9d469d57ba214be3bf62cdacc4.unison.tmp)]


Any suggestions? I'm currently running 2.40.1. I tried 2.48 but that produced many more sync failures.


Daniel
'Benjamin C. Pierce' bcpierce@cis.upenn.edu [unison-users]
2018-01-22 17:50:03 UTC
Permalink
We’re aware of some issues about AppleDouble files (whose handling seems to have changed a bit on the new apple filesystem), but I’m running High Sierra on a couple of machines. You could try upgrading to 2.50 from here:

https://github.com/bcpierce00/unison.git <https://github.com/bcpierce00/unison.git>

You’ll need an up to date OCaml compiler, but nothing else (for the text UI).

- B
Post by ***@mit.edu [unison-users]
I suspect I just did something very stupid and upgraded one of my machines to High Sierra. Now I don't seem to be able to sync new files.
No such file or directory [rename(/Users/dnj/Filestore/.unison.jan-02-2018 trash me.txt.273b0d9d469d57ba214be3bf62cdacc4.unison.tmp)]
Any suggestions? I'm currently running 2.40.1. I tried 2.48 but that produced many more sync failures.
Daniel
Daniel Jackson dnj@mit.edu [unison-users]
2018-01-25 18:06:22 UTC
Permalink
Thanks so much!

Installed 2.51 and now everything works.

This experience made me realize (again):

A. What a pain software installation still is.

B. How much I love and depend on Unison. Thank you Benjamin and all your collaborators!

Some tips if anyone else gets into this situation:

1. Make sure you update O’Caml at both ends: it won’t work if you compile the same Unison source with different versions of the compiler.

2. The Unison makefile failed on the final step of copying the executable. Maybe it needs to be run within the src/ directory, where the executable was placed.

Daniel
Post by 'Benjamin C. Pierce' ***@cis.upenn.edu [unison-users]
https://github.com/bcpierce00/unison.git <https://github.com/bcpierce00/unison.git>
You’ll need an up to date OCaml compiler, but nothing else (for the text UI).
- B
'Benjamin C. Pierce' bcpierce@cis.upenn.edu [unison-users]
2018-01-26 16:21:22 UTC
Permalink
Glad it’s working (again) for you!! :-)

I’d like to second your thanks to everybody that’s been pitching in to help make improvements to Unison, answer questions, triage issue reports, etc. It makes a big difference!

- Benjamin
Post by Daniel Jackson ***@mit.edu [unison-users]
Thanks so much!
Installed 2.51 and now everything works.
A. What a pain software installation still is.
B. How much I love and depend on Unison. Thank you Benjamin and all your collaborators!
1. Make sure you update O’Caml at both ends: it won’t work if you compile the same Unison source with different versions of the compiler.
2. The Unison makefile failed on the final step of copying the executable.. Maybe it needs to be run within the src/ directory, where the executable was placed.
Daniel
Post by 'Benjamin C. Pierce' ***@cis.upenn.edu [unison-users]
https://github.com/bcpierce00/unison.git <https://github.com/bcpierce00/unison.git>
You’ll need an up to date OCaml compiler, but nothing else (for the text UI).
- B
Continue reading on narkive:
Search results for '[unison-users] Error renaming file on High Sierra' (Questions and Answers)
11
replies
How did the the Internet get started?
started 2007-02-11 06:06:14 UTC
trivia
Loading...