In the Raspberry Pi Os there is a package ânextcloud-desktopâ included but unfortunatley it doesnât work. Also several Tutorials on compling didnât work for me, but fortunatley it is in the debian repository (also arm architecture). Simple said: we add the debian repository to the Raspberry Pi Os and install it from there.
Quick & Dirty: (Will create signature warnings)
Add following line (as root) to the file: /etc/apt/sorces.list: deb [allow-insecure=yes] http://deb.debian.org/debian bullseye main
In command line: sudo apt update
In command line: sudo apt install -y nextcloud-desktop
Then Create a new file (e.g. debian.list) in folder (as root): /etc/apt/sources.list.d/
Add following line in your newly created file (e.g. /etc/apt/sources.list.d/debian.list): deb http://ftp.debian.org/debian stable main contrib non-free
In command line: sudo apt update
In command line: sudo apt install -y nextcloud-desktop
the debian package sources for nextcloud are not very well.
Just add the official package source and the public key of the nextcloud client to your system update the package sources and install the package.
Thatâs why you shouldnât use PPAs on Debian. PPAs are only be meant to be used on Ubuntu, and even there, they have to support the specific version of Ubuntu you are using them. Maybe the Flatpak or the Snap package is an option for you⊠They are self contained containers that come with all the required dependencies alreadyâŠ
Thank you so much! I have been trying to install the Nextcloud Client on a Raspberry 3 B+ using Debian Bullseye for hours, and this finally worked! Summarized for easier copy & pasting:
Run:
sudo nano /etc/apt/sources.list
then append this line, then save (Ctrl + X, Y, Enter):
deb [allow-insecure=yes] http://deb.debian.org/debian bullseye main
When i insert the key from Debian and fill in the file debian.list as described by you i got an error message from the build in update facility of RASPOS64 (someting like release notes missing).
Using the following line in debian.list worked fine for me:
deb http ://ftp.ca.debian.org/debian stretch stable main contrib non-free
I guess replacing stretch by bullseye will also work (not yet tried; will come back when itâs NOT working ).
PS. Remove the space after http. Was needed to avoid an autocorrect.
Just a quick note: the above mentioned Raspberry Pi Os package ânextcloud-desktopâ reported to ânot workâ seems to be removed, apt search only find 3 other packages:
sudo apt search nextcloud-desktop
nextcloud-desktop-common/stable 3.1.1-2+deb11u1 all
Nextcloud folder synchronization - common data
nextcloud-desktop-doc/stable 3.1.1-2+deb11u1 all
Nextcloud folder synchronization - documentation
nextcloud-desktop-l10n/stable 3.1.1-2+deb11u1 all
Nextcloud folder synchronization - localization
I will proceed with the Debian repository and post again.
Add the Debian repository to the Raspberry Pi by editing /etc/apt/sources.list.d/debian.list
deb [signed-by=/usr/share/keyrings/debian-archive-key-11.asc.gpg] https://ftp.debian.org/debian stable main contrib non-free
Update repositories
sudo apt update
Because the Raspberry Pi OS and the Debian repositories differ, a large number of packages that can be upgraded.
I assume that I could install just nextcloud-desktop and remove the Debian repository, but this would become unsustainable and unpractical for the majority of Raspberry Pi users who want to install NextCloud.
How can I contact the Raspberry Pi OS NextCloud maintainer or become one?
Thanks for this hack. I just found out that the old Owncloud desktop client does not install on bullseye but this hack gives me the real Nextcloud-desktop client.
I installed the client and then went back into the debian.list file and commented out the line. I can use it again when I need to update the client.
thank you for the tutorial, it helped me to use the right certificates!
I wouldnât advice though to use a generic label such as âdebian stableâ, because the installed system on the raspberry pi could not necessary match the one for debian stable. For example bookworms is not installable from upgrade on my system, and Iâve installed bullseye instead (after upgrading from buster). If I use âdebian stableâ (which is bookworms), Iâll break my system.
so Iâve put instead:
deb [signed-by=/usr/share/keyrings/debian-archive-key-11.asc.gpg] https://ftp.debian.org/debian bullseye main contrib non-free