File picker not opening when adding files or exporting items [Known Issue]

1stein
1stein
Community Member
edited June 21 in Linux

As already asked in #126954, I also struggle to export my passwords at the moment. I tried this with several versions of 1Password:

  • 1Password for Linux 8.10.34 (81034039) from Snap Store (latest/beta)
  • 1Password for Linux 8.10.34 (81034040) from Snap Store (latest/stable)
  • 1Password for Linux 8.10.34 (81034040) from apt repository
  • 1Password for Linux 8.10.34 (81034040) from deb file

I followed the guide How to export your data from the 1Password desktop app, but no matter which file format I choose, I see a very short loading animation on the export button but nothing else happens. Looking at the logs, I see no entries while I perform the export actions.


1Password Version: 1Password for Linux 8.10.34 (81034039)
Extension Version: Not Provided
OS Version: Ubuntu 24.04 LTS
Browser: Not Provided

Comments

  • Dave47
    Dave47
    Community Member

    I have the same problem on Linux Mint 21.3, also with 1Password 8.10.34.

  • Hi @1stein and @Dave47! Thanks for reaching out to let us know that exporting isn't working on 8.10.34. Could you both email in to support+forum@1password.com with a diagnostics report from 1Password, so we can look into this further?

    With your email please include:

    Once you get a response with a Support ID, please post that number here so we can connect the dots. Thanks!

  • Dave47
    Dave47
    Community Member

    Diagnostics report submitted. Support ID is LQZ-46456-293.

  • jritzerfeld
    jritzerfeld
    Community Member

    This is not limited to exports. It seems that all file dialogs are broken. You cannot import SSH Keys. You cannot attach files. In the logs I see:
    plasmashell[21108]: [21108:0618/172144.113244:ERROR:select_file_dialog_linux_portal.cc(760)] Portal returned error: org.freedesktop.DBus.Error.AccessDenied: Portal operation not allowed: Unable to open /proc/21108/root

  • @Dave47, @1stein, and @jritzerfeld

    Thank you for the reports. Our development team is aware of an issue where the 1Password desktop app will fail to open the file picker on Linux systems. While I can't provide a timeline on when the issue will be resolved, this is something that the team is actively looking into.

    For the time being, if you'd like to export your data or perform any action that requires the file picker, you can use 1Password on a Windows or Mac device if you have one available. I'm sorry for the inconvenience.

    -Dave

    ref: dev/core/core#30360

  • theqlp
    theqlp
    Community Member

    When trying to add a file to an existing object or when trying to update an icon for an entry, clicking on the menu item that should open up a file chooser doesn't bring up a file chooser dialog or window.

    This happens on Fedora 40 with KDE Plasma 6.1 (Wayland) and Debian 12 with GNOME (both X11 and Wayland). I don't other Linux distros to test this with at the moment.


    1Password Version: 8.10.34
    Extension Version: Not Provided
    OS Version: Fedora 40, Debian 12
    Browser: Firefox

  • @theqlp

    I've merged your post into the existing thread for the issue. Please see my post here for details.

    Our developers continue to investigate the issue with the goal of releasing a fix as soon as possible. I'm sorry for the inconvenience.

    -Dave

  • Hi @1stein, @Dave47 @jritzerfeld, @theqlp,

    Our team has released a fix for this issue. It is currently in the nightly edge version of 1Password for Linux. You can learn how to install the nightly version here.

    As a note for Fedora users there are a few extra steps needed to set the appropriate settings in Fedora. Here are the instructions from our developers:

    Some 1Password functionality will not work if Yama's ptrace_scope value is set to 0. Execute the following in your terminal to set ptrace_scope to 1, which will impose some security restrictions system-wide. You will have to restart 1Password to get it to detect the new setting.

    Temporarily (until next reboot)

    sudo sysctl -w kernel.yama.ptrace_scope=1
    

    Permanently

    echo "kernel.yama.ptrace_scope=1" | sudo tee -a /etc/sysctl.d/99-ptrace-scope.conf
    sudo sysctl --system
    

    If you are not a Fedora user you can skip the above Yama commands.

    Let us know if you are able to open the file picker again after updating to the latest nightly.

  • aalexandrov
    aalexandrov
    Community Member
    edited June 28

    Same issue here with the following config:

    $ 1password --version
    8.10.34
    $ uname -a
    Linux ... 6.5.0-41-generic #41~22.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun  3 11:32:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
    
  • payam
    payam
    Community Member

    Hi,

    I tried to attach a file to one of my items, but "attach a file" doesn't open anything.


    1Password Version: 8.10.34 (81034040)
    Extension Version: Not Provided
    OS Version: Debian 12
    Browser: Not Provided

  • @aalexandrov, @payam

    Thanks for letting us know of the issue sorry for the inconvenience. Our team has released a fix in the nightly version of 1Password. You can switch to using the nightly version of the 1Password app to resolve the issue.

  • 1stein
    1stein
    Community Member

    Thanks @Joshua_ag with the nightly I was able to use the file picker and finish the export.

  • Thanks so much @1stein for testing it out and letting us know that it worked!

  • DenalB
    DenalB
    Community Member

    @Joshua_ag
    Hey Joshua, also stumbled about this issue with latest stable release 8.10.34 in Arch Linux / EndeavourOS. Any timeframe when the fix will find Its way into beta / stable releases?

    In Windows 11 everything works as expected when trying to add files or icons to entries.

  • Hi @DenalB,

    Hopefully in the next week or so we will be in the beta, but I cannot guarantee that as other factors can cause delays, or if an issue is found during testing in the nightly.

  • Robbans
    Robbans
    Community Member
    edited July 22

    +1 on the regular version of 1Password on Fedora 40 Wayland KDE

    1Password version: 8.10.36

  • @Robbans

    I'm sorry that you're also unable to attach a file to an item in 1Password. This is a known issue that our development team is currently testing a fix for in the latest beta version of 1Password for Linux:

    We’ve fixed an issue where the file selector didn’t open when you tried to add an attachment.

    If you'd like to help us test the fix then you can find instructions on how to switch to the beta here: Use 1Password beta releases

    Once testing verifies that the fix works without issues, it'll be included in the stable version as soon as possible.

    -Dave

    ref: dev/core/core#30360

  • DenalB
    DenalB
    Community Member

    @Dave_1P
    Thanks for mentioning, that the fix found its way into the beta. So I'll switch to the beta release for now. 👍

  • @DenalB

    Sounds good, let us know if you run into any issues. 🙂

    -Dave

  • jc00ke
    jc00ke
    Community Member
    edited August 5

    I'm still seeing what I think this issue is on 1Password for Linux 8.10.38 (81038059) Beta channel. If I quit and restart and get lucky with the initial file drop, I can get the document saved. I'll send a diagnostics export (tar.xz'd from 1.9MB to 50kb!) to support+forum@

    support ticker ID: VFM-81337-523

  • solarizde
    solarizde
    Community Member

    Experience the same for everything related to the filepicker.
    Also on Fedora 40 and 1password 8.10.36 runing from the yum beta repo.

    In the past when it occured I was able to fix it by forcing the use of GTK Portal.

    export GTK_USE_PORTAL=1

    But this does not change anything anymore no matter if 0 or 1.

    If I start 1password with log info level I see when the Filepicker is about to open it produce a portal error, which explain why it cant open the picker:

    [80396:0806/165053.215373:ERROR:select_file_dialog_linux_portal.cc(760)] Portal returned error: org.freedesktop.DBus.Error.AccessDenied: Portal operation not allowed: Unable to open /proc/80396/root
    

    Known Portals are confirmed working on manual trigger or other apps:

    # qdbus | grep portal
     org.freedesktop.portal.Desktop
     org.freedesktop.portal.Documents
     org.freedesktop.impl.portal.PermissionStore
     org.freedesktop.impl.portal.desktop.kwallet
     org.freedesktop.impl.portal.desktop.kde
     org.freedesktop.impl.portal.desktop.gtk
    
  • DenalB
    DenalB
    Community Member

    @Dave_1P
    Just installed the update 8.10.38 from 8.10.36 on EndeavourOS from AUR, and it looks like the bug is fixed. I'm able to add icons and documents now.

    Thanks! 😊

  • solarizde
    solarizde
    Community Member

    Hmm where to get the 8.10.38? In the beta repository it is still at 8.10.36-35.BETA

  • DenalB
    DenalB
    Community Member
    edited August 7

    I'm on the stable release, and it was released in the AUR.

    https://aur.archlinux.org/packages/1password
    https://releases.1password.com/linux/8.10/#1password-for-linux-8.10.38

    We’ve fixed an issue where the file selector didn’t open when you tried to add an attachment.

  • Hi everyone,

    If you are still experiencing this issue, I'd like to ask you to send an email tosupport+linux@1Password.com.

    With your email please include:

    We'll look forward to hearing from you.

    Franky

  • etrask
    etrask
    Community Member
    edited August 8

    Hello
    I am still having this issue on Linux app version 8.10.38.
    I have just emailed support as instructed by FrankyO1P, and received ticket ID DHJ-17279-264

    I am happy to run any tests that may help resolve this! Thank you

  • etrask
    etrask
    Community Member
    edited August 9

    Gem from 1p support was able to get this resolved for me! It turns out a particular kernel variable needed to be enabled on my system, but was disabled (Debian 12, Mate 1.26.0):
    kernel.yama.ptrace_scope=1

    This can be accomplished with these commands:
    echo "kernel.yama.ptrace_scope=1" | sudo tee -a /etc/sysctl.d/99-ptrace-scope.conf
    sudo sysctl --system

    Thanks Gem and stellar 1p team!

  • @etrask

    I'm happy that Gem was able to help. 🙂

    -Dave