Comments on How to Install Nextcloud on Rocky Linux
In this guide, you will learn how to install Nextcloud on the Rocky Linux 8.4. You will be installing Nextcloud under the LAMP Stack (Linux, Apache2/httpd, MySQL/MariaDB, and PHP).
3 Comment(s)
Comments
There's an error in the cerbot command :
certbot: error: argument -d/--domains/--domain: expected one argument I removed the last -d and it work
Thank you, nice tutorial!!
sudo certbot certonly --agree-tos --email [email protected] --webroot -w /var/lib/letsencrypt/ -d files.domain.com -dA few comments for coherency and to better make it work out of the box... - mentions of Wordpress instead of NextCloud - typo in following commands: CREATE DATABASE netxcloud_db; - missing firewall opening for http/https: sudo firewall-cmd --permanent --add-service=http sudo firewall-cmd --permanent --add-service=https sudo firewall-cmd --reload - missing creation of /var/www/nextcloud/data/ after archive extraction sudo mkdir /var/www/nextcloud/data - missing SELinux settings chcon -t httpd_sys_rw_content_t /var/www/nextcloud/ -R otherwise getting http error 500 thanks https://techviewleo.com/install-and-configure-nextcloud-on-rocky-linux/ setsebool -P httpd_can_network_connect on so that webserver/nextcloud can connect to the Internet, appstore, etc. - sudo missing in following commands: nano /etc/php.ini nano 10-opcache.ini wget https://download.nextcloud.com/server/releases/nextcloud-22.1.0.zip or change commands to not download in webserver directory (btw, replace with latest-22.tar.bz2 or latest.tar.bz2 ?) unzip nextcloud-22.1.0.zip chown -R apache:apache nextcloud openssl req -newkey rsa:2048 -nodes [...] nano well-known.conf nano nextcloud.conf nano config.php crontab -u apache -e crontab -u apache -l
When I try to renew the Let's Encrypt certificate, I got below error message:
certbot certonly --agree-tos -m [email protected] --webroot -w /var/lib/letsencrypt/ -d file.xxxxx.com --dry-run
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Simulating renewal of an existing certificate for file.xxxxx.com
Certbot failed to authenticate some domains (authenticator: webroot). The Certificate Authority reported these problems:
Domain: file.xxxxx.com
Type: unauthorized
Detail: 21.xxx.xx.1: Invalid response from https://file.xxxxx.com/index.php/login: "<!DOCTYPE html>\n<html class=\"ng-csp\" data-placeholder-focus=\"false\" lang=\"en\" data-locale=\"en\" translate=\"no\" >\n\t<head\n data-req"
Hint: The Certificate Authority failed to download the temporary challenge files created by Certbot. Ensure that the listed domains serve their content from the provided --webroot-path/-w and that files created there can be downloaded from the internet.
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
[root@file ~]#
Whats wrong? Please help! Many thanks!