Broken CI settings in all local repo settings

Summary

Enabling or disabling Pipelines in "Repo -> General Settings -> Visibility, project features, permissions" is not possible anymore.

Steps to reproduce

  1. Have an older Gitlab-ce-omibus installation.
  2. set a pipeline timeout in "Repo -> settings -> ci_cd" something like 2mo 2h 42m
  3. Upgrade to the newes Gitlab-ce-omibus version.
  4. Try to disable pipelines for a project. (if you have disabled the pipeline before update you will be not able to enable it agains)

What is the current bug behavior?

pipeline settings are not changeable anymore. While trying to save changed settings, a red banner appears:

The form contains the following error:
   * Build timeout needs to be between 10 minutes and 1 month

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:env:info)

System information
System:		Debian 10
Current User:	git
Using RVM:	no
Ruby Version:	2.6.3p62
Gem Version:	2.7.9
Bundler Version:1.17.3
Rake Version:	12.3.2
Redis Version:	3.2.12
Git Version:	2.22.0
Sidekiq Version:5.2.7
Go Version:	unknown

GitLab information
Version:	12.2.5
Revision:	09f8edbc29a
Directory:	/opt/gitlab/embedded/service/gitlab-rails
DB Adapter:	PostgreSQL
DB Version:	10.9
URL:		https://git.ffnw.de
HTTP Clone URL:	https://git.ffnw.de/some-group/some-project.git
SSH Clone URL:	git@git.ffnw.de:some-group/some-project.git
Using LDAP:	no
Using Omniauth:	yes
Omniauth Providers: github, twitter, google_oauth2

GitLab Shell
Version:	9.3.0
Repository storage paths:
- default: 	/var/opt/gitlab/git-data/repositories
GitLab Shell path:		/opt/gitlab/embedded/service/gitlab-shell
Git:		/opt/gitlab/embedded/bin/git
sudo gitlab-rake gitlab:env:info  25,43s user 7,36s system 93% cpu 35,038 total

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

Checking GitLab subtasks ...

Checking GitLab Shell ...

GitLab Shell: ... GitLab Shell version >= 9.3.0 ? ... OK (9.3.0)
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Redis available via internal API: OK

Access to /var/opt/gitlab/.ssh/authorized_keys: OK
gitlab-shell self-check successful

Checking GitLab Shell ... Finished

Checking Gitaly ...

Gitaly: ... default ... OK

Checking Gitaly ... Finished

Checking Sidekiq ...

Sidekiq: ... Running? ... yes
Number of Sidekiq processes ... 1

Checking Sidekiq ... Finished

Checking Incoming Email ...

Incoming Email: ... Checking Reply by email ...

IMAP server credentials are correct? ... yes
Init.d configured correctly? ... skipped
MailRoom running? ... skipped

Checking Reply by email ... Finished


Checking Incoming Email ... Finished

Checking LDAP ...

LDAP: ... LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab App ...

Git configured correctly? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config up to date? ... yes
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory exists? ... yes
Uploads directory has correct permissions? ... yes
Uploads directory tmp has correct permissions? ... yes
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
Projects have namespace: ... 
102/5 ... yes
102/6 ... yes
102/8 ... yes
88/9 ... yes
41/11 ... yes
102/12 ... yes
9/16 ... yes
88/19 ... yes
88/20 ... yes
89/22 ... yes
101/26 ... yes
28/27 ... yes
31/28 ... yes
36/29 ... yes
33/31 ... yes
88/33 ... yes
89/34 ... yes
46/35 ... yes
46/36 ... yes
46/37 ... yes
40/38 ... yes
40/39 ... yes
4/40 ... yes
40/43 ... yes
101/45 ... yes
88/47 ... yes
5/50 ... yes
89/51 ... yes
89/52 ... yes
1/54 ... yes
101/56 ... yes
73/57 ... yes
105/58 ... yes
40/61 ... yes
91/63 ... yes
7/65 ... yes
36/66 ... yes
105/68 ... yes
105/70 ... yes
105/71 ... yes
105/76 ... yes
106/77 ... yes
71/78 ... yes
36/79 ... yes
71/85 ... yes
71/86 ... yes
71/87 ... yes
106/88 ... yes
71/89 ... yes
36/92 ... yes
36/93 ... yes
36/94 ... yes
36/95 ... yes
36/96 ... yes
36/97 ... yes
36/98 ... yes
36/99 ... yes
36/100 ... yes
36/101 ... yes
36/102 ... yes
36/103 ... yes
36/104 ... yes
36/105 ... yes
36/106 ... yes
36/107 ... yes
36/108 ... yes
36/109 ... yes
101/128 ... yes
105/133 ... yes
89/135 ... yes
71/136 ... yes
102/137 ... yes
7/139 ... yes
105/140 ... yes
105/141 ... yes
105/142 ... yes
105/143 ... yes
105/145 ... yes
105/146 ... yes
105/147 ... yes
105/148 ... yes
105/149 ... yes
105/150 ... yes
105/151 ... yes
105/152 ... yes
105/155 ... yes
105/156 ... yes
101/157 ... yes
101/161 ... yes
69/162 ... yes
2/163 ... yes
69/164 ... yes
132/165 ... yes
36/167 ... yes
88/169 ... yes
88/171 ... yes
46/172 ... yes
4/173 ... yes
36/176 ... yes
105/177 ... yes
105/178 ... yes
105/179 ... yes
46/180 ... yes
5/181 ... yes
105/184 ... yes
101/186 ... yes
132/195 ... yes
132/196 ... yes
46/197 ... yes
105/199 ... yes
36/200 ... yes
36/201 ... yes
36/202 ... yes
71/203 ... yes
46/204 ... yes
46/206 ... yes
46/207 ... yes
36/208 ... yes
36/209 ... yes
36/210 ... yes
46/211 ... yes
89/212 ... yes
46/213 ... yes
148/215 ... yes
46/216 ... yes
71/217 ... yes
102/218 ... yes
33/219 ... yes
156/220 ... yes
102/221 ... yes
4/222 ... yes
4/223 ... yes
4/224 ... yes
4/225 ... yes
105/227 ... yes
4/229 ... yes
4/230 ... yes
4/231 ... yes
4/232 ... yes
4/233 ... yes
132/234 ... yes
69/235 ... yes
4/236 ... yes
160/238 ... yes
160/241 ... yes
160/242 ... yes
160/243 ... yes
4/244 ... yes
105/245 ... yes
4/246 ... yes
163/250 ... yes
71/251 ... yes
71/252 ... yes
160/254 ... yes
160/255 ... yes
163/256 ... yes
169/257 ... yes
69/258 ... yes
69/259 ... yes
88/261 ... yes
69/263 ... yes
21/264 ... yes
69/265 ... yes
101/266 ... yes
101/267 ... yes
105/268 ... yes
105/269 ... yes
33/270 ... yes
69/271 ... yes
4/272 ... yes
88/274 ... yes
7/275 ... yes
46/276 ... yes
105/278 ... yes
105/279 ... yes
4/280 ... yes
160/282 ... yes
160/283 ... yes
69/285 ... yes
324/286 ... yes
335/289 ... yes
42/303 ... yes
42/304 ... yes
42/305 ... yes
42/306 ... yes
42/307 ... yes
69/308 ... yes
69/316 ... yes
89/317 ... yes
89/318 ... yes
89/324 ... yes
33/326 ... yes
176/341 ... yes
46/348 ... yes
69/352 ... yes
69/353 ... yes
69/354 ... yes
176/359 ... yes
176/362 ... yes
4/379 ... yes
1324/387 ... yes
7/410 ... yes
1739/411 ... yes
69/420 ... yes
69/421 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.5.3 ? ... yes (2.6.3)
Git version >= 2.22.0 ? ... yes (2.22.0)
Git user has default SSH configuration? ... yes
Active users: ... 157

Checking GitLab App ... Finished


Checking GitLab subtasks ... Finished

sudo gitlab-rake gitlab:check SANITIZE=true  32,59s user 9,95s system 95% cpu 44,357 total
Assignee Loading
Time tracking Loading