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

php5-libsmbclient is available, but smbclient is not installed #27

Closed oparoz closed 8 years ago

oparoz commented 9 years ago

The official documentation recommends we use php5-libsmbclient and it's already installed in the VM iirc, but we can't access SM shares because smbclient is not installed. Oversight?

@enoch85

enoch85 commented 9 years ago

@oparoz What happens if you add smbclient here: https://github.com/owncloud/vm/blob/master/vagrant/oc8ce/build-ubuntu-vm.sh#L161?

oparoz commented 9 years ago

That would probably work, but I haven't tested as I'm guessing this is run only the first time the VM is launched?

enoch85 commented 9 years ago

@oparoz Yes, it run when we build it. But you can build it as well. Just use run.sh.

enoch85 commented 9 years ago

@oparoz Just test to add it in the current build. If it helps then I'll add it to the script.

ghost commented 8 years ago

@enoch85 @oparoz Ref to a core-bugreport about this: https://github.com/owncloud/core/issues/19479

smbclient seems to be now also already enabled within the VM by https://github.com/owncloud/vm/commit/e0ddcefc181b5ac77bd6869cf1ef6c2298db4aec

enoch85 commented 8 years ago

I just got a report from a user that said that cifs-utils needed to be installed as well. Never tried it myself, but maybe something to consider?

oparoz commented 8 years ago

I just got a report from a user that said that cifs-utils needed to be installed as well

I didn't need to install it, but maybe it's a dependency which automatically got installed as well or maybe it's needed for some operations or some MS share configurations

enoch85 commented 8 years ago

Ok, so is this issue resolved with the workaround that @jnweiger made?

enoch85 commented 8 years ago

ping @oparoz

enoch85 commented 8 years ago

ping @oparoz

oparoz commented 8 years ago

Sorry, I don't have time to test this atm. I keep using the same VM.

ghost commented 8 years ago

@enoch85 @oparoz Better get https://github.com/owncloud/core/issues/19479 fixed instead of doing workarounds within the VM.

Nvm, this was about testing that. Sorry.

enoch85 commented 8 years ago

Both smbclient and php5-libsmbclient are installed when the VM is built: https://github.com/owncloud/vm/blob/master/vagrant/oc8ce/build-ubuntu-vm.sh#L175-L179

This should be fixed. Please repoen otherwise.

ghost commented 8 years ago

@enoch85 smbclient could be removed again with 9.0 https://github.com/owncloud/core/pull/21481

enoch85 commented 8 years ago

@RealRancor Thanks, fix is here: https://github.com/owncloud/vm/commit/3f909498a9bbb1f05c31a41478338f467904867a