Bright white font and appearance, can't see anything

First I lost my entire library, now I can't see anything - everything is bright white, the font is white, I have to highlight to see any text, there are no view or appearance options. My Mac is in dark mode but switching to light mode or auto mode does not changer anything. HELP
  • Can you take a screenshot of what you're seeing, upload it somewhere (e.g., Dropbox), and provide a link here?

    This is almost certainly related to your dark mode settings. If you haven't restarted after switching to light mode, do that first. If that doesn't help, open Terminal from Spotlight and run this command:

    defaults delete -g NSRequiresAquaSystemAppearance

    Then restart and try again.

  • Thanks for the response, I switched to light mode and restarted, then ran the terminal command and it gave this response:

    defaults delete -g NSRequiresAquaSystemAppearance
    2020-08-24 11:52:34.709 defaults[833:11435]
    Domain (kCFPreferencesAnyApplication) not found.

    Then restarted again.

    This is a link to a screenshot of what it looks like:
    https://drive.google.com/file/d/1wP572L-NXr0z_APKGGflYOnDoQqnG8RT/view?usp=sharing

    Also trying to restore the library:
    1. zotero.sqlite file in default directory is 971kb
    2. there is a 'sotrage' folder with subfolders and dates corresponding to my previous usage of zotero
    3. current data directory is in default location
    4. last used Zotero Aug 22nd 2020, only change since then is changing to dark mode on mac
    5. tried backup/restore steps here https://www.zotero.org/support/zotero_data#restoring_your_zotero_library_from_a_backup1
  • edited August 24, 2020
    971 kb is empty -- are there any other zotero.sqlite.* files in the folder?

    Edit: tried backup/restore steps here https://www.zotero.org/support/zotero_data#restoring_your_zotero_library_from_a_backup1 -- not sure what that means exactly. Did you have a back-up? Did you use an automatic back-up? What were the sizes of the .sqlite files for those?
  • Let's deal with your data first. Dark mode definitely did not affect your data in any way, so something happened to the Zotero database, outside of Zotero.

    You didn't answer this part:
    The names, sizes, and dates of the zotero.sqlite* files in your current data directory
  • edited August 24, 2020
    There is also a zotero.sqlite-journal file. There are no other zoter.sqlite.*files in the folder or any anywhere on my computer.

    Tried backup/restore steps as in, copied the 'storage' folder elsewhere, changed the Zotero folder to Zotero-Old, and then made a new Zotero folder, and pasted the 'storage' folder there. Didn't work.

    "Restoring Your Zotero Data From a Backup
    If you were not using Zotero syncing (or were but don't want to perform a full sync) and have a backup of your Zotero data directory, you can restore your library by replacing your active data directory with your backed-up data directory.

    Open the Advanced pane of the Zotero preferences and make a note of the specified path under Data Directory Location. (By default, this will be “Zotero” within your home directory.) Click “Show Data Directory”, which should reveal your active data directory containing zotero.sqlite and possibly a 'storage' subdirectory. Close Zotero, move one level up in the filesystem (Cmd-up-arrow on macOS, Alt-up-arrow on Windows), and rename the directory to “Zotero-Old”. Next, copy the data directory from your backup to the original location (e.g., “Zotero”).

    When you reopen Zotero, you should see your restored Zotero data.

    Once you've successfully restored your data, you can delete the “Zotero-Old” folder, but it's a good idea to keep it for a while until you're sure your data is correct.

    Note that, if you were using Zotero syncing, any changes you made to your library since the backup and subsequently synced to your online library will be applied to your restored database as soon as you sync. If you don't want that to happen, see the following section."

    Name: zotero.sqlite
    Size: 971 kb
    Date: Aug 24 2020

    Name: zotero.sqlite-journal
    Size: 91 kb
    Date: Aug 24 2020
  • Tried backup/restore steps as in, copied the 'storage' folder elsewhere, changed the Zotero folder to Zotero-Old, and then made a new Zotero folder, and pasted the 'storage' folder there.
    That's not a documented restore step. 'storage' alone doesn't do anything. The data is in the zotero.sqlite database.

    If you have a 'storage' folder with subfolders with dates going back a while but have no other zotero.sqlite files in the parent directory, then something on your system — perhaps some sort of extremely misguided cleaning tool — deleted the .sqlite file and all of the normal backups Zotero makes in that directory.

    If you can't find other, larger copies of zotero.sqlite anywhere else, and you weren't using Zotero syncing, your only option would be to restore from a backup of the Zotero data directory.
  • How do I " restore from a backup of the Zotero data directory"?
  • You would need to have previously made a backup of the directory or your whole computer — e.g., by using Time Machine. Then you would follow the instructions you were looking at before.
Sign In or Register to comment.