This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Owncloud Warning: "smbclient" is not installed

Webserver service.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
pierouelle
Starter
Starter
Posts: 60
Joined: 24 Jun 2012 04:02
Location: Québec, Canada
Status: Offline

Owncloud Warning: "smbclient" is not installed

Post by pierouelle »

I am running owncloud latest version, and install like daoyama explain except i do not use AD.

I have smb/cifs services running on nas4free embedded latest release, and works perfectly with windows.
I want to configure external storage to access my smb share but i noticed that i have 2 warnings

1-Warning: "smbclient" is not installed. Mounting of CIFS/SMB shares is not possible.
the way i understand this i have to unable smbclient in the webserv, but i have no clue, is this have something to do with lighttpd

2-Warning: The FTP support in PHP is not enabled or installed. Mounting of FTP shares is not possible
and i guess this has to be enabled in the php config, but again i ain't got no clue where to look at.

Sorry if this is not in the right section, but i tought it has to do with web server side, any help will be appreciate, have a wonderful day eveyone, peace.

User avatar
siftu
Moderator
Moderator
Posts: 71
Joined: 17 Oct 2012 06:36
Status: Offline

Re: Owncloud Warning: "smbclient" is not installed

Post by siftu »

Yes I have noticed the same problem. I had a quick look at the code and it does a "which smbclient" which I have installed and works from the shell. I'll let you know if I get any further
System specs: NAS4Free amd64-embedded on ASUSTeK. M5A78L-M LX PLUS - AMD Phenom(tm) II X3 720 Processor - 8GB ECC Ram, Storage: 2x ZFS mirrors with 4x Western Digital Green (WDC WD10EADS)
My NAS4Free related blog - http://n4f.siftusystems.com/

User avatar
siftu
Moderator
Moderator
Posts: 71
Joined: 17 Oct 2012 06:36
Status: Offline

Re: Owncloud Warning: "smbclient" is not installed

Post by siftu »

I notice even the smbclient has strange messages with regards to upcase.dat and lowcase.dat

Code: Select all

smbclient \\\\192.168.0.250\\Pictures -U siftu
Enter siftu's password: 
Failed to load upcase.dat, will use lame ASCII-only case sensitivity rules
Failed to load lowcase.dat, will use lame ASCII-only case sensitivity rules
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.10]
smb: \>
System specs: NAS4Free amd64-embedded on ASUSTeK. M5A78L-M LX PLUS - AMD Phenom(tm) II X3 720 Processor - 8GB ECC Ram, Storage: 2x ZFS mirrors with 4x Western Digital Green (WDC WD10EADS)
My NAS4Free related blog - http://n4f.siftusystems.com/

User avatar
siftu
Moderator
Moderator
Posts: 71
Joined: 17 Oct 2012 06:36
Status: Offline

Re: Owncloud Warning: "smbclient" is not installed

Post by siftu »

Well I couldnt get the original problem fixed but I did come up with a useable and preferable (for me) workaround.

I Simply mounted my ZFS datasets directly into the jail. Edit you jails fstab. In my case I mounted my Pictures dataset in the jail

Code: Select all

[siftu@nas4free ~]$ cd /mnt/zpool/jail/conf/
[siftu@nas4free /mnt/zpool/jail/conf]$ cat fstab.owncloud 
/mnt/zpool/Pictures /jail/owncloud/mnt/Pictures   nullfs  rw      0       0
[siftu@nas4free /mnt/zpool/jail/conf]$ 
Then as long your files have the correct permissions for Owncloud to read/write (for me the www user) etc you can add a local filesystem instead of smb under admin/External Storage and your files will appear
System specs: NAS4Free amd64-embedded on ASUSTeK. M5A78L-M LX PLUS - AMD Phenom(tm) II X3 720 Processor - 8GB ECC Ram, Storage: 2x ZFS mirrors with 4x Western Digital Green (WDC WD10EADS)
My NAS4Free related blog - http://n4f.siftusystems.com/

Post Reply

Return to “WebServer”