dleidert / openmediavault-upgrade

Script to upgrade openmediavault from one major release into the next
GNU General Public License v3.0
48 stars 1 forks source link

python TypeError on upgrade from 4 to 5 #43

Open mkaut opened 3 years ago

mkaut commented 3 years ago

I tried to upgrade from 4 to 5 using the instructions from [https://github.com/dleidert/openmediavault-upgrade/tree/4], but the script failed with a python TypeError. The end of the output was:

 delete mode 120000 rc0.d/K03mysql
 delete mode 120000 rc1.d/K03mysql
 delete mode 120000 rc2.d/S03mysql
 delete mode 120000 rc3.d/S03mysql
 delete mode 120000 rc4.d/S03mysql
 delete mode 120000 rc5.d/S03mysql
 delete mode 120000 rc6.d/K03mysql
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f56f1a73598>
Traceback (most recent call last):
  File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7f56f1a73598>
Traceback (most recent call last):
  File "/usr/lib/python3.5/weakref.py", line 117, in remove
TypeError: 'NoneType' object is not callable
E: Sub-process /usr/bin/dpkg returned an error code (1)

I also attach the whole log file: omv_release_upgrade_to_buster.2021-08-23-110755.log

Any idea how to fix this? And is it safe to (try to) use OMV in the meantime?

mi-hol commented 3 years ago

Its much better to have this conversation on OMV forum. https://forum.openmediavault.org/index.php?thread/39933-trying-to-update-error/&postID=280853&highlight=bintray#post280853 has the answer