Unexplained error after working for months - version: 9.0.1.3

Please advise, everything was working fine on my Ubuntu server but it stop working all of sudden and I don't know why.

details:
root@Latitude-E6530:/var/www/owncloud/data# php -verion
PHP 7.0.8-0ubuntu0.16.04.1 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.8-0ubuntu0.16.04.1, Copyright (c) 1999-2016, by Zend Technologies

root@Latitude-E6530:/var/www/owncloud# sudo -u www-data php occ upgrade
ownCloud is already latest version

root@Latitude-E6530:/var/www/owncloud# sudo -u www-data php occ status
- installed: true
- version: 9.0.1.3
- versionstring: 9.0.1
- edition:

From the owncloud.log this is the error I found:

{"reqId":"dhVYyF4R9xVZ2SRPYeq+","remoteAddr":"","app":"index","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"The requested uri() cannot be processed by the script '\\/owncloud\\/index.php')\",\"Code\":0,\"Trace\":\"#0 \\/var\\/www\\/owncloud\\/lib\\/base.php(837): OC\\AppFramework\\Http\\Request->getRawPathInfo()\n#1 \\/var\\/www\\/owncloud\\/index.php(39): OC::handleRequest()\n#2 {main}\",\"File\":\"\\/var\\/www\\/owncloud\\/lib\\/private\\/appframework\\/http\\/request.php\",\"Line\":621}","level":3,"time":"2016-07-26T08:52:54+00:00","method":"GET","url":"--","user":"--"}
{"reqId":"IGbKkCNeRkG+XG5v0FuZ","remoteAddr":"","app":"remote","message":"The requested uri() cannot be processed by the script '\/owncloud\/remote.php')","level":4,"time":"2016-07-26T08:52:56+00:00","method":"PROPFIND","url":"--","user":"--"}

Hi,

before posting any issues please always update to the latest stable version of oC. This is currently oC 9.0.4 (recommended) or 9.1.0 (new and has some bugs).

As you're on PHP 7.0.8 (which is probably what you get recently as it worked previously) this specific issues is fixed with oC 9.0.2:

[Stable 9] Make ownCloud work again in php 7.0.6 - https://github.com/owncloud/core/pull/24343

https://owncloud.org/changelog/

I used the

sudo -u www-data php occ upgrade and told me i had a latest version so I i thought I did have it but since i looked online and actually installed and latest version and it all got resolved.

$ sudo -u www-data php occ status
[sudo] password for ricardo:
- installed: true
- version: 9.1.0.15
- versionstring: 9.1.0
- edition:

Many Thanks

Yes, the occ upgrade is only running the database upgrade routines. It won't download, install updated files or check for existing updates.