I Installed Ubuntu Server 18.04.2 LTS and chose to install nextcloud alongside it. It runs fine so far but as a linux noob im facing problems configuring it the “right” way…
Problem:
Adding SMB Shares is impossible since the “External Storage” tab displays a warning that smbclient is not installed.
Tried to manually install smb client and php-smbclient but that didn’t work.
Even after a reboot i can’t connect to SMB Shares on my network.
I had an owncloud installation where this feature was enabled by default and working ootb. Searching the forum, i found out that this issue is a bug which is not beeing fixed atm?
Problem:
At the moment nextcloud responds only to http:// … but i want it to redirect to https:// …
The Helpfiles tell me to configure this inside of the virtual hosts file.
Im currently unable to locate that file. Every guide i find out there tells me i have to either do it in apache2 or install this service.
The specified folder etc/apache2/ does not exist?ß Does that impy that apache is ot running?
Since my installation is currently running i would like to know on what webserver it is running currently? nginx ?
The helpfiles only display a portion out of the vitrtualhosts file not the path to the file (not very helpful for us noobs)
Sanok: That is impossible since my nextloud installation displays this error message
"smbclient" is not installed. Mounting of "SMB / CIFS", "SMB / CIFS using OC login" is not possible. Please ask your system administrator to install it.
and won’t even let me choose a SMB share as an option.
I somehow destroyed my installation and while doing so i found out ubuntu must be running apache2…
BUT… /var/www/… does not exist and i can’t control apache2 via service stop/start (etc) since the service is not known
This is not a manual installation of nextcloud… its the ?snap? installation that the ubuntu server dvd offers while installing unbuntu server …
Maybe installing nextcloud that way si not the best way?
dpkg --list|grep 'smb\|samba'
ii libsmbclient:amd64 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 shared library for communication with SMB/CIFS servers
ii php-smbclient 0.8.0-3build2 amd64 PHP wrapper for libsmbclient
ii python-samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 Python bindings for Samba
ii samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 SMB/CIFS file, print, and login server for Unix
ii samba-common 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 all common files used by both the Samba server and client
ii samba-common-bin 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 Samba common files used by both the server and the client
ii samba-dsdb-modules 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 Samba Directory Services Database
ii samba-libs:amd64 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 Samba core libraries
ii samba-vfs-modules 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 Samba Virtual FileSystem plugins
ii smbclient 2:4.7.6+dfsg~ubuntu-0ubuntu2.11 amd64 command-line SMB/CIFS clients for Unix
what im loking for is a really easy noob proof guide to install nextcloud on ubuntu 18.04 that does not need additional knwowledge and doesn’t stop randomly in between or skips important steps to accomplish sidegoal that i’ ll never use or understand?
Hi there tried that and i got it working right away, including https. I assume this is the same install procedure you can select directly from the live cd (you get the option to install nextcloud with the ubuntu server installation itself). Snap i guess?
Tried adding it but even after a restart the problem is still there.The function smb in nextcloud snap is not working and still displaying thta smbclient is not installed.
Im currently trying to mount a smb share from linux. Got that working today but not permanently
How to i make shure this smb share is connected at boot and is listed in nextcloud? (fstab)
In the meantime im fighting with fstab which mounted my share once and i could even write to it but after a reboot (without changing fsatb) ist won’t mount again…
I edited fstab , rebooted , was able to create a folder and a file, did another reboot and it broke…?
Apparmor (or snap) give no access to nextlcoud, so it is “protecting” your folder.
CIFS you should specify version of SMB, e.g. vers=1.0 for old one, e.g. try to put credentials directly without file .smbcredentials if it does not work -o username=username,password=password,vers=3.0. To be honest, I never added Samba via fstab, so I have no working config on hands.
I need to find out what apparmour is… Must be some sort of protection but what folder is it protecting the share or the mountpoint folder. Andy why im doing this as sudo user?