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 · 2 comments
Open

LibreSign 9.3.2 not working in Nextcloud 29.0.7 #3747

stepcellwolf opened this issue Sep 22, 2024 · 2 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.

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

2 participants