I cannot make Zotero work on my MacAir 2025
Hello,
I have tried installing Zotero in my new Mac. I just copy de data folder from my old Mac to my new Mac to the same directory and it is not working. I keep getting this message when opening up the program:
"The Zotero database cannot be opened.
Make sure you have read and write permissions for all files in the Zotero data directory and that security software isn’t preventing Zotero from accessing that directory.
Data Directory: /Users/pablo/Zotero"
I have read a previous discussion about exactly the same problem
https://forums.zotero.org/discussion/113620/i-cannot-make-zotero-work-on-my-mac
and I tried to apply the same procedure, but still not working. Could you please help me?
I have tried installing Zotero in my new Mac. I just copy de data folder from my old Mac to my new Mac to the same directory and it is not working. I keep getting this message when opening up the program:
"The Zotero database cannot be opened.
Make sure you have read and write permissions for all files in the Zotero data directory and that security software isn’t preventing Zotero from accessing that directory.
Data Directory: /Users/pablo/Zotero"
I have read a previous discussion about exactly the same problem
https://forums.zotero.org/discussion/113620/i-cannot-make-zotero-work-on-my-mac
and I tried to apply the same procedure, but still not working. Could you please help me?
ls -la ~/Zotero
And everything is, apparently, okay, since I am the staff. Here what I got.
Last login: Tue Jul 29 15:52:32 on console
pablo@mac ~ % ls -la ~/Zotero
total 15598992
drwxr-xr-x@ 22 pablo staff 704 Jul 28 11:40 .
drwxr-x---+ 16 pablo staff 512 Jul 29 17:48 ..
-rw-r--r--@ 1 pablo staff 10244 Nov 12 2017 .DS_Store
drwxr-xr-x@ 6 pablo staff 192 May 3 14:29 locate
drwxr-xr-x@ 3 pablo staff 96 May 3 14:29 logs
-rwxr-xr-x@ 1 pablo staff 1599104 Apr 9 2015 pdfinfo-MacIntel
-rw-r--r--@ 1 pablo staff 4 Apr 9 2015 pdfinfo-MacIntel.version
-rwxr-xr-x@ 1 pablo staff 598016 Apr 29 2013 pdfinfo-Win32.exe
-rwxr-xr-x@ 1 pablo staff 4 Apr 29 2013 pdfinfo-Win32.exe.version
-rwxr-xr-x@ 1 pablo staff 135 Apr 9 2015 pdfinfo.sh
-rwxr-xr-x@ 1 pablo staff 1709232 Apr 9 2015 pdftotext-MacIntel
-rw-r--r--@ 1 pablo staff 4 Apr 9 2015 pdftotext-MacIntel.version
-rwxr-xr-x@ 1 pablo staff 593920 Apr 29 2013 pdftotext-Win32.exe
-rwxr-xr-x@ 1 pablo staff 4 Apr 29 2013 pdftotext-Win32.exe.version
drwx------@ 2 pablo staff 64 Feb 26 2023 pipes
drwxr-xr-x@ 23908 pablo staff 765056 Jun 18 16:25 storage
drwxr-xr-x@ 45 pablo staff 1440 Jul 28 11:19 styles
drwxr-xr-x@ 738 pablo staff 23616 Jul 28 11:19 translators
-rwxr-xr-x@ 1 pablo staff 2660712448 Jul 28 11:40 zotero.sqlite
-rwxr-xr-x@ 1 pablo staff 79 May 19 2014 zotero.sqlite-mj0B32379F3
-rwxr-xr-x@ 1 pablo staff 2660716544 Jun 18 16:25 zotero.sqlite.1.bak
-rwxr-xr-x@ 1 pablo staff 2660712448 Jul 28 11:17 zotero.sqlite.bak
pablo@mac ~ %
I really thank you for helping me with this, since I have tried all what you said in that discussion
https://forums.zotero.org/discussion/113620/i-cannot-make-zotero-work-on-my-mac/p1
And still not working.
ls -lOd ~/Zotero ~/Zotero/zotero.sqlite*
xattr -l ~/Zotero ~/Zotero/zotero.sqlite*
Also, can you either provide a Debug ID for Zotero startup using the
-ZoteroDebug
command-line flag or generate raw output with-ZoteroDebugText
and email it to support@zotero.org with a link to this thread?https://www.zotero.org/support/reporting_problems#reporting_startup_errors
https://www.zotero.org/support/reporting_problems#alternativelogging_to_the_terminal
pablo@mac ~ % ls -lOd ~/Zotero ~/Zotero/zotero.sqlite*
drwxr-xr-x@ 22 pablo staff - 704 Jul 28 11:40 /Users/pablo/Zotero
-rwxr-xr-x@ 1 pablo staff - 2660712448 Jul 28 11:40 /Users/pablo/Zotero/zotero.sqlite
-rwxr-xr-x@ 1 pablo staff - 79 May 19 2014 /Users/pablo/Zotero/zotero.sqlite-mj0B32379F3
-rwxr-xr-x@ 1 pablo staff - 2660716544 Jun 18 16:25 /Users/pablo/Zotero/zotero.sqlite.1.bak
-rwxr-xr-x@ 1 pablo staff - 2660712448 Jul 28 11:17 /Users/pablo/Zotero/zotero.sqlite.bak
pablo@mac ~ %
&
Last login: Tue Jul 29 18:13:14 on ttys000
pablo@mac ~ % xattr -l ~/Zotero ~/Zotero/zotero.sqlite*
/Users/pablo/Zotero: com.apple.metadata:_kTimeMachineNewestSnapshot: bplist003B-c?
/Users/pablo/Zotero: com.apple.metadata:_kTimeMachineOldestSnapshot: bplist003A??
/Users/pablo/Zotero: com.apple.timemachine.private.directorycompletiondate: 2025-07-28-121513
/Users/pablo/Zotero/zotero.sqlite: com.apple.metadata:_kTimeMachineNewestSnapshot: bplist003B-c?
/Users/pablo/Zotero/zotero.sqlite: com.apple.metadata:_kTimeMachineOldestSnapshot: bplist003A??
/Users/pablo/Zotero/zotero.sqlite-mj0B32379F3: com.apple.metadata:_kTimeMachineNewestSnapshot: bplist003B-c?
/Users/pablo/Zotero/zotero.sqlite-mj0B32379F3: com.apple.metadata:_kTimeMachineOldestSnapshot: bplist003A?)]?
/Users/pablo/Zotero/zotero.sqlite.1.bak: com.apple.metadata:_kTimeMachineNewestSnapshot: bplist003B-c?
/Users/pablo/Zotero/zotero.sqlite.1.bak: com.apple.metadata:_kTimeMachineOldestSnapshot: bplist003A??
/Users/pablo/Zotero/zotero.sqlite.bak: com.apple.metadata:_kTimeMachineNewestSnapshot: bplist003B-c?
/Users/pablo/Zotero/zotero.sqlite.bak: com.apple.metadata:_kTimeMachineOldestSnapshot: bplist003A??
pablo@mac ~ %
1. Open Terminal via Spotlight or from /Applications/Utilities.
2. In the terminal window that opens, paste the following and press Return.
/Applications/Zotero.app/Contents/MacOS/zotero -ZoteroDebug
and, then, email the result to support@zotero.org with a link to this thread, right?
Also, this:
ls -le@d ~
Are you running any third-party security software on this computer?
Yes, I have restarted the computer several times. Not working.
No, I am not running any third-party secutiry software.
And I have installed a lot of programs today (Office, Spotify...) and eveything works perfectly.
How did you copy the files? Is this a personal or institutional computer? Is there anything non-standard about this setup? Is this a new install of macOS?
What’s the output for these commands?
touch ~/Zotero || echo "touch 1 failed"
touch ~/Zotero/zotero.sqlite || echo "touch 2 failed"
touch ~/Zotero/_write_test || echo "touch 3 failed"
I had transferred the Zotero folder from the old Mac to the new Mac with TimeMachine. It did not work. I erased the Zotero folder in the new Mac and I made a copy of the Zotero folder from the old computer on a new external hard drive, not using TimeMachine, but just a regular, simple copy. I used this copy and created a Zotero folder from the external high drive to the new computer. It worked inmediately and smoothly.
I would like to deeply thank you, dstillman, for your patience and the time you have dedicated to this. It truly appreciate it.
Best
Still not clear what was actually preventing the write here. Your files all had extended attributes from older versions of Time Machine, but those shouldn't prevent writes.
I cannot understand either. It seems Time Machine created a kind of protection.
Thank you again for your dedication and interest. Very very much appreaciated.
But if you didn't do that, you'd have to reassociate the backup disk with Time Machine, and I guess that might not work well on a totally different system. So in that case, copying files directly from the Time Machine disk is supposed to work and might be the most reasonable option. But clearly that didn't work in your case. I think these extended attributes might be from an older version of Time Machine — maybe your other Mac was on an old macOS version? — so it's possible that contributed somehow.
Anyhow, glad you got it to work with a standard folder copy.