Install "PDF Annotate" on NextcloudPi

Hey everyone,
I would love to try “PDF Annotate” (Nextcloud-Other / Nextcloud Annotate · GitLab) on my Nextcloud as the app “PDF Annotations” / pdfdraw doesn’t work anymore.

Unfortunately just using the command sudo -u apache git clone https://gitlab.com/nextcloud-other/nextcloud-annotate pdfannotate gives me the error “sudo: Unbekannter Benutzer: apache” (in german) and I don’t know how to fix this :wink:

git clone https://gitlab.com/nextcloud-other/nextcloud-annotate pdfannotate works, but the app doesn’t appear in the webinterface of the NC afterwards.

Anyone here who can help me with this?

My ncp-report:

NextcloudPi diagnostics

NextcloudPi version  v1.52.1
NextcloudPi image    NextCloudPi_RaspberryPi_v1.51.0.img
OS                   Debian GNU/Linux 11. 5.15.89-v8+ (aarch64)
automount            yes
USB devices          sda
datadir              /media/myCloudDrive/ncdata/data
data in SD           no
data filesystem      btrfs
data disk usage      81G/466G
rootfs usage         3,9G/29G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    26.0.1.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          up
Postfix service      up
Internet check       ok
Public IPv4          ***REMOVED SENSITIVE VALUE***
Public IPv6          ***REMOVED SENSITIVE VALUE***
Port 80              open
Port 443             open
IP                   ***REMOVED SENSITIVE VALUE***
Gateway              ***REMOVED SENSITIVE VALUE***
Interface            eth0
Certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
Uptime               1day

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "7": "nextcloudpi",
            "5": "nextcloudpi.local",
            "8": "nextcloudpi.lan",
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "26.0.1.1",
        "overwrite.cli.url": "https:\/\/jonasko.ddnss.org\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/media\/myCloudDrive\/ncdata\/data\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "maintenance": false,
        "logfile": "\/media\/myCloudDrive\/ncdata\/data\/nextcloud.log",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "loglevel": "2",
        "log_type": "file",
        "theme": "",
        "app_install_overwrite": [
            "pdfdraw"
        ]
    }
}

HTTPd logs

[Tue Jul 18 00:00:00.542738 2023] [ssl:warn] [pid 1150:tid 547633267776] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Tue Jul 18 00:00:00.545217 2023] [mpm_event:notice] [pid 1150:tid 547633267776] AH00489: Apache/2.4.56 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Tue Jul 18 00:00:00.545238 2023] [core:notice] [pid 1150:tid 547633267776] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 18 08:37:35.455979 2023] [core:error] [pid 68257:tid 547363123584] [client 193.32.162.190:53330] AH10244: invalid URI path (/../../mnt/mtd/Config/Account1)
[Tue Jul 18 10:06:34.421742 2023] [core:error] [pid 68258:tid 546786234752] [client 193.32.162.190:59400] AH10244: invalid URI path (/../../mnt/mtd/Config/Account2)

Database logs

tail: '/var/log/mysql/*.log' kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden

Nextcloud logs

{"reqId":"LJKY34CKrZYkKeFz14Ir","level":1,"time":"2023-06-15T21:19:19+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Clean up abandoned apps","userAgent":"--","version":"25.0.6.1","data":{"app":"updater"}}
{"reqId":"LJKY34CKrZYkKeFz14Ir","level":1,"time":"2023-06-15T21:19:19+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"OC\\Repair\\Events\\RepairStepEvent: Repair step: Add possibly missing system config","userAgent":"--","version":"25.0.6.1","data":{"app":"updater"}}
{"reqId":"LJKY34CKrZYkKeFz14Ir","level":1,"time":"2023-06-15T21:19:19+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::startCheckCodeIntegrity: Starting code integrity check...","userAgent":"--","version":"25.0.6.1","data":{"app":"updater"}}
{"reqId":"LJKY34CKrZYkKeFz14Ir","level":1,"time":"2023-06-15T21:19:32+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::finishedCheckCodeIntegrity: Finished code integrity check","userAgent":"--","version":"25.0.6.1","data":{"app":"updater"}}
{"reqId":"LJKY34CKrZYkKeFz14Ir","level":1,"time":"2023-06-15T21:19:32+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::updateEnd: Update successful","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}}
{"reqId":"LJKY34CKrZYkKeFz14Ir","level":1,"time":"2023-06-15T21:19:32+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::maintenanceDisabled: Turned off maintenance mode","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}}
{"reqId":"LJKY34CKrZYkKeFz14Ir","level":1,"time":"2023-06-15T21:19:32+00:00","remoteAddr":"","user":"--","app":"updater","method":"","url":"--","message":"\\OC\\Updater::resetLogLevel: Reset log level to Warning(2)","userAgent":"--","version":"26.0.1.1","data":{"app":"updater"}}
{"reqId":"9R08mXyYbe80L6r6Ba7K","level":2,"time":"2023-06-29T04:26:06+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 60001 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json","userAgent":"--","version":"26.0.1.1","data":{"app":"appstoreFetcher"}}
{"reqId":"78zm8GeMywZt3Sq85Spp","level":2,"time":"2023-07-07T04:26:05+00:00","remoteAddr":"","user":"--","app":"appstoreFetcher","method":"","url":"--","message":"Could not connect to appstore: cURL error 28: Operation timed out after 60001 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://apps.nextcloud.com/api/v1/apps.json","userAgent":"--","version":"26.0.1.1","data":{"app":"appstoreFetcher"}}
{"reqId":"ZLRY0ju7bNBtCP2XjCIhVQAABg0","level":3,"time":"2023-07-16T20:53:41+00:00","remoteAddr":"109.250.174.7","user":"ncp","app":"settings","method":"POST","url":"/index.php/settings/apps/enable","message":"could not enable apps","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.1.1","exception":{"Exception":"Exception","Message":"The appinfo/database.xml file is not longer supported. Used in pdfdraw","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":451,"function":"installApp","class":"OC\\Installer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1056,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Installer.php","Line":112,"message":"could not enable apps","exception":{},"CustomMessage":"could not enable apps"}}
{"reqId":"ZLRY4Tu7bNBtCP2XjCIhWQAAFgU","level":3,"time":"2023-07-16T20:53:53+00:00","remoteAddr":"109.250.174.7","user":"ncp","app":"settings","method":"POST","url":"/index.php/settings/apps/enable","message":"could not enable apps","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.1.1","exception":{"Exception":"Exception","Message":"The appinfo/database.xml file is not longer supported. Used in pdfdraw","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":451,"function":"installApp","class":"OC\\Installer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1056,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Installer.php","Line":112,"message":"could not enable apps","exception":{},"CustomMessage":"could not enable apps"}}
{"reqId":"ZLRdNc3K_8yBKb6aY9FX-QAAWBg","level":3,"time":"2023-07-16T21:12:21+00:00","remoteAddr":"109.250.174.7","user":"ncp","app":"settings","method":"POST","url":"/index.php/settings/apps/enable","message":"could not enable apps","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36","version":"26.0.1.1","exception":{"Exception":"Exception","Message":"The appinfo/database.xml file is not longer supported. Used in pdfdraw","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":451,"function":"installApp","class":"OC\\Installer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1056,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Installer.php","Line":112,"message":"could not enable apps","exception":{},"CustomMessage":"could not enable apps"}}
{"reqId":"sfEGpBwBJ73WYy4zJrVG","level":4,"time":"2023-07-16T21:27:40+00:00","remoteAddr":"","user":"--","app":"dashboard","method":"","url":"--","message":"Error during app loading: read error on connection to /var/run/redis/redis.sock:0","userAgent":"--","version":"26.0.1.1","exception":{"Exception":"RedisException","Message":"read error on connection to /var/run/redis/redis.sock:0","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":56,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/autoloader.php","line":154,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"function":"load","class":"OC\\Autoloader","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":217,"function":"class_exists"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":178,"function":"isBootable","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":141,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":121,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/console.php","line":99,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":56,"message":"Error during app loading: read error on connection to /var/run/redis/redis.sock:0","exception":{},"CustomMessage":"Error during app loading: read error on connection to /var/run/redis/redis.sock:0"}}
{"reqId":"sfEGpBwBJ73WYy4zJrVG","level":4,"time":"2023-07-16T21:27:40+00:00","remoteAddr":"","user":"--","app":"nextcloudpi","method":"","url":"--","message":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away","userAgent":"--","version":"26.0.1.1","exception":{"Exception":"RedisException","Message":"Redis server /var/run/redis/redis.sock:0 went away","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":56,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/autoloader.php","line":154,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"function":"load","class":"OC\\Autoloader","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":217,"function":"class_exists"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":178,"function":"isBootable","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":141,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":121,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/console.php","line":99,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":56,"message":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away","exception":{},"CustomMessage":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away"}}
{"reqId":"sfEGpBwBJ73WYy4zJrVG","level":4,"time":"2023-07-16T21:27:40+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Could not boot notify_push: No such file or directory","userAgent":"--","version":"26.0.1.1","exception":{"Exception":"RedisException","Message":"No such file or directory","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/RedisFactory.php","line":137,"function":"pconnect","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/private/RedisFactory.php","line":178,"function":"create","class":"OC\\RedisFactory","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/apps/notify_push/lib/AppInfo/Application.php","line":62,"function":"getInstance","class":"OC\\RedisFactory","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":171,"function":"OCA\\NotifyPush\\AppInfo\\{closure}","class":"OCA\\NotifyPush\\AppInfo\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":122,"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":138,"function":"offsetGet","class":"Pimple\\Container","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":487,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":97,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"function":"OC\\AppFramework\\Utility\\{closure}","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":116,"function":"array_map"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":142,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":493,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":465,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":65,"function":"query","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":49,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"function":"OC\\AppFramework\\Bootstrap\\{closure}","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":66,"function":"array_map"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php","line":50,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->"},{"file":"/var/www/nextcloud/apps/notify_push/lib/AppInfo/Application.php","line":70,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\NotifyPush\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":213,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":141,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":121,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/console.php","line":99,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/RedisFactory.php","Line":137,"message":"Could not boot notify_push: No such file or directory","exception":{},"CustomMessage":"Could not boot notify_push: No such file or directory"}}
{"reqId":"sfEGpBwBJ73WYy4zJrVG","level":4,"time":"2023-07-16T21:27:40+00:00","remoteAddr":"","user":"--","app":"oauth2","method":"","url":"--","message":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away","userAgent":"--","version":"26.0.1.1","exception":{"Exception":"RedisException","Message":"Redis server /var/run/redis/redis.sock:0 went away","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":56,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/autoloader.php","line":154,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"function":"load","class":"OC\\Autoloader","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":217,"function":"class_exists"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":178,"function":"isBootable","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":141,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":121,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/console.php","line":99,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":56,"message":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away","exception":{},"CustomMessage":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away"}}
{"reqId":"sfEGpBwBJ73WYy4zJrVG","level":4,"time":"2023-07-16T21:27:40+00:00","remoteAddr":"","user":"--","app":"privacy","method":"","url":"--","message":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away","userAgent":"--","version":"26.0.1.1","exception":{"Exception":"RedisException","Message":"Redis server /var/run/redis/redis.sock:0 went away","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":56,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/autoloader.php","line":154,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"function":"load","class":"OC\\Autoloader","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":217,"function":"class_exists"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":178,"function":"isBootable","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":141,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":121,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/console.php","line":99,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":56,"message":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away","exception":{},"CustomMessage":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away"}}
{"reqId":"sfEGpBwBJ73WYy4zJrVG","level":4,"time":"2023-07-16T21:27:40+00:00","remoteAddr":"","user":"--","app":"richdocumentscode_arm64","method":"","url":"--","message":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away","userAgent":"--","version":"26.0.1.1","exception":{"Exception":"RedisException","Message":"Redis server /var/run/redis/redis.sock:0 went away","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":56,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/autoloader.php","line":154,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"function":"load","class":"OC\\Autoloader","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":217,"function":"class_exists"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":178,"function":"isBootable","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":141,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":121,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/console.php","line":99,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":56,"message":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away","exception":{},"CustomMessage":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away"}}
{"reqId":"sfEGpBwBJ73WYy4zJrVG","level":4,"time":"2023-07-16T21:27:40+00:00","remoteAddr":"","user":"--","app":"serverinfo","method":"","url":"--","message":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away","userAgent":"--","version":"26.0.1.1","exception":{"Exception":"RedisException","Message":"Redis server /var/run/redis/redis.sock:0 went away","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":56,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/lib/autoloader.php","line":154,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"function":"load","class":"OC\\Autoloader","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":217,"function":"class_exists"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":178,"function":"isBootable","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":141,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":121,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/console.php","line":99,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":56,"message":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away","exception":{},"CustomMessage":"Error during app loading: Redis server /var/run/redis/redis.sock:0 went away"}}
{"reqId":"sfEGpBwBJ73WYy4zJrVG","level":4,"time":"2023-07-16T21:27:40+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Could not boot workflowengine: Redis server /var/run/redis/redis.sock:0 went away","userAgent":"--","version":"26.0.1.1","exception":{"Exception":"RedisException","Message":"Redis server /var/run/redis/redis.sock:0 went away","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Memcache/Redis.php","line":56,"function":"get","class":"Redis","type":"->"},{"file":"/var/www/nextcloud/apps/workflowengine/lib/Manager.php","line":160,"function":"get","class":"OC\\Memcache\\Redis","type":"->"},{"file":"/var/www/nextcloud/apps/workflowengine/lib/AppInfo/Application.php","line":75,"function":"getAllConfiguredEvents","class":"OCA\\WorkflowEngine\\Manager","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":66,"function":"registerRuleListeners","class":"OCA\\WorkflowEngine\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/BootContext.php","line":50,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\FunctionInjector","type":"->"},{"file":"/var/www/nextcloud/apps/workflowengine/lib/AppInfo/Application.php","line":67,"function":"injectFn","class":"OC\\AppFramework\\Bootstrap\\BootContext","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\WorkflowEngine\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":213,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":141,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/lib/private/Console/Application.php","line":121,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/console.php","line":99,"function":"loadCommands","class":"OC\\Console\\Application","type":"->"},{"file":"/var/www/nextcloud/occ","line":11,"args":["/var/www/nextcloud/console.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Memcache/Redis.php","Line":56,"message":"Could not boot workflowengine: Redis server /var/run/redis/redis.sock:0 went away","exception":{},"CustomMessage":"Could not boot workflowengine: Redis server /var/run/redis/redis.sock:0 went away"}}

I don’t know if it’s a good idea to install the app, since it seems to be only available for Nextcloud 25. Also I don’t know how and if it works with NextcloudPi.

Regarding the sudo command, you have to use the webserver (apache2) user, which is probably “www-data” instead of “apache” for NextcloudPi and Debian/Ubuntu based systems.

I would use apps from https://apps.nextcloud.com. If there are problems with it, I would try to solve these problems. Ask here or write an issue at GitHub for the app.

PDF Annotate continues to work perfectly well with Nextcloud 27.

@devnull its not available through nextcloud’s software installer, nor will it be unless someone is interested in taking on the burden of publishing it. There is no comparable software available.

SSH is deactivated by default an not allowed with user sudo on nextcloudpi. There are several security discussions which led to that decision.

You can activate ssh in the webui of ncp (IP:4443).

Thanks, that helped! Installation worked like this!
Unfortunately, saving annotations doesn’t work. When I try to save the changes I made I get the error: "PDF save failed, please try again later."

Do I also need to install the listed dependencies (svg2pdf, pdftk, gs)? If yes, it would be awesome to find a complete “installation guide” somewhere …

Any ideas whether this is a problem installing in on NCP or anything else?