iisnode encountered an error when processing the request.

HRESULT: 0x2
HTTP status: 500
HTTP subStatus: 1002
HTTP reason: Internal Server Error

You are receiving this HTTP 200 response because system.webServer/iisnode/@devErrorsEnabled configuration setting is 'true'.

In addition to the log of stdout and stderr of the node.exe process, consider using debugging and ETW traces to further diagnose the problem.

The last 64k of the output generated by the node.exe process to stderr is shown below:

[x1B][31mERROR: Unable to open sqlite3 database file for read/write[x1B][0m
  path must be a string

[x1B][32mCheck that the sqlite3 database file permissions allow read and write access.
Help and documentation can be found at http://support.ghost.org.[x1B][0m