You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources/known-issues-with-upgrades-to-your-instance.md
+74Lines changed: 74 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,4 +108,78 @@ Finally, if you're willing to help {% data variables.product.company_short %} u
108
108
109
109
The data you submit helps {% data variables.product.company_short %} continue to provide a performant product, but {% data variables.product.company_short %} does not guarantee any additional mitigation steps or changes to the product as a result of the data you provide.
110
110
111
+
## MySQL does not start after upgrade to {% data variables.product.prodname_ghe_server %} 3.9
112
+
113
+
During an upgrade to {% data variables.product.prodname_ghe_server %} 3.9, if MySQL did not gracefully shut down during the shutdown of the {% data variables.product.prodname_ghe_server %} 3.7 or 3.8 instance, MySQL will attempt to go through crash recovery when the {% data variables.product.prodname_ghe_server %} 3.9 instance starts up. Since {% data variables.product.prodname_ghe_server %} 3.7 and 3.8 uses MySQL 5.7 and {% data variables.product.prodname_ghe_server %} 3.9 has been upgraded to MySQL 8.0, MySQL will not be able to complete crash recovery.
114
+
115
+
If you experience this problem, the following error will be in the mysql error log (`/var/log/mysql/mysql.err`):
116
+
117
+
```shell copy
118
+
[ERROR] [MY-012526] [InnoDB] Upgrade after a crash is not supported. This redo log was created with MySQL 5.7.40. Please follow the instructions at http://dev.mysql.com/doc/refman/8.0/en/upgrading.html
119
+
```
120
+
121
+
### Avoiding this issue
122
+
123
+
To avoid this issue, update the nomad timeout for MySQL before starting an upgrade to {% data variables.product.prodname_ghe_server %} 3.9
124
+
125
+
1. Put your instance into maintenance mode:
126
+
127
+
```shell copy
128
+
ghe-maintenance -s
129
+
```
130
+
1. Update consul template for nomad:
131
+
132
+
```shell copy
133
+
sudo sed -i.bak '/kill_signal/i \ kill_timeout = "10m"' /etc/consul-templates/etc/nomad-jobs/mysql/mysql.hcl.ctmpl
Now that the nomad timeout for MySQL has been updated you can upgrade your {% data variables.product.prodname_ghe_server %} instance to 3.9.
178
+
179
+
### Mitigating a failed restart of MySQL
180
+
181
+
If you're affected by this problem, restore your {% data variables.product.prodname_ghe_server %} instance to the state it was in prior to the upgrade attempt, and then follow the steps from the previous section.
182
+
183
+
For more information about restoring from a failed upgrade, see "[AUTOTITLE](/admin/enterprise-management/updating-the-virtual-machine-and-physical-resources/upgrading-github-enterprise-server#restoring-from-a-failed-upgrade)."
Copy file name to clipboardExpand all lines: data/release-notes/enterprise-server/3-7/0.yml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -322,6 +322,8 @@ sections:
322
322
- 'The maximum number of self-hosted runners in a runner group is limited to 10,000. Previously, there was no limit. [Updated: 2023-05-24]'
323
323
324
324
known_issues:
325
+
- |
326
+
{% data reusables.release-notes.upgrade-mysql8-cannot-start-up %}
325
327
- |
326
328
{% data reusables.release-notes.enterprise-backup-utils-encryption-keys %}
327
329
- On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
@@ -378,4 +380,4 @@ sections:
378
380
379
381
# https://github.com/github/releases/issues/2042
380
382
- |
381
-
"[Features](#3.7.0-features)" incorrectly indicated that users of the GitHub Advisory Database can see advisories for Elixir, Erlang's Hex package manager, and more. This feature is unavailable in GitHub Enterprise Server 3.7, and will be available in a future release. [Updated 2023-06-01]
383
+
"[Features](#3.7.0-features)" incorrectly indicated that users of the GitHub Advisory Database can see advisories for Elixir, Erlang's Hex package manager, and more. This feature is unavailable in GitHub Enterprise Server 3.7, and will be available in a future release. [Updated 2023-06-01]
Copy file name to clipboardExpand all lines: data/release-notes/enterprise-server/3-7/1.yml
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,8 @@ sections:
26
26
- If a site administrator has not yet configured GitHub Actions for the instance, the UI for setting up code scanning will prompt the user to configure GitHub Actions.
27
27
- To avoid failing domain verification due to the 63-character limit enforced by DNS providers for DNS records, the GitHub-generated `TXT` record to verify domain ownership is now limited to 63 characters.
28
28
known_issues:
29
+
- |
30
+
{% data reusables.release-notes.upgrade-mysql8-cannot-start-up %}
29
31
- |
30
32
{% data reusables.release-notes.enterprise-backup-utils-encryption-keys %}
31
33
- On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
Copy file name to clipboardExpand all lines: data/release-notes/enterprise-server/3-7/10.yml
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@ sections:
24
24
- |
25
25
People with administrative SSH access who generate a support bundle using the `ghe-support-bundle` or `ghe-cluster-support-bundle` utilities can specify the period of time to gather data with `-p` or `--period` without using spaces or quotes. For example, in addition to `'-p 5 days'` or `-p '4 days 10 hours'`, `-p 5days` or `-p 4days10hours` are valid.
26
26
known_issues:
27
+
- |
28
+
{% data reusables.release-notes.upgrade-mysql8-cannot-start-up %}
27
29
- |
28
30
{% data reusables.release-notes.enterprise-backup-utils-encryption-keys %}
Copy file name to clipboardExpand all lines: data/release-notes/enterprise-server/3-7/11.yml
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ sections:
12
12
changes:
13
13
- People with administrative SSH access to an instance can configure the maximum memory usage in gigabytes for Redis using `ghe-config redis.max-memory-gb VALUE`.
14
14
known_issues:
15
+
- |
16
+
{% data reusables.release-notes.upgrade-mysql8-cannot-start-up %}
15
17
- |
16
18
{% data reusables.release-notes.enterprise-backup-utils-encryption-keys %}
Copy file name to clipboardExpand all lines: data/release-notes/enterprise-server/3-7/13.yml
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,8 @@ sections:
56
56
- |
57
57
The Management Console displays a warning about unexpected consequences that may result from modification of the instance's hostname after initial configuration.
58
58
known_issues:
59
+
- |
60
+
{% data reusables.release-notes.upgrade-mysql8-cannot-start-up %}
59
61
- |
60
62
Custom firewall rules are removed during the upgrade process.
Copy file name to clipboardExpand all lines: data/release-notes/enterprise-server/3-7/3.yml
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ sections:
22
22
- The performance of configuration runs started with `ghe-config-apply` has been improved.
23
23
- When exporting account data, backing up a repository, or performing a migration, the link to a repository archive now expires after 1 hour. Previously the archive link expired after 5 minutes.
24
24
known_issues:
25
+
- |
26
+
{% data reusables.release-notes.upgrade-mysql8-cannot-start-up %}
25
27
- |
26
28
{% data reusables.release-notes.enterprise-backup-utils-encryption-keys %}
27
29
- On a freshly set up {% data variables.product.prodname_ghe_server %} instance without any users, an attacker could create the first admin user.
0 commit comments