Hi, I’m trying to setup a 2AF for all NextCloud users with Twofactor-gateway but I need to run occ command from a shell (Admin Documentation - Nextcloud TwoFactor Gateway).
I can connet to the NextBox via ssh but I cannot run occ as netxuser nor with sudo. The path of executable of occ isn’t in $PATH probably or isn’t instlled?
nextuser@nextbox:~ $ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
nextuser@nextbox:~ $ occ --help -bash: occ: command not found