nextcloud / nextcloudpi

📦 Build code for NextcloudPi: Raspberry Pi, Odroid, Rock64, curl installer...
https://nextcloudpi.com
2.49k stars 295 forks source link

Raspberry Pi 5 support #1832

Closed sunjam closed 4 months ago

sunjam commented 11 months ago

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

christoph-bittmann commented 10 months ago

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?

theCalcaholic commented 10 months ago

@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

darguez commented 8 months ago

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.

sunjam commented 8 months ago

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

darguez commented 8 months ago

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
theCalcaholic commented 8 months ago

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

godalming123 commented 8 months ago

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.

theCalcaholic commented 8 months ago

@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.

godalming123 commented 8 months ago

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

Lyndonsource commented 8 months ago

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

sunjam commented 8 months ago

That is because Bookworm support is in development.

Gepamal commented 6 months ago

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 :)

blueskyfeeling commented 6 months ago

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

Markistobud commented 4 months ago

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 !

sunjam commented 4 months ago

Look at the original links in this issue.

theCalcaholic commented 4 months ago

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 :)

isketerol64 commented 4 months ago

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?

sunjam commented 4 months ago

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

isketerol64 commented 4 months ago

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.

theCalcaholic commented 4 months ago

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

teledyn commented 4 months ago

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/

theCalcaholic commented 4 months ago

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