Hi guys
Is there any way to access Nextcloud files (self hosted) in a file manager just like a regular directory or remote location? So the way iCloud or Dropbox allow you to access files and use them for example to upload them in a browser. So far I only managed to access the files in the Nextcloud WebUI or via the command line (but then a resync is necessary).
Any input is appreciated. Thanks!
KDE and GNOME have that built in. You can add it via webdav to nautilus or gnome-files
In GNOME you just need to log in with your Nextcloud account in the system settings and it will add it in the file manager
Have a look at Nextcloud WebDav:
Webdav is the preferred method, but if you really want to use samba/NFS/rsyncd, you can set up a share that points to
/var/www/nextcloud-data/USER/files
, just make sure that newly created files are owned by thewww-data
user and group (e.g. by settingsetuid
/setgid
on thefiles
directory)Have you tried the official Nextcloud desktop app?
I did but that’s only syncing one folder if I’m not mistaken. I want to see everything though and if I make changes to files these changes should be synced back to the cloud.
That’s exactly what the nextcloud desktop app does.
Maybe I’m using the wrong one? Mine just sits in the task bar and displays the sync status and “helpful” app recommendations. I want to see the files though (in Dolphin for example)…
That would not be equivalent to ‘remote location’, as the files would be stored locally on your computer and being synced with the cloud.
The nextcloud client has the option to setup the folder as a virtual folder. this wouldn’t sync the files locally but would download them on first access, kind of like how OneDrive works. Would this not work for OP or did I miss read
I think this is it but I can’t find this option in the settings.
OK so I managed to enable it! :) Thanks for everyone suggestions.
If you have the same issue and find this thread later: on a regular install, open /home/yourusername/.config/Nextcloud/nextcloud.cfg with a text editor. On flatpak, open /home/yourusername/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud/nextcloud.cfg. Add the line
showExperimentalOptions=true
under the general section. Restart Nextcloud desktop and delete the current synchronization destionation. Readd it and you’ll see the option to use virtual files. Confirm that it’s experimental and you’re done.
TBH, the description in the original post is not very clear.
WebDAV, as others have said
Wait you mean without file synchronization?
WITH file synchronization you’d use nextcloud-client, obviously, otherwise I think GNOME file manager can connect to a nextcloud instance and browse files without downloading them
First things first, for what platform(s) y or OS(s)?
Linux with KDE and MacOS
On Linux KDE you just add your instance and login account to online accounts, and it gives you files, contacts and calendar. On Mac, sorry, no idea.
I haven’t tried, but you might be able to set up a samba share that points to
/var/www/nextcloud-data/USER/files
, just make sure that it uses thewww-data
user.This is way too overkill, simply use WebDAV
Nextcloud won’t be able to recognise new files if you do it that way. A full scan will be needed before they’ll show up in the web app.
Yeah, that will work. It sounds like answer to OPs question, but I have no clue why would someone need that unless there is no client app for that device.