View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 18 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: OwnCloud SOLVED!
PostPosted: Wed Nov 07, 2012 9:21 am 
Offline
Joined: Mon Mar 20, 2006 11:39 am
Posts: 33
Hello Everyone!

I'm not too skillful with linux, but am nevertheless trying to get OwnCloud working on LinHES 7.4. I'd love to have my very own, virtually unlimited cloud service!

I've managed to download and link the package directories from owncloud.org to /data/srv/httpd/htdocs/owncloud -so far so good. After restarting lighttpd the configuration page could be reached, but it complained about missing modules, namely zip, pdo, and gd. In /etc/php/php.ini I found that these modules were commented out, so I uncommented them to activate them. After lighttpd restart, all but gd complaints disappeared from the page. I checked the directory /usr/lib/php/modules/ and found out that while zip.so and pdo.so were there, the gd.so was missing. I _guessed_ that the gd was not compiled in with php, but checking with php -i it states '--with-gd=shared'. So to my knowledge the module was compiled in, but why it is not there? (One thing I don't understand is from php -i: prefix=usr, but --with-gd=shared -isn't it always /usr/share?)

This is the problem: to my understanding the gd.so module is missing, and I don't know how to get it. What should I do to have the module working?

I guess I could get php source and recompile, but I don't dare to do that -at least without help. I would most probably end up with a broken LinHES system. After all, the web server is what makes LinHES far beyond any other system!
_______________
I've lived with KnoppMyth/LinHES for almost six (EDIT: seven) years now, and I could say I'm addicted to it...:D I love it so much, and I couldn't live without it. I am very greateful for you all, who have made LinHES available!!

"E"


Last edited by mikavir on Thu Nov 29, 2012 12:47 am, edited 1 time in total.


Top
 Profile  
 
 Post subject: Re: OwnCloud
PostPosted: Thu Nov 08, 2012 12:46 am 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Go to Linhes.org and click on Issues, then create a login id.

Next, open up a "feature request" asking for the program to be added to the repository. That a good place to start before messing up your system


Top
 Profile  
 
 Post subject: Re: OwnCloud
PostPosted: Thu Nov 08, 2012 3:47 am 
Offline
Joined: Mon Mar 20, 2006 11:39 am
Posts: 33
Thank you RacerX for your support! Messing up my system (once again) is a horrifying thought... :shock:

My login ID works on those pages, too. A request was one of my ideas, but, since my knowledge of the lighttpd/php system is so weak, I did not know if I'm barking at the right tree. I wanted to have confirmation that making a request is the way to go. If there's nobody instructing me otherwise, I will move on to writing one. And writing a wiki page of the experience is one thing, if (and when) I get this to work.

Do you understand the php -i information, where it seems that gd was included, but the module is still missing?
____________________
I have thought of other options for this. I could add a dedicated computer to my network, or I could have a virtual instance running the distro for OwnCloud. However, my LinHES computer has enough spare cycles for serving the cloud. On the other hand, running a virtual computer inside my LinHES box seems a bit ridiculous... And I think I'm very close to having the cloud working with the present server.

"E"


Top
 Profile  
 
 Post subject: Re: OwnCloud
PostPosted: Thu Nov 22, 2012 8:06 am 
Offline
Joined: Mon Mar 20, 2006 11:39 am
Posts: 33
Oh my... I wrote a feature request #867 two weeks ago, and there is no sign of activity. Has everyone put their minds to v. 8.0?

To try something, I downloaded php-5.3.3 sources and tried making the module from the code. After making a /usr/include/freetype link pointing to /usr/include/freetype2/freetype, the module compiled. I Copied manually the obtained gd.so to /usr/lib/php/modules/ and checked ownership and permissions. After restarting lighttpd (actually several times and rebooting), the page still insists "PHP module GD is not installed", I guess because the downloaded source code does not match the 5.3.3-8 version of php installed.

So even after my measly efforts, I'm still stuck.


Top
 Profile  
 
 Post subject: Re: OwnCloud
PostPosted: Thu Nov 22, 2012 9:13 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Why not just adapt the Arch version to LH to help the devs help you? In my experience, feature requests are implemented much faster if you supply the completed worked :p

https://aur.archlinux.org/packages/owncloud

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject: Re: ownCloud
PostPosted: Wed Nov 28, 2012 11:17 am 
Offline
Joined: Mon Mar 20, 2006 11:39 am
Posts: 33
Thank you, graysky! Picking up the pieces...

Getting and installing ownCloud:
Code:
lynx https://aur.archlinux.org/packages/owncloud
tar xvf owncloud-4.5.2.tar.bz2
sudo cp -a owncloud /data/srv/httpd/htdocs/
sudo chown -R http:users /data/srv/httpd/htdocs/owncloud

This did not bring any progress to what I wrote in the first post. Since the gd.so is not in the directory, it's (obviously) missing... Searching the aur.archlinux.org, I stumbled upon php-gd. It contains only the gd.so module, so I think that LinHES developers could include this package to the repositories.

Or is it possible to add aur.archlinux.org repositories and then install php-gd without compromising my system? The versions don't match, though (php-5.3.3-8 installed and php-gd-5.4.9-1 in aur).

BTW: I misspelled the package originally, it is called ownCloud, not with an O.


Top
 Profile  
 
 Post subject: Re: ownCloud SOLVED!
PostPosted: Thu Nov 29, 2012 12:47 am 
Offline
Joined: Mon Mar 20, 2006 11:39 am
Posts: 33
Cecil provided php-gd (in the testing repo) and after installation ownCloud works!!!

I also got information from jams that php-gd is included in R8. I will be testing this in a virtual machine.

Thank you very much Cecil and jams!!!


Top
 Profile  
 
 Post subject: Re: OwnCloud SOLVED!
PostPosted: Wed Dec 12, 2012 11:09 am 
Offline
Joined: Mon Mar 20, 2006 11:39 am
Posts: 33
Now that I finally had some spare time, I was able to test the LinHES 8. Installing ownCloud was pretty easy, as it initially complained about missing iconv and gd modules. I had to install php-gd with pacman and uncomment extension=iconv.so in /etc/php/php.ini, but after restarting lighttpd the owncloud page worked as expected.


Top
 Profile  
 
 Post subject: Re: OwnCloud SOLVED!
PostPosted: Thu Dec 13, 2012 4:00 pm 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
Glad to hear it.


Top
 Profile  
 
 Post subject: Re: ownCloud SOLVED!
PostPosted: Mon Dec 31, 2012 12:17 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1530
Location: California
mikavir wrote:
Cecil provided php-gd (in the testing repo) and after installation ownCloud works!!!


I am on LINHES 7.2 -- "pacman -Sy php-gd" did not succeed. Can I resolve this by editing /etc/pacman.conf or do I need to upgrade to 7.4? If the former, what do I need to add to pacman,conf? Thanks!

_________________
Marc

The views expressed are my own and do not necessarily reflect the views of my employer.


Top
 Profile  
 
 Post subject: Re: OwnCloud SOLVED!
PostPosted: Tue Jan 01, 2013 8:47 am 
Offline
Joined: Mon Mar 20, 2006 11:39 am
Posts: 33
I do have 7.4, but I don't know, if it is a requirement. Anyway, php-dg seems to be found on core-testing repository, so start by checking that [core-testing] is not commented out in /etc/pacman.conf.


Top
 Profile  
 
 Post subject: Re: OwnCloud SOLVED!
PostPosted: Tue Jan 01, 2013 9:24 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1530
Location: California
mikavir wrote:
I do have 7.4, but I don't know, if it is a requirement. Anyway, php-dg seems to be found on core-testing repository, so start by checking that [core-testing] is not commented out in /etc/pacman.conf.

I do not have any lines in my /etc/pacman.conf that contain the words "core-testing". I would appreciate your pasting that section of your pacman.conf into a post, thanks!

_________________
Marc

The views expressed are my own and do not necessarily reflect the views of my employer.


Top
 Profile  
 
 Post subject: Re: OwnCloud SOLVED!
PostPosted: Thu Jan 03, 2013 1:48 pm 
Offline
Joined: Mon Mar 20, 2006 11:39 am
Posts: 33
Sorry for a bit late answer, here are the two lines that define it in /etc/pacman.conf:

[core-testing]
Server = http://linhes.org/repo/$arch/$repo


Top
 Profile  
 
 Post subject: Re: OwnCloud SOLVED!
PostPosted: Fri Jan 04, 2013 3:53 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1530
Location: California
mikavir wrote:
Sorry for a bit late answer, here are the two lines that define it in /etc/pacman.conf:

[core-testing]
Server = http://linhes.org/repo/$arch/$repo

Thanks for the pointer! I have it installed and running. I am now trying to enable https access so that it is safe to expose it outside my firewall. Have you figured out how to do this yet? I tried following these instructions, but it cut off all access to the webserver...

Marc

_________________
Marc

The views expressed are my own and do not necessarily reflect the views of my employer.


Top
 Profile  
 
 Post subject: Re: OwnCloud SOLVED!
PostPosted: Sun Jan 06, 2013 10:44 am 
Offline
Joined: Mon Mar 20, 2006 11:39 am
Posts: 33
Quote:
I have it installed and running.

Nice :)
I haven't had time to think about securing the connection, though...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu