nextcloudpi icon indicating copy to clipboard operation
nextcloudpi copied to clipboard

Raspberry Pi 5 support

Open sunjam opened this issue 2 years ago • 11 comments

Raspberry Pi 5 has been announced. Launches end of October. fyi, for planning purposes and image support.

  • #1730
  • #1589

sunjam avatar Sep 29 '23 01:09 sunjam

For Rapberry Pi 5 the new debian bookworm based raspbian os is needed [1]. Official an upgrade is not possible / recommended. But the boys from the alternative dietpi distribution has released an upgrade script [2]. Maybe it can adopted for the nextcloudpi project as well?

  • [1] https://www.raspberrypi.com/news/bookworm-the-new-version-of-raspberry-pi-os/
  • [2] https://dietpi.com/blog/?p=2809#upgrade

christoph-bittmann avatar Oct 30 '23 10:10 christoph-bittmann

@christoph-bittmann We won't be able to support debian bookworm for at least the next 3 versions of NCP. In particular, I want to get rid of the dependency of PHP apt package before doing an OS upgrade, because that combination is very error prone and has caused many issues in the past. In the next two versions, support for docker containers within NCP will be introduced and thereafter, individual services will be moved to containers. That will reduce the risk of system upgrades significantly, as individual services won't be affected by them.

Once that's working, we'll move to bookworm

theCalcaholic avatar Oct 30 '23 15:10 theCalcaholic

Hey, good job keeping ncp up and running! Any estimated date to support Raspberry Pi 5? For those of us who already have a board, it would be interesting to know if it is worth waiting or trying other alternatives in the meantime.

darguez avatar Dec 27 '23 05:12 darguez

Try testing it and letting us know. Most people do not have one.

sunjam avatar Dec 27 '23 05:12 sunjam

Try testing it and letting us know. Most people do not have one.

I've already done it, after installing Raspberry Pi OS 64bit I ran as root:

# curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash

and I get the following message:

Installing NextCloudPi...
ERROR: distro not supported:
Debian GNU/Linux 12 \n \l

darguez avatar Dec 27 '23 14:12 darguez

@darguez If all goes well with the next releases, I can see NCP supporting bookworm (and therefore the RPi5) in 2024-03

theCalcaholic avatar Dec 27 '23 16:12 theCalcaholic

I know that this applies to the script, but does it also apply to the raspberry pi image in the releases. I've used raspberry pi imager on the img file that was created by extracting the zip, enabled USB boot for 25 watt power supplies, but my pi (connected with thernet) doesn't show up on the WiFi router after booting, and I can't connect a display because I don't have a micro hdmi cable yet.

godalming123 avatar Dec 29 '23 18:12 godalming123

@godalming123 I have no way to test this, unfortunately, because I don't own an RPi 5. However, there might be a way to get support for the RPi 5 early than I was hoping via Armbian (instead of Raspbian). I'm still exploring that option though, so no promises.

theCalcaholic avatar Jan 02 '24 07:01 theCalcaholic

@theCalcaholic now that my micro-HDMI to HDMI cable has arrived I can just use ubuntu with the nextcloud snap.

godalming123 avatar Jan 07 '24 09:01 godalming123

Fresh install of Armbian I ran as root:

#: curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash

same error : ERROR: distro not supported

Lyndonsource avatar Jan 08 '24 14:01 Lyndonsource

That is because Bookworm support is in development.

  • https://github.com/nextcloud/nextcloudpi/issues/1730

sunjam avatar Jan 08 '24 14:01 sunjam

On a fresh raspberry Pi 5 with the full 64 bit version, I just ran:

curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash

I got: Getting build code... Cloning in '/tmp/nextcloudpi.sJmta8/nextcloudpi'... Failed to connect to github.com port 443 after 136053 ms: Couldn't connect to server

I guess we'll have to wait a bit :)

Gepamal avatar Mar 02 '24 16:03 Gepamal

In the meantime, is there an outlook when NextcloudPI can be installed on the Raspberry Pi5?

blueskyfeeling avatar Mar 09 '24 19:03 blueskyfeeling

Hi,

I've just try instal the .img on my raspy5 and i've got the same error message.

Do you know when nextcloudpi will be working on raspy 5 ?

Thanks for you work !

Markistobud avatar Apr 11 '24 20:04 Markistobud

Look at the original links in this issue.

sunjam avatar Apr 12 '24 03:04 sunjam

You can now test an NCP image for the Raspberry Pi 5: https://github.com/nextcloud/nextcloudpi/releases/tag/v1.54.0-rc3

Please consider giving feedback since I can't test the image without emulation :)

theCalcaholic avatar Apr 22 '24 14:04 theCalcaholic

I can assist with testing on a bona fide Raspberry Pi 5 this week. Is there a test suite to be executed, or do you want ad hoc testing to be completed?

isketerol64 avatar Apr 29 '24 01:04 isketerol64

See here for most recent test build: https://github.com/nextcloud/nextcloudpi/tags ncp-report is built in.

sunjam avatar Apr 29 '24 18:04 sunjam

Raspberry PI 5 with 8 GB. Imaged the v1.54.0-rc6 release to the NVME. Booted from the NVME.

It installs and boots correctly, however after the activation i can not login using "ncp" and either of the two passwords I copied at either https://nextcloudpi.local or https://nextcloudpi.local:4443

No ability to login to the console to use any command line options to fix the logins.

Removed nvme and imaged an sd card. NextCloud website can not be accessed. The only services that show on the Pi are ssh and npcbind on port 22 and 111

Imaged with latest Raspbian and the device is fine.

Tried with USB and that showed me how my previous problem occurred. There was a message that there had been an error in activating and that windows needed to be refreshed. That created new passwords which wouldn't work as I had not copied those new ones,.

I reimaged the NVME again and this time no errors on activating and all is good.

isketerol64 avatar Apr 29 '24 19:04 isketerol64

Support for the Raspberry Pi 5 has now finally landed with v1.54.0

theCalcaholic avatar May 02 '24 03:05 theCalcaholic

I've been running it for two days now, upgrade was smooth, no obvious issues (but pacing the rug waiting for my fave app devs to catch up to Nextcloud 29 😅

On Wed, May 1, 2024 at 11:36 PM Tobias Knöppler @.***> wrote:

Support for the Raspberry Pi 5 has now finally landed with v1.54.0

— Reply to this email directly, view it on GitHub https://github.com/nextcloud/nextcloudpi/issues/1832#issuecomment-2089471283, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPLTKYGCIZQL44VB77SACDZAGYCNAVCNFSM6AAAAAA5LZR2AGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBZGQ3TCMRYGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Gary Lawrence Murphy - Toronto CA - Fediverse @.***> - Tumblr https://teledyn.tumblr.com - Blog https://blog.teledyn.com - Home https://www.teledyn.com/

teledyn avatar May 04 '24 01:05 teledyn

@teledyn NC 29 will also probably be the next milestone for NCP (including PHP 8.3) :)

theCalcaholic avatar May 04 '24 09:05 theCalcaholic