Page 1 of 2

[Howto] install OwnCloud

Posted: 23 Jun 2012 09:13
by raulfg3
Note: In latest 9.1.0.1.431 and UP is NOT necesary to install php modules, in this case please read the HOWTO write by Daoyama: viewtopic.php?f=48&t=1606


Prerequisites:
This howto is for a full install with space to install aditional packages (1 or 2 GB free is good for other packages installations) so please do not use full install with default 384MB in size for "/" boot partition.

UPDATE sea1150:
Now the web server nas4free works on behalf of the user www:www (!!! Do not forget about it !!!). Change the rights to the folder the files are ownCloud:

Code: Select all

chown -R www:www /path_to_owncloud.
Everything works fine on all versions of nas4free, including 9.0.0.1.144


1- configure web server ( this is easy) I point to /mnt/web and port 99
2- download owncloud from his page: http://owncloud.org/
3- unpack onto /mnt/web so index.php are accesible by FreeNAS web server
4- Install PHP5, to do this conect to your NAS4Free Box by SSH and execute this command one by one:

Code: Select all

# pkg_add -r php5
# pkg_add -r php5-extensions
# pkg_add -r php5-xmlrpc
# pkg_add -r php5-gettext
# pkg_add -r php5-mcrypt
# pkg_add -r php5-mbstring
# pkg_add -r php5-zip
# pkg_add -r php5-gd
# mv /usr/local/bin/php /usr/local/bin/php-cli
# cp /usr/local/bin/php-cgi /usr/local/bin/php
After this you may obtain an output without errors like this:

Code: Select all

root@192.168.1.17's password:
Last login: Tue Apr 10 15:27:33 2012
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

Welcome to Nas4Free!

rnas:~# pkg_add -r php5
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/php5.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/pcre-8.20.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libxml2-2.7.8_1.tbz... Done.
rnas:~# pkg_add -r php5-extensions
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/php5-extensions.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/sqlite3-3.7.9.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-xmlwriter-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-xml-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-tokenizer-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-sqlite3-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-simplexml-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-session-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-sqlite-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-posix-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-pdo-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-pdo_sqlite-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-json-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-iconv-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-hash-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-filter-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-dom-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-xmlreader-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-ctype-5.3.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/php5-phar-5.3.8.tbz... Done.
rnas:~# pkg_add -r php5-xmlrpc
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/php5-xmlrpc.tbz... Done.
rnas:~# pkg_add -r php5-gettext
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/php5-gettext.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/gettext-0.18.1.1.tbz... Done.
rnas:~# pkg_add -r php5-mcrypt
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/php5-mcrypt.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libmcrypt-2.5.8.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libltdl-2.4_1.tbz... Done.
rnas:~# pkg_add -r php5-mbstring
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/php5-mbstring.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/oniguruma-4.7.1.tbz... Done.
rnas:~# pkg_add -r php5-zip
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/php5-zip.tbz... Done.
rnas:~# pkg_add -r php5-gd
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/php5-gd.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/xextproto-7.2.0.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/printproto-1.0.5.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/kbproto-1.0.5.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/xproto-7.0.22.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libXau-1.0.6.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libXdmcp-1.1.0.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libICE-1.0.7,1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libSM-1.2.0,1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libpthread-stubs-0.3_3.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libxcb-1.7.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libX11-1.4.4,1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libXext-1.3.0_1,1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libXp-1.0.1,1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libXt-1.0.9.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libXmu-1.1.0,1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libXpm-3.5.9.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/libXaw-1.0.8,1.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/All/t1lib-5.1.2_1,1.tbz... Done.
rnas:~# mv /usr/local/bin/php /usr/local/bin/php-cli
rnas:~# cp /usr/local/bin/php-cgi /usr/local/bin/php
rnas:~#
5 - Test the job http://nas4free:99, and explorer show:

Image

Done.



usefull links:

http://sourceforge.net/apps/phpbb/nas4f ... ?f=17&t=16
https://sourceforge.net/apps/phpbb/free ... 2e1ef082a0


Thanks to: alexey123 and sea1150

Re: [Howto] install OwnCloud

Posted: 02 Jul 2012 00:05
by xero315
hi thanks for your great tutorial,

but i only get this error: :(

nas:~# pkg_add -r php5
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports ... t/php5.tbz: No address record
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports ... t/php5.tbz' by URL

can you help me ? what i'm doing wrong?

thank

Re: [Howto] install OwnCloud

Posted: 02 Jul 2012 07:34
by raulfg3
Check that you have properly config your Internet acess from NAS, do a ping from shell, and revise your DNS.


PD: DNS is configured on System|General Setup -> DNS settings

Re: [Howto] install OwnCloud

Posted: 02 Jul 2012 22:29
by xero315
get some new problem at this code: pkg_add -r php5-gettext

Code: Select all

share/gettext/projects/team-address: Write to restore size failed
share/gettext/styles/po-default.css: Write to restore size failed
share/gettext/styles/po-emacs-x.css: Write to restore size failed
share/gettext/styles/po-emacs-xterm.css: Write to restore size failed
share/gettext/styles/po-emacs-xterm16.css: Write to restore size failed
share/gettext/styles/po-emacs-xterm256.css: Write to restore size failed
share/gettext/styles/po-vim.css: Write to restore size failed
share/locale/be/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/be/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/bg/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/bg/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/ca/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/ca/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/cs/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/cs/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/da/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/da/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/de/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/de/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/el/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/el/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/en@boldquot/LC_MESSAGES/gettext-runtime.mo: Write to restore size f                                                                                        ailed
share/locale/en@boldquot/LC_MESSAGES/gettext-tools.mo: Write to restore size fai                                                                                        led
share/locale/en@quot/LC_MESSAGES/gettext-runtime.mo: Write to restore size faile                                                                                        d
share/locale/en@quot/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/eo/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/es/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/es/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/et/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/et/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/eu/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/fi/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/fi/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/fr/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/fr/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/ga/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/gl/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/gl/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/id/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/id/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/it/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/it/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/ja/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/ja/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/ko/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/ko/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/locale.alias: Write to restore size failed
share/locale/nb/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/nb/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/nl/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/nl/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/nn/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/nn/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/pl/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/pl/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/pt/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/pt/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/pt_BR/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/pt_BR/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/ro/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/ro/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/ru/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/ru/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/sk/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/sk/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/sl/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/sl/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/sr/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/sr/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/sv/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/sv/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/tr/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/tr/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/uk/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/uk/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/vi/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/vi/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/zh_CN/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/zh_CN/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
share/locale/zh_HK/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/zh_TW/LC_MESSAGES/gettext-runtime.mo: Write to restore size failed
share/locale/zh_TW/LC_MESSAGES/gettext-tools.mo: Write to restore size failed
tar: (Empty error message)
tar: Error exit delayed from previous errors.
pkg_add: extract_plist: can not invoke 10709 byte tar pipeline: /usr/bin/tar cf                                                                                         - lib/charset.alias lib/libasprintf.a lib/libasprintf.la lib/libasprintf.so lib/                                                                                        libasprintf.so.0 lib/libgettextlib-0.18.1.so lib/libgettextlib.la lib/libgettext                                                                                        lib.so lib/libgettextpo.a lib/libgettextpo.la lib/libgettextpo.so lib/libgettext                                                                                        po.so.5 lib/libgettextsrc.la lib/libgettextsrc-0.18.1.so lib/libgettextsrc.so li                                                                                        b/libintl.a lib/libintl.la lib/libintl.so lib/libintl.so.9 lib/gettext/hostname                                                                                         lib/gettext/project-id lib/gettext/urlget lib/gettext/user-email share/aclocal/c                                                                                        odeset.m4 share/aclocal/gettext.m4 share/aclocal/fcntl-o.m4 share/aclocal/glibc2                                                                                        .m4 share/aclocal/glibc21.m4 share/aclocal/iconv.m4 share/aclocal/intdiv0.m4 sha                                                                                        re/aclocal/intl.m4 share/aclocal/intldir.m4 share/aclocal/intlmacosx.m4 share/ac                                                                                        local/intmax.m4 share/aclocal/inttypes-pri.m4 share/aclocal/inttypes\_h.m4 share                                                                                        /aclocal/lcmessage.m4 share/aclocal/lib-ld.m4 share/aclocal/lib-link.m4 share/ac                                                                                        local/lib-prefix.m4 share/aclocal/lock.m4 share/aclocal/longlong.m4 share/acloca                                                                                        l/nls.m4 share/aclocal/po.m4 share/aclocal/printf-posix.m4 share/aclocal/progtes                                                                                        t.m4 share/aclocal/size\_max.m4 share/aclocal/stdint\_h.m4 share/aclocal/threadl                                                                                        ib.m4 share/aclocal/uintmax\_t.m4 share/aclocal/visibility.m4 share/aclocal/wcha                                                                                        r\_t.m4 share/aclocal/wint\_t.m4 share/aclocal/xsize.m4 share/doc/gettext/FAQ.ht                                                                                        ml share/doc/gettext/csharpdoc/GNU\_Gettext.html share/doc/gettext/csharpdoc/GNU                                                                                        \_Gettext\_GettextResourceManager.html share/doc/gettext/csharpdoc/GNU\_Gettext\                                                                                        _GettextResourceSet.html share/doc/gettext/csharpdoc/begin.html share/doc/gettex                                                                                        t/csharpdoc/index.html share/doc/gettext/csharpdoc/namespaces.html share/doc/get                                                                                        text/examples/build-aux/csharpcomp.m4 share/doc/gettext/examples/build-aux/cshar                                                                                        pcomp.sh.in share/doc/gettext/examples/build-aux/csharpexec.m4 share/doc/gettext                                                                                        /examples/build-aux/csharpexec.sh.in share/doc/gettext/examples/build-aux/csharp                                                                                        exec-test.exe share/doc/gettext/examples/build-aux/gcj.m4 share/doc/gettext/exam                                                                                        ples/build-aux/javacomp.m4 share/doc/gettext/examples/build-aux/javacomp.sh.in s                                                                                        hare/doc/gettext/examples/build-aux/javaexec.m4 share/doc/gettext/examples/build                                                                                        -aux/javaexec.sh.in share/doc/gettext/gettext\_1.html share/doc/gettext/gettext\                                                                                        _2.html share/doc/gettext/gettext\_3.html share/doc/gettext/gettext\_4.html shar                                                                                        e/doc/gettext/gettext\_5.html share/doc/gettext/gettext\_6.html share/doc/gettex                                                                                        t/gettext\_7.html share/doc/gettext/gettext\_8.html share/doc/gettext/gettext\_9                                                                                        .html share/doc/gettext/gettext\_10.html share/doc/gettext/gettext\_11.html shar                                                                                        e/doc/gettext/gettext\_12.html share/doc/gettext/gettext\_13.html share/doc/gett                                                                                        ext/gettext\_14.html share/doc/gettext/gettext\_15.html share/doc/gettext/gettex                                                                                        t\_16.html share/doc/gettext/gettext\_17.html share/doc/gettext/gettext\_18.html                                                                                         share/doc/gettext/gettext\_19.html share/doc/gettext/gettext\_20.html share/doc                                                                                        /gettext/gettext\_21.html share/doc/gettext/gettext\_22.html share/doc/gettext/g                                                                                        ettext\_23.html share/doc/gettext/gettext\_24.html share/doc/gettext/gettext\_25                                                                                        .html share/doc/gettext/gettext\_foot.html share/doc/gettext/gettext\_toc.html s                                                                                        hare/doc/gettext/javadoc2/allclasses-frame.html share/doc/gettext/javadoc2/depre                                                                                        cated-list.html share/doc/gettext/javadoc2/gnu/gettext/GettextResource.html shar                                                                                        e/doc/gettext/javadoc2/gnu/gettext/package-frame.html share/doc/gettext/javadoc2                                                                                        /gnu/gettext/package-summary.html share/doc/gettext/javadoc2/gnu/gettext/package                                                                                        -tree.html share/doc/gettext/javadoc2/help-doc.html share/doc/gettext/javadoc2/i                                                                                        ndex-all.html share/doc/gettext/javadoc2/index.html share/doc/gettext/javadoc2/o                                                                                        verview-tree.html share/doc/gettext/javadoc2/package-list share/doc/gettext/java                                                                                        doc2/packages.html share/doc/gettext/javadoc2/serialized-form.html share/doc/get                                                                                        text/javadoc2/stylesheet.css share/doc/gettext/tutorial.html share/doc/libasprin                                                                                        tf/autosprintf\_all.html share/emacs/site-lisp/po-compat.el share/emacs/site-lis                                                                                        p/po-mode.el share/gettext/ABOUT-NLS share/gettext/archive.dir.tar.gz share/gett                                                                                        ext/config.rpath share/gettext/gettext.h share/gettext/intl/COPYING.LIB-2.0 shar                                                                                        e/gettext/intl/COPYING.LIB-2.1 share/gettext/intl/ChangeLog share/gettext/intl/M                                                                                        akefile.in share/gettext/intl/VERSION share/gettext/intl/bindtextdom.c share/get                                                                                        text/intl/config.charset share/gettext/intl/dcgettext.c share/gettext/intl/dcige                                                                                        ttext.c share/gettext/intl/dcngettext.c share/gettext/intl/dgettext.c share/gett                                                                                        ext/intl/dngettext.c share/gettext/intl/eval-plural.h share/gettext/intl/explode                                                                                        name.c share/gettext/intl/export.h share/gettext/intl/finddomain.c share/gettext                                                                                        /intl/gettext.c share/gettext/intl/gettextP.h share/gettext/intl/gmo.h share/get                                                                                        text/intl/hash-string.c share/gettext/intl/hash-string.h share/gettext/intl/intl                                                                                        -compat.c share/gettext/intl/intl-exports.c share/gettext/intl/l10nflist.c share                                                                                        /gettext/intl/langprefs.c share/gettext/intl/libgnuintl.h.in share/gettext/intl/                                                                                        libintl.rc share/gettext/intl/loadinfo.h share/gettext/intl/loadmsgcat.c share/g                                                                                        ettext/intl/localcharset.c share/gettext/intl/localcharset.h share/gettext/intl/                                                                                        locale.alias share/gettext/intl/localealias.c share/gettext/intl/localename.c sh                                                                                        are/gettext/intl/lock.c share/gettext/intl/lock.h share/gettext/intl/log.c share                                                                                        /gettext/intl/ngettext.c share/gettext/intl/os2compat.c share/gettext/intl/os2co                                                                                        mpat.h share/gettext/intl/osdep.c share/gettext/intl/plural-exp.c share/gettext/                                                                                        intl/plural-exp.h share/gettext/intl/plural.c share/gettext/intl/plural.y share/                                                                                        gettext/intl/printf-args.c share/gettext/intl/printf-args.h share/gettext/intl/p                                                                                        rintf-parse.c share/gettext/intl/printf-parse.h share/gettext/intl/printf.c shar                                                                                        e/gettext/intl/ref-add.sin share/gettext/intl/ref-del.sin share/gettext/intl/rel                                                                                        ocatable.c share/gettext/intl/relocatable.h share/gettext/intl/setlocale.c share                                                                                        /gettext/intl/textdomain.c share/gettext/intl/threadlib.c share/gettext/intl/tse                                                                                        arch.c share/gettext/intl/tsearch.h share/gettext/intl/vasnprintf.c share/gettex                                                                                        t/intl/vasnprintf.h share/gettext/intl/vasnwprintf.h share/gettext/intl/version.                                                                                        c share/gettext/intl/wprintf-parse.h share/gettext/intl/xsize.h share/gettext/ja                                                                                        vaversion.class share/gettext/msgunfmt.tcl share/gettext/po/Makefile.in.in share                                                                                        /gettext/po/Makevars.template share/gettext/po/Rules-quot share/gettext/po/boldq                                                                                        uot.sed share/gettext/po/en\@boldquot.header share/gettext/po/en\@quot.header sh                                                                                        are/gettext/po/insert-header.sin share/gettext/po/quot.sed share/gettext/po/remo                                                                                        ve-potcdate.sin share/gettext/projects/GNOME/team-address share/gettext/projects                                                                                        /GNOME/teams.html share/gettext/projects/GNOME/teams.url share/gettext/projects/                                                                                        GNOME/trigger share/gettext/projects/KDE/team-address share/gettext/projects/KDE                                                                                        /teams.html share/gettext/projects/KDE/teams.url share/gettext/projects/KDE/trig                                                                                        ger share/gettext/projects/TP/team-address share/gettext/projects/TP/teams.html                                                                                         share/gettext/projects/TP/teams.url share/gettext/projects/TP/trigger share/gett                                                                                        ext/projects/index share/gettext/projects/team-address share/gettext/styles/po-d                                                                                        efault.css share/gettext/styles/po-emacs-x.css share/gettext/styles/po-emacs-xte                                                                                        rm.css share/gettext/styles/po-emacs-xterm16.css share/gettext/styles/po-emacs-x                                                                                        term256.css share/gettext/styles/po-vim.css share/locale/be/LC\_MESSAGES/gettext                                                                                        -runtime.mo share/locale/be/LC\_MESSAGES/gettext-tools.mo share/locale/bg/LC\_ME                                                                                        SSAGES/gettext-runtime.mo share/locale/bg/LC\_MESSAGES/gettext-tools.mo share/lo                                                                                        cale/ca/LC\_MESSAGES/gettext-runtime.mo share/locale/ca/LC\_MESSAGES/gettext-too                                                                                        ls.mo share/locale/cs/LC\_MESSAGES/gettext-runtime.mo share/locale/cs/LC\_MESSAG                                                                                        ES/gettext-tools.mo share/locale/da/LC\_MESSAGES/gettext-runtime.mo share/locale                                                                                        /da/LC\_MESSAGES/gettext-tools.mo share/locale/de/LC\_MESSAGES/gettext-runtime.m                                                                                        o share/locale/de/LC\_MESSAGES/gettext-tools.mo share/locale/el/LC\_MESSAGES/get                                                                                        text-runtime.mo share/locale/el/LC\_MESSAGES/gettext-tools.mo share/locale/en\@b                                                                                        oldquot/LC\_MESSAGES/gettext-runtime.mo share/locale/en\@boldquot/LC\_MESSAGES/g                                                                                        ettext-tools.mo share/locale/en\@quot/LC\_MESSAGES/gettext-runtime.mo share/loca                                                                                        le/en\@quot/LC\_MESSAGES/gettext-tools.mo share/locale/eo/LC\_MESSAGES/gettext-r                                                                                        untime.mo share/locale/es/LC\_MESSAGES/gettext-runtime.mo share/locale/es/LC\_ME                                                                                        SSAGES/gettext-tools.mo share/locale/et/LC\_MESSAGES/gettext-runtime.mo share/lo                                                                                        cale/et/LC\_MESSAGES/gettext-tools.mo share/locale/eu/LC\_MESSAGES/gettext-tools                                                                                        .mo share/locale/fi/LC\_MESSAGES/gettext-runtime.mo share/locale/fi/LC\_MESSAGES                                                                                        /gettext-tools.mo share/locale/fr/LC\_MESSAGES/gettext-runtime.mo share/locale/f                                                                                        r/LC\_MESSAGES/gettext-tools.mo share/locale/ga/LC\_MESSAGES/gettext-runtime.mo                                                                                         share/locale/gl/LC\_MESSAGES/gettext-runtime.mo share/locale/gl/LC\_MESSAGES/get                                                                                        text-tools.mo share/locale/id/LC\_MESSAGES/gettext-runtime.mo share/locale/id/LC                                                                                        \_MESSAGES/gettext-tools.mo share/locale/it/LC\_MESSAGES/gettext-runtime.mo shar                                                                                        e/locale/it/LC\_MESSAGES/gettext-tools.mo share/locale/ja/LC\_MESSAGES/gettext-r                                                                                        untime.mo share/locale/ja/LC\_MESSAGES/gettext-tools.mo share/locale/ko/LC\_MESS                                                                                        AGES/gettext-runtime.mo share/locale/ko/LC\_MESSAGES/gettext-tools.mo share/loca                                                                                        le/locale.alias share/locale/nb/LC\_MESSAGES/gettext-runtime.mo share/locale/nb/                                                                                        LC\_MESSAGES/gettext-tools.mo share/locale/nl/LC\_MESSAGES/gettext-runtime.mo sh                                                                                        are/locale/nl/LC\_MESSAGES/gettext-tools.mo share/locale/nn/LC\_MESSAGES/gettext                                                                                        -runtime.mo share/locale/nn/LC\_MESSAGES/gettext-tools.mo share/locale/pl/LC\_ME                                                                                        SSAGES/gettext-runtime.mo share/locale/pl/LC\_MESSAGES/gettext-tools.mo share/lo                                                                                        cale/pt/LC\_MESSAGES/gettext-runtime.mo share/locale/pt/LC\_MESSAGES/gettext-too                                                                                        ls.mo share/locale/pt\_BR/LC\_MESSAGES/gettext-runtime.mo share/locale/pt\_BR/LC                                                                                        \_MESSAGES/gettext-tools.mo share/locale/ro/LC\_MESSAGES/gettext-runtime.mo shar                                                                                        e/locale/ro/LC\_MESSAGES/gettext-tools.mo share/locale/ru/LC\_MESSAGES/gettext-r                                                                                        untime.mo share/locale/ru/LC\_MESSAGES/gettext-tools.mo share/locale/sk/LC\_MESS                                                                                        AGES/gettext-runtime.mo share/locale/sk/LC\_MESSAGES/gettext-tools.mo share/loca                                                                                        le/sl/LC\_MESSAGES/gettext-runtime.mo share/locale/sl/LC\_MESSAGES/gettext-tools                                                                                        .mo share/locale/sr/LC\_MESSAGES/gettext-runtime.mo share/locale/sr/LC\_MESSAGES                                                                                        /gettext-tools.mo share/locale/sv/LC\_MESSAGES/gettext-runtime.mo share/locale/s                                                                                        v/LC\_MESSAGES/gettext-tools.mo share/locale/tr/LC\_MESSAGES/gettext-runtime.mo                                                                                         share/locale/tr/LC\_MESSAGES/gettext-tools.mo share/locale/uk/LC\_MESSAGES/gette                                                                                        xt-runtime.mo share/locale/uk/LC\_MESSAGES/gettext-tools.mo share/locale/vi/LC\_                                                                                        MESSAGES/gettext-runtime.mo share/locale/vi/LC\_MESSAGES/gettext-tools.mo share/                                                                                        locale/zh\_CN/LC\_MESSAGES/gettext-runtime.mo share/locale/zh\_CN/LC\_MESSAGES/g                                                                                        ettext-tools.mo share/locale/zh\_HK/LC\_MESSAGES/gettext-runtime.mo share/locale                                                                                        /zh\_TW/LC\_MESSAGES/gettext-runtime.mo share/locale/zh\_TW/LC\_MESSAGES/gettext                                                                                        -tools.mo|/usr/bin/tar --unlink -xpPf - -C /usr/local
pkg_add: pkg_add of dependency 'gettext-0.18.1.1' failed!
nas:~#

Re: [Howto] install OwnCloud

Posted: 02 Jul 2012 23:09
by xero315
is my disk space full?

Re: [Howto] install OwnCloud

Posted: 02 Jul 2012 23:15
by raulfg3
xero315 wrote:is my disk space full?
not sure, perhaps, check Diagnostics|Information|Space Used


Post how many space available have on "/" and remember that instructions are for full install not for embeded

Re: [Howto] install OwnCloud

Posted: 02 Jul 2012 23:28
by xero315
so there is the info...

sorry for my bad english.

Re: [Howto] install OwnCloud

Posted: 02 Jul 2012 23:35
by raulfg3
You have only 18MB free , so you need more space.

1 save your current config
2 use a new CF/USB key and boot Nas4Free CD
3 Install full Nas4Free on NEW CF/USB Key when promt for Space use max. posible ( Eg: if your CF/USB is 4GB use 2048MB <- you can't use 4096MB becuse your CF/USB is 4000MB or less)
4 boot new full install
5 restore config

Now you have a new full Nas4Free with more available space to install packages

PD: If somethings goes wrong, you only need to boot from old CF/USB , and restart 1,2,3,4,5 or what you want.

Re: [Howto] install OwnCloud

Posted: 02 Jul 2012 23:58
by xero315
i will test it... thx

Re: [Howto] install OwnCloud

Posted: 03 Jul 2012 21:20
by xero315
Hi i tested your ideas and it worked for me but only 2 hours... and now i get this error.


attachments removed

Re: [Howto] install OwnCloud

Posted: 03 Jul 2012 22:12
by xero315
and when i change the permissons i get this error

Re: [Howto] install OwnCloud

Posted: 03 Jul 2012 22:30
by raulfg3
atach your logs. NO idea what is the cause.

Re: [Howto] install OwnCloud

Posted: 03 Jul 2012 22:56
by xero315
got it i have forgot to give www permissions to wirte in owncloud...

but how i can put a new user on owncloud?? over the webinterface its not working.

Re: [Howto] install OwnCloud

Posted: 03 Jul 2012 23:09
by raulfg3
You need to use Web interface, woks for me, be patient and test for a time.

Re: [Howto] install OwnCloud

Posted: 04 Jul 2012 07:43
by josaic
Warning: session_start(): open(/tmp/sess_330e1e6d3ea29dbaf66c1b6e03d8e7bc, O_RDWR) failed: Permission denied (13) in /mnt/web/lib/base.php on line 277 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /mnt/web/lib/base.php:277) in /mnt/web/lib/base.php on line 277 Warning: Cannot modify header information - headers already sent by (output started at /mnt/web/lib/base.php:277) in /mnt/web/lib/template.php on line 162 Warning: Cannot modify header information - headers already sent by (output started at /mnt/web/lib/base.php:277) in /mnt/web/lib/template.php on line 163 Warning: Cannot modify header information - headers already sent by (output started at /mnt/web/lib/base.php:277) in /mnt/web/lib/template.php on line 164 Warning: Cannot modify header information - headers already sent by (output started at /mnt/web/lib/base.php:277) in /mnt/web/lib/template.php on line 162 Warning: Cannot modify header information - headers already sent by (output started at /mnt/web/lib/base.php:277) in /mnt/web/lib/template.php on line 163 Warning: Cannot modify header information - headers already sent by (output started at /mnt/web/lib/base.php:277) in /mnt/web/lib/template.php on line 164

PHP module GD is not installed.

Please ask your server administrator to install the module.

ownCloud – web services under your control
Warning: Unknown: open(/tmp/sess_330e1e6d3ea29dbaf66c1b6e03d8e7bc, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0


Got this error when try to access http://192.168.7.65:99

Re: [Howto] install OwnCloud

Posted: 04 Jul 2012 07:49
by raulfg3
josaic wrote:PHP module GD is not installed.
If you see my first post You need to install this module in last line:

Code: Select all

# pkg_add -r php5
# pkg_add -r php5-extensions
# pkg_add -r php5-xmlrpc
# pkg_add -r php5-gettext
# pkg_add -r php5-mcrypt
# pkg_add -r php5-mbstring
# pcg_add -r php5-zip
# pkg_add -r php5-gd
# mv /usr/local/bin/php /usr/local/bin/php-cli
# cp /usr/local/bin/php-cgi /usr/local/bin/php

So please do all that is described in my first post

Re: [Howto] install OwnCloud

Posted: 04 Jul 2012 08:18
by josaic
raulfg3 wrote:
josaic wrote:PHP module GD is not installed.
If you see my first post You need to install this module in last line:

Code: Select all

# pkg_add -r php5
# pkg_add -r php5-extensions
# pkg_add -r php5-xmlrpc
# pkg_add -r php5-gettext
# pkg_add -r php5-mcrypt
# pkg_add -r php5-mbstring
# pcg_add -r php5-zip
# pkg_add -r php5-gd
# mv /usr/local/bin/php /usr/local/bin/php-cli
# cp /usr/local/bin/php-cgi /usr/local/bin/php

So please do all that is described in my first post

Hi.. Already done that..

Here's the log..
Last login: Wed Jul 4 13:52:45 2012 from 192.168.7.157
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
The Regents of the University of California. All rights reserved.

Welcome to FreeNAS!

nas4free:~#
nas4free:~# pkg_add -r php5
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... t/php5.tbz... Done.
pkg_add: package 'php5-5.3.8' or its older version already installed
nas4free:~# pkg_add -r php5-extensions
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... nsions.tbz... Done.
pkg_add: package 'php5-extensions-1.6' or its older version already installed
nas4free:~# pkg_add -r php5-xmlrpc
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... xmlrpc.tbz... Done.
pkg_add: package 'php5-xmlrpc-5.3.8' or its older version already installed
nas4free:~# pkg_add -r php5-xmlrpc
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... xmlrpc.tbz... Done.
pkg_add: package 'php5-xmlrpc-5.3.8' or its older version already installed
nas4free:~# pkg_add -r php5-gettext
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... ettext.tbz... Done.
pkg_add: package 'php5-gettext-5.3.8' or its older version already installed
nas4free:~# pkg_add -r php5-mcrypt
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... mcrypt.tbz... Done.
pkg_add: package 'php5-mcrypt-5.3.8' or its older version already installed
nas4free:~# pkg_add -r php5-mbstring
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... string.tbz... Done.
pkg_add: package 'php5-mbstring-5.3.8' or its older version already installed
nas4free:~# pcg_add -r php5-zip
pcg_add: Command not found.
nas4free:~# pkg_add -r php5-zip
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... p5-zip.tbz... Done.
pkg_add: package 'php5-zip-5.3.8' or its older version already installed
nas4free:~# pkg_add -r php5-gd
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports ... hp5-gd.tbz... Done.
pkg_add: package 'php5-gd-5.3.8' or its older version already installed
nas4free:~# # mv /usr/local/bin/php /usr/local/bin/php-cli
#: Command not found.
nas4free:~# # cp /usr/local/bin/php-cgi /usr/local/bin/php
#: Command not found.
nas4free:~# mv /usr/local/bin/php /usr/local/bin/php-cli
nas4free:~# cp /usr/local/bin/php-cgi /usr/local/bin/php
nas4free:~#

Re: [Howto] install OwnCloud

Posted: 04 Jul 2012 09:03
by raulfg3
Do you upgrade Nas4free? if yes you need to do a fresh install of Nas4Free and do a freh install of Php Packages that need Owncloud.


PHP is updated so your installed packes do not work , see PHP version upgrades on: http://nas4free.svn.sourceforge.net/vie ... /?view=log

your php version= pkg_add: package 'php5-gd-5.3.8' or its older version already installed

Re: [Howto] install OwnCloud

Posted: 04 Jul 2012 09:13
by josaic
raulfg3 wrote:Do you upgrade Nas4free? if yes you need to do a fresh install of Nas4Free and do a freh install of Php Packages that need Owncloud.


PHP is updated so your installed packes do not work , see PHP version upgrades on: http://nas4free.svn.sourceforge.net/vie ... /?view=log

your php version= pkg_add: package 'php5-gd-5.3.8' or its older version already installed
Yes, upgraded from FreeNAS version. I will try to do a fresh install.
Thank you.

Re: [Howto] install OwnCloud

Posted: 04 Jul 2012 09:56
by raulfg3
Sorry but I don't know how to update php modules if php is upgrade when upgrade nas4free , I'm not a programmer, and my howto only covers the first installation of ownclod/php. perhaps someone whit more experience can guide in this case.


PD: To avoid this problem I ask to developers of NAS4Free that include faulting packages by default, but still are waiting.

edited: I find this usefull info: http://www.openbsd.org/faq/faq15.html#PkgUpdate

this mead that if you do

Code: Select all

pkg_add -u 
you UPDATE all your packages ( not tested).

Re: [Howto] install OwnCloud

Posted: 04 Jul 2012 13:11
by sea1150
xero315 wrote:Hi i tested your ideas and it worked for me but only 2 hours... and now i get this error.
Now the web server nas4free works on behalf of the user www:www (!!! Do not forget about it !!!). Change the rights to the folder the files are ownCloud:
chown -R www:www /path_to_owncloud.
Everything works fine on all versions of nas4free, including 9.0.0.1.144
PS: raulfg3, add in the first post please it.

Re: [Howto] install OwnCloud

Posted: 12 Jul 2012 06:01
by Roman
Have the same problem, Owncloud error message: php5-gd not installed.

pkg_add -u does not work with nas4free.

How do i update from 9.0.0.1.141 to .144 (or .145)?
Re-compile?

Thanks.

Re: [Howto] install OwnCloud

Posted: 12 Jul 2012 08:42
by raulfg3
Sorry, I'm not a programer, , I can't help you, perhaps someone read this post and have/offer a sollution.

Re: [Howto] install OwnCloud

Posted: 12 Jul 2012 13:12
by VenimK
Roman wrote: How do i update from 9.0.0.1.141 to .144 (or .145)?
Re-compile?
Thanks.
First use http://MYNAS4freeIP/system_backup.php
And create a backup file 1st (better safe then sorry)

Then just go to http://MYNAS4freeIP/system_firmware.php.
Enable Firmware Update...
After that download de updated Image on your Desktop or so..
After download change the path where the downloaded Image can be found.
Last but not least....
Click on Update Firmware

NAs will reboot automatic ....
After reboot checkout your updated NAS ..

BG
VenimK

Re: [Howto] install OwnCloud

Posted: 12 Jul 2012 14:43
by Roman
Thank you raulfg3 and VenimK for the reply.
VenimK.
I have a "Full" installation (for the time being), not embedded.
1. Can't do Firmware update.
2. There is no .145 version/image available for download, latest downloadable is ".141" on "sourceforge" and i have that.

My problem is: Owncloud error: php GD module not installed.
Seems like the .141 Nas4free php installation has the older version of php-GD, it is not matching the version Owncloud would like to see.
Nas4free patch ".142" does have an update for php5-5.3.8 to 5.4.4.
How do i get that to update my installation?
Thank you

Roman

Re: [Howto] install OwnCloud

Posted: 15 Jul 2012 07:21
by Roman
Ok, got my cloud up.

Updated (new installation) nas4free (.148 version).
Installed minidlna and owncloud.
All works, for now, untill i start changing/adding things.

Owncloud issues:
I did have to use full/absolute URL to get the correct php package versions.
For example:
pkg_add -r ftp://ftp.freebsd.org/pub/FreeBSD/ports ... -5.4.4.tbz
to get the latest php5-5.4.4 version and not the php5-5.3.8 version from "../packages-9.0-release/" folder.
Same way to get all the other packages as shown in the first post by raulfg3.
The "release" folder is the default setting for nas4free installation, don't know how/where to change that.

I could not add new Users to Owncloud, found this solution and it worked:
http://forum.owncloud.org/viewtopic.php ... 00d3537449
Delete 1 line in "/owncloud/settings/js/users.js"
line 216, the last line i think.
location.reload();

Always use Mozilla, not IE.

Is there a better way to do Owncloud/php update?

ROman

Re: [Howto] install OwnCloud

Posted: 30 Oct 2012 11:22
by slance1
Hi,
I have the following problem.I tried to install php as described in first post,but after step:
pkg_add -r php5-gettext
or:
pkg_add -r php5-mcrypt
I get "can't fetch" and i can't proceed, every step after that i get "can't fech" and my GUI stops working.
I use NAS4Free-x86-LiveCD-9.1.0.1.394 version instaled on my drive- fresh install.Any suggestions.
Thanks...

Re: [Howto] install OwnCloud

Posted: 30 Oct 2012 13:03
by raulfg3
slance1 wrote:I get "can't fetch" and i can't proceed, every step after that i get "can't fech" and my GUI stops working.
I use NAS4Free-x86-LiveCD-9.1.0.1.394 version instaled on my drive- fresh install.Any suggestions.
Thanks...
this is because you use liveCD install = embeded , and space on boot device is limited.

This HOWTO is designed for FULL install only.

Please have a look at my new [HOWTO] Install Owncloud inside one Jail, because instructions are valid for ALL types of install (full, embeded, etc...).

And you don't broke owncloud if upgrade Nas4Free like happens with this install ( because php is updated for Nas4Free and broke dependencies with manually installed PHP packages that you install to make owncloud working).

Re: [Howto] install OwnCloud

Posted: 16 Feb 2013 13:36
by tneo
I'm trying to set-up nas4free (9.1.0.1 - Sandstorm (revision 636)) and owncloud (4.5.6) within a Virtualbox environment. I have connection with the Internet with the set-up, however I can't install packages, the shell returns:

Code: Select all

nas4free:/mnt/www/owncloud# pkg_add -r php5
Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.1-release/Latest/php5.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.1-release/Latest/php5.tbz' by URL
Pinging is OK:

Code: Select all

nas4free:/mnt/www/owncloud# ping ftp.freebsd.org
PING ftp.freebsd.org (193.162.146.4): 56 data bytes
64 bytes from 193.162.146.4: icmp_seq=0 ttl=58 time=47.365 ms
64 bytes from 193.162.146.4: icmp_seq=1 ttl=58 time=46.059 ms
^C
--- ftp.freebsd.org ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 46.059/46.712/47.365/0.653 ms
Any help is appreciated.

Re: [Howto] install OwnCloud

Posted: 16 Feb 2013 15:33
by raulfg3
solved here:
viewtopic.php?f=72&t=2646
viewtopic.php?f=72&t=1732

Code: Select all

setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-current/Latest/