Hi,
My aim is to synchronise .newsrc.eld between some systems.
I try to do this with gnus-cloud, but run into a problem:
Uploading to the imap-server works fine, but I can't
get gnus-cloud-download-all-data working.
(it never downloads anything)
Any tips on how to proceed ?
Here follows a short description of my approach:
I have set up two Emacs users, and a Dovecot imap server.
Both Emacs users connect to the same account on the
imap server, and have a simular .gnus.el
On both systems I have set the imap-server as the
cloud-host, and on both have set
nntp:
news.gwene.org to cloud-sync.
Let's call Emacs user 1 as system A
and Emacs user 2 as system B.
On system A I open a group in
news.gwene.org, read
some articles, and then issue
M-x gnus-cloud-upload-all-data
The system asks twice a password for symmetrical encryption
and after that reports:
Uploaded Gnus Cloud data successfully to nnimap+<url-of-local-imap-server>:Emacs-Cloud
On the imap server I see indeed the entry in the Emacs-Cloud folder,
and when decrypted it has the .newsrc.eld contents.
So far, so good.
On system B I open the same group in
news.gwene.org, read some
articles, and then issue
M-x gnus-cloud-download-all-data
The system reacts with:
nnimap read 0k from <url-of-local-imap-server>
After some tests, with gnus-cloud-upload-all-data and
gnus-cloud-upload-data there are several messages on the imap
server, with different sequence numbers, but the result is
everytime the same: 0k read.
Also I have added on system A the following to .gnus.el:
gnus-cloud-synced-files '("
testfile.org")
and created a file called "
testfile.org" with some content.
After gnus-cloud-upload-all-data I see indeed that the file is
added in a message on the imap-server, but again, system B
still downloads nothing.
Next, I added the same line to the .gnus.el of system B
and touched
testfile.org there. Same result, again
the "read 0k" message.
I have also tried this with base64 and with plain text setup,
same results.
Version:
I work with Gnus v5.13,
and have done the above both with GNU Emacs 28.2 as well as a
new compiled Emacs with sources freshly cloned from git,
GNU Emacs 30.0.50
Thanks for any tips,
Matto