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

ubuntu appliance does not work with php5-libsmbclient / smb shares not working #54

Closed tonyppe closed 7 years ago

tonyppe commented 7 years ago

Steps to reproduce

  1. install ubuntu appliance
  2. try and configure an smb share

Expected behaviour

should be able to configure an smb share

Actual behaviour

an error is shown instead about smbclient not installed

System

KVM

I used the .RAW appliance. Everything looks great apart from the smb shares and also that after first login the initialisation script runs. Then on 2nd login it tries to run again and you have to press the escape sequence detailed in the ssh session.

tonyppe commented 7 years ago

I googled for this issue and found an owncloud post where someone suggests to run "apt-get install -q -y smbclient". When you do this, you are then able to configure SMB shares but they dont work. Logs are that the hostname is not recognised. Same error if I use the IP address of the SMB server. I also get a GREEN indication on the share to say it's successfully connected (when I manually enter login info etc on the admin page) but still doesnt work.

When I log in to the user portal, the share appears like it's working (the one which was green on the admin page) but when you click it, the page just refreshes.

tboerger commented 7 years ago

@jnweiger you have been fighting with that today, right?

jnweiger commented 7 years ago

I found that we had some half-empty php5-libsmbclient packages. This is bad. I am rebuilding the vm with fixed packages.

jnweiger commented 7 years ago

New appliance images published. ready for testing. Ubuntu_14.04-owncloud-9.1.4-2.1-201703101635

jnweiger commented 7 years ago

See also https://central.owncloud.org/t/owncloud-ubuntu-appliance-has-broken-php5-libsmbclient/6256

jnweiger commented 7 years ago

All 3 packages smbclient, libsmbclient, and php5-libsmbclient are contained in rebuild 201703101635. apache reports we have:

libsmbclient Support    enabled
libsmbclient extension Version  0.7.0
libsmbclient library Version    4.3.11-Ubuntu

Added a samba mount with username and password. Works fine for me. The thread in central confirms that it works also for the OP.