robertfantini's picture

Hello,

 I attempted to make an iso of owncloud.  That did not work, here is the result:

 

root@tkldev products/owncloud# make
deck /turnkey/fab/bootstraps/jessie build/bootstrap
fab-apply-overlay /turnkey/fab/common/overlays/turnkey.d/apt build/bootstrap;
fab-chroot build/bootstrap --script /turnkey/fab/common/conf/turnkey.d/apt;
fab-chroot build/bootstrap "echo nameserver 8.8.8.8 > /etc/resolv.conf";
fab-chroot build/bootstrap "echo nameserver 8.8.4.4 >> /etc/resolv.conf";
touch build/stamps/bootstrap

..

Setting up owncloud-app-user-webdavauth (8.0.3-2) ...
Setting up owncloud-app-gallery (8.0.3-2) ...
Setting up owncloud-server (8.0.3-2) ...
Setting up owncloud-config-apache (8.0.3-2) ...
Enabling conf owncloud.
To activate the new configuration, you need to run:
  service apache2 reload
[FAIL] Reloading web server: apache2 failed!
[warn] Apache2 is not running ... (warning).
apache2_invoke: Enable module rewrite
[....] Restarting web server: apache2AH00557: apache2: apr_sockaddr_info_get() failed for tkldev
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
. ok 
apache2_invoke owncloud: already enabled
[ ok ] Reloading web server: apache2.
Setting up owncloud (8.0.3-2) ...
Processing triggers for libc-bin (2.19-18) ...
Processing triggers for libapache2-mod-php5 (5.6.7+dfsg-1) ...
+ TEMPLATE=/var/www/owncloud/core/templates/layout.guest.php
+ sed -i 's|<footer>.*|<footer><p class='\''info'\'' style='\''width: auto \!important;'\''><a href='\''http://www.turnkeylinux.org/owncloud'\''>ownCloud Appliance</a> \&ndash; Powered by <a href='\''http://www.turnkeylinux.org'\''>TurnKey Linux</a></p></footer>|' /var/www/owncloud/core/templates/layout.guest.php
+ XCACHEINI=/etc/php5/conf.d/20-xcache.ini
+ sed -i 's|xcache.admin.enable_auth.*|xcache.admin.enable_auth = Off|' /etc/php5/conf.d/20-xcache.ini
sed: can't read /etc/php5/conf.d/20-xcache.ini: No such file or directory
/usr/share/fab/product.mk:476: recipe for target 'build/stamps/root.patched' failed
make: *** [build/stamps/root.patched] Error 2


I use apt-file to find the package a file belongs to.
in wheezy php5-xcache provides /usr/share/doc/php5-xcache/examples/xcache.ini
in jessie php5-xcache is not available.

also in jessie I could not find xcache.ini provided by any package.

so i'd guess that php5-xcache needs to be replaced or eliminated as a required deb.

 

Forum: 
Jeremy Davis's picture

The owncloud appliance will certainly get an update, but as you discovered currently it's pretty broken...

It's on my todo list, but I have been holding off as I'm not totally sure on the best way to go.

There is a Debian owncloud package now so that would be ideal in many respects. But on the downside that is version 7 and as the software is under quite heavy development and is often used to sync to desktop clients I am thinking that using the upstream version and allowing it to be more easily updated may be a better way to go...?!

robertfantini's picture

I'd suggest checking in a month or two to see if a Debian developer / contributor puts owncloud to backports.   

I just checked, and even sid is at same version as jessie.  hopefully that changes

we use jessie / owncloud version 7  and would prefer to stay with the debian package.   

 

 

Jeremy Davis's picture

I really appreciate your input. You have added weight to going with the Debian version. From a maintenance perspective it is my preference too.

However if there is too much drift between the Debian version and the upstream version people start to complain about it not working with the client software...

I think that the go might be to just build the new v14.0 version with the Debian package and see what unfolds. I guess worst case scenario is that we can release a new appliance version if need be...

Add new comment