Editing
Nextcloud
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== General info === [https://github.com/nextcloud-snap/nextcloud-snap] nextcloud-snap === Changing port numbers === /var/snap/nextcloud/current/nextcloud/config/config.php sudo snap set nextcloud ports.http=81 sudo snap set nextcloud ports.https=444 sudo snap set nextcloud ports.http=81 ports.https=444 Note: Let's Encrypt will expect that Nextcloud is exposed on ports 80 and 443. If you change ports and don't put Nextcloud behind a proxy such that ports 80 and 443 are sent to Nextcloud for that domain name, Let's Encrypt will be unable to verify ownership of your domain and will not grant certificates. Also note: Nextcloud's automatic hostname detection can fail when behind a proxy; you might notice it redirecting incorrectly. If this happens, override the automatic detection (including the port if necessary), e.g.: sudo nextcloud.occ config:system:set overwritehost --value="example.com:81" === Can not login, too many requests === Seems to be caused by the app. sudo /snap/bin/nextcloud.occ security:bruteforce:reset 127.0.0.1 === Letsencrypt renew === Change port forwarding on router to point both 80, 443 to 192.168.1.109. Turn off 80 to 192.168.1.108 sudo snap set nextcloud ports.http=80 sudo snap set nextcloud ports.https=443 Now update letsencrypt sudo nextcloud.enable-https lets-encrypt Revert port forwarding sudo snap set nextcloud ports.http=81 sudo snap set nextcloud ports.https=444 Restore the port forward back to 81, 444 to 192.168.1.109. Turn on 80 to 192.168.1.108
Summary:
Please note that all contributions to SoftwareGuy may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SoftwareGuy:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information