Installing ownCloud?

Status
Not open for further replies.

trekker

Cadet
Joined
Dec 30, 2013
Messages
2
Thanks Brian, nice tutorial.

But I have problem in the last step. Succeeded running Apache in browser, but Owncloud didn't show up, just the text I quote below.
FYI.. I'm a noob in linux/frebsd. Please guide me.. anyone.. Thanks.

<?php

/**
* ownCloud
*
* @author Frank Karlitschek
* @copyright 2010 Frank Karlitschek karlitschek@kde.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library 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 along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/

$RUNTIME_NOAPPS = true; //no apps, yet

try {

require_once 'lib/base.php';

OC::handleRequest();

} catch (Exception $ex) {
\OCP\Util::logException('index', $ex);

//show the user a detailed error page
OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR);
OC_Template::printExceptionErrorPage($ex);
}
 

trekker

Cadet
Joined
Dec 30, 2013
Messages
2
Solved it for now.. But not sure it's works properly or temporary (it can't accessed by https).
I change owncloud_1 jail setting as follow :
* stop the service
* unchecked "autostart" option in jail setting.

So now the only jail that running is owncloud_x.
But in plugins setting, the jail for owncloud still refering to owncloud_1 (in red text).
I still need more enlightment for ensuring this can be deploy in production.
Any input would be appreciated.. Thanks.
 

1RoH

Dabbler
Joined
Sep 14, 2014
Messages
21
I present; How to install ownCloud on FreeNAS in 28 27 Steps (Illustrated) by: Me!

Edit: the jail's root password is the FreeNAS root password. I had a step that tried to set the jail's root password.
Edit 2: Apparently the jail's root password is indeed different from the FreeNAS password, so after switching into the jail (jexec {#} csh) type passwd and set a root password. That's the password you will use after ssh'ing to the jail directly and typing "su -"
Im stuck on Download "Fetch" PC-BSD's package certificate
when i try pkg upgrade i get:
pkg: PACKAGESITE in pkg.conf is no longer supported. Convert to the new repository style. See pkg.conf(5)
pkg: PUBKEYESITE in pkg.conf is no longer supported. Convert to the new repository style. See pkg.conf(5)
pkg: Cannot parse configuration file!
can anyone help? Thank you
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Im stuck on Download "Fetch" PC-BSD's package certificate
when i try pkg upgrade i get:
pkg: PACKAGESITE in pkg.conf is no longer supported. Convert to the new repository style. See pkg.conf(5)
pkg: PUBKEYESITE in pkg.conf is no longer supported. Convert to the new repository style. See pkg.conf(5)
pkg: Cannot parse configuration file!
can anyone help? Thank you
my solution is to just delete the pkg.conf and let freebsd generate a new one.

why are you reviving a thread that's been dead for over a year. there's 2 actively maintained guides to install owncloud in the How-To section.
 

1RoH

Dabbler
Joined
Sep 14, 2014
Messages
21
my solution is to just delete the pkg.conf and let freebsd generate a new one.

why are you reviving a thread that's been dead for over a year. there's 2 actively maintained guides to install owncloud in the How-To section.
I apologize for this, i havent look at the date, ive been busy trying to get owncloud working, i tired to do it from the plug in section, works fine and can get ssl to work, but when i increase the Upload, its still stuck at 513mb
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I apologize for this, i havent look at the date, ive been busy trying to get owncloud working, i tired to do it from the plug in section, works fine and can get ssl to work, but when i increase the Upload, its still stuck at 513mb
did you edit /usr/pbi/owncloud-amd64/www/owncloud/.htaccess
That value is stored there I believe
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
You my new hero! I tried so many things.... im glad that it worked this time. Thank you, i appreciate it
no problem. if you ever update owncloud that may get overwritten so be ready to fix it again.
 
Status
Not open for further replies.
Top