Internal Server Error

Hello,
My server give me and error :


Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

Technical details
Remote Address:
Request ID: ExQHtyHrX9svQ2/HzJFQ


the server was perfectly operational since lots of weeks.
i don't do anything on my os.

Steps to reproduce
1. Go to login page https://domain/owncloud/
2.
3.

Expected behaviour
login form

Actual behaviour
Sever give me Internal Server Error instead of login

Server configuration
Operating system: Ubuntu 16.04 LTS
Web server: Apache/2.4.18
Database: MySQL 5.7.13
PHP version: PHP 7.0.8-0
ownCloud version (see ownCloud admin page): 9.1.0
Updated from an older ownCloud or fresh install: fresh
ownCloud log (data/owncloud.log, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808):


{"reqId":"ExQHtyHrX9svQ2\/HzJFQ","remoteAddr":"","app":"index","message":"Exception: {\"Exception\":\"Exception\",\"Message\":\"The requested uri() cannot be processed by the script '\\/owncloud\\/index.php')\",\"Code\":0,\"Trace\":\"#0 \\/home\\/owncloud\\/www\\/lib\\/base.php(823): OC\\AppFramework\\Http\\Request->getRawPathInfo()\n#1 \\/home\\/owncloud\\/www\\/index.php(39): OC::handleRequest()\n#2 {main}\",\"File\":\"\\/home\\/owncloud\\/www\\/lib\\/private\\/AppFramework\\/Http\\/Request.php\",\"Line\":628}","level":3,"time":"2016-08-04T09:07:39+00:00","method":"GET","url":"--","user":"--"}


Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):
nothing

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

Hi,

this FAQ might help you with your issue:

Thank you for your answer, but it's not solve my problem.

'overwrite.cli.url' => 'https://X.X.X.X/owncloud',
'htaccess.RewriteBase' => '/owncloud',


Ah, yes. The following:

means that you don't have 9.1.0 installed but a version prior to oC 9.0.3 which are not compatible with PHP 7.0.8

i use the 9.1.0 and the server was working several weeks before.

There are only two chances:

  1. You're not using oC 9.1.0 but something below 9.0.3 as already stated
  2. You havn't followed the FAQ linked above completely (just using the config options are not enough)

yes, i do sudo -u www-data php occ maintenance:update:htaccess but occ give me that error :
[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "maintenance:update" namespace.
Did you mean one of these?
maintenance:mimetype
maintenance

Hi,

this means that you're runnig a version of oC prior 9.0.3. This command was only added in 9.0.3+ and confirms that you have a version of oC not compatible with PHP 7.0.8

damned when i'm do sudo -u www-data php occ status i'v got :
- installed: true
- version: 9.1.0.0
- versionstring: 9.1.0 pre alpha
- edition:

Yeah, the pre- alpha version might also not contain the fix and the command.

ok ty, i gonna try an update . be back soon with result !

Ok it's done, the problem is solved ! I just upgrade from pre_alpha to 9.1 release
and it's work again. Ty for your help :slight_smile: