Skip to content

cache/sessions backed by database #2625

Open
@Alexsaphir

Description

Bug report

Expected Behavior

I've set the cache and the sessions to use the database expecting it to work as the docs suggest.
The issue stems from cache and sessions not existing inside the database.
CDash should create the table inside the database as a migration.

Actual Behavior

10.42.1.7 - - [23/Dec/2024:21:32:53 +0000] "GET /api/v1/createProject.php HTTP/1.1" 200 2070
In Connection.php line 829:
                                                                               
  SQLSTATE[42P01]: Undefined table: 7 ERROR:  relation "cache" does not exist  
  LINE 1: delete from "cache" where "key" = $1                                 
                      ^ (Connection: pgsql, SQL: delete from "cache" where "k  
  ey" = cdash_cacheilluminate:schedule:interrupt)

From this error, I checked if the tables existed in the database, they do not exists.

CDash Version

3.6.2

Additional Information

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions