UB 18.04.2 LTS Nextcloud install (SMB and https:// .... config issues)

Try to added in /etc/fstab something like this if you are using guest account:

//192.168.1.209/public /media/NAS cifs guest,uid=1000,iocharset=utf8 0 0

Source.
Or like this if you have to authorize yourself:

//server/share /pathto/mountpoint cifs credentials=/home/username/.smbcredentials,uid=shareuser,gid=sharegroup 0 0

With .smbcredentials file in your home directory:

username=shareuser
password=sharepassword
domain=domain_or_workgroupname

Source.

Do not forget to rescan it periodically, e.g. via OS cronjob:

Otherwise it will be updated only when you accessing it.