expanded backup section?

Keith Bierman khbkhb at gmail.com
Fri Feb 10 23:38:37 GMT 2023


After tinkering around ... I may have gotten past the authorization, but
now have an sqlite issue

/Users/khb>/usr/local/opt/offlineimap/bin/offlineimap -q

OfflineIMAP 8.0.0

  Licensed under the GNU GPL v2 or any later version (with an OpenSSL
exception)

ERROR: Exceptions occurred during the run!

ERROR: While attempting to sync account 'Test'

  Your sqlite is not multithreading safe.


Traceback:

  File
"/usr/local/Cellar/offlineimap/8.0.0_1/libexec/lib/python3.11/site-packages/offlineimap/accounts.py",
line 298, in syncrunner

    self.__sync()

  File
"/usr/local/Cellar/offlineimap/8.0.0_1/libexec/lib/python3.11/site-packages/offlineimap/accounts.py",
line 377, in __sync

    remoterepos.sync_folder_structure(localrepos, statusrepos)

  File
"/usr/local/Cellar/offlineimap/8.0.0_1/libexec/lib/python3.11/site-packages/offlineimap/repository/Base.py",
line 292, in sync_folder_structure

    status_repo.makefolder(local_name.replace(

  File
"/usr/local/Cellar/offlineimap/8.0.0_1/libexec/lib/python3.11/site-packages/offlineimap/repository/LocalStatus.py",
line 123, in makefolder

    folder.openfiles()

  File
"/usr/local/Cellar/offlineimap/8.0.0_1/libexec/lib/python3.11/site-packages/offlineimap/folder/LocalStatusSQLite.py",
line 107, in openfiles

    assert sqlite.threadsafety == 1, 'Your sqlite is not multithreading
safe.'

           ^^^^^^^^^^^^^^^^^^^^^^^^


Changes I'd made to get this far:

#



remotehost = server87.web-hosting.com

remoteuser = Test at chnorthmetro.us

remotepass = $mysecret_obviously


and, while the comments made it clear a fingerprint was required, it didn't
make it explicit how to get it (and I misread it to believe the SHAxxx and
quote marks were required). Perhaps it is obvious to the expert user, but
the clue was in the error message, but I was too slow to catch it for quite
sometime.


Server SSL fingerprint(s) '[('openssl_sha512',
'd6bad42aa6f3a058cff15be3c1c2c9a6c99bc2eb91daa028e4bd654ce617c9e3f3381107779b51bffe6c5a610fe75ab0c8dc5f3d500fa11a2735ad7d49801bc9'),
('openssl_sha384',
'36fde4091d6e39e4b289acf857da67cbfc3bbb62df5ffdcd0cd4a00549836a49fd4bbfee1a29c90e5dc444ceb3d18117'),
('openssl_sha256',
'16c0dd71d39a18be3f7aed6869c571d6ba03dc1582580bdd5d273a58c103b8e5'),
('openssl_sha224',
'40cda8c6034f97787d8ef718421fd56da1679b9f52006c1d777dd4ef'),
('openssl_sha1', '87aa7373c162ae73a4d9c69cf82a3e164267c362')]' for hostname
'server87.web-hosting.com' does not match configured fingerprint(s)
*['"d6bad42aa6f3a058cff15be3c1c2c9a6c99bc2eb91daa028e4bd654ce617c9e3f3381107779b51bffe6c5a610fe75ab0c8dc5f3d500fa11a2735ad7d49801bc9"']*
.  Please verify and set 'cert_fingerprint' accordingly if not set yet.


If  Examples:



# sha1 "bbfe29cf97acb204591edbafe0aa8c8f914287c9".



# sha1 with colons
"BB:FE:29:CF:97:AC:B2:04:59:1E:DB:AF:E0:AA:8C:8F:91:42:87:C9"


Had read

cert_fingerprint = bbfe29cf97acb204591edbafe0aa8c8f914287c9

cert_fingerprint =
BB:FE:29:CF:97:AC:B2:04:59:1E:DB:AF:E0:AA:8C:8F:91:42:87:C9


I would have gotten to the sqlite issue much faster ;>


Keith Bierman
khbkhb at gmail.com



On Fri, Feb 10, 2023 at 1:28 PM Keith Bierman <khbkhb at gmail.com> wrote:

> Trying to make the most simple of archives, to be run say yearly for a
> public organization (so the email remains a public record, doesn't require
> encryption, etc.)d
>
> The backup section seems to just be a couple of caveats for someone who
> has already configured regular runs ... is there/can there be a more
> obvious "this is where you stick the password (.netrc doesn't seem to be
> doing the trick -- I get errors about the SSL configuration) ... I've no
> doubt it is tucked away someplace in the FM, but a quick scan isn't making
> it obvious (I've got a half dozen accounts to spool offline for posterity)
> ... not enough to warrant deep research, but more than is handy to do
> manually ;>
>
> Keith Bierman
> khbkhb at gmail.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20230210/fa459023/attachment-0001.htm>


More information about the OfflineIMAP-project mailing list