Changed the log output directory and now I am getting this.
{"reqId":"bVpzcEcovW1JW1HEtKNW","level":0,"time":"2021-07-07T18:39:37+00:00","remoteAddr":"192.168.0.136","user":"--","app":"files_sharing","method":"GET","url":"/index.php/login","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36","version":"22.0.0.11"}
{"reqId":"bVpzcEcovW1JW1HEtKNW","level":0,"time":"2021-07-07T18:39:37+00:00","remoteAddr":"192.168.0.136","user":"--","app":"epubreader","method":"GET","url":"/index.php/login","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36","version":"22.0.0.11"}
{"reqId":"bVpzcEcovW1JW1HEtKNW","level":3,"time":"2021-07-07T18:39:38+00:00","remoteAddr":"192.168.0.136","user":"--","app":"index","method":"GET","url":"/index.php/login","message":"Class 'OCP\\User' not found","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36","version":"22.0.0.11","exception":{"Exception":"Error","Message":"Class 'OCP\\User' not found","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/epubreader/lib/Hooks.php","line":41,"function":"get","class":"OCA\\Epubreader\\Config","type":"::","args":["epub_enable","true"]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Hook.php","line":106,"function":"announce_settings","class":"OCA\\Epubreader\\Hooks","type":"::","args":[{"array":{"_oc_debug":"false","_oc_isadmin":"false","backendAllowsPasswordConfirmation":"true","oc_dataURL":"false","_oc_webroot":"\"\"","_oc_appswebroots":"{\"accessibility\":\"/apps/accessibility\",\"activity\":\"/apps/activity\",\"bruteforcesettings\":\"/apps/bruteforcesettings\",\"circles\":\"/apps/circles\",\"cloud_federation_api\":\"/apps/cloud_federation_api\",\"comments\":\"/apps/comments\",\"contactsinteraction\":\"/apps/contactsinteraction\",\"dav\":\"/apps/dav\",\"epubreader\":\"/apps/epubreader\",\"federatedfilesharing\":\"/apps/federatedfilesharing\",\"federation\":\"/apps/federation\",\"files\":\"/apps/files\",\"files_pdfviewer\":\"/apps/files_pdfviewer\",\"files_rightclick\":\"/apps/files_rightclick\",\"files_sharing\":\"/apps/files_sharing\",\"files_trashbin\":\"/apps/files_trashbin\",\"files_versions\":\"/apps/files_versions\",\"files_videoplayer\":\"/apps/files_videoplayer\",\"firstrunwizard\":\"/apps/firstrunwizard\",\"logreader\":\"/apps/logreader\",\"lookup_server_connector\":\"/apps/lookup_server_connector\",\"nextcloud_announcements\":\"/apps/nextcloud_announcements\",\"notes\":\"/apps/notes\",\"notifications\":\"/apps/notifications\",\"oauth2\":\"/apps/oauth2\",\"password_policy\":\"/apps/password_policy\",\"privacy\":\"/apps/privacy\",\"provisioning_api\":\"/apps/provisioning_api\",\"recommendations\":\"/apps/recommendations\",\"serverinfo\":\"/apps/serverinfo\",\"settings\":\"/apps/settings\",\"sharebymail\":\"/apps/sharebymail\",\"support\":\"/apps/support\",\"survey_client\":\"/apps/survey_client\",\"systemtags\":\"/apps/systemtags\",\"text\":\"/apps/text\",\"theming\":\"/apps/theming\",\"twofactor_backupcodes\":\"/apps/twofactor_backupcodes\",\"updatenotification\":\"/apps/updatenotification\",\"user_status\":\"/apps/user_status\",\"viewer\":\"/apps/viewer\",\"weather_status\":\"/apps/weather_status\",\"workflowengine\":\"/apps/workflowengine\"}","datepickerFormatDate":"\"M\\/d\\/yy\"","nc_lastLogin":0,"nc_pageLoad":1625683178,"dayNames":"[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]","dayNamesShort":"[\"Sun.\",\"Mon.\",\"Tue.\",\"Wed.\",\"Thu.\",\"Fri.\",\"Sat.\"]","dayNamesMin":"[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"]","monthNames":"[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]","monthNamesShort":"[\"Jan.\",\"Feb.\",\"Mar.\",\"Apr.\",\"May.\",\"Jun.\",\"Jul.\",\"Aug.\",\"Sep.\",\"Oct.\",\"Nov.\",\"Dec.\"]","firstDay":"0","_oc_config":"{\"session_lifetime\":1440,\"session_keepalive\":true,\"auto_logout\":false,\"version\":\"22.0.0.11\",\"versionstring\":\"22.0.0\",\"enable_avatars\":true,\"lost_password_link\":null,\"modRewriteWorking\":false,\"sharing.maxAutocompleteResults\":25,\"sharing.minSearchStringLength\":0,\"blacklist_files_regex\":\"\\\\.(part|filepart)$\"}","oc_appconfig":"{\"core\":{\"defaultExpireDateEnabled\":false,\"defaultExpireDate\":null,\"defaultExpireDateEnforced\":null,\"enforcePasswordForPublicLink\":false,\"enableLinkPasswordByDefault\":false,\"sharingDisabledForUser\":false,\"resharingAllowed\":true,\"remoteShareAllowed\":true,\"federatedCloudShareDoc\":\"https:\\/\\/docs.nextcloud.com\\/server\\/22\\/go.php?to=user-sharing-federated\",\"allowGroupSharing\":true,\"defaultInternalExpireDateEnabled\":false,\"defaultInternalExpireDate\":null,\"defaultInternalExpireDateEnforced\":null,\"defaultRemoteExpireDateEnabled\":false,\"defaultRemoteExpireDate\":null,\"defaultRemoteExpireDateEnforced\":null},\"files\":{\"max_chunk_size\":10485760}}","_theme":"{\"entity\":\"Nextcloud\",\"name\":\"Nextcloud\",\"productName\":\"Nextcloud\",\"title\":\"Nextcloud\",\"baseUrl\":\"https:\\/\\/nextcloud.com\",\"syncClientUrl\":\"https:\\/\\/nextcloud.com\\/install\\/#install-clients\",\"docBaseUrl\":\"https:\\/\\/docs.nextcloud.com\",\"docPlaceholderUrl\":\"https:\\/\\/docs.nextcloud.com\\/server\\/22\\/go.php?to=PLACEHOLDER\",\"slogan\":\"a safe home for all your data\",\"logoClaim\":\"\",\"shortFooter\":\"<a href=\\\"https:\\/\\/nextcloud.com\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\" class=\\\"entity-name\\\">Nextcloud<\\/a> \\u2013 a safe home for all your data\",\"longFooter\":\"<a href=\\\"https:\\/\\/nextcloud.com\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\" class=\\\"entity-name\\\">Nextcloud<\\/a> \\u2013 a safe home for all your data\",\"folder\":\"\"}"}}]},{"file":"/var/www/nextcloud/lib/private/Template/JSConfigHelper.php","line":323,"function":"emit","class":"OC_Hook","type":"::","args":["\\OCP\\Config","js",{"array":{"_oc_debug":"false","_oc_isadmin":"false","backendAllowsPasswordConfirmation":"true","oc_dataURL":"false","_oc_webroot":"\"\"","_oc_appswebroots":"{\"accessibility\":\"/apps/accessibility\",\"activity\":\"/apps/activity\",\"bruteforcesettings\":\"/apps/bruteforcesettings\",\"circles\":\"/apps/circles\",\"cloud_federation_api\":\"/apps/cloud_federation_api\",\"comments\":\"/apps/comments\",\"contactsinteraction\":\"/apps/contactsinteraction\",\"dav\":\"/apps/dav\",\"epubreader\":\"/apps/epubreader\",\"federatedfilesharing\":\"/apps/federatedfilesharing\",\"federation\":\"/apps/federation\",\"files\":\"/apps/files\",\"files_pdfviewer\":\"/apps/files_pdfviewer\",\"files_rightclick\":\"/apps/files_rightclick\",\"files_sharing\":\"/apps/files_sharing\",\"files_trashbin\":\"/apps/files_trashbin\",\"files_versions\":\"/apps/files_versions\",\"files_videoplayer\":\"/apps/files_videoplayer\",\"firstrunwizard\":\"/apps/firstrunwizard\",\"logreader\":\"/apps/logreader\",\"lookup_server_connector\":\"/apps/lookup_server_connector\",\"nextcloud_announcements\":\"/apps/nextcloud_announcements\",\"notes\":\"/apps/notes\",\"notifications\":\"/apps/notifications\",\"oauth2\":\"/apps/oauth2\",\"password_policy\":\"/apps/password_policy\",\"privacy\":\"/apps/privacy\",\"provisioning_api\":\"/apps/provisioning_api\",\"recommendations\":\"/apps/recommendations\",\"serverinfo\":\"/apps/serverinfo\",\"settings\":\"/apps/settings\",\"sharebymail\":\"/apps/sharebymail\",\"support\":\"/apps/support\",\"survey_client\":\"/apps/survey_client\",\"systemtags\":\"/apps/systemtags\",\"text\":\"/apps/text\",\"theming\":\"/apps/theming\",\"twofactor_backupcodes\":\"/apps/twofactor_backupcodes\",\"updatenotification\":\"/apps/updatenotification\",\"user_status\":\"/apps/user_status\",\"viewer\":\"/apps/viewer\",\"weather_status\":\"/apps/weather_status\",\"workflowengine\":\"/apps/workflowengine\"}","datepickerFormatDate":"\"M\\/d\\/yy\"","nc_lastLogin":0,"nc_pageLoad":1625683178,"dayNames":"[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"]","dayNamesShort":"[\"Sun.\",\"Mon.\",\"Tue.\",\"Wed.\",\"Thu.\",\"Fri.\",\"Sat.\"]","dayNamesMin":"[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"]","monthNames":"[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"]","monthNamesShort":"[\"Jan.\",\"Feb.\",\"Mar.\",\"Apr.\",\"May.\",\"Jun.\",\"Jul.\",\"Aug.\",\"Sep.\",\"Oct.\",\"Nov.\",\"Dec.\"]","firstDay":"0","_oc_config":"{\"session_lifetime\":1440,\"session_keepalive\":true,\"auto_logout\":false,\"version\":\"22.0.0.11\",\"versionstring\":\"22.0.0\",\"enable_avatars\":true,\"lost_password_link\":null,\"modRewriteWorking\":false,\"sharing.maxAutocompleteResults\":25,\"sharing.minSearchStringLength\":0,\"blacklist_files_regex\":\"\\\\.(part|filepart)$\"}","oc_appconfig":"{\"core\":{\"defaultExpireDateEnabled\":false,\"defaultExpireDate\":null,\"defaultExpireDateEnforced\":null,\"enforcePasswordForPublicLink\":false,\"enableLinkPasswordByDefault\":false,\"sharingDisabledForUser\":false,\"resharingAllowed\":true,\"remoteShareAllowed\":true,\"federatedCloudShareDoc\":\"https:\\/\\/docs.nextcloud.com\\/server\\/22\\/go.php?to=user-sharing-federated\",\"allowGroupSharing\":true,\"defaultInternalExpireDateEnabled\":false,\"defaultInternalExpireDate\":null,\"defaultInternalExpireDateEnforced\":null,\"defaultRemoteExpireDateEnabled\":false,\"defaultRemoteExpireDate\":null,\"defaultRemoteExpireDateEnforced\":null},\"files\":{\"max_chunk_size\":10485760}}","_theme":"{\"entity\":\"Nextcloud\",\"name\":\"Nextcloud\",\"productName\":\"Nextcloud\",\"title\":\"Nextcloud\",\"baseUrl\":\"https:\\/\\/nextcloud.com\",\"syncClientUrl\":\"https:\\/\\/nextcloud.com\\/install\\/#install-clients\",\"docBaseUrl\":\"https:\\/\\/docs.nextcloud.com\",\"docPlaceholderUrl\":\"https:\\/\\/docs.nextcloud.com\\/server\\/22\\/go.php?to=PLACEHOLDER\",\"slogan\":\"a safe home for all your data\",\"logoClaim\":\"\",\"shortFooter\":\"<a href=\\\"https:\\/\\/nextcloud.com\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\" class=\\\"entity-name\\\">Nextcloud<\\/a> \\u2013 a safe home for all your data\",\"longFooter\":\"<a href=\\\"https:\\/\\/nextcloud.com\\\" target=\\\"_blank\\\" rel=\\\"noreferrer noopener\\\" class=\\\"entity-name\\\">Nextcloud<\\/a> \\u2013 a safe home for all your data\",\"folder\":\"\"}"}}]},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":220,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":182,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["guest","core"]},{"file":"/var/www/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":204,"function":"fetchPage","class":"OC_Template","type":"->","args":[{"alt_login":[]}]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":171,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\LoginController"},"showLoginForm"]},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":301,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\LoginController","showLoginForm",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"core.login.showLoginForm"}]},{"file":"/var/www/nextcloud/lib/base.php","line":1000,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/login"]},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/nextcloud/apps/epubreader/lib/config.php","Line":28,"CustomMessage":"--"}}
{
I tried sudo -u www-data php occ app:disable epubreader but I get
An unhandled exception has been thrown:
OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
php -m | grep apc outputs
apc
apcu
Not sure where to go from here.