Skip to main content

 

Druva Documentation

WebDAV Direct Download Error: Attempting to write to read only DB

This article applies to:

  • OS: All supported operating systems
  • Product edition: inSync Cloud and On-Premise

Problem description

While downloading the legal hold data using WebDAV Direct Download utility, the download fails and errors out.

Traceback

These log excerpts are only examples. Date, time, and environmental variables may vary depending on the environment

2018-10-01 11:31:58,206 [INFO] - inSync Direct Download 1.1_70107
2018-10-01 11:31:58,207 [INFO] - inSync Direct Download parallel metadata download 16
2018-10-01 11:31:58,207 [INFO] - inSync Direct Download parallel data download 16
2018-10-01 11:31:58,231 [INFO] - inSyncDirectDownload error: attempt to write a readonly database
Traceback (most recent call last):
  File "<string>", line 176, in process
  File "<string>", line 82, in create_download_devices
  File "/Users/insync/webdav/webdevdirectdownload/webdevdirectdownload/WebdavDirectDownload/trunk_12_07_2018/WebdavDirectDownload/build/inSyncDirectDownload/out00-PYZ.pyz/inSyncDirectDownloadDevices", line 41, in __init__
  File "/Users/insync/webdav/webdevdirectdownload/webdevdirectdownload/WebdavDirectDownload/trunk_12_07_2018/WebdavDirectDownload/build/inSyncDirectDownload/out00-PYZ.pyz/inSyncDirectDownloadState", line 212, in __init__
  File "/Users/insync/webdav/webdevdirectdownload/webdevdirectdownload/WebdavDirectDownload/trunk_12_07_2018/WebdavDirectDownload/build/inSyncDirectDownload/out00-PYZ.pyz/inSyncDirectDownloadState", line 234, in connect
OperationalError: attempt to write a readonly database

Resolution

Validate the following:

  • /tmp or %temp% directory is not running out the space.
  • Permissions to the download location allow for read, write, and modify operations
  • inSyncDirectDownload utility has permissions to download location on MacOS