Facing problem after the installation of Owncloud


I want to set up a cloud on a machine so that it can be accessed online. I followed the installation guide provided by owncloud. I chose MariaDB for my database and Apache for my server. I was able to complete the installation without a hitch, but when it came time to connect to the server using localhost/owncloud for example, I came across the following page:

* @author Lukas Reschke * @author Morris Jobke * @author Philipp Schaffrath * @author RealRancor * @author Robin Appelman * @author Sergio Bertolín * @author Thomas Müller * @author Vincent Petry * * @copyright Copyright (c) 2018, ownCloud GmbH * @license AGPL-3.0 * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License, version 3, * along with this program. If not, see * */ try { require_once __DIR__ . '/lib/base.php'; OC::handleRequest(); } catch (\OC\ServiceUnavailableException $ex) { \OC::$server->getLogger()->logException($ex, ['app' => 'index']); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); OC_Template::printExceptionErrorPage($ex); } catch (\OC\HintException $ex) { OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); OC_Template::printErrorPage($ex->getMessage(), $ex->getHint()); } catch (\OC\User\LoginException $ex) { OC_Response::setStatus(OC_Response::STATUS_FORBIDDEN); OC_Template::printErrorPage($ex->getMessage()); } catch (\OCP\Files\ForbiddenException $ex) { OC_Response::setStatus(OC_Response::STATUS_FORBIDDEN); OC_Template::printErrorPage($ex->getMessage()); } catch (\Throwable $ex) { try { \OC::$server->getLogger()->logException($ex, ['app' => 'index']); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($ex); } catch (\Throwable $ex2) { // with some env issues, it can happen that the logger couldn't log properly, // so print out the exception directly // NOTE: If we've reached this point, something has gone really wrong because // we couldn't even get the logger, so don't rely on ownCloud here. \header("{$_SERVER['SERVER_PROTOCOL']} 599 Broken"); \OC::crashLog($ex); \OC::crashLog($ex2); } } 

i thought it was because of an apache mod that i hadn’t installed for php but no. i don’t understand why i have this or how to finalize my Owncloud installation. thank you in advance.


i think this could be a problem in the web server configuration and not a problem in ownCloud itself. It the ownCloud community can’t help with such PHP / web server problems maybe there is a support forum for these where you could ask for help?

1 Like

If you do not tell, what exactly you did, nobody can help.

1 Like