Would self-hosting a Nextcloud instance locally without an internet connection be viable?

Use case: Around 5 people need to share files over the network, collaborate on Office documents in real-time, use GitLab, and a To-do/Task management tool.

Beyond the initial setup, does any of these requirements need an active Internet connection, or can we all connect to the Raspberry Pi server via Ethernet?

@pinknoise@lemmy.ml
link
fedilink
3
edit-2
6 hilabete

Would self-hosting a Nextcloud instance locally without an internet connection be viable?

Yes, that should be no problem. Some nextcloud plugins might require a domain name and/or a https connection. If you can’t use your own DNS server you can change the clients hosts-file. Iirc docker and snap versions of nextcloud will auto-generate self signed ssl certificates and you can use a reverse-proxy if they don’t. (e.g. use caddy, it will automatically generate certificates) You won’t be able to update regularly, so you should only let trusted users into your network.

Idk about gitlab, but I’m sure you can run gitea offline, if you don’t need any of the fancy gitlab features. (It’s faster too+ you can set up gitea to login with the nextcloud account.)

poVoq
link
fedilink
36 hilabete

It is possible, but the browsers will complain about unencrypted connections. But you could also set it up as a proper internet facing service with domain name and SSL certificates and have the main router do NAT reflection to avoid all the internal traffic going over the ISP as well.

@MarcellusDrum@lemmy.ml
creator
link
fedilink
26 hilabete

That’s a bit beyond my expertise, but thanks for answering.

Follow-up question: Would setting it up in a way that it is connected to the internet, but when it gets disconnected, it automatically works over the network?

Reason: My country is going through rough times, and sometimes the internet connection is lost/gets extremely slow. It can last from 10 minutes to a few hours. I want to find a solution to this, so that we can remain productive without disruption (like if the internet went down, everything should remain working automatically without us interfering and losing focus)

poVoq
link
fedilink
2
edit-2
6 hilabete

It is not very difficult with a router OS like OpenWRT or OPNsense, but I guess it might still try to do DNS queries, not 100% sure. You could probably also run your own local DNS server, but I never tried that.

What you can maybe do is add a second mobile connection as a fallback via Mwan3 if that is a bit more reliable.

But maybe something like Syncthing and desktop apps is in the end more reliable then stuff that is really meant for internet facing services.

Overlaps somewhat with /c/floss_replacement and /c/privacy; crossposts welcome

  • 0 users online
  • 1 user / day
  • 1 user / week
  • 2 users / month
  • 7 users / 6 months
  • 3 subscribers
  • 83 Posts
  • 180 Comments
  • Modlog