Pogoplug v2 & owncloud

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: Pogoplug v2 & owncloud

Postby maxim » Thu Oct 18, 2012 9:00 pm

Sorry I don't know what the problem could be..

How does your /srv/http/owncloud look like? My look like this:

$this->bbcode_second_pass_code('', '/srv/http/owncloud/
├── config
│   └── config.php
└── data
├── index.html
├── maxim
│   └── files
└── owncloud.db')

And my /srv/http/owncloud/config/config.php like this:

$this->bbcode_second_pass_code('', '<?php
$CONFIG = array(
"passwordsalt" => '*****************',
"datadirectory" => '/srv/http/owncloud/data',
"dbtype" => 'sqlite3',
"version" => '4.0.4',
"installed" => true,
);
?>')

Have you tried removing all the packages and reinstalling it again..?
PogoPlug v2 Pink, w/ transmission, flexget, nfs, owncloud..
maxim
 
Posts: 9
Joined: Sun Jun 19, 2011 7:25 pm

Re: Pogoplug v2 & owncloud

Postby moonman » Fri Oct 19, 2012 6:04 am

Got 4.5 working with lighttpd + php-fpm. Apache is tooooooo heavyweight for the plugs.

In addition to maxim's instructions, in php.ini enable (ucnomment) exnension=iconv.so. I don't know if gd is installed by default, but you can install it with pacman -Sy php-gd.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogoplug v2 & owncloud

Postby NicktheEvil » Sat Nov 24, 2012 8:51 pm

Thank you to Maxim. Because of your post I now have owncloud working on my pogoplug.

The only thing I want to fix is the web address in which owncloud is accessed. When i go to http://myserver.com/ it takes me to my owncloud page. But eventually i'd like to use that space for a small personal website. how do I change owncloud to be accessed at http://myserver.com/owncloud ?
NicktheEvil
 
Posts: 6
Joined: Sat Aug 18, 2012 1:04 am

Re: Pogoplug v2 & owncloud

Postby ricktsd » Fri Mar 01, 2013 6:43 pm

i'm getting this when trying to install

$this->bbcode_second_pass_code('', '
[user@pogoplug ~]# pacman -S owncloud
resolving dependencies...
looking for inter-conflicts...

Targets (4): php-5.4.11-2 php-gd-5.4.11-2 php-intl-5.4.11-2 owncloud-4.5.6-1

Total Download Size: 10.73 MiB
Total Installed Size: 58.13 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
error: failed retrieving file 'php-5.4.11-2-arm.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files from extra
error: failed retrieving file 'php-gd-5.4.11-2-arm.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files from extra
error: failed retrieving file 'php-intl-5.4.11-2-arm.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files from extra
:: Retrieving packages from aur...
error: failed retrieving file 'owncloud-4.5.6-1-any.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files from aur
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
')

are the packages no longer available?
ricktsd
 
Posts: 9
Joined: Sun Mar 04, 2012 10:33 pm

Re: Pogoplug v2 & owncloud

Postby moonman » Fri Mar 01, 2013 6:59 pm

use pacman -Sy instead of -S
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogoplug v2 & owncloud

Postby grayman4hire » Fri Mar 01, 2013 9:44 pm

I'm planning on setting up owncloud on my E02 tonight or this weekend.

I did a quick search yesterday and noticed that the Arch Linux Owncloud wiki was recently updated - https://wiki.archlinux.org/index.php/Owncloud

Just want to get some quick input before I start. Should I just stick with the wiki? Thanks
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: Pogoplug v2 & owncloud

Postby ricktsd » Sun Mar 03, 2013 12:03 pm

$this->bbcode_second_pass_quote('moonman', 'u')se pacman -Sy instead of -S


thanks moonman.
ricktsd
 
Posts: 9
Joined: Sun Mar 04, 2012 10:33 pm

Re: Pogoplug v2 & owncloud

Postby grayman4hire » Mon Mar 04, 2013 6:12 pm

I didn't get too far with my owncloud installation this weekend, but i thought I'll share what I did so far. Maybe some more experience users will make some recommendations:

I went with nginx as the webserver (and sqlite3). Not sure if this was the best idea since I never even heard of it until I attemped to install owncloud. But as I understand it, ngnix is the better choice versus apache because its more light weight and better suited for the pogoplug (plus I heard archlinuxarm.org is running it).

Here is a somewhat dated tutorial I'm using - http://dthpham.me/post/21425839861/inst ... -archlinux

The nginx.conf in the above tutorial doesn't work, so I guess I need help with that. There's some discussion on this topic here - http://forum.owncloud.org/viewtopic.php?f=3&t=8447

I also need some help setting up the certificates for ssl.

$this->bbcode_second_pass_code('', '
pacman -S owncloud
pacman -S nginx php-fpm sqlite3

cd /srv/http
cp -R /usr/share/webapps/owncloud .

chown http:http owncloud
chown http:http owncloud/config

#backup config
cp /etc/nginx/nginx.conf nginx.conf.original

#modify nginx.conf

nano /etc/php/php.ini

#Uncomment extensions in /etc/php/php.ini
# gd.so
# xmlrpc.so
# zip.so
# iconv.so

#using sqlite3
#sqlite.so #can't find it
#sqlite3.so
#pdo_sqlite.so

systemctl start php-fpm
systemctl start nginx #currently failing because of my nginx.conf

')
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: Pogoplug v2 & owncloud

Postby servili007 » Sat Mar 30, 2013 5:20 pm

I'm successfully running nginx with ssl and uwsgi (+php) to get owncloud up and running using my attached external drive for data. I'm on owncloud 5.0 and I have to say that things load pretty slowly, but it's usable. What kind of load times are people having with php-fpm in OC5.0? There are still music app issues and the like which are in the bugtracker, but it seems okay so far. I've limited uploads to 60mb as it seems like writes fail otherwise.
servili007
 
Posts: 8
Joined: Mon Feb 25, 2013 6:25 am

Re: Pogoplug v2 & owncloud

Postby grayman4hire » Mon Apr 01, 2013 3:05 am

I got owncloud 5 running with nginx, nginx, php-fpm with ssl.

I would say it's not fast enough for me to be really usable (more as a lab env). Lots of outstanding bugs in owncloud 5 too it seems.
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 8 guests