I recently upgraded OpenMediaVault and now cannot log into the web interface due to a 502 Bad Gateway error. Upon investigating further, I tried running omv-salt stage run deploy
in the console, but I encountered the following traceback:
Code
Traceback (most recent call last):
File "/usr/sbin/omv-salt", line 29, in <module>
import salt.client
File "/usr/lib/python3/dist-packages/salt/client/__init__.py", line 28, in <module>
import salt.cache
File "/usr/lib/python3/dist-packages/salt/cache/__init__.py", line 11, in <module>
import salt.config
File "/usr/lib/python3/dist-packages/salt/config/__init__.py", line 107, in <module>
_DFLT_IPC_WBUFFER = int(_gather_buffer_space() * 0.5)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/salt/config/__init__.py", line 90, in _gather_buffer_space
total_mem = psutil.virtual_memory().total
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/psutil/__init__.py", line 1968, in virtual_memory
ret = _psplatform.virtual_memory()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/psutil/_pslinux.py", line 418, in virtual_memory
mems[fields[0]] = int(fields[1]) * 1024
^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: b'Used:'
Display More