Plesk attempted an auto-update last night, and failed. The relevant line in the log reads:
After logging into Plesk, I'm greeted with a server error:
Database, etc seems to be fine, the actual website is running without issue, but Plesk seems a bit borked.
I'd be grateful for any direction in resolving this.
Code:
...
(Reading database ... 95%
dpkg: unrecoverable fatal error, aborting:
files list file for package 'libopenjp2-7:amd64' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
(several dozen garbage characters)
Downloading file report-update: 0%
...
After logging into Plesk, I'm greeted with a server error:
Code:
500 Zend_Controller_Response_Exception
Cannot send headers; headers already sent in /opt/psa/admin/plib/modules/revisium-antivirus/hooks/Permissions.php, line 1
Type Zend_Controller_Response_Exception
Message Cannot send headers; headers already sent in /opt/psa/admin/plib/modules/revisium-antivirus/hooks/Permissions.php, line 1
File Abstract.php
Line 323
plesk repair fs -verbose
returns:
Code:
There are incorrect permissions on some items: /var/www/vhosts [ERROR]
- fsmng failed: dpkg-query: unrecoverable fatal error,
aborting:
files list file for package 'libopenjp2-7:amd64' is
missing final newline
ERROR:Command '['/usr/bin/dpkg', '-S', '/var/www/vhosts']'
returned non-zero exit status 2
Do you want to repair incorrect permissions? [Y/n] y
Repairing incorrect permissions ............................. [2020-07-20 15:20:32.291] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/fsmng' '--set-ac' '/var/www/vhosts'] with exit code [1]
[FAILED]
- fsmng failed: dpkg-query: unrecoverable fatal error,
aborting:
files list file for package 'libopenjp2-7:amd64' is
missing final newline
ERROR:Command '['/usr/bin/dpkg', '-S', '/var/www/vhosts']'
returned non-zero exit status 2
plesk repair installation
doesn't repair anything.plesk version
returns:
Code:
Product version: Plesk Obsidian 18.0.28.2
OS version: Debian 8.11 x86_64
Build date: 2020/07/03 14:00
Revision: 3e2c0bdf6dc81e82d4bc5d0b128b12fbfbf5b89f
Database, etc seems to be fine, the actual website is running without issue, but Plesk seems a bit borked.
I'd be grateful for any direction in resolving this.