When I try to move a label for a point in a layer called 'Places', I am prompted to choose a primary key, but when I select the fid column, I get the error 'Unable to execute 'CREATE TABLE IF NOT EXISTS 'Places_52bd342a_70bb_4877_a31e_ea26276ff2d4' ( 'ASPK' Real )': unable to open database file'.
I get an identical error if I try to select the 'Store Data in the Project' option in the labelling menu:
The layer was originally a geopackage - I've tried exporting it to a shapefile but get exactly the same error. I've also tried using different attributes as the Primary Key, but whatever attribute I choose I get the same error. Is there a setting within the project that I can change to allow auxiliary storage?
(adding the sqlite tag because googling the error code gives me the impression that the error comes in some way from an sqlite component within QGIS)