How to restart from scratch on a Raspberry Pi3?

In the Nextcloud Box Wiki there is an entry entitled ‘How to restart from scratch’. However, it covers only the Pi2.

The instructions state

Power off the Raspberry Pi 2
Plug the SD card in a card reader connected to a laptop or desktop computer
Open the SD card’s 1st partition
Open the cmdline.txt file
Modify “root=/dev/sda2” to “root=/dev/mmcblk0p2”

but ‘root=/dev/sda2’ does not appear in this file for the Pi3. The file has only

dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty0 elevator=deadline max_usb_current=1

How would one start from scratch for the Pi3?

I would be grateful if somebody could answer this query, thank you.

try the called nextcloudpi… it’s an official part of the NC-universe and pretty well maintained by @nachoparker

1 Like

Depending how much files the Cloud should store and how many Users will have access to the cloud, short, dependent to the traffic, the better choice (for me) is your special NextcloudPi Image with the Berryboot option.
First I have tried your normal SDcard Image, that was working very well, but sometimes it was very slow. With Berryboot there is a much better performance (with an old 60GB HDD) and a friend of me is using a external SSD and that gives even more performance.
But it is not easy to find, there is only a short sentence and a link to this site. Beginners don’t understand the benefits of this System, because everyone and every Site is pointing to the SDcard image :wink:


I can now answer my own question: I downloaded the latest Nextcloud box image, wrote it to an SD card, and booted the box with the card, and it set everything back to scratch (including, presumably, formatting the hard drive.

Thank you @JimmyKater and @nachoparker. Very interesting - I was not aware of nextcloudpi - what a wonderful idea. I am tempted to try it out, as it is apparent that nextcloud are not maintaining the nextcloud box. Presumably, therefore, it will never update to nextcloud 13?

Has anybody actually tried it with a nextcloud box?

With thanks

1 Like

I have looked quickly at this, but do not really understand what Berryboot is. My Nextcloud box will have two suers and proably 500 GB of files.

You can try the two and decide… I don’t know if they have updated to NC13 but I imagine they will

am pretty sure that they are gonna update the snap to v13 sometime

Thank you. I will try your nextcloudpi, and will report back!

The main benefit of the berryboot option is the speed AND it won’t kill your SDcard.
With Berryboot you need only a very small SDcard formatted in FAT and you can simply copy the Berryboot files to the SDcard.
After boot from SDcard everything else is running at the HDD, this is pretty useful because there are a much read/write operations because the Database and Apache, Logfiles and so on.
Of cause, the normal NextcloudPi Image has an option to move the database to HDD or USBstick, but in my Case the performance is much better with the berryboot version.

Hello. I have now prepared an SD card using the nextcloud pi image dated early 2018. The pi in the nextcloud box boots up (I can see it on my TV screen connected via HDMI). However, I am unsure what to do next. From my wireless router I can see that nextcloudpi is connected (via cable) and I have the ip address, but attempts to connect from a browser (from a computer on the wireless network) to 192.168.0.XX fail.

Obviously I need to be able to connect to the NextCloudPi web panel, and I need to discover how to set the hard drive in the nextcloud box to hold my nextcloud backups etc…

I would be grateful for any pointers!

With thanks

I am not sure at which position you are. If the setup is done completely you simply write “nextcloudpi.local” of course without quotes in the browser. Otherwise, you have to connect a keyboard to the Pi and follow simply the questions until you are ready.
For questions like yours it is always a bit easier to have a picture of the screen

Thank you @3Dscrewer - I can’t provide an image now as the TV screen is being used by the kids… But the pi boots up fine and I could login with the standard pi credentials. I can also use sudo nextcloudpi-config and start the config.

I haven’t tried to do more than this. The nextcloud box is connected to my router by ethernet (I had it running the nextcloud box version of ubuntu fine this morning).

I was expecting to be able to browse from a computer on the network but I cannot access the address from a web browser. There are various images available for nextcloudpi (2017, 2018, and berryboot, which is also 2018). I have used the one from 2018.

Many thanks

Have you read this, in my opinion it is pretty easy to understand and to follow the necessary steps … and I’m 60 with german mother language :sunglasses:

You have to scroll down for hints because installation

Thank you @3Dscrewer I have read this and I cannot see why nextcloud is not visible on my network.

If you are using Windows Network you can’t see the Raspi unless you set up samba. Nextcloud is no NAS Service
sometimes it is useful to use in browser https://local.ip:443 or for the setup :4443.
You will get an error message, but if you use extended you can access the adress.

Sorry, I cant imagine what your problem is.

try (http or) https://192.168.0.XX:4443 to access ncp from within your network

@3Dscrewer @JimmyKater thank you. Let me provide what details I can. I am using a freshly made SD card (with the nextcloudpi image dated 6 Feb 2018). My nextcloud box is connected by ethernet to my router and, with the card in the pi I can see it (and its ip 192.168.0.xx) by logging in to the admin from my router/wireless box. Booting the pi whilst attached to the TV all seems fine. At the prompt I can login using the standard pi credentials (pi/raspberry) and then I can run sudo nextcloudpi-config and a menu appears. Any attempt to do anything on the menu gives error 126.

I have tried all possible ways of using a laptop connected to the wireless box to connect to the pi (e.g. https://192.168.0.xx:4443) but to no avail. The laptop is running Ubuntu.

With grateful thanks (and sorry to bother you)!