Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scanner does not work anymore after update from 26.x.x to version 27.0.0 #38

Open
trvrcr opened this issue Jul 7, 2023 · 5 comments
Open

Comments

@trvrcr
Copy link

trvrcr commented Jul 7, 2023

Describe the bug
The scanner does not scan anymore after update to 27.0.0

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade to 27.0.0
  2. Click on the apps menu
  3. Enable scanner app in untested version
  4. Try scanning

Expected behavior
As previous versions where you enable untested version the scanner works.

Additional context
Add any other context about the problem here.

@trvrcr
Copy link
Author

trvrcr commented Jul 13, 2023

I get the following error in the logs:

[index] Error: OCP\AutoloadNotAllowedException: Autoload path not allowed: /var/www/nextcloud/apps/scanner/controller/scannercontroller.php at <>

  1. /var/www/nextcloud/lib/autoloader.php line 166
    OC\Autoloader->isValidPath()
  2. <>
    OC\Autoloader->load()
  3. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 122
    ReflectionClass->__construct()
  4. /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 142
    OC\AppFramework\Utility\SimpleContainer->resolve()
  5. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 494
    OC\AppFramework\Utility\SimpleContainer->query()
  6. /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 466
    OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
  7. /var/www/nextcloud/lib/private/AppFramework/App.php line 162
    OC\AppFramework\DependencyInjection\DIContainer->query()
  8. /var/www/nextcloud/lib/private/Route/Router.php line 315
    OC\AppFramework\App::main()
  9. /var/www/nextcloud/lib/base.php line 1064
    OC\Route\Router->match()
  10. /var/www/nextcloud/index.php line 36
    OC::handleRequest()

POST /index.phpner/scan
from ... by **************** at 2023-07-

@phlux85
Copy link

phlux85 commented Jul 23, 2023

I can also report same issue. This app is super useful for my workflow, as it saves time having to jump through different Windows apps. To note, this app hasn't worked since version <25 of Nextcloud, for me at least. I'm not a coder but I'll will investigate the line errors in the specified php files.

Log:

[index] Error: OCP\AutoloadNotAllowedException: Autoload path not allowed: /var/www/html/nextcloud/apps/scanner/controller/scannercontroller.php at <>

  1. /var/www/html/nextcloud/lib/autoloader.php line 166
    OC\Autoloader->isValidPath()
  2. <>
    OC\Autoloader->load()
  3. /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 122
    ReflectionClass->__construct()
  4. /var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php line 142
    OC\AppFramework\Utility\SimpleContainer->resolve()
  5. /var/www/html/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 494
    OC\AppFramework\Utility\SimpleContainer->query()
  6. /var/www/html/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php line 466
    OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback()
  7. /var/www/html/nextcloud/lib/private/AppFramework/App.php line 162
    OC\AppFramework\DependencyInjection\DIContainer->query()
  8. /var/www/html/nextcloud/lib/private/Route/Router.php line 315
    OC\AppFramework\App::main()
  9. /var/www/html/nextcloud/lib/base.php line 1064
    OC\Route\Router->match()
  10. /var/www/html/nextcloud/index.php line 36
    OC::handleRequest()

POST /nextcloud/index.php/apps/scanner/scan
from *********** by **** at 2023-07-23T15:09:14+00:00

@trvrcr
Copy link
Author

trvrcr commented Jul 27, 2023

image

When pushing the yes button to start the scan, the following messages appear.
The scanner does not get a command to start scanning unfortunately.

@trvrcr trvrcr closed this as completed Jul 27, 2023
@trvrcr trvrcr reopened this Jul 27, 2023
@trvrcr trvrcr mentioned this issue Jul 27, 2023
@trvrcr
Copy link
Author

trvrcr commented Aug 11, 2023

@e-alfred are you still maintaining this project/
Do you require other information from us to help you?

Kind regards

@Boc-chi-no
Copy link
Contributor

#39 Compatible with nextcloud 28😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants