I always gets this error. I wanted to migrate from OwnCloud to NextCloud.
Here the code:
root@BANANAS ~www/nextcloud # sudo -u www-data php occ upgrade
Nextcloud is not installed - only a limited number of commands are available
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command “upgrade” is not defined.
Who can help me fast? I need my calender.