• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue CreateTask failed: attempt to write a readonly database (sqlite3.Error)

WeeJay

New Pleskian
Good morning everyone!
Following a very bad (accidental) command regarding the chown root on the entire VPS (almost all permissions were corrected).

Unfortunately, the Plesk Repair Kit, despite "plesk repair fs -y" or "plesk repair all -y", was unable to fix some problems (but the script result is: no error).

In my case, when the "task-manager" component is used from Plesk sources, via the admin options from UI/panel, "CreateTask failed: attempt to write a readonly database (sqlite3.Error)" is returned in many occasions, for example from the execution of manual processes (Tasks), removal of domains or addition of domains (Web), updating extensions etc..

It all seems to be linked to a lack of permissions for some source file of the "task-manager" component/script, which the Plesk Repair Kit is unable to restore.

An example of an error could be:

ERR [panel] Task failed: id=3127, pid=0, type=service-node-environment-synchronization, error=Communication with task manager has failed: Bad Request: '{"code":null,"description":null,"message":"CreateTask failed: attempt to write a readonly database (sqlite3.Error)"}

..but it's not the fault of the "service-node-environment-synchronization" typology, because the same error can occur for another service and always when the "task-manager" script is used..

The situation is related only to the UI, if I used the "task-manager" script from SSH, using the php command and the "-i 3127" id (previously generated by the UI showing me the error), it works as if I had bypassed something (i.e. the unknown problem)!

Could anyone help give me some suggestions?

Thank you for your time and have a nice day.
Marco M.
 
Back
Top