Installing Nextcloud Desktop Client on Raspberry Pi 3 (Pixel)

Several months ago, my girlfriend asked me about a recommendation for tablet for a low budget. She wanted to use it for office work and the common internet surfing stuff (youtube and so on). Most reviews were not good about such cheap tablets. Unfortunately, her budget was too low for an Apple iPad, Microsoft Surface 3, or Samsung Galaxy Tab. Luckily, I had a Raspberry Pi 3, an old TFT display, a mice and a keyboard in my leftovers box. It was about time to test the Raspberry Pi (Raspbian Jessie with Pixel – version 2016-09-23) as a Thin Client computer for ordinary daily tasks. The new chromium based web browser (with Adobe Flash plugin) improves the user experience for internet surfing. All video and audio player should work now. LibreOffice is pre-installed software office suite that should be appropiate to work with work with common doc and odt files (delivered from my Nextcloud instance). Well, most things of the Raspberry Pi work very nicely out of the box. Just the collaboration features were missing.


My start with personal / private clouds

For almost a year ago, I started observing Cozy Cloud for these collaboration features. Their solution seemed fine for a one user scenario. Additionally, they are in a (mid to long term) technical transition at the moment, which makes their solution pretty uninteresting for my use case. The PR and the website of ownCloud I never liked very much (too much B2B for my taste). The emerging Nextcloud initiative (originially based on ownCloud) solved that issue pretty nicely. It was about time to give Nextcloud a try. The Nextcloud server was not so difficult to install on another Raspberry Pi 3. I just followed this tutorial by Steven Seifried, which is pretty well explained for technology interested people. In contrast, the Nextcloud Desktop client on my Windows machine as well as on my Android phone has installed really smoothly without any special configuration. They run without problems yet. Only the installation for the Raspberry Pi seemed to get tricky… After some web research, I have found that helpful forum post (yes, I still use and read on forums 😉 ). The recommendation was about following the instruction based on installing the Nextcloud Desktop Client on Ubuntu. As far as my Linux knowledge goes, Ubuntu is based on Debian and the same is valid for the Raspberry Pi OS Raspbian Jessie. It was worth a try and after some failures it started to work out. This blog post describes my installation process for the Raspberry Pi 3 Jessie with Pixel.


Start with the Installation

Before you start installing additional software, please be sure that your system is up to date. Just type in these commands in your terminal:

After that, we can run the exact command as described by Carsten Rieger.

During the compilation, I got the error “Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)” and some other warnings/failures with the KDE library. The KDE was not needed to fix, but the Doxygen was mandatory. Therefore, I installed it plus another additional command:


 Compile your own Nextcloud Client

However, after that set-up procedure, you shoud be ready for the real stuff. Please, switch to your working directory. On my Raspberry Pi it is:

Get your source code from Git (see also Carsten Riegers tutorial – in deutsch) and compile it:

Now, you have time for a coffee. The compilation takes some time. If you run into a problem with ‘make install’ as I did after the compilation. Don’t get panic. The ‘make install‘ command tries to change some files in the /etc/ folder. It needs super powers for doing it. I solved that problem with a second try. Just type in the command with sudo:

Most of the work is done yet. For the final process, you have to create a environment variable. This environmental variable describes the linkage to the library binary files. I prefer the nano editor for this task (I might be too stupid for the Vi editor). However, the library path depends on the used operating system.


Missing linkage to the library
Missing linkage to the library

It seems a few people have run into this not so well documented problem. Of course, the same problem emerged for the Raspbian OS. Luckily, I could find a solution myself pretty fast. The folder ‘x86_64-linux-gnu‘ did not exist in the folder ‘/usr/local/lib/‘. On the Raspbian OS it was the folder ‘arm-linux-gnueabihf‘. Please call the nano editor:

And add the following line to it:

Please reboot your system. After the restart, please open your terminal and type in ‘nextcloud‘. I am pretty curios what gonna happen on your system (you are welcome to leave a comment about your result). I hope your Nextcloud Client starts immediately and you can configure it.


Final problem solving for the Pi

Unfortunately, my system failed with the error ”nextcloud client nextcloud: error while loading shared libraries:…” That error sounds worse than it actually is. Start again your nano editor with the command:

and add the following line and save the changes

For creating a waterproof linkage, please create execute this nano command and add the following line.

Save the changes and run the final command:


Connection the client with the server

Now start in your terminal the Nextcloud Client. Just type in ‘nextcloud‘ and press the ‘enter‘ key. The Nextcloud window should pop up and you can start connecting your client with the server. From here on the configuration process is pretty self-explanatory. You can see on my (bad) screen photos that the client and the folder ‘Nextcloud‘ syncs automatically with the server. You can adapt the sync process on your needs. I have done it and I am looking forward testing this low-cost Thin Client on a daily life base.


Share Post :

More Posts

1 Comment

Leave a Reply