Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibreSign 9.3.2 not working in Nextcloud 29.0.7 #3747

Open
stepcellwolf opened this issue Sep 22, 2024 · 5 comments
Open

LibreSign 9.3.2 not working in Nextcloud 29.0.7 #3747

stepcellwolf opened this issue Sep 22, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@stepcellwolf
Copy link

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):

  • OS: Debian 11
  • Browser: Firefox
  • LibreSign Version 9.3.2
  • Nextcloud Server Version 29.0.7
  • Logs (get the entries from nextcloud.log related with LibreSign i.e tail -f data/nextcloud.log|grep libresign)
@stepcellwolf stepcellwolf added the bug Something isn't working label Sep 22, 2024
@vitormattos
Copy link
Member

Hi,
Could you check if have any entry at nextcfloud.log file related to LibreSign?
I can't reproduce this.

@stepcellwolf
Copy link
Author

@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.

@stepcellwolf
Copy link
Author

Hi @vitormattos did you managed to reproduce the error?

@vitormattos
Copy link
Member

Looking more to the row that generated this log:

https://github.com/LibreSign/libresign/blob/stable29/lib/Handler/CertificateEngine/CfsslHandler.php#L395

I think that could be two items:

  1. The backtick operator didn't worked, maybe was blocked at your environment.
  2. The path of CFSSL is getting problems or PHP can't execute the CFSSL binary. You can get this setting using the follow command:
    occ config:app:get libresign cfssl_bin
    

Could you test using OpenSSL and check if will get the same error? This error occur only with CFSSL.

@stepcellwolf
Copy link
Author

@vitormattos unfortunately both are not working and no new log. Please see below

$ tail -f /var/log/nextcloud/nextcloud.log|grep libresign

{"reqId":"9L8bGxAjCJHute4BQtek","level":3,"time":"2024-10-27T18:57:20+00:00","remoteAddr":"2.215.244.96","user":"[username]","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:131.0) Gecko/20100101 Firefox/131.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"}}
{"reqId":"QELItdS7ZJslBWsPgk95","level":3,"time":"2024-10-27T18:57:24+00:00","remoteAddr":"2.215.244.96","user":"[username]","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:131.0) Gecko/20100101 Firefox/131.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"}}
{"reqId":"8wDZoAim88lv8Et4Pa9B","level":3,"time":"2024-10-27T18:57:32+00:00","remoteAddr":"2.215.244.96","user":"[username]","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:131.0) Gecko/20100101 Firefox/131.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"}}
{"reqId":"45tLDUUba71vkVbQJzor","level":3,"time":"2024-10-27T18:58:18+00:00","remoteAddr":"2.215.244.96","user":"[username]","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:131.0) Gecko/20100101 Firefox/131.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"}}
{"reqId":"pBBz5Dv90mIh8CnwkZX6","level":3,"time":"2024-10-27T18:58:34+00:00","remoteAddr":"2.215.244.96","user":"[username]","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:131.0) Gecko/20100101 Firefox/131.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"}}
{"reqId":"gc40SidJWikLoCDqvp5b","level":3,"time":"2024-10-27T19:03:12+00:00","remoteAddr":"2.215.244.96","user":"[username]","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:131.0) Gecko/20100101 Firefox/131.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"}}
{"reqId":"QnQGtmP6MA1qTJzBz35Y","level":3,"time":"2024-10-27T19:05:37+00:00","remoteAddr":"2.215.244.96","user":"[username]","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:131.0) Gecko/20100101 Firefox/131.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"}}
{"reqId":"uUSGzYJ5PUb3BFDsVLHJ","level":3,"time":"2024-10-27T19:06:01+00:00","remoteAddr":"2.215.244.96","user":"[username]","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:131.0) Gecko/20100101 Firefox/131.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"}}
{"reqId":"kx1XOrucThG2UHJ3bvIo","level":3,"time":"2024-10-27T19:08:03+00:00","remoteAddr":"2.215.244.96","user":"[username]","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:131.0) Gecko/20100101 Firefox/131.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"}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 0. Needs triage
Development

No branches or pull requests

3 participants
@vitormattos @stepcellwolf and others