Request Approval and Sign with LibreSign Buttons Missing

Hi all,

New NextCloud user here. I’ve got my instance running from Linode MarketPlace (NextCloud AIO) and so far I’m getting on really great with it! Very impressed with the slickness overall and the ease at which I’m able to configure NC to met my needs.

I’ve got stuck with the Approval app with the buttons that should appear next to documents in the details pane - they don’t. I’ve set up a couple of workflows which work okay if I got to tags and manually assign the the triggers that activate the approval workflow. This causes the Approve or Reject buttons to appear but the Request Approval and Sign with LibreSign buttons do not appear as I was expecting. I’ve set up the LibreSign app and generated my certificate. I can see LibreSign in the Apps toolbar but it’s not integrating with files.

Can anyone point me to what I’ve missed please?

Thanks,
Pix

Hello @Pixie ,

welcome to the community of Nextcloud.

Unfortunately a lot of information to help you is missing.
Please add all necessary information like Nextcloud version, webserver type and version, os version, related log file content.

Without additional information the community members cannot help you.

Regards,
JimmyKater

Ah yes! Sorry and thank you for your reply!

Nextcloud version: 24.0.4
Nexctcloud AIO: 1.7.1
OS: Ubuntu 22.04
WebServer: Apache 2.4.54
PHP: 8.0.22
DB: Postgre SQL 14.5
Approval app version: 1.0.10
LibreSign app version: 5.1.4

Log file entries that might be of interest to the LibreSign issue:

{"reqId":"033EhRzLvm4WtBhlBM3o","level":3,"time":"2022-08-25T16:49:54+00:00","remoteAddr":"172.17.0.1","user":"admin","app":"PHP","method":"POST","url":"/settings/apps/enable","message":"Undefined variable $install at /var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php#30","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36","version":"24.0.4.1","exception":{"Exception":"Error","Message":"Undefined variable $install at /var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php#30","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php","line":30,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Undefined variable $install","/var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php",30]},{"function":"__construct","class":"OCA\\Libresign\\Migration\\Version2040Date20211027183759","type":"->","args":[{"__class__":"OC\\DB\\ConnectionAdapter"},{"__class__":"OC\\Files\\Node\\LazyRoot"},{"__class__":"OCA\\Libresign\\Service\\PdfParserService"}]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":108,"function":"newInstanceArgs","class":"ReflectionClass","type":"->","args":[[{"__class__":"OC\\DB\\ConnectionAdapter"},{"__class__":"OC\\Files\\Node\\LazyRoot"},{"__class__":"OCA\\Libresign\\Service\\PdfParserService"}]]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"__class__":"ReflectionClass","name":"OCA\\Libresign\\Migration\\Version2040Date20211027183759"}]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":145,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/DB/MigrationService.php","line":498,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/DB/MigrationService.php","line":450,"function":"createInstance","class":"OC\\DB\\MigrationService","type":"->","args":["2040Date20211027183759"]},{"file":"/var/www/html/lib/private/DB/MigrationService.php","line":417,"function":"migrateSchemaOnly","class":"OC\\DB\\MigrationService","type":"->","args":["latest"]},{"file":"/var/www/html/lib/private/Installer.php","line":154,"function":"migrate","class":"OC\\DB\\MigrationService","type":"->","args":["latest",true]},{"file":"/var/www/html/apps/settings/lib/Controller/AppSettingsController.php","line":451,"function":"installApp","class":"OC\\Installer","type":"->","args":["libresign"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->","args":[["libresign"],[]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"enableApps"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"enableApps"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AppSettingsController","enableApps",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},["settings.AppSettings.enableApps"]]},{"file":"/var/www/html/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/apps/enable"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"033EhRzLvm4WtBhlBM3o","level":3,"time":"2022-08-25T16:49:54+00:00","remoteAddr":"172.17.0.1","user":"admin","app":"PHP","method":"POST","url":"/settings/apps/enable","message":"Undefined variable $config at /var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php#31","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36","version":"24.0.4.1","exception":{"Exception":"Error","Message":"Undefined variable $config at /var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php#31","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php","line":31,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Undefined variable $config","/var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php",31]},{"function":"__construct","class":"OCA\\Libresign\\Migration\\Version2040Date20211027183759","type":"->","args":[{"__class__":"OC\\DB\\ConnectionAdapter"},{"__class__":"OC\\Files\\Node\\LazyRoot"},{"__class__":"OCA\\Libresign\\Service\\PdfParserService"}]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":108,"function":"newInstanceArgs","class":"ReflectionClass","type":"->","args":[[{"__class__":"OC\\DB\\ConnectionAdapter"},{"__class__":"OC\\Files\\Node\\LazyRoot"},{"__class__":"OCA\\Libresign\\Service\\PdfParserService"}]]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"__class__":"ReflectionClass","name":"OCA\\Libresign\\Migration\\Version2040Date20211027183759"}]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":145,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/DB/MigrationService.php","line":498,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/DB/MigrationService.php","line":450,"function":"createInstance","class":"OC\\DB\\MigrationService","type":"->","args":["2040Date20211027183759"]},{"file":"/var/www/html/lib/private/DB/MigrationService.php","line":417,"function":"migrateSchemaOnly","class":"OC\\DB\\MigrationService","type":"->","args":["latest"]},{"file":"/var/www/html/lib/private/Installer.php","line":154,"function":"migrate","class":"OC\\DB\\MigrationService","type":"->","args":["latest",true]},{"file":"/var/www/html/apps/settings/lib/Controller/AppSettingsController.php","line":451,"function":"installApp","class":"OC\\Installer","type":"->","args":["libresign"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->","args":[["libresign"],[]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"enableApps"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"enableApps"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AppSettingsController","enableApps",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},["settings.AppSettings.enableApps"]]},{"file":"/var/www/html/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/apps/enable"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"033EhRzLvm4WtBhlBM3o","level":3,"time":"2022-08-25T16:49:54+00:00","remoteAddr":"172.17.0.1","user":"admin","app":"PHP","method":"POST","url":"/settings/apps/enable","message":"Undefined variable $systemConfig at /var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php#32","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36","version":"24.0.4.1","exception":{"Exception":"Error","Message":"Undefined variable $systemConfig at /var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php#32","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php","line":32,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Undefined variable $systemConfig","/var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php",32]},{"function":"__construct","class":"OCA\\Libresign\\Migration\\Version2040Date20211027183759","type":"->","args":[{"__class__":"OC\\DB\\ConnectionAdapter"},{"__class__":"OC\\Files\\Node\\LazyRoot"},{"__class__":"OCA\\Libresign\\Service\\PdfParserService"}]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":108,"function":"newInstanceArgs","class":"ReflectionClass","type":"->","args":[[{"__class__":"OC\\DB\\ConnectionAdapter"},{"__class__":"OC\\Files\\Node\\LazyRoot"},{"__class__":"OCA\\Libresign\\Service\\PdfParserService"}]]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"__class__":"ReflectionClass","name":"OCA\\Libresign\\Migration\\Version2040Date20211027183759"}]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":145,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/DB/MigrationService.php","line":498,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/DB/MigrationService.php","line":450,"function":"createInstance","class":"OC\\DB\\MigrationService","type":"->","args":["2040Date20211027183759"]},{"file":"/var/www/html/lib/private/DB/MigrationService.php","line":417,"function":"migrateSchemaOnly","class":"OC\\DB\\MigrationService","type":"->","args":["latest"]},{"file":"/var/www/html/lib/private/Installer.php","line":154,"function":"migrate","class":"OC\\DB\\MigrationService","type":"->","args":["latest",true]},{"file":"/var/www/html/apps/settings/lib/Controller/AppSettingsController.php","line":451,"function":"installApp","class":"OC\\Installer","type":"->","args":["libresign"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->","args":[["libresign"],[]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"enableApps"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"enableApps"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AppSettingsController","enableApps",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},["settings.AppSettings.enableApps"]]},{"file":"/var/www/html/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/apps/enable"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"033EhRzLvm4WtBhlBM3o","level":3,"time":"2022-08-25T16:49:54+00:00","remoteAddr":"172.17.0.1","user":"admin","app":"PHP","method":"POST","url":"/settings/apps/enable","message":"Undefined variable $rootfolder at /var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php#33","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36","version":"24.0.4.1","exception":{"Exception":"Error","Message":"Undefined variable $rootfolder at /var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php#33","Code":0,"Trace":[{"file":"/var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php","line":33,"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"Undefined variable $rootfolder","/var/www/html/custom_apps/libresign/lib/Migration/Version2040Date20211027183759.php",33]},{"function":"__construct","class":"OCA\\Libresign\\Migration\\Version2040Date20211027183759","type":"->","args":[{"__class__":"OC\\DB\\ConnectionAdapter"},{"__class__":"OC\\Files\\Node\\LazyRoot"},{"__class__":"OCA\\Libresign\\Service\\PdfParserService"}]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":108,"function":"newInstanceArgs","class":"ReflectionClass","type":"->","args":[[{"__class__":"OC\\DB\\ConnectionAdapter"},{"__class__":"OC\\Files\\Node\\LazyRoot"},{"__class__":"OCA\\Libresign\\Service\\PdfParserService"}]]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":[{"__class__":"ReflectionClass","name":"OCA\\Libresign\\Migration\\Version2040Date20211027183759"}]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":133,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":145,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/DB/MigrationService.php","line":498,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\Libresign\\Migration\\Version2040Date20211027183759"]},{"file":"/var/www/html/lib/private/DB/MigrationService.php","line":450,"function":"createInstance","class":"OC\\DB\\MigrationService","type":"->","args":["2040Date20211027183759"]},{"file":"/var/www/html/lib/private/DB/MigrationService.php","line":417,"function":"migrateSchemaOnly","class":"OC\\DB\\MigrationService","type":"->","args":["latest"]},{"file":"/var/www/html/lib/private/Installer.php","line":154,"function":"migrate","class":"OC\\DB\\MigrationService","type":"->","args":["latest",true]},{"file":"/var/www/html/apps/settings/lib/Controller/AppSettingsController.php","line":451,"function":"installApp","class":"OC\\Installer","type":"->","args":["libresign"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->","args":[["libresign"],[]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"enableApps"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"enableApps"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AppSettingsController","enableApps",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},["settings.AppSettings.enableApps"]]},{"file":"/var/www/html/lib/base.php","line":1023,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/apps/enable"]},{"file":"/var/www/html/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"vziVWkwWl4lekzN3CaXP","level":3,"time":"2022-08-25T17:10:23+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"fsockopen(): Unable to connect to 127.0.0.1:8888 (Connection refused) at /var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php#199","userAgent":"--","version":"24.0.4.1","exception":{"Exception":"Error","Message":"fsockopen(): Unable to connect to 127.0.0.1:8888 (Connection refused) at /var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php#199","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"fsockopen(): Unable to connect to 127.0.0.1:8888 (Connection refused)","/var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php",199]},{"file":"/var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php","line":199,"function":"fsockopen","args":["127.0.0.1",8888,null,null,0.1]},{"file":"/var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php","line":171,"function":"portOpen","class":"OCA\\Libresign\\Handler\\CfsslHandler","type":"->","args":[]},{"file":"/var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php","line":65,"function":"wakeUp","class":"OCA\\Libresign\\Handler\\CfsslHandler","type":"->","args":[]},{"file":"/var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php","line":142,"function":"getClient","class":"OCA\\Libresign\\Handler\\CfsslHandler","type":"->","args":[]},{"file":"/var/www/html/custom_apps/libresign/lib/Service/AdminSignatureService.php","line":66,"function":"health","class":"OCA\\Libresign\\Handler\\CfsslHandler","type":"->","args":["http://127.0.0.1:8888/api/v1/cfssl/"]},{"file":"/var/www/html/custom_apps/libresign/lib/Command/Configure/Cfssl.php","line":120,"function":"generate","class":"OCA\\Libresign\\Service\\AdminSignatureService","type":"->","args":["Heath Management Solutions Ltd.","GB","Heath Management Solutions Ltd.","Heath Management Solutions Ltd.","http://127.0.0.1:8888/api/v1/cfssl/","/mnt/ncdata/appdata_ocnjvnr5owk2/libresign/cfssl_config/","1"]},{"file":"/var/www/html/3rdparty/symfony/console/Command/Command.php","line":255,"function":"execute","class":"OCA\\Libresign\\Command\\Configure\\Cfssl","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/core/Command/Base.php","line":168,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":1009,"function":"run","class":"OC\\Core\\Command\\Base","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":273,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"OCA\\Libresign\\Command\\Configure\\Cfssl"},{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":149,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/lib/private/Console/Application.php","line":211,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/console.php","line":100,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}
{"reqId":"vziVWkwWl4lekzN3CaXP","level":3,"time":"2022-08-25T17:10:23+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"fsockopen(): Unable to connect to 127.0.0.1:8888 (Connection refused) at /var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php#199","userAgent":"--","version":"24.0.4.1","exception":{"Exception":"Error","Message":"fsockopen(): Unable to connect to 127.0.0.1:8888 (Connection refused) at /var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php#199","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"fsockopen(): Unable to connect to 127.0.0.1:8888 (Connection refused)","/var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php",199]},{"file":"/var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php","line":199,"function":"fsockopen","args":["127.0.0.1",8888,null,null,0.1]},{"file":"/var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php","line":188,"function":"portOpen","class":"OCA\\Libresign\\Handler\\CfsslHandler","type":"->","args":[]},{"file":"/var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php","line":65,"function":"wakeUp","class":"OCA\\Libresign\\Handler\\CfsslHandler","type":"->","args":[]},{"file":"/var/www/html/custom_apps/libresign/lib/Handler/CfsslHandler.php","line":142,"function":"getClient","class":"OCA\\Libresign\\Handler\\CfsslHandler","type":"->","args":[]},{"file":"/var/www/html/custom_apps/libresign/lib/Service/AdminSignatureService.php","line":66,"function":"health","class":"OCA\\Libresign\\Handler\\CfsslHandler","type":"->","args":["http://127.0.0.1:8888/api/v1/cfssl/"]},{"file":"/var/www/html/custom_apps/libresign/lib/Command/Configure/Cfssl.php","line":120,"function":"generate","class":"OCA\\Libresign\\Service\\AdminSignatureService","type":"->","args":["Heath Management Solutions Ltd.","GB","Heath Management Solutions Ltd.","Heath Management Solutions Ltd.","http://127.0.0.1:8888/api/v1/cfssl/","/mnt/ncdata/appdata_ocnjvnr5owk2/libresign/cfssl_config/","1"]},{"file":"/var/www/html/3rdparty/symfony/console/Command/Command.php","line":255,"function":"execute","class":"OCA\\Libresign\\Command\\Configure\\Cfssl","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/core/Command/Base.php","line":168,"function":"run","class":"Symfony\\Component\\Console\\Command\\Command","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":1009,"function":"run","class":"OC\\Core\\Command\\Base","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":273,"function":"doRunCommand","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"OCA\\Libresign\\Command\\Configure\\Cfssl"},{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/3rdparty/symfony/console/Application.php","line":149,"function":"doRun","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/lib/private/Console/Application.php","line":211,"function":"run","class":"Symfony\\Component\\Console\\Application","type":"->","args":[{"__class__":"Symfony\\Component\\Console\\Input\\ArgvInput"},{"__class__":"Symfony\\Component\\Console\\Output\\ConsoleOutput"}]},{"file":"/var/www/html/console.php","line":100,"function":"run","class":"OC\\Console\\Application","type":"->","args":[]},{"file":"/var/www/html/occ","line":11,"args":["/var/www/html/console.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"}}

I can’t see anything that is related to the Request Approval piece.

Hope this helps :slight_smile:

well your problems could arise from your localhost being not reachable on port 8888 for at least one process.

Would you mind copying your config.php here (make sure to remove all sensitive data)?

Thanks Jimmy! How do I start to unpick why that process isn’t reachable?

Sure, here is the contents of config.php:

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'nextcloud-aio-redis',
    'password' => <REMOVED>,
    'port' => 6379,
  ),
  'overwritehost' => <REMOVED>,
  'overwriteprotocol' => 'https',
  'passwordsalt' => <REMOVED>,
  'secret' => <REMOVED>,
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => <REMOVED>,
  ),
  'datadirectory' => '/mnt/ncdata',
  'dbtype' => 'pgsql',
  'version' => '24.0.4.1',
  'overwrite.cli.url' => <REMOVED>,
  'dbname' => 'nextcloud_database',
  'dbhost' => 'nextcloud-aio-database',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_nextcloud',
  'dbpassword' => <REMOVED>,
  'installed' => true,
  'instanceid' => 'ocnjvnr5owk2',
  'loglevel' => '2',
  'log_type' => 'file',
  'logfile' => '/var/www/html/data/nextcloud.log',
  'log_rotate_size' => '10485760',
  'log.condition' =>
  array (
    'apps' =>
    array (
      0 => 'admin_audit',
    ),
  ),
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'enabledPreviewProviders' =>
  array (
    1 => 'OC\\Preview\\Image',
    2 => 'OC\\Preview\\MarkDown',
    3 => 'OC\\Preview\\MP3',
    4 => 'OC\\Preview\\TXT',
    5 => 'OC\\Preview\\OpenDocument',
    6 => 'OC\\Preview\\Movie',
  ),
  'enable_previews' => true,
  'upgrade.disable-web' => true,
  'mail_smtpmode' => 'smtp',
  'trashbin_retention_obligation' => 'auto, 30',
  'versions_retention_obligation' => 'auto, 30',
  'activity_expire_days' => '30',
  'simpleSignUpLink.shown' => false,
  'share_folder' => '/Shared',
  'one-click-instance' => true,
  'one-click-instance.user-limit' => 100,
  'htaccess.RewriteBase' => '/',
  'files_external_allow_create_new_local' => true,
  'trusted_proxies' =>
  array (
    0 => '127.0.0.1',
    1 => '::1',
  ),
  'allow_local_remote_servers' => true,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'dev-nc-admin',
  'mail_domain' => <REMOVED>,
  'mail_smtphost' => 'smtp-relay.gmail.com',
  'mail_smtpport' => '587',
  'mail_smtpauth' => 1,
  'mail_smtpname' => <REMOVED>,
  'mail_smtppassword' => <REMOVED>,
  'mail_smtpsecure' => 'tls',
  'default_phone_region' => 'GB',
  'default_locale' => 'en_GB',
  'default_language' => 'en_GB',
  'knowledgebaseenabled' => false,
  'skeltondirectory' => '',
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' =>
  array (
  ),
  'twofactor_enforced_excluded_groups' =>
  array (
  ),
);

I kinda “hoped” (more: was afraid of) for misconfigurations but this config looks pretty good.

I dunno where/how to proceed from here. Sorry :frowning:

Well I’m getting further - the app not being available on port 8888 of the localhost error has gone away after a reboot. Strangely the OCC commands had stopped working so I’m guessing that there was something funky going on with the containers.

The only error show in the logs now (after trying to sign a document is:

	Error to sign PDF. ["sh: \/mnt\/ncdata\/appdata_ocnjvnr5owk2\/libresign\/java-se-8u41-ri\/bin\/java: not found"]

However when I SSH in to the box, I can java in that location, it is owned by www-data and the execute flag is set. I can run the java -version command elsewhere in the system.

My only thought at this point is that because it’s the All in One that I’m running, maybe the NextCloud Container can’t get to Java there?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.