Brief description of the problem
The USB with the old Rockstor on Centos7 died. Installed the latest version on a new disk. I pressed rescan on the disks and got an error
Detailed step by step instructions to reproduce the problem
- install new version Rockstor
- in Web-UI click RESCAN on tab disks
How to connect data drives without losing information?
Web-UI screenshot
Error Traceback provided on the Web-UI
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py", line 41, in _handle_exception
yield
File "/opt/rockstor/src/rockstor/storageadmin/views/disk.py", line 418, in post
return self._update_disk_state()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/contextlib.py", line 81, in inner
return func(*args, **kwds)
^^^^^^^^^^^^^^^^^^^
File "/opt/rockstor/src/rockstor/storageadmin/views/disk.py", line 115, in _update_disk_state
attached_disks = scan_disks(MIN_DISK_SIZE)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/rockstor/src/rockstor/system/osi.py", line 330, in scan_disks
blk_dev_properties: dict = {
^
File "/opt/rockstor/src/rockstor/system/osi.py", line 336, in
for key, value in (
^^^^^^^^^^
ValueError: not enough values to unpack (expected 2, got 1)
4 posts - 2 participants