michalpolkowski / alt-f

Automatically exported from code.google.com/p/alt-f
0 stars 0 forks source link

Owncloud install problems #91

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
-Install owncloud

What is the expected output? What do you see instead?

It downloads all needed packages and then installs them exept of owncloud. 
gives back error 1.

when the process lighttpd is started under network/services and try to install 
it again then it installes ok.

What Alt-F version are you using? Have you flashed it?

Alt-f 0.1RC2, yes flashed

What is the box hardware revision level? A1, B1 or C1? (look at the label
at the box bottom)

B1

What is your disk configuration? Standard, RAID (what level)...

Standard. (using flashdisk for package install)

What operating system are you using on your computer? Using what browser?

Latest version of firefox.

Please provide any additional information below.

Tried getting owncloud to work.
After some trail and error found the problem.

When you install owncloud it makes a directory with all the files under: htdocs.

But when you change the path to /htdocs/owncloud it does change the directory 
to owncloud. but it makes a new directory :htdocs under /htdocs/owncloud.

I only get it working changing the name of owncloud dir to htdocs.

I think this is a bug and the htdocs dir only needs to be created during 
packages install and not after every change of the server root.

Original issue reported on code.google.com by KPScha...@gmail.com on 23 Apr 2012 at 2:07

GoogleCodeExporter commented 9 years ago
> It downloads all needed packages and then installs them exept of owncloud. 
gives back error 1.

Didn't the error message display a very visible warning saying that you have to 
configure lighttpd (using its web page under services->network) before 
installing ownCloud?

This is because owncloud is extracted as a subdirectory of 
<server-root>/htdocs, and <server-root> is read from lighttpd configuration 
file.
<server-root> must be on a filesystem, such as /mnt/sda2, not just /mnt (or you 
will loose all your data upon reboot)

On my tests, when configuring lighttpd, I set "Server root: /mnt/md0/WebData", 
then continued to install owncloud, which performed fine:

~ # ls -l /mnt/md0/WebData/htdocs/
total 16
-rw-r--r--    1 root     root            41 Apr 15 18:21 hello.html
-rw-r--r--    1 root     root            20 Apr 15 18:21 hello.php
drwxr-xr-x   13 lighttpd network       4096 Apr 15 18:25 owncloud
drwxr-xr-x    3 lighttpd network       4096 Apr 15 18:28 webdav

Do you think that this is not clear?
How could the instructions/installation be improved?

Original comment by whoami.j...@gmail.com on 23 Apr 2012 at 3:31

GoogleCodeExporter commented 9 years ago
I had to configure lightttpd first and  disable webdav. Afeter that all worked 
fine.

Original comment by limit...@gmail.com on 15 Jun 2012 at 12:21