cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Learn all about how Alex on the Community team used Dropbox in college here!

Dropbox installs & integrations

Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I fix this permissions error: database locked?

How do I fix this permissions error: database locked?

jcspai
New member | Level 2

I keep getting this message:

bn.BUILD_KEY: Dropbox
bn.VERSION: 96.3.166
bn.constants.WINDOWS_SHELL_EXT_VERSION: 37
bn.is_frozen: True
machine_id: c58a5c7c-5d66-445d-985c-b63835ac244b
pid: 5880
cwd: 'C:\\WINDOWS\\SysWOW64'
real_path='C:\\WINDOWS\\SysWOW64'
mode=0o40777 uid=0 gid=0
parent mode=0o40777 uid=0 gid=0
HOME: None
appdata: 'C:\\Users\\Goldie\\AppData\\Local\\Dropbox\\instance1'
real_path='C:\\Users\\Goldie\\AppData\\Local\\Dropbox\\instance1'
mode=0o40777 uid=0 gid=0
parent mode=0o40777 uid=0 gid=0
dropbox_path: 'C:\\Users\\Goldie\\Dropbox'
real_path='C:\\Users\\Goldie\\Dropbox'
mode=0o40555 uid=0 gid=0
parent mode=0o40777 uid=0 gid=0
sys_executable: 'C:\\Program Files (x86)\\Dropbox\\Client\\Dropbox.exe'
real_path='C:\\Program Files (x86)\\Dropbox\\Client\\Dropbox.exe'
mode=0o100777 uid=0 gid=0
parent mode=0o40777 uid=0 gid=0
trace.__file__: 'C:\\Program Files (x86)\\Dropbox\\Client\\96.3.166\\python-packages.zip\\dropbox\\client\\ui\\common\\boot_error.pyc'
real_path='C:\\Program Files (x86)\\Dropbox\\Client\\96.3.166\\python-packages.zip\\dropbox\\client\\ui\\common\\boot_error.pyc'
not found
parent not found
TMP: C:\Users\Goldie\AppData\Local\Temp
TEMP: C:\Users\Goldie\AppData\Local\Temp
tempdir: 'C:\\Users\\Goldie\\AppData\\Local\\Temp'
real_path='C:\\Users\\Goldie\\AppData\\Local\\Temp'
mode=0o40777 uid=0 gid=0
parent mode=0o40777 uid=0 gid=0
Traceback (most recent call last):
File "dropbox\client\authentication\manager.pyc", line 722, in _try_register_host
File "dropbox\client\authentication\manager.pyc", line 891, in _on_register_host_success
File "dropbox\client\multiaccount\instance_database.pyc", line 1140, in set_shared_config
File "dropbox\sqlite3_helpers.pyc", line 1042, in _runner
File "dropbox\client\multiaccount\instance_database.pyc", line 469, in set_shared_config
File "dropbox\sqlite3_helpers.pyc", line 296, in execute
File "dropbox\sqlite3_helpers.pyc", line 262, in _raise_better_operational_exception
File "six.pyc", line 696, in reraise
File "dropbox\sqlite3_helpers.pyc", line 291, in execute
sqlite3.OperationalError: database is locked

1 Accepted Solution

Accepted Solutions

Re: How do I fix this permissions error: database locked?

Lusil
Dropboxer

Hi there @jcspai, thanks for checking in with us. 

 

At first, thanks for sharing the complete error log with us! It definitely helps.

 

To make sure that we cover as much initial troubleshooting ground as possible, since you're running the beta version of the desktop app (96.3.166), could you try resolving this behabior by reinstalling to the latest stable version, instead? 

 

To do this, you'll need to first make sure that the desktop app doesn't automatically update to the beta version after reinstalling:

  1. Log in to the website.
  2. Click on you account picture/avatar at the top right corner of the page.
  3. Select Settings.
  4. From the General tab, scroll down and uncheck the box next to Include me in early releases.
  5. Install the latest stable version of the desktop.

Let me know how it goes - thanks!


Lusil
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

View solution in original post

4 Replies 4

Re: How do I fix this permissions error: database locked?

Lusil
Dropboxer

Hi there @jcspai, thanks for checking in with us. 

 

At first, thanks for sharing the complete error log with us! It definitely helps.

 

To make sure that we cover as much initial troubleshooting ground as possible, since you're running the beta version of the desktop app (96.3.166), could you try resolving this behabior by reinstalling to the latest stable version, instead? 

 

To do this, you'll need to first make sure that the desktop app doesn't automatically update to the beta version after reinstalling:

  1. Log in to the website.
  2. Click on you account picture/avatar at the top right corner of the page.
  3. Select Settings.
  4. From the General tab, scroll down and uncheck the box next to Include me in early releases.
  5. Install the latest stable version of the desktop.

Let me know how it goes - thanks!


Lusil
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

View solution in original post

Re: How do I fix this permissions error: database locked?

jcspai
New member | Level 2
Yes, the problem got solved. Just like you gave.

Re: How do I fix this permissions error: database locked?

jcspai
New member | Level 2
Thanks a lot for the prompt response.

Re: How do I fix this permissions error: database locked?

Lusil
Dropboxer

Glad to have helped, @jcspai:grin:


Lusil
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Poll
Do you work or study in the creative industry? If so, which area?
If you use Adobe, don't forget to check out our latest integrations update here.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?