• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Logs Browser Plesk error

JuanCar

Regular Pleskian
Server operating system version
Almalinux 9.4
Plesk version and microupdate number
Plesk Obsidian 18.0.62 #2
HiPlesk logs in logs browser shows this error message
2024-08-02 01:07:44ERRpanel [3278210:66ac15400e9a7]fread(): Argument #2 ($length) must be greater than 0
2024-08-02 01:07:44ERRpanel [3278210:66ac15400e9a7]
fread(): Argument #2 ($length) must be greater than 0:
0: /usr/local/psa/admin/plib/modules/log-browser/library/Reader/FilesReader.php:121
fread(resource, integer '0')
1: /usr/local/psa/admin/plib/modules/log-browser/library/Reader/FilesReader.php:121
PleskExt\LogBrowser\Reader\FilesReader->getPreviousFragmentFromOffset(integer '-100', integer '0')
2: /usr/local/psa/admin/plib/modules/log-browser/library/Parser/PanelLogParser.php:182
PleskExt\LogBrowser\Parser\PanelLogParser->getItems(integer '-100', NULL null, object of type PleskExt\LogBrowser\Reader\FilesReader)
3: /usr/local/psa/admin/plib/modules/log-browser/library/Parser/PanelLogParser.php:45
PleskExt\LogBrowser\Parser\PanelLogParser->readPortion(integer '-100', NULL null)
4: /usr/local/psa/admin/plib/modules/log-browser/library/Reader/ReaderList.php:25
PleskExt\LogBrowser\Reader\ReaderList->getLogPortion(integer '-100', NULL null)
5: /usr/local/psa/admin/plib/modules/log-browser/library/DataLoader/PanelLogDataLoader.php:24
PleskExt\LogBrowser\DataLoader\PanelLogDataLoader->getLogPortion(integer '-100', NULL null, array, NULL null, NULL null)
6: /usr/local/psa/admin/plib/modules/log-browser/controllers/ApiController.php:37
ApiController->readPanelLogPortionAction()
7: /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Action.php:516
Zend_Controller_Action->dispatch(string 'readPanelLogPortionAction')
8: /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Dispatcher/Standard.php:308
Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
9: /usr/local/psa/admin/plib/vendor/plesk/zf1/library/Zend/Controller/Front.php:954
Zend_Controller_Front->dispatch()
10: /usr/local/psa/admin/plib/pm/Application.php:87
pm_Application->run()
11: /usr/local/psa/admin/htdocs/modules/log-browser/index.php:4
Any idea?
 
Thank you for the report. I have filled a bug report, the ID of the issue is EXTPLESK-5713.
Let us know if you also know/found steps to reproduce the issue.
 
Errors go on in plesk log browser now.
I see Permisson denied in files:
/var/www/vhosts/espaciolatino.com/statistics' is 777 root : root
/usr/local/psa/var/cache/apache_restart_stat is 644 psaadm : psaadm

2024-08-03 10:43:15ERRpanel [3772617:66adeda32c5d6]
'/usr/local/psa/admin/bin/filemng' 'eslatino_admin' 'list' 'dirs' '/var/www/vhosts/espaciolatino.com/statistics' '--in-bytes' failed with code 1.

stdout:
filemng: opendir failed: Permission denied

System error 13: Permission denied


stderr:
filemng: opendir failed: Permission denied

System error 13: Permission denied

Show less
2024-08-03 10:43:15ERRutil_exec [3772617:66adeda32c5d6]
proc_close() failed ['/usr/local/psa/admin/bin/filemng' 'eslatino_admin' 'list' 'dirs' '/var/www/vhosts/espaciolatino.com/statistics' '--in-bytes'] with exit code [1]

Show less
2024-08-03 03:11:56ERRpanel [3652104:66ad83dc3f488][66ad83dc3f3f3] Result of interface implementation call: failure: Response Code (400)
2024-08-03 00:00:05ERRpanel [3606535:66ad56e4600f9]
PHP Warning: file_put_contents(/usr/local/psa/var/cache/apache_restart_stat): Failed to open stream: Read-only file system; File: /usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php, Line: 180

Show less
2024-08-03 00:00:04ERRpanel [3606535:66ad56e4600f9]
PHP Warning: unlink(/usr/local/psa/var/cache/apache_restart_stat): Read-only file system; File: /usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php, Line: 178

Show less
2024-08-03 00:00:04ERRpanel [3606535:66ad56e4600f9]Unable to get key: Repository is not opened
2024-08-03 00:00:04ERRpanel [3606535:66ad56e4600f9]Unable to get key: Repository is not opened
2024-08-03 00:00:04ERRpanel [3606535:66ad56e4600f9]Unable to get key: Repository is not opened
2024-08-03 00:00:04ERRpanel [3606535:66ad56e4600f9]Unable to get key: Repository is not opened
2024-08-02 18:58:23ERRpanel [3531895:66ad102f8220b]Bad arguments
2024-08-02 18:58:23ERRpanel [3531898:66ad102f40feb]Permission denied
2024-08-02 01:07:44ERRpanel [3278210:66ac15400e9a7]fread(): Argument #2 ($length) must be greater than 0
 
The first post in the thread was related to errors triggered by the Log Browser extension itself. The bug was registered as EXTPLESK-5713 and fixed in Log Browser 1.9.1 / 19 August 2024.

Errors about "permission denied" are not related to the Log Browser, the extension just helps to see them, but they were triggered not by the Log Browser, this is something different. In this case, I would suggest creating a new thread to discuss the issue continue discussing it in the Resolved - Panel error: Read-only file system thread. Have you tried a w/a with ReadWritePaths?

If the community can't help, makes sense to open a Support ticket.
 
The thread cied in the last message is not a resolved issue, if you read it you can see that the problem is not resolved yet.
 
Back
Top