Repository navigation
Description
Steps to reproduce
I am running an owncloud instance on a 1&1 web hosting and it has been working well until yesterday.
I am using the last version of owncloud 9.0.2
Since yesterday, I cannot use owncloud anymore.
I always end with a "Internal Server Error".
I even tried a fresh install of owncloud with auto installer and sqllite. The same thing happens. Right after setup finishes, it ends with the same internal error.
I checked the paths in config.php and .htaccess
#24426 (comment)
Owncloud is installed at this adress:
https://www.mywebsite.com/test/owncloud
Here are the two lines created by the owncloud installer in config.php and .htaccess
RewriteBase /test/owncloud
'overwrite.cli.url' => 'http://localhost/test/owncloud',
I tried replacing overwrite.cli.url with this one
'overwrite.cli.url' => 'https://www.mywebsite.com/test/owncloud',
PHP version:
I tried with version 5.6 and 7
ownCloud version: (see ownCloud admin page)
9.02
Updated from an older ownCloud or fresh install:
Older owncloud and fresh install
Where did you install ownCloud from:
Manual install and automatic install
Are you using external storage, if yes which one: local/smb/sftp/...
NO
Are you using encryption:
YES
ownCloud log (data/owncloud.log)
{"reqId":"txKbQx6pS1mTYZVE/bEr","remoteAddr":"","app":"no app in context","message":"Exception: {"Exception":"DomainException","Message":"Contacts tables are missing. Nothing to do.","Code":0,"Trace":"#0 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/apps\/dav\/lib\/migration\/migrateaddressbooks.php(83): OCA\Dav\Migration\AddressBookAdapter->setup()\n#1 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/apps\/dav\/appinfo\/application.php(186): OCA\Dav\Migration\MigrateAddressbooks->setup()\n#2 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/apps\/dav\/appinfo\/install.php(26): OCA\Dav\AppInfo\Application->migrateAddressbooks()\n#3 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/private\/installer.php(639): include('\/homepages\/19\/d...')\n#4 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/private\/installer.php(590): OC_Installer::includeAppScript('\/homepages\/19\/d...')\n#5 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/private\/installer.php(561): OC_Installer::installShippedApp('dav')\n#6 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/private\/setup.php(370): OC_Installer::installShippedApps()\n#7 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/core\/controller\/setupcontroller.php(64): OC\Setup->install(Array)\n#8 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/base.php(832): OC\Core\Controller\SetupController->run(Array)\n#9 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/index.php(39): OC::handleRequest()\n#10 {main}","File":"\/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/apps\/dav\/lib\/migration\/addressbookadapter.php","Line":72}","level":3,"time":"2016-05-07T16:18:40+00:00","method":"POST","url":"--","user":"--"}
{"reqId":"txKbQx6pS1mTYZVE/bEr","remoteAddr":"","app":"no app in context","message":"Exception: {"Exception":"DomainException","Message":"Calendar tables are missing. Nothing to do.","Code":0,"Trace":"#0 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/apps\/dav\/lib\/migration\/migratecalendars.php(84): OCA\Dav\Migration\CalendarAdapter->setup()\n#1 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/apps\/dav\/appinfo\/application.php(202): OCA\Dav\Migration\MigrateCalendars->setup()\n#2 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/apps\/dav\/appinfo\/install.php(27): OCA\Dav\AppInfo\Application->migrateCalendars()\n#3 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/private\/installer.php(639): include('\/homepages\/19\/d...')\n#4 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/private\/installer.php(590): OC_Installer::includeAppScript('\/homepages\/19\/d...')\n#5 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/private\/installer.php(561): OC_Installer::installShippedApp('dav')\n#6 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/private\/setup.php(370): OC_Installer::installShippedApps()\n#7 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/core\/controller\/setupcontroller.php(64): OC\Setup->install(Array)\n#8 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/base.php(832): OC\Core\Controller\SetupController->run(Array)\n#9 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/index.php(39): OC::handleRequest()\n#10 {main}","File":"\/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/apps\/dav\/lib\/migration\/calendaradapter.php","Line":68}","level":3,"time":"2016-05-07T16:18:40+00:00","method":"POST","url":"--","user":"--"}
{"reqId":"ZLzRuJMwd7d2G3JzoT3T","remoteAddr":"","app":"index","message":"Exception: {"Exception":"Exception","Message":"The requested uri() cannot be processed by the script '\/oc\/owncloud\/index.php')","Code":0,"Trace":"#0 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/base.php(837): OC\AppFramework\Http\Request->getRawPathInfo()\n#1 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/index.php(39): OC::handleRequest()\n#2 {main}","File":"\/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/private\/appframework\/http\/request.php","Line":621}","level":3,"time":"2016-05-07T16:19:08+00:00","method":"GET","url":"--","user":"--"}
{"reqId":"V9RcGckYaCc0R4wn6c9r","remoteAddr":"","app":"index","message":"Exception: {"Exception":"Exception","Message":"The requested uri() cannot be processed by the script '\/oc\/owncloud\/index.php')","Code":0,"Trace":"#0 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/base.php(837): OC\AppFramework\Http\Request->getRawPathInfo()\n#1 \/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/index.php(39): OC::handleRequest()\n#2 {main}","File":"\/homepages\/19\/d438963193\/htdocs\/oc\/owncloud\/lib\/private\/appframework\/http\/request.php","Line":621}","level":3,"time":"2016-05-07T16:19:40+00:00","method":"GET","url":"--","user":"--"}
Activity
LukasReschke commentedon May 10, 2016
Please post the whole config file and also explain how you map from
\\/homepages\\/19\\/d438963193\\/htdocs\\/oc\\/owncloud\\/tohttps://www.mywebsite.com/test/owncloud'Dronarg commentedon May 10, 2016
Here is the full config.php
$CONFIG = array (
'instanceid' => 'ocq99pqy8gqk',
'passwordsalt' => '*** removed for security reasons',
'secret' => '*** removed for security reasons',
'trusted_domains' =>
array (
0 => 'localhost',
),
'datadirectory' => '/homepages/19/d438963193/htdocs/oc/owncloud/data',
'overwrite.cli.url' => 'http://localhost/oc/owncloud',
'dbtype' => 'sqlite3',
'version' => '9.0.1.3',
'logtimezone' => 'UTC',
'installed' => true,
);
Regarding the mapping from /homepages/19/d438963193/htdocs/oc/owncloud/ to https://www.mywebsite.com/oc/owncloud'
It is a shared hosting, and internaly the adress /homepages/19/d438963193/htdocs\ points to the base of my domain name https://www.mywebsite.com/
LukasReschke commentedon May 10, 2016
How did you install ownCloud then? From what URL? Also I'm super confused, sometimes you refer to
oc/owncloudand sometimes totest/owncloud…Do not automatically try to enable index.php-less URLs
Do not automatically try to enable index.php-less URLs
Dronarg commentedon May 11, 2016
I use two methods to install owncloud. I can upload the whole app with FTP and start setup or simply upload the script setup-owncloud.php and run it. It works until the login page.
I am sorry for the confusion between oc/owncloud and test/owncloud. In fact since my owncloud installation broke a few days ago, I tried different new installations for testing purposes. So I tried once with test/owncloud and again with oc/owncloud.
The fact is that owncloud was working very well since version 6 and it seems broken now though I have not changed anything. I thought my config files were wrong, but I see that a fresh install leads to the same issue.
I thought that
'overwrite.cli.url' => 'http://localhost/oc/owncloud',
could be the problem so I also tried
'overwrite.cli.url' => 'http://mywebsite/oc/owncloud',
but that does not work.
LukasReschke commentedon May 11, 2016
Please try to remove everything after the "DO NOT CHANGE ANYTHING ABOVE THE LINE" entry in .htaccess. If that works then there is a good chance that the patch in 9.0.3 will fix this.
(you might need to have to repeat this step in 9.0.3 again but afterwards not anymore if you also remove the htaccess.RewriteBase entry from your config.php then)
Mannshoch commentedon May 11, 2016
Had the same Error.
.htaccess
I had to comment out the RewriteBase to get Owncloud work
imjalpreet commentedon May 11, 2016
@LukasReschke I am also facing internal server error.
Though I tried testing the #24539 and it worked successfully after that. It was successful in fixing the internal server error.
Mannshoch commentedon May 11, 2016
@hirschnase Im familiar with .htaccess deactivating. I run .htaccess on one Webspace on which i have to remove the half of all .htacces entries to get a working Owncloud.
Dronarg commentedon May 11, 2016
Well, I tried with shortened .htacess and it does not work ....
I installed back an older version 8 and it is working fine.
Do not automatically try to enable index.php-less URLs (#24539)
ownclouders commentedon Dec 21, 2017
Hey, this issue has been closed because the label
needs infois set and there were no updates for 14 days. Feel free to reopen this issue if you deem it appropriate.(This is an automated comment from GitMate.io.
WolfgangFahl commentedon Dec 28, 2017
This is closed?
I barely believe this. This error is so annoying because there is no proper explanation of what is going on and searching for "the request uri cannout be processed by the script" points here.
In my case I simply copied an installation from one server to another and adapted the config file. My version is 9.0.0 and i see no plausible reason for the error. Since the error is not fixed I'll move to nextcloud and try my luck there.
Update: the upgrade to nextcloud worked like a charm - the error went away immediately after following the instructions at https://nextcloud.com/migration/
We then went all the way to Version 12 see http://wiki.bitplan.com/index.php/Nextcloud
lock commentedon Jul 31, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.