Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Java installation reports success but setup check cannot find Java

Aperta
#7,315 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
java, php
Ambito
backend, cli

Direzione di ricerca

Riprodurre il problema con occ libresign:install --java e poi occ libresign:configure:check sulle versioni di Ubuntu e LibreSign indicate. Esaminare i percorsi dei comandi di LibreSign e della configurazione di Java; l’attività è completata quando il controllo rileva Java dopo l’installazione e la firma dei documenti non segnala più che il percorso di Java non è impostato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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 [[email protected]] => 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 [[email protected]] => 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 [[email protected]] => 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

Lingua principale
PHP
Stelle
828
Fork
157
Merge medio
6h 48m
PR unite (30g)
622

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LibreSign/libresign

Tutte le issue di LibreSign/libresign

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.