Regression : ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180

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

I’ve the same problem

Same problem with 15.0.7 and linux client 2.5.2.
I i edit
~/.config/Nextcloud/nextloud.cfg
and change
\authType=webflow
to
\authType=https
i see the nextcloud client starting, but not connected. As soon as i press the “account” button and then “add new” i get the same crash again.

ehh and bear in mind that i have another linux client that is running and connected because it always was connected, and never needed to go through the add connection workflow for many version back of the client.
and
at the failing workstation, i can successfully sync with nextcloudcmd.

There is a solution to this issue? Still persists with

nextcloud-desktop 2.6.1-2
kali 2019.4
Linux kali 5.3.0-kali3-amd64 #1 SMP Debian 5.3.15-1kali1 (2019-12-09) x86_64 GNU/Linux

Solution:

export QTWEBENGINE_DISABLE_SANDBOX=1

2 Likes