Skip to content

ERROR: relation "sqlpage_files" does not exist at character 15 #1101

@accforgithubtest

Description

@accforgithubtest

Introduction

I have had sqlpage running with a postgres database for a long time. All functions are working fine.
I recently set up some error monitoring for the logs, and notice repeating error logs in tpostgres container from sqlpgae.

2025-11-14 11:35:59.630 [17009] ERROR:  relation "sqlpage_files" does not exist at character 15
2025-11-14 11:35:59.630 [17009] STATEMENT:  SELECT 1 from sqlpage_files WHERE last_modified >= $1 AND path = $2

I have done a thorough search of my code and do not find any sql with sqlpage_files in them.
I also searched queries that use last_modified and path and found nothing to ensure this was not because of some dynamic queries.

I noticed that these logs definitely show up if I restart the sqlpage container.
I am unsure if they also show up at other times after the initial start up of the container.

Does this code from within the container runs this sql and expects this table to exist even if there is no functionality that is looking for this table ?

Version information

  • OS : Ubuntu 22.04.5 LTS
  • Database : Postgres 14
  • SQLPage Version : 0.39.1

Additional context

All functionalities are working fine and there is no visible issue.
Only the error logs in the postgres DB is the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions