At some point, I've added a remote mount to a Owncloud installation. I've since reinstalled Owncloud, so the original remote has the wrong login details. Every time I login to my computer, whatever is mounting the remote tries to login to Owncloud with the original password, but fails to do so. However, Owncloud is working perfectly well. It syncs succesfully and has no problems logging in. The problem relates only to whatever remote mount is visible in Nautilus.
I have no idea what I used to mount the remote and can't figure out how to edit or remove the mount.
The remote shows up in my Nautilus menu (pic below), but is not listed with df
, presumably because it is not mounted. Nautilus can't edit the mount and trying to mount it by clicking just shows a text box telling me that the login details are wrong.
I can see the remote with gvfs-mount -l
, but I can't figure out where the configs for the mounts are stored and how to edit them.
Volume(0): [email protected]
Type: GProxyVolume (GProxyVolumeMonitorGoa)
The contents of my .gvfs
-folder and /run/user/USER/gvfs
are empty. The remote is not mounted in my fstab
.
How do I edit and/or permanently remove the remote mount?
Below is the requested content of my /$HOME/.local/share/data/ownCloud/owncloud.cfg. I have sanitized it slightly by replacing my username with "usename", the actual domain with "domain.com" and removed the certificate. I have also translated the actual folder names to English.
[General]
crashReporter=true
monoIcons=true
newBigFolderSizeLimit=500
optionalDesktopNotifications=true
useNewBigFolderSizeLimit=true
[Accounts]
0\Folders\1\ignoreHiddenFiles=true
0\Folders\1\localPath=/home/username/Documents/
0\Folders\1\paused=false
0\Folders\1\targetPath=/Documents
0\Folders\2\ignoreHiddenFiles=true
0\Folders\2\localPath=/home/username/Documents/
0\Folders\2\paused=false
0\Folders\2\targetPath=/Pictures
0\authType=http
0\http_certificatePasswd=
0\http_certificatePath=
0\http_user=username
0\serverVersion=9.1.3.1
0\url=https://domain.com
0\user=username
version=2
[ActivityListHeader]
geometry=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\b\x1b\0\0\0\x5\x1\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x5\0\0\0\x96\0\0\0\x1\0\0\0\0\0\0\x2\xdc\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe1\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0)
[BWLimit]
downloadLimit=80
uploadLimit=10
useDownloadLimit=0
useUploadLimit=0
[Settings]
geometry="@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\x1+\0\0\0\x93\0\0\x6\x46\0\0\x3q\0\0\x1,\0\0\0\xaf\0\0\x6\x45\0\0\x3p\0\0\0\0\0\0\0\0\a\x80)"
[ownCloud]
General\CaCertificates="[Certificate removed]"
authType=http
http_certificatePasswd=
http_certificatePath=
http_user=username
url=https://domain.com
user=usename
Nautilus Version 3.18 introduced integration with Google Drive and GOA (gnome-online-accounts) settings.
If you simply want to remove a GOA, Launch Online Accounts, select the account you wish to remove on the left and Click the Remove Account button in the lower-left corner of the window as shown below:
An alternative approach would be to use apt to purge the package entirely but that seems much like taking a sledgehammer to a screw.
If you want to repair your connection, read on.
By default, owncloudcmd reads the client configuration in
$HOME/.local/share/data/ownCloud
and uses the credentials of the GUI synchronization client. If no client is configured, or if you choose to use a different user to synchronize, you can specify the user password setting with the usual URL pattern. For example:$ owncloudcmd / https://carla:secret@server/owncloud/remote.php/webdav/
You can open the Owncloud Sync client that has failed to connect.
A right click on the icon will open the following menu.
Choose Settings and Click Modify Account or Accounts depending on your version of the client on the screen similar to what is shown below.
You should be able to modify account credentials or worst case, remove and re-add the account as necessary
Sources:
https://en.wikipedia.org/wiki/GNOME_Files
https://help.gnome.org/users/gnome-help/stable/accounts-remove.html.en
https://owncloud.com/latest-gnome-ships-with-owncloud-support/
https://doc.owncloud.org/desktop/1.8/navigating.html
https://doc.owncloud.org/desktop/2.1/navigating.html
Edit your ~/.config/goa-1.0/accounts.conf to remove WebDAV link