I am a path writhing fool.
The path for the database file was still wrong in SyncKiosk.php