Upgraded using the docker images, upgraded in succession
FROM gitlab/gitlab-ce:12.10.14-ce.0 {being use at the version for a few moths}
Then in succession upgraded in these steps to get the latest.
FROM gitlab/gitlab-ce:13.0.14-ce.0
FROM gitlab/gitlab-ce:13.1.11-ce.0
FROM gitlab/gitlab-ce:13.10.0-ce.0
The logs periodically posted an error."ci_builds.commands do not exist"
when I looked at the logs at step 13.1.11 I don’t recall seeing this error.
but now at 13.10.0, it’s logging every 10 sec or so.
Any ideas, I’ve tried turning it off and on again
and gitlab-rake db:migrate:status reports all up
Did I miss a step?
Here is a snippet form the logs…
==> /var/log/gitlab/postgresql/current <==
2021-03-23_12:46:09.50862 ERROR: column ci_builds.commands does not exist at character 825
2021-03-23_12:46:09.50868 STATEMENT: SELECT
2021-03-23_12:46:09.50869 subquery.namespace_id,
2021-03-23_12:46:09.50869 subquery.shared_runners_enabled,
2021-03-23_12:46:09.50870 subquery.project_id,
2021-03-23_12:46:09.50871 subquery.status,
2021-03-23_12:46:09.50872 MAX(subquery.count) as count
2021-03-23_12:46:09.50873 FROM (
2021-03-23_12:46:09.50873 SELECT
2021-03-23_12:46:09.50874 projects.namespace_id,
2021-03-23_12:46:09.50874 projects.shared_runners_enabled,
2021-03-23_12:46:09.50875 ci_builds.project_id,
2021-03-23_12:46:09.50875 ci_builds.commit_id,
2021-03-23_12:46:09.50876 ci_builds.status,
2021-03-23_12:46:09.50877 COUNT() AS count*
2021-03-23_12:46:09.50877 FROM ci_builds
2021-03-23_12:46:09.50878 JOIN projects
2021-03-23_12:46:09.50878 ON projects.id = ci_builds.project_id
2021-03-23_12:46:09.50879 JOIN namespaces
2021-03-23_12:46:09.50879 ON namespaces.id = projects.namespace_id
2021-03-23_12:46:09.50880 WHERE ci_builds.type = ‘Ci::Build’
2021-03-23_12:46:09.50880 AND ci_builds.status IN (‘running’, ‘pending’)
2021-03-23_12:46:09.50881 – The created_at filter has been introduced for performance reasons only
2021-03-23_12:46:09.50882 AND ci_builds.created_at > NOW() - INTERVAL ‘7 days’
2021-03-23_12:46:09.50882 GROUP BY
2021-03-23_12:46:09.50883 projects.namespace_id,
2021-03-23_12:46:09.50883 projects.shared_runners_enabled,
2021-03-23_12:46:09.50884 ci_builds.project_id,
2021-03-23_12:46:09.50884 ci_builds.commit_id,
2021-03-23_12:46:09.50885 ci_builds.status,
2021-03-23_12:46:09.50889 ci_builds.commands
2021-03-23_12:46:09.50889 HAVING COUNT() > 2*
2021-03-23_12:46:09.50889 ) AS subquery
2021-03-23_12:46:09.50890 GROUP BY
2021-03-23_12:46:09.50890 subquery.namespace_id,
2021-03-23_12:46:09.50892 subquery.shared_runners_enabled,
2021-03-23_12:46:09.50893 subquery.project_id,
2021-03-23_12:46:09.50893 subquery.commit_id,
2021-03-23_12:46:09.50894 subquery.status
*2021-03-23_12:46:09.50894 *
==> /var/log/gitlab/gitlab-exporter/current <==
2021-03-23_12:46:09.50973 E, [2021-03-23T12:46:09.509635 #5552] ERROR – : Error connecting to the database: ERROR: column ci_builds.commands does not exist
2021-03-23_12:46:09.50976 LINE 30: ci_builds.commands
2021-03-23_12:46:09.50977 ^
*2021-03-23_12:46:09.50977 *
2021-03-23_12:46:09.82227 127.0.0.1 - - [23/Mar/2021:12:46:09 UTC] “GET /database HTTP/1.1” 200 2655
2021-03-23_12:46:09.82238 - → /database
2021-03-23_12:46:10.21984 127.0.0.1 - - [23/Mar/2021:12:46:10 UTC] “GET /ruby HTTP/1.1” 200 998
2021-03-23_12:46:10.21994 - → /ruby
Can post more logging if anyone would find it helpful.
Thanks for looking.