Maintenance mode and Could not open input file: occ

Hi. Help pls.
After the update owncloud on the univention server i got message:

This ownCloud instance is currently in maintenance mode, which may take a while.

root@ucs:~# cd /var/www/owncloud
root@ucs:/var/www/owncloud# sudo -u www-data php occ maintenance:mode --off
Could not open input file: occ

Maybe this is the directory of the old version of owncloud? I can not find where else config files can be.


try with ./occ instead of occ