I have Server version Nextcloud 14.0.4 that runs well, i can log in to the web interface, and see my files.
However on my linux client is giving me hassles - it has been working well, for a loong time. But for other reason, i could not connect to my server (i had put myself up on a wrong network), and as troubleshooting i opened the gui and did a log out/log in (failed also)which did not help. then i discovered my network issue, got on the right network, and discovered, that the nextcloud client was not running.
When i start it by hand i get ( i have removed my hostinfo and the https://):
OCC::AbstractNetworkJob::slotFinished QNetworkReply::AuthenticationRequiredError “Host requires authentication” QVariant(int, 401)
[OCC::WebFlowCredentials::stillValid Still valid?
[OCC::WebFlowCredentials::stillValid QNetworkReply::AuthenticationRequiredError
[OCC::WebFlowCredentials::stillValid “Host requires authentication”
[OCC::AccountState::slotInvalidCredentials Invalid credentials for “host:port” asking user
[OCC::AccountState::setState AccountState state change: “Disconnected” -> “Asking Credentials”
[OCC::FolderMan::slotAccountStateChanged Account “user@host:port” disconnected or paused, terminating or descheduling sync folders
[OCC::AccountManager::saveAccount Saving account “host:port”
[OCC::AccountManager::saveAccountHelper Saving 1 unknown certs.
[OCC::AccountManager::saveAccountHelper Saving cookies. “/root/.config/Nextcloud/cookies0.db”
[OCC::AccountManager::saveAccount Saved account settings, status: QSettings::NoError
and on the screen i get
4884:4884:0106/205026.563875:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See crbug.com/638180.
i removed chromium, and now it takes a little longer, but same result, and the client never connect.
rpm -qi nextcloud-client
Name : nextcloud-client
Version : 2.5.1
Release : 1.1
Architecture: x86_64
Install Date: Wed Dec 5 21:59:30 2018
Group : Productivity/Networking/File-Sharing
Size : 3953456
License : GPL-2.0-or-later AND LGPL-3.0-or-later
Signature : RSA/SHA256, Tue Dec 4 21:07:48 2018, Key ID b88b2fd43dbdc284
Source RPM : nextcloud-client-2.5.1-1.1.src.rpm
Build Date : Tue Dec 4 21:06:40 2018
Build Host : lamb10
Relocations : (not relocatable)
Packager : bugs.opensuse.org
Vendor : openSUSE
URL : https://nextcloud.com/
When i try
nextcloudcmd -u myUser /home/Download/nextcloud host:port
I get prompted for password, and connected, and a lot of reasonable stuff happens