When creating a sqlite database, if the folder doesn't exist and cannot be created, there's a message telling you how to change the owner of the folder that would be the parent.
However, that parent you are asked to chown may not even exist, so the instructions are then wrong (I suspect there could be also other errors, file used as a folder, missing symlink...).