Problem Installing Nextcloud on TrueNas

OnePieceLuffy

Dabbler
Joined
Feb 22, 2021
Messages
29
Thank you, that will solve 1 problem.

1616154358740.png


do you have a tutorial that can help me with that?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Click on each of the individual links to the documentation and follow the instructions given there.

The first one probably means you need to change a setting in /usr/local/etc/php.ini. If that file is not present at all, then copy php.ini-production to php.ini in the same directory.

The second and third probably ask for a change in the Nextcloud configuration file /usr/local/www/nextcloud/config/config.php. I guess the parameters overwritehost and overwriteprotocol might be relevant here.

Fourth is again in the Nextcloud config file, parameter default_phone_region.

Last one can be solved by:
Code:
pkg install php74-pecl-redis
sysrc redis_enable=YES
service redis start
(provided you are using PHP 7.4 - if not, then adjust accordingly).
 

OnePieceLuffy

Dabbler
Joined
Feb 22, 2021
Messages
29
Thank you very much, I have fixed the problems except the orange uRls and Https parties. I need to install let's install on my Truenas and / or nextcloud server now. I am looking for a tutorial for that. Or equivalent to pass https
 
Last edited:

nemesis1782

Contributor
Joined
Mar 2, 2021
Messages
105
I'd recommend using the forums search feature. It works very well. Or as I do google.

The closest results:
- Setting up a reverse proxy: https://www.truenas.com/community/r...rse-proxy-with-ssl-termination-in-a-jail.132/
- See this for someone with the exact same question: https://www.truenas.com/community/threads/nextcloud-lets-encrypt-nginx.72643/

Also for the orrange uri's do keep in mind that no matter ghow you set it up if you go to your next cloud using a ip the certificate will never be accepted.

Could you post your nextcloud config (Remove anything that may be a secrity risk in sharing for instance passwords and user names)?
 

ddaenen1

Patron
Joined
Nov 25, 2019
Messages
318
I'd recommend using the forums search feature. It works very well. Or as I do google.

The closest results:
- Setting up a reverse proxy: https://www.truenas.com/community/r...rse-proxy-with-ssl-termination-in-a-jail.132/
- See this for someone with the exact same question: https://www.truenas.com/community/threads/nextcloud-lets-encrypt-nginx.72643/

Also for the orrange uri's do keep in mind that no matter ghow you set it up if you go to your next cloud using a ip the certificate will never be accepted.

Could you post your nextcloud config (Remove anything that may be a secrity risk in sharing for instance passwords and user names)?

That is correct. You would still need an FQDN. Honestly, i would set that up outside of your Nextcloud install. One of the issues with using the plugin is that if you do an update, some stuff can get broken (i use the plugin too). I have set up letsencrypt certs and a reverse proxy in pfSense using the ACME package and HAproxy. Works like a charm and never need to worry on what happens in TrueNAS. Now i know not everyone uses pfSense but i actually swapped my Mikrotik for pfSense only for this functionality as to me, a cloud is not much worth if you cannot access it all the time and everywhere.
 
Top