Answer the question
In order to leave comments, you need to log in
What causes the problem when installing OwnCloud 5?
I use Apache2.4 + PHP 5.5 + MySQL 5.6
Domain mydomain.ru
OC directory is bound to subdomain cloud.mydomain.ru
SSL is enabled and configured. And in general, OC4 worked and was set up normally (via https).
I put the 5th version. I see the window "Create an administrator account".
I enter the data and click Finish installation. Displays an empty page:
https://cloud.mydomain.ru/index.php
When the page is updated, it again asks to create an admin account.
A user and OC tables are created in the database
. Please help. Thank you.
Answer the question
In order to leave comments, you need to log in
Answering my own question)
The error is found in the log for a domain with SSL
(the log is configured in the file httpd-ssl.conf
ErrorLog "e:/cloud/logs/error.log" for example)
Error:
[Wed Nov 27 11:53:49.896821 2013 ] [:error] [pid 5228:tid 944] [client 92.60.85.50:34318] PHP Fatal error: Call to a member function logicToPhysical() on a non-object in E:\\cloud\\www\\lib\ \files\\storage\\mappedlocal.php on line 311, referer: https://cloud.mydomain.ru/
Solution:
Change the function in the mappedlocal.php file
private function buildPath($path, $create=true) {
$path = $this->stripLeading($path);
$fullPath = $this->datadir.$path;
return $this->mapper->logicToPhysical($fullPath, $create);
}
private function buildPath($path, $create=true) {
$path = $this->stripLeading($path);
$fullPath = $this->datadir.$path;
$this->mapper = new \OC\Files\Mapper($this->datadir);
return $this->mapper->logicToPhysical($fullPath, $create);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question