danb35
Hall of Famer
- Joined
- Aug 16, 2011
- Messages
- 15,504
From where? What are the error messages? What are you doing when you get them?I am getting timeout errors.
From where? What are the error messages? What are you doing when you get them?I am getting timeout errors.
This script uses acme.sh to get a certificate for your jail. In order to obtain the cert, one of two things must be true:
- You have a fully-qualified domain name ("$FQDN") that points to your jail, and the jail is reachable from the public Internet with ports 80 and 443 open to the jail--that is, if an Internet user browses to http://$FQDN, they'll reach your jail. -or-
- Your DNS host has an API that's supported by acme.sh, allowing automated updates to your DNS records. Cloudflare has such an API, and provides DNS hosting for free. Many other DNS hosts' APIs are also supported; see https://github.com/Neilpang/acme.sh/tree/master/dnsapi
I like DNS validation better, and one of the reasons is that the jail doesn't have to be open to incoming connections on ports 80 and 443 for it to work. But both will work, and most folks would probably prefer to have the Nextcloud installations open to the Internet anywayIs one of these two options above to prefer / better, or are they equal in safety and functionallity?
What exactly are you entering? Redact your hostname if you like, but leave everything else. Edit: I copied and pasted from the script, so most of the quotes aren't needed, and none of the backslashes are.All output is ">" and nothing else happens... any hint ?
iocage console nextcloud
./acme.sh --issue -d my.hostna.me --force -w /usr/local/www/apache24/data -k 4096 --fullchain-file /usr/local/etc/pki/tls/certs/fullchain.pem --key-file /usr/local/etc/pki/tls/private/privkey.pem --reloadcmd \"service apache24 reload\"
Ah, I missed that. No, from /root/ (which is where you'd be by default), that won't work. You should be able to run it without the ./, but if not, it would be .acme.sh/acme.sh followed by the remaining flags../acme.sh: No such file or directory
No, the user is "admin".Administrator and the given password but I cannot log in. Is the user correct ?
And you used the password for the admin user, not the password for the nextcloud database user or the root database user?Hmm tried that too but it does not work..
Yes, but I can't look up the relevantIs there any way to reset this ?
occ
syntax at the moment--I'll try to get back to it shortly.The one that says, "Default user is admin, password is (random)"? What's the error you're getting when you try to log in? Screen shot might help.Yes I took the password of the admin user in line 3
...and the second "password" on this line is in fact a random string, right?Nextcloud Administrator password is password
iocage console nextcloud
. Then run su -m www -c "php /usr/local/www/apache24/data/nextcloud/occ user:resetpassword admin"
.