LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-04-2012, 12:34 AM   #1
Jdogzz
Member
 
Registered: May 2012
Distribution: slackware
Posts: 40

Rep: Reputation: 5
Setting up Owncloud


I decided to try and set up owncloud on an old laptop I have sitting around and tried to follow the instructions I found in this thread: http://www.linuxquestions.org/questi...unning-919075/

I followed the instructions but I think I'm missing something important related to apache that is preventing me from getting it to work. When I navigate to localhost/owncloud it gives me a 403 forbidden error. Is there something that I need to do to set up apache before trying to work with the owncloud setup?
 
Old 06-04-2012, 10:06 PM   #2
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
I'm not sure what to say. I tried installing it using these directions as well as following Alien Bob's suggestions in your previous post. I get "INTERNAL SERVER ERROR" messages when I try to go to localhost/owncloud. If I replace the .htaccess file that comes with owncloud with my own that I use in another directory I'm able to get as far as creating the admin account, but then it goes back to the internal server error message. Removing the .htaccess file completely from /var/www/htdocs/owncloud then allows me to login, but I get a constant blinking/flashing of the page that is useless. In /var/log/httpd/error_log I then have these messages:
Code:
[Mon Jun 04 22:05:54.979620 2012] [mpm_event:notice] [pid 2644:tid 3070154496] AH00494: SIGHUP received.  Attempting to restart
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/sqlite.so' - /usr/lib/php/extensions/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/xsl.so' - /usr/lib/php/extensions/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
[Mon Jun 04 22:05:55.038965 2012] [mpm_event:notice] [pid 2644:tid 3070154496] AH00489: Apache/2.4.2 (Unix) PHP/5.4.3 configured -- resuming normal operations
[Mon Jun 04 22:05:55.038992 2012] [core:notice] [pid 2644:tid 3070154496] AH00094: Command line: '/usr/sbin/httpd'
[Mon Jun 04 22:06:02.589904 2012] [core:alert] [pid 8437:tid 3029334848] [client 127.0.0.1:43636] /srv/httpd/htdocs/owncloud/data/.htaccess: deny not allowed here
[Mon Jun 04 22:06:05.985626 2012] [core:alert] [pid 8435:tid 3029334848] [client 127.0.0.1:43641] /srv/httpd/htdocs/owncloud/data/.htaccess: deny not allowed here, referer: http://localhost:8000/owncloud/index.php
[Mon Jun 04 22:06:05.985645 2012] [core:alert] [pid 8437:tid 2979003200] [client 127.0.0.1:43642] /srv/httpd/htdocs/owncloud/data/.htaccess: deny not allowed here, referer: http://localhost:8000/owncloud/index.php
 
Old 06-04-2012, 11:27 PM   #3
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 534
Blog Entries: 3

Rep: Reputation: 118Reputation: 118
This just in...

Quote:
ownCloud 4.0.1 Released – Bugfix and Security Release
Posted on June 4, 2012 by owncloud release

Today we release an important update for ownCloud 4. The new release contains lots of bugfixes and important security updates. It is recommended that all ownCloud 4.x users upgrade. For full production use we continue to recommend ownCloud 3.x or ownCloud 2012 – while we chase additional items brought up by users
There's a few SQL fixes in the list there too at: http://owncloud.org/news

I hope that helps but YMMV

Kindest regards,

.
 
Old 06-05-2012, 12:48 AM   #4
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
I've managed to get as far as creating the admin account with the .htaccess files in place. That was my screw up from previously setting up .htaccess. I had the AllowOveride for the document root set too restrictive, and as was mentioned in the referenced thread, deleting my php.ini file and reinstalling the php package fixed the dynamic library errors I was getting. Now when I setup the the admin account though I get an access forbidden error. I'm able to enter http://localhost/owncloud/index.php manually and I get to a malformed screen. I can't access any of the apps. I get this in my error_log:
Code:
 Cannot serve directory /srv/httpd/htdocs/owncloud/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive, referer: http://localhost:8000/owncloud/index.php
 
Old 06-05-2012, 01:00 AM   #5
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Got it. Had to change
Code:
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
    DirectoryIndex index.html
</IfModule>
to
Code:
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
    DirectoryIndex index.php index.html
</IfModule>
So the things I personally had to do to get opencloud working:

Enable PHP
change my AllowOverride for .htaccess files that I had set previously
Enter the changes listed by Alien Bob.
Reinstall php after removing php.ini
Unpack the tarball to the server tree
chown the directory to apache:apache

It really wasn't complicated, I just had no clue what I was doing! lol Hope that helps.
 
Old 06-05-2012, 02:08 AM   #6
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
I just want to say thanks. I had no clue about owncloud until I read your post. With WebDAV and a free app I'm now able to upload things directly to and from my Iphone across the web. That has been such a PITA for YEARS!
 
1 members found this post helpful.
Old 06-05-2012, 07:17 PM   #7
Jdogzz
Member
 
Registered: May 2012
Distribution: slackware
Posts: 40

Original Poster
Rep: Reputation: 5
@damgar Thank you so much Fixed all my problems

I'm marking this thread as solved.
 
Old 06-05-2012, 08:57 PM   #8
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Awesome. Glad to hear it. It's a really cool little program once it's running!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone managed to get owncloud running? vdemuth Slackware 15 12-18-2011 05:29 AM
LXer: ownCloud Inc. and the ownCloud community LXer Syndicated Linux News 0 12-16-2011 11:50 AM
LXer: openSuse 12.1 Released, Comes With OwnCloud LXer Syndicated Linux News 0 11-16-2011 04:11 PM
LXer: First ownCloud sprint LXer Syndicated Linux News 0 04-22-2011 03:10 AM
LXer: Ever wanted your ownCloud? LXer Syndicated Linux News 0 07-20-2010 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration