this post was submitted on 03 May 2024
38 points (95.2% liked)

Selfhosted

40296 readers
251 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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!

all 25 comments
sorted by: hot top controversial new old
[–] barbara@lemmy.ml 11 points 6 months ago (2 children)

KDE and GNOME have that built in. You can add it via webdav to nautilus or gnome-files

[–] Fisch@discuss.tchncs.de 3 points 6 months ago

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

[–] archer@lemmy.ml 2 points 6 months ago

Thanks I'll try that!

[–] Strit@lemmy.linuxuserspace.show 7 points 6 months ago (1 children)
[–] archer@lemmy.ml 1 points 6 months ago

I'll check it out thanks!

[–] cron@feddit.de 5 points 6 months ago (2 children)

Have you tried the official Nextcloud desktop app?

[–] Successful_Try543@feddit.de 2 points 6 months ago (1 children)

That would not be equivalent to 'remote location', as the files would be stored locally on your computer and being synced with the cloud.

[–] Dalraz@lemmy.ca 6 points 6 months ago (2 children)

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

[–] cron@feddit.de 3 points 6 months ago

TBH, the description in the original post is not very clear.

[–] archer@lemmy.ml 2 points 6 months ago (1 children)

I think this is it but I can't find this option in the settings.

[–] archer@lemmy.ml 4 points 6 months ago

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.

[–] archer@lemmy.ml 2 points 6 months ago (1 children)

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.

[–] cron@feddit.de 1 points 6 months ago (1 children)

That's exactly what the nextcloud desktop app does.

[–] archer@lemmy.ml 1 points 6 months ago (1 children)

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)...

[–] archer@lemmy.ml 2 points 6 months ago

I figured I might have a wrong version or something so I went ahead and grabbed the one off of flathub, but that's the same one. It syncs everything to one folder on the disk but only until the disk is full. I kinda wanted something like iCloud that would show everthing but only download on demand (so it doesn't take up all the space).

[–] Damage@feddit.it 2 points 6 months ago

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

[–] 4am@lemm.ee 2 points 6 months ago

WebDAV, as others have said

[–] jjlinux@lemmy.ml 2 points 6 months ago (1 children)

First things first, for what platform(s) y or OS(s)?

[–] archer@lemmy.ml 2 points 6 months ago (1 children)
[–] jjlinux@lemmy.ml 2 points 6 months ago

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.

[–] rtxn@lemmy.world 0 points 6 months ago (3 children)

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 the www-data user.

[–] RandomLegend@lemmy.dbzer0.com 4 points 6 months ago

This is way too overkill, simply use WebDAV

[–] VonReposti@feddit.dk 3 points 6 months ago

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.

[–] rambos@lemm.ee 0 points 6 months ago

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.