New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error: Lost connection with the server Ubuntu 20.04 #334
Comments
I have been experiencing this error as well, syncing between 19.10 (or older) and 20.04 machines. Synchronising between a vanilla 19.10 instance and a vanilla 20.04 instance yields the message: Copying the unison binary from 19.10 to 20.04 and using -servercmd yields an almost-identical result as above; building a statically-linked binary from source on 19.10 and synchronising between the two identical statically-linked binaries also yields the same result: It's very puzzling! |
Have you tried to clear archive files under ~/.unison? i.e. |
Thanks for the suggestion! I had indeed tried that; unison re-runs archive detection, but fails before transferring any data. If there are no changes, the archive detection appears to complete successfully, but re-runs the full archive detection every subsequent run too; if there are changes, it finishes the update detection and then fails with the same error:
OR, in the case of two identical unison binaries, or a statically-linked binary on the updated side:
|
I also have the same problem I deleted the ~/.unison folder both on Ubuntu 20.04 and on the raspberry pi. |
I was able to fix the issue by first purging Unison via apt-get and then reinstalling using the static files, |
This didn't work for me. I have unbuntu 18.04 on the server and 20.04 on the client. What am I missing? |
I have an interesting - and puzzling - piece of evidence. NAS with unison running in a docker, which I do not want to touch. 28.48.4-4 from ubuntu 20.04 with another error related to it being compiled with a different OCaml version. So I installed the version from 19.10, 28.48.4-1, on two different machines that sync to the NAS. One of the two machines works, the other doesn't. |
I found the missing piece: I purge all installed unison packages on the (focal) desktop and installed the bionic package (unison-gtk_2.48.4-1ubuntu1_amd64.deb). This is not enough by it self. I also had to remove the binary files under ~/.unison create since the upgrade to focal. |
Yes! that does it also on my setup. Everything works as intended now. What a pain, didn't realize that Ocam binaries are incompatible if the compiler changes. |
I just upgraded from Ubuntu 19.10 to Ubuntu 20.04 and met with the following error:
Btw, it works fine when syncing folders locally but not remotely
The text was updated successfully, but these errors were encountered: