[pve-devel] [PATCH proxmox-ve 2/3] apt hook: mention that console/ssh should be used for major upgrade

Fabian Ebner f.ebner at proxmox.com
Mon Sep 13 14:04:45 CEST 2021


There were a few reports of people trying to upgrade via the virtual
console running into problems, because it would be interrupted. The
latest one is [0], although I'm speculating that it might not have
been the cause of all the reported problems in this case.

[0]: https://forum.proxmox.com/threads/help-please-problem-upgrading-to-pve7.95941/

Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 debian/apthook/pve-apt-hook | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/apthook/pve-apt-hook b/debian/apthook/pve-apt-hook
index d79b6c0..72a38ca 100755
--- a/debian/apthook/pve-apt-hook
+++ b/debian/apthook/pve-apt-hook
@@ -77,7 +77,8 @@ while (my $line = <$fh>) {
       $log->("You are attempting to upgrade from proxmox-ve '$old' to proxmox-ve '$new'.\n");
       $log->("Please make sure to read the upgrade notes at\n");
       $log->("\thttps://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0\n");
-      $log->("before proceeding with this operation.\n");
+      $log->("and that you are are connected directly via console or ssh (not the virtual\n");
+      $log->("console offered by the GUI!) before proceeding with this operation.\n");
       $log->("\n");
       $log->("Press enter to continue, or C^c to abort.\n");
       $cleanup->(0, 1);
-- 
2.20.1






More information about the pve-devel mailing list