Report ID: 1437777773 Stuck on "Waiting for login..." Loop

I have installed zotero on my debian-13 system through the following means as described on the github repo:

wget -qO- https://raw.githubusercontent.com/retorquere/zotero-pkg/master/install.sh | sudo bash
sudo apt update
sudo apt install zotero

Steps to reproduce the issue:

Open the fresh install of zotero, and click on the sync button. Then click the login button, and a page gets opened on firefox. Log in and get a "Your Zotero application has been logged in to your account." succesful message. Returning to the desktop app however, leads to a "Waiting for login..." message that loops indefinitely.

For the zotero connector side of things, my debug ID is: D2009883005
For the application side the debug ID is: D884966257

I'm seeing the issue might be the "API key not set" message in the error report, but how do I set it?

Attempted solutions:
# installed gnome-keyring, because I did not have it previously
# created a new API key and added a user.js file to my profile with the following:
user_pref("extensions.zotero.sync.storage.backend", "file");
user_pref("extensions.zotero.sync.apiKey", "my_key");
# checked that zotero was listening on the correct port

For the record, I have not been able to login at any point before either.
  • [JavaScript Error: "NS_ERROR_ABORT: User canceled OS unlock entry" {file: "resource://gre/modules/OSKeyStore.sys.mjs" line: 321}]
    This happens when the system secret service isn't running or Zotero doesn't have access to it. In the latest Zotero beta, Zotero will warn you that it can't store credentials securely and offer to fall back to (effectively) unencrypted storage, but it would be better to figure out why it's not working on your system.
    # created a new API key and added a user.js file to my profile with the following:
    user_pref("extensions.zotero.sync.storage.backend", "file");
    user_pref("extensions.zotero.sync.apiKey", "my_key");
    I assume you got these from AI. These are made up — please don't follow AI guidance about Zotero that you haven't verified. You should delete these.
  • Thanks for the quick reply! I'm afraid I've done what's suggested in the other discussion, with gnome-keyring and libsecret. I'll delete the user.js AI slop, my bad for that, I've just been getting desperate. I've checked, and the gnome-keyring is running.

    I just suspect it's not configured correctly (?), but not sure what to do about that.
  • dstillman Zotero Team
    edited yesterday at 4:02pm
    I'm afraid we don't have any other guidance on this at this time. If you can't figure it out, you can install the beta for now (also available via zotero-deb), which will just revert to the pre–Zotero 10 storage.
  • I will try the beta, thanks
  • Update:

    Installed beta, then I get the pop-up about keyrings and ignore it, and it works. The version is zotero-beta (10.0.2.3). Not sure how to close a thread, but it has been resolved.
Sign In or Register to comment.