Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi 5 support #1832

Closed
sunjam opened this issue Sep 29, 2023 · 22 comments
Closed

Raspberry Pi 5 support #1832

sunjam opened this issue Sep 29, 2023 · 22 comments

Comments

@sunjam
Copy link

sunjam commented Sep 29, 2023

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

@christoph-bittmann
Copy link

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
Copy link
Collaborator

theCalcaholic commented Oct 30, 2023

@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
Copy link

darguez commented Dec 27, 2023

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
Copy link
Author

sunjam commented Dec 27, 2023

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

@darguez
Copy link

darguez commented Dec 27, 2023

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
Copy link
Collaborator

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

@godalming123
Copy link

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 theCalcaholic pinned this issue Jan 2, 2024
@theCalcaholic
Copy link
Collaborator

@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
Copy link

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

@Lyndonsource
Copy link

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
Copy link
Author

sunjam commented Jan 8, 2024

That is because Bookworm support is in development.

@Gepamal
Copy link

Gepamal commented Mar 2, 2024

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
Copy link

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

@Markistobud
Copy link

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
Copy link
Author

sunjam commented Apr 12, 2024

Look at the original links in this issue.

@theCalcaholic
Copy link
Collaborator

theCalcaholic commented Apr 22, 2024

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
Copy link

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
Copy link
Author

sunjam commented Apr 29, 2024

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

@isketerol64
Copy link

isketerol64 commented Apr 29, 2024

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
Copy link
Collaborator

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

@theCalcaholic theCalcaholic unpinned this issue May 2, 2024
@teledyn
Copy link

teledyn commented May 4, 2024 via email

@theCalcaholic
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests