I've upgraded from 4 to 5 using this great script.
At the very end (I guess so) I've got an error related to grub - for whatever reason the old non-existent drive was still referenced somewhere in the configuration. Do I need to (re-)run some scripts after reboot in order to finalize the upgrade process?
Creating config file /etc/php/7.3/cgi/php.ini with new version
Setting up php7.3-fpm (7.3.29-1~deb10u1) ...
Creating config file /etc/php/7.3/fpm/php.ini with new version
Created symlink /etc/systemd/system/multi-user.target.wants/php7.3-fpm.service -> /lib/systemd/system/php7.3-fpm.service.
Setting up php-pam (1.0.3-1+deb10u1) ...
Setting up grub2-common (2.02+dfsg1-20+deb10u4) ...
Setting up libgfchangelog0:amd64 (5.5-3) ...
Setting up grub-pc-bin (2.02+dfsg1-20+deb10u4) ...
Setting up grub-pc (2.02+dfsg1-20+deb10u4) ...
/dev/disk/by-id/ata-WDC_WD2503ABYX-01WERA0_WD-WMAYR0116834 does not exist, so cannot grub-install to it!
You must correct your GRUB install devices before proceeding:
DEBIAN_FRONTEND=dialog dpkg --configure grub-pc
dpkg --configure -a
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Setting up libgfapi0:amd64 (5.5-3) ...
Setting up php-fpm (2:7.3+69) ...
Setting up php-cgi (2:7.3+69) ...
Setting up libglusterfs-dev (5.5-3) ...
Setting up glusterfs-common (5.5-3) ...
Installing new version of config file /etc/logrotate.d/glusterfs-common ...
Adding group `gluster' (GID 122) ...
Done.
Setting up glusterfs-client (5.5-3) ...
Setting up liblvm2cmd2.03:amd64 (2.03.02-3) ...
Setting up dmeventd (2:1.02.155-3) ...
dm-event.service is a disabled or a static unit not running, not starting it.
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for systemd (241-7~deb10u7) ...
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
dh-python e2fslibs libbind9-140 libcomerr2 libdbus-glib-1-2 libdns162
libevent-2.0-5 libfile-copy-recursive-perl libicu57 libisc160 libisccc140
libisccfg140 liblvm2app2.2 liblvm2cmd2.02 liblwres141 libntfs-3g871 libonig4
libperl5.24 libpython3.5-minimal libpython3.5-stdlib liburcu4
php-symfony-polyfill-apcu python3-distutils python3-lib2to3 python3.5
python3.5-minimal update-inetd
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up grub-pc (2.02+dfsg1-20+deb10u4) ...
/dev/disk/by-id/ata-WDC_WD2503ABYX-01WERA0_WD-WMAYR0116834 does not exist, so cannot grub-install to it!
You must correct your GRUB install devices before proceeding:
DEBIAN_FRONTEND=dialog dpkg --configure grub-pc
dpkg --configure -a
dpkg: error processing package grub-pc (--configure):
installed grub-pc package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)
run-parts: /root/openmediavault-upgrade-4.7/run.d/80-apt-dist-upgrade exited with return code 100
root@vault:~/openmediavault-upgrade-4.7#