Skip to content

SQLITE ERROR in 4.3.8 #1172

@ghost

Description

Bug report

Required System information

  • Node.js version: 16.13.1
  • NPM version: 8.1.2
  • Strapi version: 4.3.8
  • Database: SQLITE
  • Operating system: Debian 10 - Docker

Describe the bug

After the update from 4.3.6 to 4.3.8 it is impossible to create new documents or update existing ones. In the log an error is show like:

[2022-09-19 08:20:33.052] error: insert into urm_contacts (created_at, created_by_id, first_name, last_name, locked, published_at, updated_at, updated_by_id) values ('2022-09-19 08:20:33.049', 1, 'Hello', 'Master', false, NULL, '2022-09-19 08:20:33.049', 1) returning id - SQLITE_ERROR: near "returning": syntax error
Error: insert into urm_contacts (created_at, created_by_id, first_name, last_name, locked, published_at, updated_at, updated_by_id) values ('2022-09-19 08:20:33.049', 1, 'Hello', 'Master', false, NULL, '2022-09-19 08:20:33.049', 1) returning id - SQLITE_ERROR: near "returning": syntax error

After roll back to 4.3.6 everything works perfect like before.

Steps to reproduce the behavior

  1. Update to version 4.3.8

Expected behavior

The message occurs in the logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions