Raspberry Pi installation research

Greetings,

Warning! Newb here!

I haven’t started an install yet since I am researching building a file server (web server?).

First, I have found a few pages describing how to install but most appear dated, as in not updated to include the RPi 3B+. Second, they usually don’t go into detail about what can and can not be done.

My goals are simple for this server.

  1. Load/update files from my personal LAN.
  2. Access those files (read only) for use while on the road. Access using “http://” vs. “https://” is important since the application I use on the road does not support https:// yet. I am accessing modified map tiles (similar to OSM tiles) using the “slippy” addressing.

Is Nextcloud capable of the above goals?
Are there an updated installation instructions using a RPi 3B+?

Feel free to point me to a relevant document as well.

Thank you!

Best regards,
Fred

Welcome!

Its like any Cloud. You have a server or a core (in your case Rpi3B+) and another Computer with a nextcloud sync client. Over the Client you can define which folders you want to sync with the server. So it´s like any other Clouds (Gdrive, Dropbox, Onedrive). If you have already used one of them you know how the cloud works.

Not at all. It´s write and read :wink:

Yes https is important, because http is unencrypted.

dangerous for data leaks :wink:

Yes sure. Maybe the best way for not using any other cloud :wink:

Have a look for “nextcloudpi”.
Otherwise you can follow installation instructions in the documentations. It´s nearly the same and you can choose when you want to update.
https://docs.nextcloud.com/server/13/admin_manual/installation/source_installation.html

Little hint for using rpi3: The webgui is not the fatest :wink: But you can deal with it, when you make coffee :smiley:

Höh? Fast web ui here on several times slower RPi2 with 4096 bit (key+dhparam) mega secure 100% ssllabs https.
On RPi3 with just http it should be lightning fast in comparison. Although the sdcard/data drive plays an important role as well.

NextcloudPi is nice, especially since it auto configures https, which is the problem, as not wanted here?

8 Seconds with Caching and 28 Seconds without caching on LAN. Outside of it, much longer.
So it´s ok for me, but the interface gets stucking sometimes. I speak here only for me. I think I´m the only one who got the problem. :smirk:
Using my pi for much more stuff :wink:

I currently use Dropbox so I am familiar with cloud systems. It can be set to be read only.

I need more data storage than I wish to buy at Dropbox, GDrive, etc. I need 50-100GB. So my own “cloud” makes a lot of sense.

Here is an example of the type of data I am using while on the road:
http://tile.openstreetmap.org/11/619/757.png

Now I hope to access my own tile in a similar fashion:
http://MyCloud.blablablah/11/619/757.png

The “HTTP” is currently necessary since this is how the current application needs it. HTTPS does not function yet. yes there is a risk but can the risk.

This statement is confusing. I know that when accessing a file, I need to send HTTP GET and then the file is sent, read displayed or whatever. Is that what you meant?

I am not planning on using a web GUI on the road. The application does an HTTP GET and builds a map display from the downloaded tiles.

Thanks for answering!

Best regards,
Fred

Which application is this? You can use the WebGUI to see you cloud files, you can also sync files via windows (os) client or android/ios clients. Otherwise you can share you files to groups/user or directly with a link to it (there you can set read and write for other users, or only a file box to drop files to the link.

Feel free to test it youself on https://demo.nextcloud.com

There are many applications that do this.

For general viewing, you might use an actual browser, such as Chrome or Firefox. I gave OSM as an example and it is easily viewed in all browsers I am aware of. If you need specific web pages as well, then look now further than maps.google.com or bing.com. Both acquire map tiles from their servers.

If you are Geocaching, then there are quite a few applications that gather tiles, create a map and then display geocaches on top.

The application I am using is private at this point.

There are a couple of points. First, file access is done through a browser or some sort of specialized ‘http’ client. Second, not all applications are currently adapt to use ‘https’ even though that might be preferred.

If you are asking because of a general interest, then look at OSM. There is a lot of information.


https://wiki.openstreetmap.org/wiki/Main_Page

My goal is to have a similar file server with very limited access, with similar tiles (custom), and use the same basic addressing scheme for my application to use them. Actually, if I pointed a browser to it, I assume it would work as well but that is not important.

Best regards,
Fred

I am not sure whether Nextcloud will fit your needs. If your application would be WebDAV capable, Nextcloud would fit. But not for a simple http(s) GET request (at least not out of the box, maybe there is an app for that, I don‘t know).

Also Nextcloud sounds to me like it is much to complex for what you need. Can‘t you just store the tiles on a Webserver and access them directly? You could also protect them from being public with http-auth. Uploading could be done via (s)ftp.

EDIT: the tiles would then also be served a lot faster than via Nextcloud.

Hi Bernie,

Good question! I suspect that a web-server might be the best answer. I will look into it.

It does seem nextcloud offers a lot more than I need and maybe not even what I need.

Thank you!

Best regards,
Fred