Open stepcellwolf opened 2 weeks ago
Hi, Could you check if have any entry at nextcfloud.log file related to LibreSign? I can't reproduce this.
@vitormattos hi sorry, forgot to add the logs:
tail -f /var/log/nextcloud/nextcloud.log|grep libresign {"reqId":"q1bDQLIpgz41w8sONIvS","level":3,"time":"2024-09-23T16:49:23+00:00","remoteAddr":"2a02:3102:4c35:800:711b:bb02:22e3:670c","user":"predrag","app":"no app in context","method":"GET","url":"/ocs/v2.php/apps/libresign/api/v1/admin/certificate","message":"trim(): Argument #1 ($string) must be of type string, null given in file '/var/www/nextcloud/apps/libresign/lib/Handler/CertificateEngine/CfsslHandler.php' line 395","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0","version":"29.0.7.1","exception":{"Exception":"Exception","Message":"trim(): Argument #1 ($string) must be of type string, null given in file '/var/www/nextcloud/apps/libresign/lib/Handler/CertificateEngine/CfsslHandler.php' line 395","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":66,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":170,"Previous":{"Exception":"TypeError","Message":"trim(): Argument #1 ($string) must be of type string, null given","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/libresign/lib/Handler/CertificateEngine/CfsslHandler.php","line":395,"function":"trim"},{"file":"/var/www/nextcloud/apps/libresign/lib/Handler/CertificateEngine/CfsslHandler.php","line":120,"function":"checkBinaries","class":"OCA\\Libresign\\Handler\\CertificateEngine\\CfsslHandler","type":"->"},{"file":"/var/www/nextcloud/apps/libresign/lib/Controller/AdminController.php","line":174,"function":"configureCheck","class":"OCA\\Libresign\\Handler\\CertificateEngine\\CfsslHandler","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":232,"function":"loadCertificate","class":"OCA\\Libresign\\Controller\\AdminController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":138,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":331,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":66,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":23,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/libresign/lib/Handler/CertificateEngine/CfsslHandler.php","Line":395},"message":"trim(): Argument #1 ($string) must be of type string, null given in file '/var/www/nextcloud/apps/libresign/lib/Handler/CertificateEngine/CfsslHandler.php' line 395","exception":{},"CustomMessage":"trim(): Argument #1 ($string) must be of type string, null given in file '/var/www/nextcloud/apps/libresign/lib/Handler/CertificateEngine/CfsslHandler.php' line 395"}}
Hope this helps.
Hi @vitormattos did you managed to reproduce the error?
Describe the bug I'm not able to install the dependencies with OpenSSL and CFSSL certificate. This does not work via UI nor via the console:
sudo -u nextcloud php8.3 --define apc.enable_cli=1 occ libresign:install --all --verbose
No output no results.To Reproduce This does not work via UI nor via the console: UI: Admin-> LibreSign -> Download bianaries -> Validate setup -> (no results)
Console:
sudo -u nextcloud php8.3 --define apc.enable_cli=1 occ libresign:install --all --verbose
No output no results.Expected behavior It should work, with previous version was working few days ago.
Environment information (please complete the following information):
tail -f data/nextcloud.log|grep libresign
)