Skip to content

Commit 912c472

Browse files
authored
Branch was updated using the 'autoupdate branch' Actions workflow.
2 parents 52a24d4 + 26a7e84 commit 912c472

20 files changed

+172
-84
lines changed

data/release-notes/2-22/7.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,25 @@ sections:
3232
- 'Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository.'
3333
- 'Issues cannot be closed if they contain a permalink to a blob in the same repository where the file path is longer than 255 characters.'
3434
- 'When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results.'
35+
- |
36+
Users may experience assets such as avatars not loading, or a failure to push/pull code. This may be caused by a PID mismatch in the `haproxy-cluster-proxy` service. To determine if you have an affected instance:
37+
38+
**Single instance**
39+
40+
1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH):
41+
42+
```
43+
if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi
44+
```
45+
46+
2. If it shows that there is a mismatch, reboot the instance.
47+
48+
**Cluster or High Availability configuration**
49+
50+
1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH):
51+
52+
```
53+
ghe-cluster-each -- 'if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi'
54+
```
55+
56+
2. If it shows one or more nodes are affected, reboot the affected nodes.

data/release-notes/2-22/8.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,25 @@ sections:
1212
- Git LFS tracked files [uploaded through the web interface](https://github.com/blog/2105-upload-files-to-your-repositories) are incorrectly added directly to the repository.
1313
- Issues cannot be closed if they contain a permalink to a blob in the same repository where the file path is longer than 255 characters.
1414
- When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results.
15+
- |
16+
Users may experience assets such as avatars not loading, or a failure to push/pull code. This may be caused by a PID mismatch in the `haproxy-cluster-proxy` service. To determine if you have an affected instance:
17+
18+
**Single instance**
19+
20+
1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH):
21+
22+
```
23+
if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi
24+
```
25+
26+
2. If it shows that there is a mismatch, reboot the instance.
27+
28+
**Cluster or High Availability configuration**
29+
30+
1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH):
31+
32+
```
33+
ghe-cluster-each -- 'if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi'
34+
```
35+
36+
2. If it shows one or more nodes are affected, reboot the affected nodes.

data/release-notes/3-0/1.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,25 @@ sections:
4242
- 'Juypter Notebook rendering in the web UI may fail if the notebook includes non UTF-8 encoded characters.'
4343
- 'Dependency graph fails to parse `yarn.lock` Javascript manifest files, resulting in HTTP 500 errors in logs.'
4444
- 'Instances with a custom timezone that were upgraded from an earlier release of GitHub Enterprise Server may have incorrect timestamps in the web UI.'
45+
- |
46+
Users may experience assets such as avatars not loading, or a failure to push/pull code. This may be caused by a PID mismatch in the `haproxy-cluster-proxy` service. To determine if you have an affected instance:
47+
48+
**Single instance**
49+
50+
1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH):
51+
52+
```
53+
if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi
54+
```
55+
56+
2. If it shows that there is a mismatch, reboot the instance.
57+
58+
**Cluster or High Availability configuration**
59+
60+
1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH):
61+
62+
```
63+
ghe-cluster-each -- 'if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi'
64+
```
65+
66+
2. If it shows one or more nodes are affected, reboot the affected nodes.

data/release-notes/3-0/2.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,26 @@ sections:
2727
- Issues cannot be closed if they contain a permalink to a blob in the same repository where the file path is longer than 255 characters.
2828
- When "Users can search GitHub.com" is enabled with GitHub Connect, issues in private and internal repositories are not included in GitHub.com search results.
2929
- When maintenance mode is enabled, some services continue to be listed as "active processes". The services identified are expected to run during maintenance mode. If you experience this issue and are unsure, contact [GitHub Enterprise Support](https://enterprise.githubsupport.com/hc/en-us) or [GitHub Premium Support](https://premium.githubsupport.com/).
30-
- Juypter Notebook rendering in the web UI may fail if the notebook includes non UTF-8 encoded characters.
30+
- Jupyter Notebook rendering in the web UI may fail if the notebook includes non UTF-8 encoded characters.
31+
- |
32+
Users may experience assets such as avatars not loading, or a failure to push/pull code. This may be caused by a PID mismatch in the `haproxy-cluster-proxy` service. To determine if you have an affected instance:
33+
34+
**Single instance**
35+
36+
1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH):
37+
38+
```
39+
if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi
40+
```
41+
42+
2. If it shows that there is a mismatch, reboot the instance.
43+
44+
**Cluster or High Availability configuration**
45+
46+
1. Run this in the [administrative shell](https://docs.github.com/en/enterprise-server/admin/configuration/accessing-the-administrative-shell-ssh) (SSH):
47+
48+
```
49+
ghe-cluster-each -- 'if [ $(cat /var/run/haproxy-cluster-proxy.pid) -ne $(systemctl show --property MainPID --value haproxy-cluster-proxy) ]; then echo 'Main PID of haproxy-cluster-proxy does not match /var/run/haproxy-cluster-proxy.pid'; fi'
50+
```
51+
52+
2. If it shows one or more nodes are affected, reboot the affected nodes.

lib/rest/static/decorated/api.github.com.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46735,13 +46735,13 @@
4673546735
{
4673646736
"name": "confirm_delete",
4673746737
"in": "query",
46738-
"description": "Allow deletion if the specified analysis is the last in a set. The parameter can be used without a value as the parameter value is not considered. If you attempt to delete the final analysis in a set without using this parameter you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.`",
46738+
"description": "Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to `true`, you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.`",
4673946739
"required": false,
4674046740
"schema": {
4674146741
"type": "string",
4674246742
"nullable": true
4674346743
},
46744-
"descriptionHTML": "<p>Allow deletion if the specified analysis is the last in a set. The parameter can be used without a value as the parameter value is not considered. If you attempt to delete the final analysis in a set without using this parameter you'll get a 400 response with the message: <code>Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.</code></p>"
46744+
"descriptionHTML": "<p>Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to <code>true</code>, you'll get a 400 response with the message: <code>Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.</code></p>"
4674546745
}
4674646746
],
4674746747
"x-codeSamples": [
@@ -71052,15 +71052,15 @@
7105271052
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /repos/{owner}/{repo}/readme/{dir}'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">dir</span>: <span class=\"hljs-string\">'dir'</span>\n})\n</code></pre>"
7105371053
}
7105471054
],
71055-
"summary": "Get a repository README",
71056-
"description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.",
71055+
"summary": "Get a repository README for a directory",
71056+
"description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.",
7105771057
"tags": [
7105871058
"repos"
7105971059
],
71060-
"operationId": "repos/get-readme-from-alt-path",
71060+
"operationId": "repos/get-readme-in-directory",
7106171061
"externalDocs": {
7106271062
"description": "API method documentation",
71063-
"url": "https://docs.github.com/rest/reference/repos#get-a-repository-readme"
71063+
"url": "https://docs.github.com/rest/reference/repos#get-a-repository-directory-readme"
7106471064
},
7106571065
"x-github": {
7106671066
"githubCloudOnly": false,
@@ -71069,14 +71069,14 @@
7106971069
"category": "repos",
7107071070
"subcategory": "contents"
7107171071
},
71072-
"slug": "get-a-repository-readme",
71072+
"slug": "get-a-repository-readme-for-a-directory",
7107371073
"category": "repos",
7107471074
"categoryLabel": "Repos",
7107571075
"subcategory": "contents",
7107671076
"subcategoryLabel": "Contents",
7107771077
"notes": [],
7107871078
"bodyParameters": [],
71079-
"descriptionHTML": "<p>Gets the preferred README for a repository.</p>\n<p>READMEs support <a href=\"https://docs.github.com/rest/reference/repos#custom-media-types\">custom media types</a> for retrieving the raw content or rendered HTML.</p>",
71079+
"descriptionHTML": "<p>Gets the README from a repository directory.</p>\n<p>READMEs support <a href=\"https://docs.github.com/rest/reference/repos#custom-media-types\">custom media types</a> for retrieving the raw content or rendered HTML.</p>",
7108071080
"responses": [
7108171081
{
7108271082
"httpStatusCode": "200",

lib/rest/static/decorated/ghes-2.18.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50109,15 +50109,15 @@
5010950109
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /repos/{owner}/{repo}/readme/{dir}'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">dir</span>: <span class=\"hljs-string\">'dir'</span>\n})\n</code></pre>"
5011050110
}
5011150111
],
50112-
"summary": "Get a repository README",
50113-
"description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.",
50112+
"summary": "Get a repository README for a directory",
50113+
"description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.",
5011450114
"tags": [
5011550115
"repos"
5011650116
],
50117-
"operationId": "repos/get-readme-from-alt-path",
50117+
"operationId": "repos/get-readme-in-directory",
5011850118
"externalDocs": {
5011950119
"description": "API method documentation",
50120-
"url": "https://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository-readme"
50120+
"url": "https://docs.github.com/enterprise-server@2.18/rest/reference/repos#get-a-repository-directory-readme"
5012150121
},
5012250122
"x-github": {
5012350123
"githubCloudOnly": false,
@@ -50126,14 +50126,14 @@
5012650126
"category": "repos",
5012750127
"subcategory": "contents"
5012850128
},
50129-
"slug": "get-a-repository-readme",
50129+
"slug": "get-a-repository-readme-for-a-directory",
5013050130
"category": "repos",
5013150131
"categoryLabel": "Repos",
5013250132
"subcategory": "contents",
5013350133
"subcategoryLabel": "Contents",
5013450134
"notes": [],
5013550135
"bodyParameters": [],
50136-
"descriptionHTML": "<p>Gets the preferred README for a repository.</p>\n<p>READMEs support <a href=\"https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types\">custom media types</a> for retrieving the raw content or rendered HTML.</p>",
50136+
"descriptionHTML": "<p>Gets the README from a repository directory.</p>\n<p>READMEs support <a href=\"https://docs.github.com/enterprise-server@2.18/rest/reference/repos#custom-media-types\">custom media types</a> for retrieving the raw content or rendered HTML.</p>",
5013750137
"responses": [
5013850138
{
5013950139
"httpStatusCode": "200",

lib/rest/static/decorated/ghes-2.19.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50911,15 +50911,15 @@
5091150911
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /repos/{owner}/{repo}/readme/{dir}'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">dir</span>: <span class=\"hljs-string\">'dir'</span>\n})\n</code></pre>"
5091250912
}
5091350913
],
50914-
"summary": "Get a repository README",
50915-
"description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.",
50914+
"summary": "Get a repository README for a directory",
50915+
"description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.",
5091650916
"tags": [
5091750917
"repos"
5091850918
],
50919-
"operationId": "repos/get-readme-from-alt-path",
50919+
"operationId": "repos/get-readme-in-directory",
5092050920
"externalDocs": {
5092150921
"description": "API method documentation",
50922-
"url": "https://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository-readme"
50922+
"url": "https://docs.github.com/enterprise-server@2.19/rest/reference/repos#get-a-repository-directory-readme"
5092350923
},
5092450924
"x-github": {
5092550925
"githubCloudOnly": false,
@@ -50928,14 +50928,14 @@
5092850928
"category": "repos",
5092950929
"subcategory": "contents"
5093050930
},
50931-
"slug": "get-a-repository-readme",
50931+
"slug": "get-a-repository-readme-for-a-directory",
5093250932
"category": "repos",
5093350933
"categoryLabel": "Repos",
5093450934
"subcategory": "contents",
5093550935
"subcategoryLabel": "Contents",
5093650936
"notes": [],
5093750937
"bodyParameters": [],
50938-
"descriptionHTML": "<p>Gets the preferred README for a repository.</p>\n<p>READMEs support <a href=\"https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types\">custom media types</a> for retrieving the raw content or rendered HTML.</p>",
50938+
"descriptionHTML": "<p>Gets the README from a repository directory.</p>\n<p>READMEs support <a href=\"https://docs.github.com/enterprise-server@2.19/rest/reference/repos#custom-media-types\">custom media types</a> for retrieving the raw content or rendered HTML.</p>",
5093950939
"responses": [
5094050940
{
5094150941
"httpStatusCode": "200",

lib/rest/static/decorated/ghes-2.20.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51567,15 +51567,15 @@
5156751567
"html": "<pre><code class=\"hljs language-javascript\"><span class=\"hljs-keyword\">await</span> octokit.request(<span class=\"hljs-string\">'GET /repos/{owner}/{repo}/readme/{dir}'</span>, {\n <span class=\"hljs-attr\">owner</span>: <span class=\"hljs-string\">'octocat'</span>,\n <span class=\"hljs-attr\">repo</span>: <span class=\"hljs-string\">'hello-world'</span>,\n <span class=\"hljs-attr\">dir</span>: <span class=\"hljs-string\">'dir'</span>\n})\n</code></pre>"
5156851568
}
5156951569
],
51570-
"summary": "Get a repository README",
51571-
"description": "Gets the preferred README for a repository.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.",
51570+
"summary": "Get a repository README for a directory",
51571+
"description": "Gets the README from a repository directory.\n\nREADMEs support [custom media types](https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types) for retrieving the raw content or rendered HTML.",
5157251572
"tags": [
5157351573
"repos"
5157451574
],
51575-
"operationId": "repos/get-readme-from-alt-path",
51575+
"operationId": "repos/get-readme-in-directory",
5157651576
"externalDocs": {
5157751577
"description": "API method documentation",
51578-
"url": "https://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository-readme"
51578+
"url": "https://docs.github.com/enterprise-server@2.20/rest/reference/repos#get-a-repository-directory-readme"
5157951579
},
5158051580
"x-github": {
5158151581
"githubCloudOnly": false,
@@ -51584,14 +51584,14 @@
5158451584
"category": "repos",
5158551585
"subcategory": "contents"
5158651586
},
51587-
"slug": "get-a-repository-readme",
51587+
"slug": "get-a-repository-readme-for-a-directory",
5158851588
"category": "repos",
5158951589
"categoryLabel": "Repos",
5159051590
"subcategory": "contents",
5159151591
"subcategoryLabel": "Contents",
5159251592
"notes": [],
5159351593
"bodyParameters": [],
51594-
"descriptionHTML": "<p>Gets the preferred README for a repository.</p>\n<p>READMEs support <a href=\"https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types\">custom media types</a> for retrieving the raw content or rendered HTML.</p>",
51594+
"descriptionHTML": "<p>Gets the README from a repository directory.</p>\n<p>READMEs support <a href=\"https://docs.github.com/enterprise-server@2.20/rest/reference/repos#custom-media-types\">custom media types</a> for retrieving the raw content or rendered HTML.</p>",
5159551595
"responses": [
5159651596
{
5159751597
"httpStatusCode": "200",

0 commit comments

Comments
 (0)