Tools
Cannot create a file sharing link in Serv-U with error "SQLite error encountered: attempt to write a readonly database"
This article shows how to resolve an issue where a Serv-U user is not able to create a file sharing link. The attempt instead results in the following error: "SQLite error encountered: attempt to write a readonly database"
First published date
Last published date
Overview
Serv-U user cannot create a file sharing link, either through Request File or Send File.
The Serv-U logs will show entry below:
File sharing maintenance (expire): SQLite error encountered: attempt to write a readonly database SQLlite error encountered during command HTTP_CREATE_FILE_SHARE; error string: "attempt to write a readonly database"
Product section
Cause
- There's some corrupt data in the file sharing database.
- Service account permission
Resolution
- Add the Service account into the Local admin group
- Delete the current file sharing database.
- Go to C:\ProgramData\RhinoSoft\Serv-U\Shares folder and delete all three files.
- Restart the Serv-U service.
- Go to /usr/local/Serv-U/Shares folder and delete all three files.
- Restart the Serv-U service.