After an update the frontend refused to work:
Scanner besetzt! Nochmals probieren? Kein Scanner gefunden. Ist der Scanner frei? Überprüfen Sie, ob der Scanner angeschlossen ist, und vom Programm scanimage -L gefunden wird.
Running scanimage -L on the command line with the Apache user gave the following error:
$ scanimage -L No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages).
Since I'm using an HP multifunction device, I found the following useful command:
$ hp-check -r
Beside some minor warnings, it told me that the Apache user was not in the group "lp". After adding the user to this group and restarting Apache, the Apache user could run scanimage -L again with the output of the scanner and PHPSane also ran again.
Noch kein Feedback
Formular wird geladen...