-
-
Notifications
You must be signed in to change notification settings - Fork 109
I can't install java in libresign #7315
Description
Describe the bug
occ libresign:install --java does not work
To reproduce
Good afternoon, I am having a strange problem while installing LibreSign. When I try to install java using "occ libresign:install --java", I receive a notification that the installation was successful, but when I check with "occ libresign:configure:check", I see that java is not installed. When I try to sign a document, I get an error saying "Java path not set". I have java installed on my operating system, and it is working properly. I have been struggling with this issue for some time now. Where should I go to resolve this problem?
Expected behavior
No response
Screenshots
No response
Environment information
linux ubuntu 22.04 LTS
LibreSign Version 12.4.0
Nextcloud Server Version 32.0.6
Logs:
tail -n 5 data/nextcloud.log|grep libresign
{"reqId":"VIPKLlgMELovwj5uLNYi","level":3,"time":"2026-03-18T06:50:02+00:00","remoteAddr":"88.205.135.222","user":"hunter","app":"core","method":"PATCH","url":"/ocs/v2.php/apps/libresign/api/v1/request-signature","scriptName":"/ocs/v2.php","message":"Sending mail to "Array\n(\n [malole1999@ya.ru] => hunter\n)\n" with subject "LibreSign: \u0415\u0441\u0442\u044c \u0444\u0430\u0439\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c" failed","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 YaBrowser/26.3.0.0 Safari/537.36","version":"32.0.6.1","exception":{"Exception":"Symfony\Component\Mailer\Exception\TransportException","Message":"Connection could not be established with host "127.0.0.1:25": stream_socket_client(): Unable to connect to 127.0.0.1:25 (Connection refused)","Code":0,"Trace":[{"function":"{closure:Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream::initialize():153}","class":"Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream","type":"->","args":["*** sensitive parameters replaced "]},{"file":"/var/www/nextcloud/3rdparty/symfony/mailer/Transport/Smtp/Stream/SocketStream.php","line":157,"function":"stream_socket_client"},{"file":"/var/www/nextcloud/3rdparty/symfony/mailer/Transport/Smtp/SmtpTransport.php","line":264,"function":"initialize","class":"Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/mailer/Transport/Smtp/SmtpTransport.php","line":199,"function":"start","class":"Symfony\Component\Mailer\Transport\Smtp\SmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/mailer/Transport/AbstractTransport.php","line":69,"function":"doSend","class":"Symfony\Component\Mailer\Transport\Smtp\SmtpTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/mailer/Transport/Smtp/SmtpTransport.php","line":137,"function":"send","class":"Symfony\Component\Mailer\Transport\AbstractTransport","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/mailer/Mailer.php","line":42,"function":"send","class":"Symfony\Component\Mailer\Transport\Smtp\SmtpTransport","type":"->"},{"file":"/var/www/nextcloud/lib/private/Mail/Mailer.php","line":205,"function":"send","class":"Symfony\Component\Mailer\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/libresign/lib/Service/MailService.php","line":111,"function":"send","class":"OC\Mail\Mailer","type":"->"},{"file":"/var/www/nextcloud/apps/libresign/lib/Listener/MailNotifyListener.php","line":92,"function":"notifyUnsignedUser","class":"OCA\Libresign\Service\MailService","type":"->"},{"file":"/var/www/nextcloud/apps/libresign/lib/Listener/MailNotifyListener.php","line":43,"function":"sendSignMailNotification","class":"OCA\Libresign\Listener\MailNotifyListener","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php","line":57,"function":"handle","class":"OCA\Libresign\Listener\MailNotifyListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":220,"function":"__invoke","class":"OC\EventDispatcher\ServiceEventListener","type":"->"},{"file":"/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":56,"function":"callListeners","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":67,"function":"dispatch","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php","line":79,"function":"dispatch","class":"OC\EventDispatcher\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/apps/libresign/lib/Service/IdentifyMethod/AbstractIdentifyMethod.php","line":141,"function":"dispatchTyped","class":"OC\EventDispatcher\EventDispatcher","type":"->"},{"file":"/var/www/nextcloud/apps/libresign/lib/Service/IdentifyMethod/AbstractIdentifyMethod.php","line":407,"function":"notify","class":"OCA\Libresign\Service\IdentifyMethod\AbstractIdentifyMethod","type":"->"},{"file":"/var/www/nextcloud/apps/libresign/lib/Service/SignRequest/SignRequestService.php","line":94,"function":"save","class":"OCA\Libresign\Service\IdentifyMethod\AbstractIdentifyMethod","type":"->"},{"file":"/var/www/nextcloud/apps/libresign/lib/Service/RequestSignatureService.php","line":507,"function":"createOrUpdateSignRequest","class":"OCA\Libresign\Service\SignRequest\SignRequestService","type":"->","args":[" sensitive parameters replaced "]},{"file":"/var/www/nextcloud/apps/libresign/lib/Service/RequestSignatureService.php","line":132,"function":"associateToSigners","class":"OCA\Libresign\Service\RequestSignatureService","type":"->"},{"file":"/var/www/nextcloud/apps/libresign/lib/Controller/RequestSignatureController.php","line":196,"function":"save","class":"OCA\Libresign\Service\RequestSignatureService","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":204,"function":"updateSign","class":"OCA\Libresign\Controller\RequestSignatureController","type":"->","args":[" sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\AppFramework\App","type":"::"},{"file":"/var/www/nextcloud/ocs/v1.php","line":61,"function":"match","class":"OC\Route\Router","type":"->"},{"file":"/var/www/nextcloud/ocs/v2.php","line":8,"args":["/var/www/nextcloud/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/nextcloud/3rdparty/symfony/mailer/Transport/Smtp/Stream/SocketStream.php","Line":154,"message":"Sending mail to "Array\n(\n [malole1999@ya.ru] => hunter\n)\n" with subject "LibreSign: \u0415\u0441\u0442\u044c \u0444\u0430\u0439\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c" failed","exception":{},"CustomMessage":"Sending mail to "Array\n(\n [malole1999@ya.ru] => hunter\n)\n" with subject "LibreSign: \u0415\u0441\u0442\u044c \u0444\u0430\u0439\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c" failed"}}
Additional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status