I did have one issue ā¦ /etc/nginx/nginx.conf was created with user nginx; instead of user www-data; after building the nginx server ā¦ this led to a 502 Gateway error when testing the server.
Thank you for your very detailed guide. I have a question about nginx: If we build nginx by ourself - how do we update it? Wouldnāt it be easier to use apt install nginx, or are there some modules missing?
Has anybody tested this together with Collabora or/and Spreed.ME and about stability and long-time performance? I am asking because I used Apache before for everything
We compile nginx because of the separate module āngx_cache_purgeā from scratch. And for compiling reasons i choosed the current release. But you may use the ubuntu repositories as well. With regards to nginx updates: i set nginx on hold (apt-mark hold nginx) and will just update nginx manually if really needed
Cheers, Carsten
thanks for your responses.
i donāt know anything about ajenti yet.
i wouldnāt prefer sdcards. i would recommend using nas or hdd/ssd plugged to your sbc.
for os it is sufficient to use sd or eMMC.
cheers, carsten
Hello Carsten!
Those tutoirials are great! Thanks a lot for writinhg and maintaining them! I have my NextCloud up, encrypted and running perfectly thanks to your effort!
I did have one thing to fix. Itās to do with using Thunderbird and Lightning to sync with the NextCloud calendar (caldav).
When using the setup you provide, Thunderbird would not even try to log into the caldav account (no prompt appears).
To fix that, I had to change the āssl_ciphersā string.
As at the same time, I had issues with my iPhone cooperating with the CalDav, I ended up trying quite a few combinations.
Turns out my iPhone Issue was not related to ssl_ciphers, but the Thunderbird one sure was.
This is, for reference, my current āssl_ciphersā string. I must confess that I donāt know anything about those values. So feel free to correct me if this one poses a risk of any kind:
ssl_ciphers āECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256ā;
(I think this is the output of the Mozilla Configurator Tool, but I may be wronng).
Hi, I hope it is ok to use this thread for questions regarding your superb install-docs
Why do you need ngx_cache_purge ? I donĀ“t see any purge-configs in your nginx-config, or is this handled by NC (sorry, I donĀ“t have much background on this) ?
And I assume geoIP for fail2ban ?
This could be handled in Thunderbird, you just have to set the variable
network.http.spdy.enabled.http2
to āfalseā. Then restart Thunderbird and your are able to use lightning (caldav) and sogo (carddav) in thunderbird with my ssl_ciphers again.
Regarding ngx, geoip and fail2ban:
ngx is used in NGINX and increases e.g. the galery performance for Nextcloud significantly.
geoip and fail2ban are used for security purposes and to prevent your server (e.g. brutforce attacks)
cheers, carsten -
Please find my Nextcloud installation guide here
I used this very useful guide and I ran into an issue with downloading large files.
I only have an upstream of about 1Mb/s which results in a transfer time of about 9000 seconds (2.5h) for a 9Gb file. After about 4000 seconds however, it dies. It helped to increase request_terminate_timeout in /etc/php/7.0/fpm/pool.d/www.conf to (way) more than 9000 seconds (which was set to 3600 before I think). So that value should be adjusted according to your upstream (or downstream if this is your limiting factor) and the maximum file size.
Hi Carsten, thanks for your guide, itās the most comprehensive I have found!
To all, Iām a noob whoās hoping to follow your latest guide to install Nextcloud on my rpi 3 and have a few questions that hopefully yāall can help me with!
Since Iād be running my nextcloud on rpi 3 with Jessie, would I replace the adding mainline rep steps with the following?
i switched from RPI to Odroid C2 (for performance reasons like 2GB RAM and GBit-LAN).
but other users told me, that they still follow my instructions on rpi etc. as well on other os like debian as on jessieā¦
apologize i canāt response to your questions seriously and in particular, so any assistance from others is really appreciated.
I did notice you switched to Odroid, makes me wish I had found your guide sooner, because I may have bought an Odroid instead of an rpi! Though I will consider an Odroid for the future.
No worries about not being able to respond specifically for debian/jessie, I came across a nextcloud image by nachoparker for rpi3 and think I am going to use that, or try to follow his code for practice. Networking is still baffling to a noob like me, so I think this will be the best way to go.