nextcloud, nextcloudpi, raspberrypi

NextCloudPi gets NC news, format-USB, port forwarding, emoji support and more

The latest release of NextCloudPi is out!

In order to make the setup process even easier,  nextcloudpi-config  now has the ability to format a USB to ext4  and setup port forwarding in your router.

Also, an option has been added to download and install the latest News app. This is a staple for me, but it is not included in the official bundle.

Of course, there are also tons of fixes and small improvements, the most important one being full support for UTF-8 chars. This means that you can now use emojis in your contacts, calendar, tasks and everywhere else.

NextCloudPi improves everyday thanks to your feedback. Please report any problems, or ask technical questions here. Also, you can discuss anything in the forums.

Last but not least, please download through bitorrent and share it for a while to help keep hosting costs down.

Format USB to ext4

I do not think many people struggle with this, but I guessed it would be a time saver for Linux beginners.

The process is very basic, but it covers most of the use cases.

  1. Make sure only one external USB is plugged in.
  2. That external USB will be formatted to ext4  with the specified label.

In combination with the automount feature and nc-datadir, this allows people that do not master Linux to use an external USB drive with NextCloudPi easily.

UPnP Port forwarding

UPnP or Universal Plug and Play, is a set of network protocols for discovery and configuration of network devices, among other things.

Most routers support this feature, and it has been historically used by programs such as aMule or bittorrent clients to open ports in your router, so that said programs can receive connections through your firewall NAT.

This is a requirement in order to host any service at home, because otherwise connections from outside are blocked.

Manually setting up port forwarding is generally an easy process, but again we are aiming at simplifying the process so everyone can host their own private data regardless of their technical skills.

UPnP is an old protocol and is designed without security considerations. If your router has UPnP activated, any device inside your local network can reconfigure your firewall, so it is always recommended to turn it off.

  1. Log in into your router’s administration interface. Typically, this is at 192.168.1.1
  2. Activate UPnP
  3. Run nextcloudpi-config  > nc-forward-ports. PORT is the external port. Most likely you don’t want to change it.
  4. Deactivate UPnP

Remember to disable UPnP after opening your router ports. Depending on your router, this could disable UPnP port forwarding again, so this method is not guaranteed to work. Do it manually then.

News

RSS! Who would not like a simple, suscription based, privacy friendly (*) news aggregator that allows you to receive new posts from your favourite blogs, reddit and many more places.

(*) in the sense that there is generally no login required, no javascript or cookies involved

You can do this with Firefox Live Bookmarks, Thunderbird and many other web based and not web based clients, but the beauty of doing it in NextCloud is that you can privately read and synchronize your feeds.

I recommend the fantastic open source Nextcloud News Android app for your phone or tablet. Check out other sync clients.

You need internet connection in order to download the latest version. Once the process finishes you can activate the App in admin > Apps.

No need to visit ownyourbits again to see what’s new. Let NextCloudPi notify you with the new stuff!

Clear configuration

nc-init can be used to clear Nextcloud configuration. It will reset the database and config.php to fresh NextCloudPi defaults.

This will destroy any configuration, including your file metadata and user accounts.

Only do this in a clean installation, such as after using nc-nextcloud

Author: nachoparker

Humbly sharing things that I find useful
[ github dockerhub ]

10 Comments on “NextCloudPi gets NC news, format-USB, port forwarding, emoji support and more

  1. Crap. Newbie here. My “old” pi runs a minidlna server for music, and I was thinking of porting that to the pi3 next to nextcloud… Hadn’t given much thought to security concerns with upnp. I understand now it is a bad idea to have an internet-facing device with upnp, but how bad is it to have other upnp-enabled devices in the network (and hence upnp actived in the router)? Having to choose between data security and my audio setup would be a though choice…

    Great work on nextcloudpi though 🙂

    1. Well, your router should only be able to be configured through UPnP from inside your home LAN.

      The problem is that anything inside your house that gets compromised (hello, internet of things) can then change your router configuration without restraints.

      It cannot be abused directly from the internet though.

      On the other hand, DLNA is based on UPnP, but is a different story. You do not need to have UPnP enabled in your router to have, say, a RPi acting as a dlna server. The dlna server (such as minidlna) talks UPnP with say kodi for discovery and managing its functionality but it does not need to affect the router in any way and the router does not need to have uPnP activated at all, so it is not such a big security risk

      Hope it makes sense 🙂

  2. Would be great to see an auto back-up option to back up the USB data drive to another external USB drive. Something that would act as an easy recovery if the original usb data drive fails.
    To have the option to remove the backup drive and keep it for safe storage and periodically plug in for the backup.

    Possible to create a NextcloudPI image and write it to the backup drive? Could this be a rolling backup so it will backup all the latest updates.

    As a Linux newbie I am trying to figure out how to do this on my own but it is challenging.

    Great work with the PI image though!!!

  3. Having trouble trying to Port forward with NC-portfoward Upnp on my Router (netgear r6100). when i disabled UPnP I got a error and having it enabled and i dont know how to port forward (I do it’s just im having problems with it)

Leave a Reply

Your email address will not be published. Required fields are marked *