Skip to content
Discussion options

You must be logged in to vote

This is a newly introduced issue in v0.22.0. The warning comes from a SQL query that now uses MySQL-specific syntax (with backticks and the INTERVAL keyword) that isn't compatible with PostgreSQL, specifically in the form INTERVAL \t2`.`refresh_freq` MINUTE. This causes the "syntax error at or near '.'" when RagFlow tries to run the query on Postgres. The problematic query is in the list_sync_tasksmethod ofSyncLogsService` and is triggered by background sync workers, not directly by the /healthz endpoint, but the timing can make it look related. There's currently no logic to adapt the SQL for different databases, so PostgreSQL users will see this error until it's fixed in the codebase. M…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alspires
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant