hi,
i was trying to enable Printer app on my newly system and have cups and cups-bsd installed. I can print a testpage from cups admin pages and my printer is set up as standard printer and www-data is allowed to print there. However, if i try to print i get a spinning wheel in the printer tab and i see this error message in nextcloud log:
Exception: Call to a member function getLocalFile() on null in file '/var/www/nextcloud/lib/private/Files/Filesystem.php' line 529
/var/www/nextcloud/lib/private/AppFramework/App.php - line 157:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/nextcloud/lib/private/Route/Router.php - line 302:
OC\AppFramework\App::main()
/var/www/nextcloud/lib/base.php - line 1008:
OC\Route\Router->match()
/var/www/nextcloud/index.php - line 36:
OC::handleRequest()
Verursacht durch Error: Call to a member function getLocalFile() on null
/var/www/nextcloud/apps/printer/lib/Controller/PrinterController.php - line 42:
OC\Files\Filesystem::getLocalFile()
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 217:
OCA\Printer\Controller\PrinterController->printfile()
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 126:
OC\AppFramework\Http\Dispatcher->executeController()
/var/www/nextcloud/lib/private/AppFramework/App.php - line 157:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/nextcloud/lib/private/Route/Router.php - line 302:
OC\AppFramework\App::main()
/var/www/nextcloud/lib/base.php - line 1008:
OC\Route\Router->match()
/var/www/nextcloud/index.php - line 36:
OC::handleRequest()