nextcloud/whiteboard

Whiteboard 1.0.0 not loading in NC30

Closed this issue · 1 comments

Installing and enabling the Whiteboard app in NC30 produces a string of the following two errors:

{
  "reqId": "GYbghBaCIvQGdErrMOu1",
  "level": 3,
  "time": "2024-09-14T22:47:07+02:00",
  "remoteAddr": "70.53.232.5",
  "user": "--",
  "app": "PHP",
  "method": "POST",
  "url": "/settings/apps/disable",
  "message": "include_once(/var/www/nextcloud/apps/whiteboard/lib/AppInfo/../../vendor/autoload.php): Failed to open stream: No such file or directory at /var/www/nextcloud/apps/whiteboard/lib/AppInfo/Application.php#38",
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0",
  "version": "30.0.0.14",
  "data": {
    "app": "PHP"
  }
}
{
  "reqId": "GYbghBaCIvQGdErrMOu1",
  "level": 3,
  "time": "2024-09-14T22:47:07+02:00",
  "remoteAddr": "70.53.232.5",
  "user": "--",
  "app": "PHP",
  "method": "POST",
  "url": "/settings/apps/disable",
  "message": "include_once(): Failed opening '/var/www/nextcloud/apps/whiteboard/lib/AppInfo/../../vendor/autoload.php' for inclusion (include_path='/var/www/nextcloud/3rdparty/pear/archive_tar:/var/www/nextcloud/3rdparty/pear/console_getopt:/var/www/nextcloud/3rdparty/pear/pear-core-minimal/src:/var/www/nextcloud/3rdparty/pear/pear_exception:/var/www/nextcloud/apps') at /var/www/nextcloud/apps/whiteboard/lib/AppInfo/Application.php#38",
  "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0",
  "version": "30.0.0.14",
  "data": {
    "app": "PHP"
  }
}

No file vendor/autoload.php exists within the application directory, so commenting the inclusion in whiteboard/lib/AppInfo/Application.php#38 fixes the issue of logging the error, but no idea if the app actually works then...

Thanks for reporting. The vendor error was fixed with #157 and the 1.0.1