# NextCloud 11 ready Raspbian image with extras

**URL:** <https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** nc11, ncp\
**Created:** [March 24, 2017, 4:23pm UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625 "2017-03-24T16:23:30Z")\
**Posts on this page:** 19\
**Page:** 4

<div class="post-metadata">

**Author:** ![nachoparker](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nachoparker/32/2975_2.png) [@nachoparker](https://help.nextcloud.com/u/nachoparker)\
**Post date:** [July 20, 2017, 8:58am UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/63 "2017-07-20T08:58:01Z")

</div>

wow… that’s worrysome though… if you were up to, it would be great if you tried to replicate that. I run tests that create users and it seems to work fine.

Any details of your configuration? any other things you did or manually configured/installed on the Raspberry Pi?

---

<div class="post-metadata">

**Author:** ![new-on-github](https://help.nextcloud.com/user_avatar/help.nextcloud.com/new-on-github/32/7548_2.png) [@new-on-github](https://help.nextcloud.com/u/new-on-github)\
**Post date:** [July 20, 2017, 9:18am UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/64 "2017-07-20T09:18:37Z")

</div>

Ok, i I opened a new Issue on Github:

> <https://github.com/nextcloud/nextcloudpi/issues/59>

Maybe this helps…

/

/

---

<div class="post-metadata">

**Author:** ![nachoparker](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nachoparker/32/2975_2.png) [@nachoparker](https://help.nextcloud.com/u/nachoparker)\
**Post date:** [July 20, 2017, 9:19am UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/65 "2017-07-20T09:19:24Z")

</div>

thank you 🙂

---

<div class="post-metadata">

**Author:** ![thom-github](https://help.nextcloud.com/user_avatar/help.nextcloud.com/thom-github/32/6074_2.png) [@thom-github](https://help.nextcloud.com/u/thom-github)\
**Post date:** [October 3, 2017, 7:17am UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/66 "2017-10-03T07:17:56Z")

</div>

Hi,

thanks for all the work you put into this. And, your setup is EXACTLY what I was trying to achieve manually for months now. So, last night I downloaded NCPi 12.3 as a torrent, put it on my RPi’s card and booted -it starts fine. I saw a couple of “[FAILED]” fly buy but didn’t think much of it.

I went into raspi-config to set locale, timezone, keyboard etc, but none of it worked, all of them came up with a general failed message. Ah well, I’ll do that manually later, right? So I try to update the Pi from the config, but get a fail as well.  
Turns out, the Pi get’s no network, ifconfig shows only loopback but no other devices. And upon checking, lo and behold, one of the [FAILED] on boot was “couldn’t activate dhcpcd for all devices”.

Huh… So I manually set a static IP in /etc/dhcpcd.conf and rebooted, but same issue.

Should I open an issue on GH for this? What kind of info can I give you to help? Personally, I’m baffled by this.

---

<div class="post-metadata">

**Author:** ![nachoparker](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nachoparker/32/2975_2.png) [@nachoparker](https://help.nextcloud.com/u/nachoparker)\
**Post date:** [October 3, 2017, 7:38am UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/67 "2017-10-03T07:38:17Z")

</div>

All those things sound ‘random’ and ‘weird’, so I would first look at [hardware issues](https://github.com/nextcloud/nextcloudpi/wiki/FAQ#nextcloud-is-too-slow--i-get-random-failures--i-get-server-errors-even-with-a-fresh-image)

---

<div class="post-metadata">

**Author:** ![thom-github](https://help.nextcloud.com/user_avatar/help.nextcloud.com/thom-github/32/6074_2.png) [@thom-github](https://help.nextcloud.com/u/thom-github)\
**Post date:** [October 3, 2017, 7:51am UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/68 "2017-10-03T07:51:50Z")

</div>

The RPi is just 4 weeks old, the SD was bought along with it (no no-name junk). I’ll try and find out how to check for read/write errors.  
There’s two HDDs attached via a USB-extender, that’s got it’s own PSU.

I guess I can see if things improve with a different PSU for the PI itself.

Thing is, before I installed your image, the PI was running just fine, same hardware, but vanilla raspbian.

---

<div class="post-metadata">

**Author:** ![nachoparker](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nachoparker/32/2975_2.png) [@nachoparker](https://help.nextcloud.com/u/nachoparker)\
**Post date:** [October 3, 2017, 8:46am UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/69 "2017-10-03T08:46:50Z")

</div>

I build on plain raspbian, so stuff in `raspi-config` is unmodified. That’s what gets me suspicious

---

<div class="post-metadata">

**Author:** ![thom-github](https://help.nextcloud.com/user_avatar/help.nextcloud.com/thom-github/32/6074_2.png) [@thom-github](https://help.nextcloud.com/u/thom-github)\
**Post date:** [October 3, 2017, 1:52pm UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/70 "2017-10-03T13:52:49Z")

</div>

I agree, first instinct is: Read / write problems. So, I’m testing the card following  
[this](http://projects.nuschkys.net/2012/05/15/testing-a-new-sd-card-under-linux/).

I created a random image file, and dd’ed it onto the card (I skipped the speed check).

```
dd if=/dev/urandom of=rnd_init_data bs=1024 count=16000000
16000000+0 records in
16000000+0 records out
16384000000 bytes (16 GB, 15 GiB) copied, 192,667 s, 85,0 MB/s

```

then

```
sudo dd if=rnd_init_data of=/dev/sde bs=1024 count=16000000
dd: error writing '/dev/sde': No space left on device
15558145+0 records in
15558144+0 records out
15931539456 bytes (16 GB, 15 GiB) copied, 2879,82 s, 5,5 MB/s

```

The “no space left” message is a bit odd, as I have a 16GB card. Plus, only 5,5 MB/s is low, then again I’m using an old USB 2.0 card reader, might well be the bottle neck.

Cutting this short: Ultimately, the result of both the data on the card and the trunctated original is identical (I used slightly different names):

```
6091a2906782b702d097f48afc81467c rnd_init_data_read
6091a2906782b702d097f48afc81467c rnd_init_data_short

```

Ultimately, I put your image back onto the card, ran fsck, comes out clean…

---

<div class="post-metadata">

**Author:** ![thom-github](https://help.nextcloud.com/user_avatar/help.nextcloud.com/thom-github/32/6074_2.png) [@thom-github](https://help.nextcloud.com/u/thom-github)\
**Post date:** [October 3, 2017, 2:37pm UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/71 "2017-10-03T14:37:20Z")

</div>

Well, riddle me this… inserted the dard into the RPi again, ran it, it works. So…huh…  
Off to explore what you’ve built there. Again, thanks 🙂

---

<div class="post-metadata">

**Author:** ![nachoparker](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nachoparker/32/2975_2.png) [@nachoparker](https://help.nextcloud.com/u/nachoparker)\
**Post date:** [October 3, 2017, 4:09pm UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/72 "2017-10-03T16:09:24Z")

</div>

well that’s a mistery… hopefully it will work well 😉

---

<div class="post-metadata">

**Author:** ![thom-github](https://help.nextcloud.com/user_avatar/help.nextcloud.com/thom-github/32/6074_2.png) [@thom-github](https://help.nextcloud.com/u/thom-github)\
**Post date:** [October 9, 2017, 8:44am UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/73 "2017-10-09T08:44:47Z")

</div>

So, happy to report, it works splendidly. Thanks a lot for your fabulous work. 🙂

Question: Anything I should be aware of when adding new services to my Pi? Namely, I would possibly run a blog off of it (which I assume won’t be a big issue) and might want to add PiHole to my RPi as well (THAT could be a challenge, as PiHole uses lighttpd and has to run on port 80). Would it help if I ran PiHole as a Docker container?

That’s all for now 🙂

---

<div class="post-metadata">

**Author:** ![nachoparker](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nachoparker/32/2975_2.png) [@nachoparker](https://help.nextcloud.com/u/nachoparker)\
**Post date:** [October 9, 2017, 8:48am UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/74 "2017-10-09T08:48:45Z")

</div>

Hi,

Happy to hear that.

Well, definitely there can be problems mixing web services. Look for instance at this

> [@Nextcloudpi do not work after installing pivpn](https://help.nextcloud.com/t/nextcloudpi-do-not-work-after-installing-pivpn/22077):
>
> Nextcloud version :12.0.3 Operating system and version :Nextcloudpi updated Apache or nginx version : Apache/2.4.25 (Raspbian) PHP version : PHP 7.0.19-1 Is this the first time you’ve seen this error?: Yes Can you reliably replicate it? (If so, please outline steps): Tried it two times . After installing pivpn by running curl -L [https://install.pivpn.io](https://install.pivpn.io) | bash I can not log in to nextcloud locally or over Internet. The issue you are facing: It gives me the error in my language (Greek. …

For that reason, it is interesting to run stuff in docker containers (I am almost done with updating the NCP docker image).

The problem with this is that it can be a little bit of a waste in resources to have several web servers running in parallel. Obviously it will also depend on the usage. If you only ever use them to access the admin page could be ok.

I suggest you open a new thread and ask people. Maybe somebody has already done it 😉

---

<div class="post-metadata">

**Author:** ![thom-github](https://help.nextcloud.com/user_avatar/help.nextcloud.com/thom-github/32/6074_2.png) [@thom-github](https://help.nextcloud.com/u/thom-github)\
**Post date:** [October 12, 2017, 9:52am UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/75 "2017-10-12T09:52:49Z")

</div>

On a different note:  
When runnning the nc-backup through the webpanel it times out at

```
Maintenance mode enabled
backup database...
backup base files...
backup data files...

```

I checked via ssh and there is a .tar file created in the correct folder (on a usb HDD, mounted via nc-automount) that keeps growing and growing, even after the webpanel reported

```
Something went wrong. Try refreshing the page

```

I assume that the webpanel just times out while the backup process still runs, right? Anything I can do about this?

The last time I ran the backup it created a 91GB tar file (I don’t remember if I somehow stopped the process). I know, that might not exactly be small change, but it’s not excessively huge either, is it?

---

<div class="post-metadata">

**Author:** ![nachoparker](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nachoparker/32/2975_2.png) [@nachoparker](https://help.nextcloud.com/u/nachoparker)\
**Post date:** [October 17, 2017, 2:15pm UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/76 "2017-10-17T14:15:37Z")

</div>

That is a big backup. I have not been reported this, but it is possible.

If you can reproduce it, I suggest you open an [issue](https://github.com/nextcloud/nextcloudpi/issues) with the relevant information (version, and the rest).

There’s people that have tested backups as big as 100GB and 500GB without issue.

> <https://github.com/nextcloud/nextcloudpi/issues/188>

---

<div class="post-metadata">

**Author:** ![thom-github](https://help.nextcloud.com/user_avatar/help.nextcloud.com/thom-github/32/6074_2.png) [@thom-github](https://help.nextcloud.com/u/thom-github)\
**Post date:** [October 20, 2017, 6:31am UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/77 "2017-10-20T06:31:57Z")

</div>

I’ll check that out, thank you. Almost looks like the last few automatic backups worked, but I’ll look into it.

Different (or related?) issue: The sync client currently fails with this message:

> The downloaded file is empty despite the server announced it should have been 2,2GB

Strangely, checking on both server and client, the file is there, and it shows identical size on both. Any idea?

---

<div class="post-metadata">

**Author:** ![nachoparker](https://help.nextcloud.com/user_avatar/help.nextcloud.com/nachoparker/32/2975_2.png) [@nachoparker](https://help.nextcloud.com/u/nachoparker)\
**Post date:** [October 20, 2017, 9:08am UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/78 "2017-10-20T09:08:45Z")

</div>

Unfortunately, until NC13 32bit systems (such as the Raspberry Pi) do not support uploads over 2GB.

I guess that’s what it is

---

<div class="post-metadata">

**Author:** ![thom-github](https://help.nextcloud.com/user_avatar/help.nextcloud.com/thom-github/32/6074_2.png) [@thom-github](https://help.nextcloud.com/u/thom-github)\
**Post date:** [October 20, 2017, 2:50pm UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/79 "2017-10-20T14:50:58Z")

</div>

Hmm… yeah, that would be a reason. Not a huge loss, as all of those I can redownload anytime. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [November 27, 2024, 8:29pm UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/80 "2024-11-27T20:29:47Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 1:19pm UTC](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625/81 "2024-12-09T13:19:56Z")

</div>



[Previous page](https://help.nextcloud.com/t/nextcloud-11-ready-raspbian-image-with-extras/10625.md?page=3)
