owncloud-archive / vm

Scripts to build an ownCloud community production VM - this was in use until 9.1.x releases. Since 10.0.1 we build appliances with Univention
https://www.univention.de/produkte/univention-app-center/app-katalog/owncloud/
23 stars 14 forks source link

Install proxy app by default #13

Closed MorrisJobke closed 9 years ago

MorrisJobke commented 9 years ago

cc @LukasReschke @karlitschek

LukasReschke commented 9 years ago

Yes. We are doing this today ;)

LukasReschke commented 9 years ago

App is at https://github.com/owncloud/proxy, @jnweiger can you try to push this and then test if it works? If there are questions just let me know! :smile:

jnweiger commented 9 years ago

proxy app pushed to https://build.opensuse.org/package/show/isv:ownCloud:community:8.1:testing:merged/owncloud-app-proxy you can check out the Linux packages from the download link in the top right hand corner of the obs web page.

LukasReschke commented 9 years ago

apt-get install owncloud owncloud-app-proxy doesn't seem to work. I don't see the app, also not extracted, I'm on Debian - can you double check?

jnweiger commented 9 years ago

On ubuntu-14.04 it looks like this:

==> oc8ce-8.1.1-13.1: Reading package lists...
==> oc8ce-8.1.1-13.1: Building dependency tree...
==> oc8ce-8.1.1-13.1: Reading state information...
==> oc8ce-8.1.1-13.1: The following NEW packages will be installed:
==> oc8ce-8.1.1-13.1:   owncloud-app-proxy
==> oc8ce-8.1.1-13.1: 0 upgraded, 1 newly installed, 0 to remove and 95 not upgraded.
==> oc8ce-8.1.1-13.1: Need to get 423 kB of archives.
==> oc8ce-8.1.1-13.1: After this operation, 3250 kB of additional disk space will be used.
==> oc8ce-8.1.1-13.1: Get:1 http://download.opensuse.org/repositories/isv:/ownCloud:/community:/8.1:/testing:/merged/xUbuntu_14.04/  owncloud-app-proxy 0.0.1.git20150830-1.1 [423 kB]
==> oc8ce-8.1.1-13.1: Fetched 423 kB in 0s (1836 kB/s)
==> oc8ce-8.1.1-13.1: Selecting previously unselected package owncloud-app-proxy.
==> oc8ce-8.1.1-13.1: (Reading database ... 100349 files and directories currently installed.)
==> oc8ce-8.1.1-13.1: Preparing to unpack .../owncloud-app-proxy_0.0.1.git20150830-1.1_all.deb ...
==> oc8ce-8.1.1-13.1: Unpacking owncloud-app-proxy (0.0.1.git20150830-1.1) ...
==> oc8ce-8.1.1-13.1: Setting up owncloud-app-proxy (0.0.1.git20150830-1.1) ...
LukasReschke commented 9 years ago

I see:

root@debian:/var/www# apt-get install owncloud owncloud-app-proxy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  owncloud-config-apache owncloud-server php5
Suggested packages:
  clamav clamav-daemon libreoffice-writer php5-apcu php-apc
The following NEW packages will be installed:
  owncloud owncloud-app-proxy owncloud-config-apache owncloud-server php5
0 upgraded, 5 newly installed, 0 to remove and 4 not upgraded.
Need to get 0 B/24.3 MB of archives.
After this operation, 84.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  owncloud-server owncloud-config-apache owncloud owncloud-app-proxy
Install these packages without verification [y/N]? y
Selecting previously unselected package php5.
(Reading database ... 59996 files and directories currently installed.)
Unpacking php5 (from .../php5_5.4.44-0+deb7u1_all.deb) ...
Selecting previously unselected package owncloud-server.
Unpacking owncloud-server (from .../owncloud-server_8.1.1-13.1_all.deb) ...
Selecting previously unselected package owncloud-config-apache.
Unpacking owncloud-config-apache (from .../owncloud-config-apache_8.1.1-13.1_all.deb) ...
Selecting previously unselected package owncloud.
Unpacking owncloud (from .../owncloud_8.1.1-13.1_all.deb) ...
Selecting previously unselected package owncloud-app-proxy.
Unpacking owncloud-app-proxy (from .../owncloud-app-proxy_0.0.1.git20150830-1.1_all.deb) ...
Setting up php5 (5.4.44-0+deb7u1) ...
Setting up owncloud-server (8.1.1-13.1) ...
Setting up owncloud-config-apache (8.1.1-13.1) ...
l[....] Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
 ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
. ok
Setting up owncloud (8.1.1-13.1) ...
Setting up owncloud-app-proxy (0.0.1.git20150830-1.1) ...
root@debian:/var/www#

But /var/www/owncloud/apps/proxy does not exist.

jnweiger commented 9 years ago

Looks much better on openSUSE. Investigating....

LukasReschke commented 9 years ago

Looks much better on openSUSE. Investigating....

:speak_no_evil: :see_no_evil: :hear_no_evil:

LukasReschke commented 9 years ago

I also do have somehow problems to start the VM :speak_no_evil: 2015-08-30_12-17-36

LukasReschke commented 9 years ago

It does work if I change the OVF to <File ovf:href="xUbuntu_14.04.owncloud-8.1.1-13.1.20150830-DEBUG-disk1.vmdk" ovf:id="file1"/>

LukasReschke commented 9 years ago

And another bug: 2015-08-30_12-19-42

LukasReschke commented 9 years ago

Also seems not to be included within the VM:

2015-08-30_12-23-45

jnweiger commented 9 years ago

second try: https://github.com/owncloud/vm/releases/tag/8.1.1-13.1-20150830-2

jnweiger commented 9 years ago

@Kawohl @enoch85 seen this?

JKawohl commented 9 years ago

I get this:

oc8ce/build-ubuntu-vm.sh: 45: test: true: unexpected operator

Command: ["import", "-n", "/home/john/.vagrant.d/boxes/ubuntu-VAGRANTSLASH-trusty64/0/virtualbox/box.ovf"]

Stderr: 0%... Progress state: VBOX_E_FILE_ERROR VBoxManage: error: Appliance read failed VBoxManage: error: Could not read OVF file 'box.ovf' (VERR_ACCESS_DENIED) VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component ApplianceWrap, interface IAppliance VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 306 of file VBoxManageAppliance.cpp

JKawohl commented 9 years ago

Nevermind, i was on the wrong machine... sorry, currently i'm facing network errors when setting the host to bridge.

bildschirmfoto 2015-08-30 um 14 47 44

bildschirmfoto 2015-08-30 um 14 49 34

enoch85 commented 9 years ago

Proxy is pre-installed in the latest release.

image

jnweiger commented 9 years ago

Thanks for confirming on vmware! Upcoming xUbuntu_14.04-owncloud-8.1.2-RC1-14.1-201509010612 with a dozen of minor tweaks.

enoch85 commented 9 years ago

Can this issue be closed?