NextCloud as a server on Android: possible?


Many people have “old” tablets or smart phones lying around on their desks, doing nothing more than attracting lots of dust. Still, many of these devices provide equal or even more CPU power than the Raspberry Pi, Aduino, or any other SOC, that are very often used as cheap and private NC servers.

Android devices provide wireless network, they bring their own UPS (their batteries), they don’t require any OS installation and no extra network setup. In other words: they are very much comparable to a Raspberry or similar device.

So: what about a NextCloud server as an app for Android devices?

Large files would still be very slow to synch, just like with the Raspberry. But if people just want to share contacts and calendars among several devices, such an app would be ideal to them: just one installation from the Android store, and you’re done!

Furthermore, if the Android device is powerful enough, it could act as an NC server and still be in every day use at the same time!

So, what do you think of this idea?

1 Like

You can install most server software on android, by using an app like “Linux Deploy” to install e.g. Debian on the device. Then you can connect to the device using ssh and install nextcloud. I would only recommend this for private networks though, as an old android device in the internet is no good idea…

A while ago I had Nextcloud running on an Android phone and documented a bit of it here:

Probably doesn’t work anymore exactly like that, but it might get you started :slight_smile:

Cloudy1: yes, of course you’re right about old Android devices and the internet. But my main idea was that you take a retired tablet, remove any app that is not needed, thus closing all unneeded ports, and then you install NextCloud to it. If the tablet is used inside your home network behind some firewall that will only pass port 443, I think it should not be much more insecure than a Raspberry.

Krishan: yes, that sounds pretty much like what I was searching for, thank you! :slight_smile:

I read about containers, but I have not yet used any. I know that there is even a complete NextCloud container for Linux, which consists of nginx, php, mysql, and of course NextCloud. Even LetsEncrypt is part of this container. If this container could be installed on an Android device, this could do the trick. If some one would write an Android app, that would install this container and configure it in one go, that would be the icing. :smiley:

Sadly Docker-containers can not be run with any of the GNU/Linux on Android solutions to my knowledge (or in general, judging from a quick google search).

Edit: seems promising to try (without Docker).