You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

GNiX's avatar
GNiX
New member | Level 2
3 years ago

Linux Dropbox Certificate error

After installing dropbox proprietary (using dropbox_2020.03.04_amd64.deb) and python3-gpg on on Linux Mint the app fails with the following message. This means Dropbox doesn't work at all on Linux when installing from the .deb file.

 

# dropbox start -i
Starting Dropbox.../usr/bin/dropbox:303: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
GObject.threads_init()
/usr/bin/dropbox:453: PyGTKDeprecationWarning: Stock items are deprecated. Please use: Gtk.Button.new_with_mnemonic(label)
self.ok = ok = Gtk.Button(stock=Gtk.STOCK_OK)
/usr/bin/dropbox:458: PyGTKDeprecationWarning: Stock items are deprecated. Please use: Gtk.Button.new_with_mnemonic(label)
cancel = Gtk.Button(stock=Gtk.STOCK_CANCEL)
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)>
/usr/bin/dropbox:341: PyGIDeprecationWarning: GObject.idle_add is deprecated; use GLib.idle_add instead
GObject.idle_add(self.on_exception, e)
/usr/bin/dropbox:309: PyGTKDeprecationWarning: The keyword(s) "type, message_format" have been deprecated in favor of "message_type, text" respectively. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
error = Gtk.MessageDialog(parent = None,
/usr/bin/dropbox:309: PyGTKDeprecationWarning: The "flags" argument for dialog construction is deprecated. Please use initializer keywords: modal=True and/or destroy_with_parent=True. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
error = Gtk.MessageDialog(parent = None,

  • GNiX's avatar
    GNiX
    3 years ago
    Actually it was some issue with validating the Dropbox certificate (wget didn't work either). Re-installing ca-certificates and then reinstalling dropbox did the trick. If anyone else run in to the same problem here is what solved it for me:

    sudo apt install --reinstall ca-certificates
    sudo update-ca-certificates -f
  • Здравко's avatar
    Здравко
    Legendary | Level 20

    Hi GNiX,

    All posted by you are warnings/deprecation messages. Unfortunately, since Linux is NOT first class citizen on Dropbox 'opinion', very often upcoming changes lag in time (sometimes actual actions start after really application stops working completely). Since by now posted by you are only warnings, they can't be a reason for "Dropbox doesn't work" (not yet, at least). If you can't still run Dropbox, download the daemon by hands (the only thing ssl-certificates are needed for). Clear the daemon's dirs (if any) using following command:

    rm -rf ~/.dropbox*

     ... and install it anew with:

    cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -

    Now you should be able run Dropbox either from your GUI menu or command:

    dropbox start

    Current status (including is application working) can be check with:

    dropbox status

     Good luck.

    • GNiX's avatar
      GNiX
      New member | Level 2
      Actually it was some issue with validating the Dropbox certificate (wget didn't work either). Re-installing ca-certificates and then reinstalling dropbox did the trick. If anyone else run in to the same problem here is what solved it for me:

      sudo apt install --reinstall ca-certificates
      sudo update-ca-certificates -f
      • caroline9's avatar
        caroline9
        Explorer | Level 3

        Hi can someone talk me through steps to resolve this? We have already reinstalled Dropbox but this hasn't worked. 

         

        What do I need to do to resolve these?

        sudo apt install --reinstall ca-certificates
        sudo update-ca-certificates -f

         

        Thank you