NextCloudPi on a Raspberry Pi 4B

After sudo ncp-update I did sudo ncp-dist-upgrade again. Now the notification disappeared. Thanks!

1 Like

Today I tried to donate via credit card. But however the page forces me to open an account of PayPal. I won’t open such an account for some reasons. So I’m very sorry. Perhaps you do some changes.

Hi everybody,

I’ll receive my RPi 4 tomorrow !!
I already have my NextcloudPi server on a RPi 3B+.
Do you think I could put my SD card directly from 3B+ to 4B to upgrade my config ?

thank you !

Hi,
I would expect that to work, yes.
But would also expect the unexpected, so I’d make a copy of the card, make backups. To be prepared, better safe then sorry :wink:
Thanks for sharing!

1 Like

“NextCloudPi gets RPi4 support, a backup UI, moves to NC16.0.3, Buster, PHP7.3 and more”:

https://ownyourbits.com/2019/08/05/nextcloudpi-gets-a-backup-ui-moves-to-nc16-0-3-buster-php7-3-and-more/

2 Likes

Where is image for Raspberry Pi 4? It was under Downloads/ tests however looks like is missing now. Is it possible to install on RPI 4 on Raspbian Buster without Docker?

https://ownyourbits.com/nextcloudpi/

Did you check Download section before replying?

I clicked on Code and got this: https://github.com/nextcloud/nextcloudpi

Correct me if I am wrong, but this is only docker version. I am looking for image based on Buster for RPI 4 as it was avaliable before.

https://ownyourbits.com/downloads/NextCloudPi_RPi_07-20-19/

Should work for RPI4.

1 Like

Hi,
i try to migrate from 3B+ to a Pi 4B.
My files and database are on an external USB harddrive.
On my 3B+ I take a ncp-backup and on my Pi 4B the counterpart ncp-import.
But in the configuration of the Pi 4, the directory was not changed.
Also were settings, such as automount not adopted.

So I did it manually via ncp-config.
But there is an error with the database.
ncp-config >> CONFIG >> nc-database >> /media/USBDrive/ncdatabase >> START

Running nc-database
/media/USBdrive/ncdatabase is not empty
Done. Press any key…

This is true, on the Harddrive is a DAtabase with my Configuration. I will use the old configuration on my new Raspbeerry Pi 4B.

Is there any way to move my old data to a new Pi 4B?
Or do I have to copy everything manually?

I updated to latest NCP and Nextcloud versions and then just moved the SD card and external USB disk to the new Pi 4 and booted.

Hi, I try the same. But on my Pi 4 the green LED flashes briefly and then nothing happens anymore.
So I was hoping that I could install a new system on the Pi 4 and copy the old data (files and database) from my Pi 3 to the Pi 4. But the nextcloud system on the Pi 4 overwrite the folders :frowning:

I did it differently. I did not install a new system on the Pi 4. I just physically moved the SD card and the USB disk from Pi3 to Pi4.

In your case, I would have done a full backup of the Pi 3 NCP, created a new NCP image on a new SD card for the Pi 4 and then restored the backup on that new system.

Hello everybody, today I tried the following again:

pi@nextcloud:~ $ sudo ncp-update
Downloading updates
Performing updates
Get:1 http://archive.raspberrypi.org/debian jessie InRelease [22.9 kB]
Get:2 http://mirrordirector.raspbian.org/raspbian buster InRelease [15.0 kB]
Get:3 http://mirrordirector.raspbian.org/raspbian buster/main armhf Packages [13                                                                                                                                                             .0 MB]
Fetched 13.0 MB in 15s (861 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
Installing nc-backup
Hit:1 http://mirrordirector.raspbian.org/raspbian buster InRelease
Get:2 http://archive.raspberrypi.org/debian jessie InRelease [22.9 kB]
Fetched 22.9 kB in 1s (26.5 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
pigz is already the newest version (2.4-1).
0 upgraded, 0 newly installed, 0 to remove and 33 not upgraded.
NextCloudPi updated to version v1.18.0
Running nc-previews-auto
Automatic preview generation enabled
Running nc-autoupdate-nc
automatic Nextcloud updates enabled
NextCloudPi updated to version v1.18.0
pi@nextcloud:~ $ sudo ncp-update
ncp-update     ncp-update-nc

pi@nextcloud:~ $ sudo ncp-update-nc
Malformed version

pi@nextcloud:~ $ sudo ncp-dist-upgrade
Already on the lastest recommended distribution. Abort.
pi@nextcloud:~ $

But Nextcloud just does not want to start in my Pi 4.
If I try it with a backup, which I create on my Pi 3, then the Pi 4 does not connect with the external hard drive. If I integrate the external hard drive on the Pi 4 over the control panael, then it overwrites all data on the hard drive.

Ok, now it works. I downloaded the current master firmware from the GIT and copied it to the boot partition. Now the SD boots in my Pi 4.

I have a four-unit cluster of RPi4s and I have had zero problems. Very stable platform, been up for months. Highly recommend running Ubuntu so you can have 64bit support :slight_smile: works great!