otetard / ownpad

Ownpad is a Nextcloud application that allows to create and open Etherpad and Ethercalc documents.
GNU Affero General Public License v3.0
58 stars 25 forks source link

Class "EtherpadLite\Client" not found #123

Closed e1mo closed 1 year ago

e1mo commented 1 year ago

Since upgrading to 0.8.0 of this App, we are no longer able to open the pads "stored" (aka. linked) in our Nextcloud. When trying to open a file, users are just presented with an error page.

The nextcloud log contains the following error:

[index] Fehler: Error: Class "EtherpadLite\Client" not found at <<closure>>

0. <<closure>>
   OCA\Ownpad\Controller\DisplayController->__construct()
1. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 84
   ReflectionClass->newInstanceArgs()
2. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 124
   OC\AppFramework\Utility\SimpleContainer->buildClass()
3. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 142
   OC\AppFramework\Utility\SimpleContainer->resolve()
4. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 494
   OC\AppFramework\Utility\SimpleContainer->query()
5. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 466
   OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
6. /var/www/nextcloud/lib/private/AppFramework/App.php line 162
   OC\AppFramework\DependencyInjection\DIContainer->query()
7. /var/www/nextcloud/lib/private/Route/Router.php line 315
   OC\AppFramework\App::main()
8. /var/www/nextcloud/lib/base.php line 1064
   OC\Route\Router->match()
9. /var/www/nextcloud/index.php line 36
   OC::handleRequest()

GET /apps/ownpad/?file=%2FNew%20pad.pad&dir=%2F
from xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx by red.acted at 2023-08-08T10:32:38+00:00

Output of occ status:

  - installed: true
  - version: 27.0.0.8
  - versionstring: 27.0.0
  - edition: 
  - maintenance: false
  - needsDbUpgrade: false
  - productname: Nextcloud
  - extendedSupport: false
List of installed apps ``` Enabled: - activity: 2.19.0 - admin_audit: 1.17.0 - bbb: 2.5.0 - bookmarks: 13.0.1 - bruteforcesettings: 2.7.0 - calendar: 4.4.4 - circles: 27.0.0 - cloud_federation_api: 1.10.0 - collectives: 2.6.1 - comments: 1.17.0 - contacts: 5.3.2 - contactsinteraction: 1.8.0 - dashboard: 7.7.0 - dav: 1.27.0 - deck: 1.10.0 - federatedfilesharing: 1.17.0 - federation: 1.17.0 - files: 1.22.0 - files_linkeditor: 1.1.16 - files_pdfviewer: 2.8.0 - files_rightclick: 1.6.0 - files_sharing: 1.19.0 - files_trashbin: 1.17.0 - files_versions: 1.20.0 - firstrunwizard: 2.16.0 - forms: 3.3.1 - groupfolders: 15.0.1 - impersonate: 1.14.0 - logreader: 2.12.0 - lookup_server_connector: 1.15.0 - mail: 3.2.5 - nextcloud_announcements: 1.16.0 - notifications: 2.15.0 - oauth2: 1.15.0 - onlyoffice: 8.1.0 - ownpad: 0.8.0 - password_policy: 1.17.0 - photos: 2.3.0 - privacy: 1.11.0 - provisioning_api: 1.17.0 - quota_warning: 1.17.0 - recommendations: 1.6.0 - related_resources: 1.2.0 - serverinfo: 1.17.0 - settings: 1.9.0 - sharebymail: 1.17.0 - survey_client: 1.15.0 - systemtags: 1.17.0 - tasks: 0.15.0 - text: 3.8.0 - theming: 2.2.0 - theming_customcss: 1.14.0 - twofactor_backupcodes: 1.16.0 - twofactor_email: 2.7.3 - twofactor_nextcloud_notification: 3.7.0 - twofactor_totp: 9.0.0 - twofactor_webauthn: 1.2.0 - updatenotification: 1.17.0 - user_status: 1.7.0 - viewer: 2.1.0 - weather_status: 1.7.0 - workflowengine: 2.9.0 Disabled: - apporder: 0.15.0 (installed 0.15.0) - breezedark: 26.0.0 (installed 26.0.0) - encryption: 2.15.0 - files_accesscontrol: 1.14.1 (installed 1.14.1) - files_external: 1.19.0 (installed 1.15.0) - login_notes: 1.1.0 (installed 1.1.0) - notify_push: 0.6.3 (installed 0.6.3) - support: 1.10.0 (installed 1.3.0) - suspicious_login: 5.0.0 - twofactor_admin: 4.1.9 - twofactor_u2f: 6.3.1 (installed 6.3.1) - user_external: 3.1.0 (installed 3.1.0) - user_ldap: 1.17.0 ```
e1mo commented 1 year ago

Wow, thanks for the super quick fix!

otetard commented 1 year ago

Thanks for your feedback! I’ve uploaded a 0.8.1 version that should fix this issue, it should be available shortly on Nextcloud appstore.