e-alfred / epubreader

EPUB/CBR/PDF reader app for Nextcloud
GNU Affero General Public License v3.0
79 stars 21 forks source link

Add support for NC 22 #38

Open jurgenhaas opened 2 years ago

jurgenhaas commented 2 years ago

The app store at https://apps.nextcloud.com/apps/epubreader doesn't show support for NC 22 yet, are you planning to support that platform?

eweinhold commented 2 years ago

Installing and activating this addon - breaks the NC22 Instance .... Manual CLI deactivation is needed :( php80 occ app:disable epubreader did rescue me Any plans for a bugfix?

prolibre commented 2 years ago

The same goes for me. The application crashes my nextcloud 22.1.1.

beankylla commented 2 years ago

same here. i had to test apps 1 by 1 to check which was the faulty one ^^' I can assist and/or test for debugging / testing if required :)

flintstryker commented 2 years ago

Is this app dead? Anyone know if there is work on updating it to 22?

scanno commented 2 years ago

Same problem here after upgrade from NC 21 to 22.2.0. Had to manually disable epubreader.

ptiloo commented 2 years ago

First of all, thanks for epubreader.

Do you know when there is a possible upgrade to Nextcloud 22 ? Thanks in advance.

Paduber commented 2 years ago

As i can see, it's already have NC22 support. Could you please make a release so we don't need to manually modify files?

xkill commented 2 years ago
{"reqId":"lp4XysmYzBvJS6iGqxw2","level":3,"time":"2021-11-17T13:09:41+00:00","remoteAddr":"1.2.3.4","user":"joe","app":"index","method":"GET","url":"/apps/files/","message":"Class 'OCP\\User' not found","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0","version":"22.2.3.0","exception":{"Exception":"Error","Message":"Class 'OCP\\User' not found","Code":0,"Trace":[{"file":"/srv/http/cloud/nextcloud/apps/epubreader/lib/Hooks.php","line":41,"function":"get","class":"OCA\\Epubreader\\Config","type":"::"},{"file":"/srv/http/cloud/nextcloud/lib/private/legacy/OC_Hook.php","line":106,"function":"announce_settings","class":"OCA\\Epubreader\\Hooks","type":"::"},{"file":"/srv/http/cloud/nextcloud/lib/private/Template/JSConfigHelper.php","line":323,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/srv/http/cloud/lib/private/TemplateLayout.php","line":220,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->"},{"file":"/srv/http/cloud/nextcloud/lib/private/legacy/OC_Template.php","line":182,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/srv/http/cloud/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":204,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/srv/http/cloud/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":171,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->"},{"file":"/srv/http/cloud/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/srv/http/cloud/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/srv/http/cloud/nextcloud/lib/base.php","line":1006,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/srv/http/cloud/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/srv/http/cloud/nextcloud/apps/epubreader/lib/config.php","Line":28,"CustomMessage":"--"},"id":"6194fffcc05eb"}
{
  "reqId": "lp4XysmYzBvJS6iGqxw2",
  "level": 3,
  "time": "2021-11-17T13:09:41+00:00",
  "remoteAddr": "1.2.3.4",
  "user": "joe",
  "app": "index",
  "method": "GET",
  "url": "/apps/files/",
  "message": "Class 'OCP\\User' not found",
  "userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0",
  "version": "22.2.3.0",
  "exception": {
    "Exception": "Error",
    "Message": "Class 'OCP\\User' not found",
    "Code": 0,
    "Trace": [
      {
        "file": "/srv/http/cloud/nextcloud/apps/epubreader/lib/Hooks.php",
        "line": 41,
        "function": "get",
        "class": "OCA\\Epubreader\\Config",
        "type": "::"
      },
      {
        "file": "/srv/http/cloud/nextcloud/lib/private/legacy/OC_Hook.php",
        "line": 106,
        "function": "announce_settings",
        "class": "OCA\\Epubreader\\Hooks",
        "type": "::"
      },
      {
        "file": "/srv/http/cloud/nextcloud/lib/private/Template/JSConfigHelper.php",
        "line": 323,
        "function": "emit",
        "class": "OC_Hook",
        "type": "::"
      },
      {
        "file": "/srv/http/cloud/lib/private/TemplateLayout.php",
        "line": 220,
        "function": "getConfig",
        "class": "OC\\Template\\JSConfigHelper",
        "type": "->"
      },
      {
        "file": "/srv/http/cloud/nextcloud/lib/private/legacy/OC_Template.php",
        "line": 182,
        "function": "__construct",
        "class": "OC\\TemplateLayout",
        "type": "->"
      },
      {
        "file": "/srv/http/cloud/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php",
        "line": 204,
        "function": "fetchPage",
        "class": "OC_Template",
        "type": "->"
      },
      {
        "file": "/srv/http/cloud/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 171,
        "function": "render",
        "class": "OCP\\AppFramework\\Http\\TemplateResponse",
        "type": "->"
      },
      {
        "file": "/srv/http/cloud/nextcloud/lib/private/AppFramework/App.php",
        "line": 156,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/srv/http/cloud/nextcloud/lib/private/Route/Router.php",
        "line": 302,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/srv/http/cloud/nextcloud/lib/base.php",
        "line": 1006,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/srv/http/cloud/nextcloud/index.php",
        "line": 36,
        "function": "handleRequest",
        "class": "OC",
        "type": "::"
      }
    ],
    "File": "/srv/http/cloud/nextcloud/apps/epubreader/lib/config.php",
    "Line": 28,
    "CustomMessage": "--"
  },
  "id": "6194fffcc05eb"
}
nursoda commented 2 years ago

NC23 is released, please test and compile a compatible release.