sheenegarmi
Dabbler
- Joined
- Jul 26, 2019
- Messages
- 18
everything is fine. I’m a blind fool, I didn’t see an error in the site address. I have not decided to copy the configuration yet. Now everything works
This much is expected--I'm not entirely sure why, but I'm aware of it, and it doesn't appear to hurt anything.mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Command: mysqladmin reload failed!
This, however, isn't. It looks like there's a bug in the pecl-redis package. Best I can say is wait a few days (maybe keep an eye on the bug ticket) and try again once it's fixed./usr/local/lib/php/20180731/redis.so: Undefined symbol "php_hash_bin2hex"
This seems to be resolved by using PHP 7.4. The script has now been modified to do this. If your installation is already working, you don't need to do anything. If not, update the script by running/usr/local/lib/php/20180731/redis.so: Undefined symbol "php_hash_bin2hex"
git pull
and run it again.Not really. This script is designed to install a complete Nextcloud system, using Caddy as the webserver, and it's Caddy that handles obtaining and renewing the certs. You could, perhaps, put your jail behind a Caddy reverse proxy, and have that reverse proxy handle your TLS termination; I have a different resource describing that setup:would I be able to use this script within the jail just for the Cert part and key of it?
That's another possibility. If you do that, make sure you save everything:Or should I save all my data uninstall everything and start over with this script given it automates everything
It won't show on the plugins page as it isn't a plugin, but it will show on the Jails screen. You shouldn't ever need to SSH into the system to deal with it once it's up and running.if I do that will I be able to see the jail within the plugins page after the install is done
In the worst likely case, you may have hit the "failed authorizations" rate limit--that resets after an hour. There's also a rate limit for no more than five identical certs/week, but if you've failed to issue the certs you wouldn't hit that one (that's also why my script uses the staging server by default; its rate limits are much higher).Given that I have tired to set up SSL and failed 4-5 times that being said is my domain name locked for x amount of time?
I'm not sure what you mean here, unless "gclone" is your contraction forIs there a difference in installing from the GUI vs. ssh into the freenas sever and running a gclone command?
git clone
, and refers to using my script vs. installing the plugin. If that's the case, there are a few major differences:Thank you so much for helping me with this issue, I will take down my current nextcloud sever save everything, and then uninstall my current nextcloud sever. I then will set up a data set called nextcloud and within that i will make the following dataset's one for files, config, themes and dbNot really. This script is designed to install a complete Nextcloud system, using Caddy as the webserver, and it's Caddy that handles obtaining and renewing the certs. You could, perhaps, put your jail behind a Caddy reverse proxy, and have that reverse proxy handle your TLS termination; I have a different resource describing that setup:
Reverse Proxy using Caddy (with optional automatic TLS)
Many users install a variety of web applications in jails on their FreeNAS servers, and often those applications run on non-standard ports like 6789, 8181, 7878, etc. These port numbers are far from intuitive, and the applications often either...www.ixsystems.com
That's another possibility. If you do that, make sure you save everything:
Create a database called nextcloud on your pool, and within that dataset, datasets of files, config, db, and themes. Put all the files into the appropriate datasets. Once the script finishes, you should be able to log in with all your users and data preserved.
- The data itself (obviously)
- The database files
- The Nextcloud config file
- ...and any theme files, if you've used them
It won't show on the plugins page as it isn't a plugin, but it will show on the Jails screen. You shouldn't ever need to SSH into the system to deal with it once it's up and running.
In the worst likely case, you may have hit the "failed authorizations" rate limit--that resets after an hour. There's also a rate limit for no more than five identical certs/week, but if you've failed to issue the certs you wouldn't hit that one (that's also why my script uses the staging server by default; its rate limits are much higher).
I'm not sure what you mean here, unless "gclone" is your contraction forgit clone
, and refers to using my script vs. installing the plugin. If that's the case, there are a few major differences:
- My script sets up SSL, gets a trusted certificate, and automatically renews it
- I store all your data (all the stuff I told you to save above) outside the jail, on your pool--you can destroy and rebuild the jail without damaging your data. This also helps if your jails are stored on a separate device with less storage capacity than your main pool
- I use Caddy for the web server, rather than Nginx. Caddy's configuration is much simpler, and it handles all the SSL stuff automatically, under the hood.
I need to update that URL--use this instead:Then looking at the Caddy Documentation
There I really can't help you--I remember hearing that Google Cloud DNS was something different than Google Domains, but I've never used either so I can't say.Is this the same as me using google domains
No. When I'm testing, I usually download it into the pool's root (e.g.,Should I download the git clone inside the dataset nextcloud?
cd /mnt/tank; git clone ...
What you just downloaded isn't a jail, it's a script to create the jail. And yes, you'd change into that directory.also when it says to change into a new directory do you mean the new iocage nextcloud a.k.a the jail
Again, we didn't create a jail, but no, this isn't the path to where we downloaded the script. It's just what the docs say: "the path for your data pool".POOL_PATH="/mnt/tank" --> is this were just the pool is or also needs to point to the jail we just created?
Once again, it's just what the docs say: "the fully-qualified domain name you want to assign to your installation."HOST_NAME="YOUR_FQDN" --> is this in the format of www.example.com or just example.com
In the nextcloud-config file. Like the docs say.Where would I set DNS_PLUGIN="googlecloud"
I'm not sure how to make it any clearer. Each DNS provider requires certain credentials. You will specify them in the DNS_ENV setting. What they are varies from provider to provider; I have no idea what credentials Google would want. You don't need to switch to Cloudflare for your DNS (though it works well and it's free), but if you do, since I use it myself, I know what those credentials would be.I'm not sure what this is telling me.
I need to update that URL--use this instead:
Caddy User Guide
caddyserver.com
There I really can't help you--I remember hearing that Google Cloud DNS was something different than Google Domains, but I've never used either so I can't say.
No. When I'm testing, I usually download it into the pool's root (e.g.,cd /mnt/tank; git clone ...
What you just downloaded isn't a jail, it's a script to create the jail. And yes, you'd change into that directory.
Again, we didn't create a jail, but no, this isn't the path to where we downloaded the script. It's just what the docs say: "the path for your data pool".
Once again, it's just what the docs say: "the fully-qualified domain name you want to assign to your installation."
In the nextcloud-config file. Like the docs say.
I'm not sure how to make it any clearer. Each DNS provider requires certain credentials. You will specify them in the DNS_ENV setting. What they are varies from provider to provider; I have no idea what credentials Google would want. You don't need to switch to Cloudflare for your DNS (though it works well and it's free), but if you do, since I use it myself, I know what those credentials would be.
This is normal, or at least expected. Not a problem.mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Command: mysqladmin reload failed!
You need to browse by FQDN, not by IP address.404 Site 10.0.0.39 is not served on this interface