その時々

その時々で違うんです。特に決まっていないんです。

UbuntuOneの同期がとれなくなった。

先日UbuntuOneのDBに障害が発生して停止していたようです。
そのときに何か設定がおかしくなったと思いこんで、
色々いじっていたらUbuntuOneの同期がとれなくなってしまいました。

まずはここでステータスを確認するべきだったんです。
UbuntuOne/Status

~/.cache/ubuntuone/log/u1-prefs.log
に次のようなエラーが出たりしています。

2011-05-13 05:32:43,210 - ubuntuone-preferences - ERROR - [Failure instance: Traceback (failure with no frames): <class 'dbus.exceptions.DBusException'>: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
]
2011-05-13 05:33:08,213 - ubuntuone-preferences - ERROR - org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Ubuntu日本語フォーラムに質問をなげてみても解答を得られず、あれこれ試したり調べたりしていたところ
UbuntuOneのサポートページに解答がありました。

Ubuntu One - Sync error

1. ubuntuone-preferencesとubuntuoen-syncdaemonをKILLします。
2. 次のファイルを削除します。

$ sudo rm -rf ~/.local/share/ubuntuone
$ rm -rf ~/.cache/ubuntuone
$ rm -rf ~/.config/ubuntuone
$ mv ~/Ubuntu\ One/ ~/Ubuntu\ One_old/

3. Ubuntuを再起動します。

これで同期が取れるようになりました。