• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

An error has occurred while receiving disk operations usage.

KZM

Basic Pleskian
Username:

TITLE

An error has occurred while receiving disk operations usage.

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Your OS version Ubuntu 22.04.3 LTS
Plesk version Plesk Obsidian 18.055

PROBLEM DESCRIPTION

When I go to Plesk --> Process list, the message below is shown:

An error has occurred while receiving disk operations usage. Stdout: Stderr: Traceback (most recent call last): File "/usr/sbin/iotop", line 10, in from iotop.ui import main File "/usr/lib/python3/dist-packages/iotop/ui.py", line 46, in from iotop.data import find_uids, TaskStatsNetlink, ProcessList, Stats File "/usr/lib/python3/dist-packages/iotop/data.py", line 51, in vmstat_f = VmStat() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 23, in __init__ self.vmstat = self.read() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 40, in read return pgpgin, pgpgout UnboundLocalError: local variable 'pgpgin' referenced before assignment Exit code: 1

Question: what is it and how to fix?

STEPS TO REPRODUCE

Go to Plesk --> Process list

ACTUAL RESULT

error is shown

An error has occurred while receiving disk operations usage. Stdout: Stderr: Traceback (most recent call last): File "/usr/sbin/iotop", line 10, in from iotop.ui import main File "/usr/lib/python3/dist-packages/iotop/ui.py", line 46, in from iotop.data import find_uids, TaskStatsNetlink, ProcessList, Stats File "/usr/lib/python3/dist-packages/iotop/data.py", line 51, in vmstat_f = VmStat() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 23, in __init__ self.vmstat = self.read() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 40, in read return pgpgin, pgpgout UnboundLocalError: local variable 'pgpgin' referenced before assignment Exit code: 1

Question: what is it and how to fix?

EXPECTED RESULT

no errors

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Help with sorting out
 
Same Error here.

Plesk Obsidian v18.0.59_build1800240229.10 os_Ubuntu 22.04
Ubuntu 22.04.4 LTS

Se ha producido un error mientras se recibía el uso de las operaciones del disco. Stdout: Stderr: Traceback (most recent call last): File "/usr/sbin/iotop", line 10, in from iotop.ui import main File "/usr/lib/python3/dist-packages/iotop/ui.py", line 46, in from iotop.data import find_uids, TaskStatsNetlink, ProcessList, Stats File "/usr/lib/python3/dist-packages/iotop/data.py", line 51, in vmstat_f = VmStat() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 23, in __init__ self.vmstat = self.read() File "/usr/lib/python3/dist-packages/iotop/vmstat.py", line 40, in read return pgpgin, pgpgout UnboundLocalError: local variable 'pgpgin' referenced before assignment Código de salida: 1
 
simple fix/patch is add
Code:
pgpgin = 0
pgpgout = 0
to
Code:
/usr/lib/python3/dist-packages/iotop/vmstat.py
at lines 26 just after
Code:
def read(self)
 
Back
Top