Discussion:
[unison-users] Failed: Error in renaming
Martin Del Torre martindeltorre@yahoo.com [unison-users]
2018-02-24 21:45:14 UTC
Permalink
Hello!
I have a problem with an issue I even found described on the troubleshooting FAQ. But honestly I did not understand what I need to do! I am sorry!
These two files won’t get synchronized

Can you please help me?
Thanks a lot!
Martin

What happened:

peach:Unison hugo$ unison Iphone_7.prf
Contacting server...
Password:
Connected [//peach.local//Users/hugo -> //apple.local//Users/bernadette]
Looking for changes
Waiting for changes from server
Reconciling changes

local apple.local
new file ----> CPDD/BuchhaltungCPPD/2017/Rechnung_Geld_Ausgang/Salt_Bernadette/bill-2017-11-11.pdf [f]
new file ----> CPDD/Dossiers/Spielort_Staedte/ZH_2018_Stradoni_PuffdeDuff/Buehne_Stradoni.jpg [f]

Proceed with propagating updates? [] y
Propagating updates


UNISON 2.48.3 started propagating changes at 22:24:38.39 on 24 Feb 2018
[BGN] Copying CPDD/BuchhaltungCPPD/2017/Rechnung_Geld_Ausgang/Salt_Bernadette/bill-2017-11-11.pdf from /Users/hugo to //apple.local//Users/bernadette
[BGN] Copying CPDD/Dossiers/Spielort_Staedte/ZH_2018_Stradoni_PuffdeDuff/Buehne_Stradoni.jpg from /Users/hugo to //apple.local//Users/bernadette
Failed: Error in renaming /Users/bernadette/.unison.bill-2017-11-11.pdf.7afede1af02b08ff8f381f070cddc561.unison.tmp to /Users/bernadette/.unison.bill-2017-11-11.pdf-bad.7afede1af02b08ff8f381f070cddc561.unison.tmp:
No such file or directory [rename(/Users/bernadette/.unison.bill-2017-11-11..pdf.7afede1af02b08ff8f381f070cddc561.unison.tmp)]
100% 00:00 ETAFailed [CPDD/BuchhaltungCPPD/2017/Rechnung_Geld_Ausgang/Salt_Bernadette/bill-2017-11-11.pdf]: Error in renaming /Users/bernadette/.unison.bill-2017-11-11.pdf.7afede1af02b08ff8f381f070cddc561.unison.tmp to /Users/bernadette/.unison.bill-2017-11-11.pdf-bad.7afede1af02b08ff8f381f070cddc561.unison.tmp:
No such file or directory [rename(/Users/bernadette/.unison.bill-2017-11-11..pdf.7afede1af02b08ff8f381f070cddc561.unison.tmp)]
Failed: Error in renaming /Users/bernadette/.unison.Buehne_Stradoni.jpg.7afede1af02b08ff8f381f070cddc561.unison.tmp to /Users/bernadette/.unison.Buehne_Stradoni.jpg-bad.7afede1af02b08ff8f381f070cddc561.unison.tmp:
No such file or directory [rename(/Users/bernadette/.unison.Buehne_Stradoni..jpg.7afede1af02b08ff8f381f070cddc561.unison.tmp)]
100% 00:00 ETAFailed [CPDD/Dossiers/Spielort_Staedte/ZH_2018_Stradoni_PuffdeDuff/Buehne_Stradoni.jpg]: Error in renaming /Users/bernadette/.unison.Buehne_Stradoni.jpg.7afede1af02b08ff8f381f070cddc561.unison.tmp to /Users/bernadette/.unison.Buehne_Stradoni.jpg-bad.7afede1af02b08ff8f381f070cddc561.unison.tmp:
No such file or directory [rename(/Users/bernadette/.unison.Buehne_Stradoni..jpg.7afede1af02b08ff8f381f070cddc561.unison.tmp)]
UNISON 2.48.3 finished propagating changes at 22:24:39.08 on 24 Feb 2018


Saving synchronizer state
Synchronization incomplete at 22:24:39 (0 items transferred, 0 skipped, 2 failed)
failed: CPDD/BuchhaltungCPPD/2017/Rechnung_Geld_Ausgang/Salt_Bernadette/bill-2017-11-11.pdf
failed: CPDD/Dossiers/Spielort_Staedte/ZH_2018_Stradoni_PuffdeDuff/Buehne_Stradoni.jpg
peach:Unison hugo$
worley@alum.mit.edu [unison-users]
2018-02-25 14:00:18 UTC
Permalink
"Martin Del Torre ***@yahoo.com [unison-users]"
<unison-users-***@yahoogroups.com> writes:

I'm no expert at this, but I would attack the problem in this order.
First, look at the first error message, and reformat it so I can read
the filenames more easily:

Failed: Error in renaming
/Users/bernadette/.unison.bill-2017-11-11.pdf.7afede1af02b08ff8f381f070cddc561.unison.tmp
to
/Users/bernadette/.unison.bill-2017-11-11.pdf-bad.7afede1af02b08ff8f381f070cddc561.unison.tmp:
No such file or directory [rename(
/Users/bernadette/.unison.bill-2017-11-11..pdf.7afede1af02b08ff8f381f070cddc561.unison.tmp
)]

This seems to be related to the preceding
[BGN] Copying CPDD/BuchhaltungCPPD/2017/Rechnung_Geld_Ausgang/Salt_Bernadette/bill-2017-11-11.pdf from /Users/hugo to //apple.local//Users/bernadette

My guess is that the first file is a leftover temporary file from a
previous Unison execution. Unison seems to want to save it with a name
including "-bad" to leave it marked for later human intervention.

And it seems that the rename failed, with Unison mentioning a slightly
different filename. I have no idea what is going on with that, perhaps
it is an actual Unison error. But listing all files
/Users/bernadette/.unison.bill* might reveal something. Also, check for
/Users/hugo/.unison.*.tmp.

As a practical matter, I would delete all files
/Users/bernadette/.unison.*.tmp, on the assumption that they are all old
Unison temporary files, and run Unison again, hoping that the problem
will not be repeated.

Or perhaps better, move all the .unison.*.tmp files into a temporary
directory elsewhere.

Or it's possible that your file system is not behaving "normally". For
instance, if you attempt to rename
/Users/bernadette/.unison.bill-2017-11-11.pdf.7afede1af02b08ff8f381f070cddc561.unison.tmp
to
/Users/bernadette/.unison.bill-2017-11-11.pdf-bad.7afede1af02b08ff8f381f070cddc561.unison.tmp,
does it work? Are any of the directories that are involved
write-protected? Can the Unison process read all the directories that
are involved? Are any of the directories that are named actually
symbolic links, and if so, do the targets of the links exist?

Dale
'Benjamin C. Pierce' bcpierce@cis.upenn.edu [unison-users]
2018-02-26 12:15:40 UTC
Permalink
Can you also post what version of Unison you are using and what operating system you are running (on both sides)?

- Benjamin
Post by ***@alum.mit.edu [unison-users]
I'm no expert at this, but I would attack the problem in this order.
First, look at the first error message, and reformat it so I can read
Failed: Error in renaming
/Users/bernadette/.unison.bill-2017-11-11.pdf.7afede1af02b08ff8f381f070cddc561.unison.tmp
to
No such file or directory [rename(
/Users/bernadette/.unison.bill-2017-11-11..pdf.7afede1af02b08ff8f381f070cddc561.unison.tmp
)]
This seems to be related to the preceding
[BGN] Copying CPDD/BuchhaltungCPPD/2017/Rechnung_Geld_Ausgang/Salt_Bernadette/bill-2017-11-11.pdf from /Users/hugo to //apple.local//Users/bernadette
My guess is that the first file is a leftover temporary file from a
previous Unison execution. Unison seems to want to save it with a name
including "-bad" to leave it marked for later human intervention.
And it seems that the rename failed, with Unison mentioning a slightly
different filename. I have no idea what is going on with that, perhaps
it is an actual Unison error. But listing all files
/Users/bernadette/.unison.bill* might reveal something. Also, check for
/Users/hugo/.unison.*.tmp.
As a practical matter, I would delete all files
/Users/bernadette/.unison.*.tmp, on the assumption that they are all old
Unison temporary files, and run Unison again, hoping that the problem
will not be repeated.
Or perhaps better, move all the .unison.*.tmp files into a temporary
directory elsewhere.
Or it's possible that your file system is not behaving "normally". For
instance, if you attempt to rename
/Users/bernadette/.unison.bill-2017-11-11.pdf.7afede1af02b08ff8f381f070cddc561.unison.tmp
to
/Users/bernadette/.unison.bill-2017-11-11.pdf-bad.7afede1af02b08ff8f381f070cddc561.unison.tmp,
does it work? Are any of the directories that are involved
write-protected? Can the Unison process read all the directories that
are involved? Are any of the directories that are named actually
symbolic links, and if so, do the targets of the links exist?
Dale
------------------------------------
------------------------------------
------------------------------------
Yahoo Groups Links
Loading...