AnnotationHub - Problem with SSL CA certificate
0
0
Entering edit mode
dalloliogm ▴ 50
@dalloliogm-7141
Last seen 3.6 years ago
European Union

I am trying to install AnnotationHub in a freshly installed Ubuntu system. I am getting some errors that seem to be related to missing libraries installed in the system.

The first time I tried to install AnnotationHub I got some errors related to libcurl, but these were solved by installing libcurl. However now I am receiving another error related to a missing SSL CA certificate, and I am not sure about what should I install. In any case the error message doesn't seem to be clear enough so I though better to report it here.

The AnnotationHub installation itself works correctly, but then the library doesn't work:

biocLite("AnnotationHub")
> ahub = AnnotationHub()
updating AnnotationHub metadata: retrieving 1 resource
Error: 'AnnotationHub' database corrupt; remove it and try again
  database: ‘/home/gioby/.AnnotationHub/annotationhub.sqlite3’
  reason: missing tables
In addition: Warning messages:
1: In curl::curl_fetch_disk(url, x$path, handle = handle) :
  progress callback must return boolean
2: In curl::curl_fetch_disk(url, x$path, handle = handle) :
  progress callback must return boolean
3: In curl::curl_fetch_disk(url, x$path, handle = handle) :
  progress callback must return boolean
4: In curl::curl_fetch_disk(url, x$path, handle = handle) :
  progress callback must return boolean
5: download failed
  hub path: ‘https://annotationhub.bioconductor.org/metadata/annotationhub.sqlite3’
  cache path: ‘/home/gioby/.AnnotationHub/annotationhub.sqlite3’
  reason: Problem with the SSL CA cert (path? access rights?)
>

The ~/.AnnotationHub folder is writable to all users, and the same error occurs when I install it with root privilegies.

annotationhub dependencies • 2.9k views
ADD COMMENT
0
Entering edit mode

One possibility (but unlikely) is that you might need to wipe out the AnnotationHub metadata DB and start again:

removeCache()

If that fails, what happens when you try downloading any URL to disk, say

curl::curl_fetch_disk("www.google.com", tempfile())

or

curl::curl_fetch_disk("https://annotationhub.bioconductor.org/metadata/annotationhub.sqlite3", tempfile())

? If you still get the same "SSL CA cert" error, then you might want to try reinstalling packages "httr" and "curl".

This doesn't look like an AnnotationHub-specific problem, but rather something related to Internet file handling.

ADD REPLY

Login before adding your answer.

Traffic: 939 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6