-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Update general_troubleshooting.rst #11394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -273,24 +273,28 @@ URLs: | |||||||||||||||
|
|
||||||||||||||||
| | ``https://example.com/.well-known/carddav`` | ||||||||||||||||
| | ``https://example.com/.well-known/caldav`` | ||||||||||||||||
| | | ||||||||||||||||
| Those need to be redirecting your clients to the correct endpoints. If Nextcloud | ||||||||||||||||
| is running at the document root of your Web server the correct URL is | ||||||||||||||||
| is running at the ``DocumentRoot`` of your Web server the correct URL is | ||||||||||||||||
| ``https://example.com/remote.php/dav`` for CardDAV and CalDAV and if running in a | ||||||||||||||||
| subfolder like ``nextcloud``, then ``https://example.com/nextcloud/remote.php/dav``. | ||||||||||||||||
| subfolder like ``nextcloud``, then the correct URL is ``https://example.com/nextcloud/remote.php/dav``. | ||||||||||||||||
| .. note:: By default, the Apache ``DocumentRoot`` is the directory ``/var/www/html`` | ||||||||||||||||
|
||||||||||||||||
|
|
||||||||||||||||
| For the first case the :file:`.htaccess` file shipped with Nextcloud should do | ||||||||||||||||
| For the first case, the :file:`.htaccess` file shipped with Nextcloud should do | ||||||||||||||||
| this work for you when you're running Apache. You need to make sure that your | ||||||||||||||||
| Web server is using this file. Additionally, you need the mod_rewrite Apache | ||||||||||||||||
| module installed and ``AllowOverride All`` set in your :file:`apache2.conf` | ||||||||||||||||
| or vHost-file to process these redirects. When running Nginx please refer to | ||||||||||||||||
| :doc:`../installation/nginx`. | ||||||||||||||||
|
|
||||||||||||||||
| For the second case, you need to add the following to :file:`/etc/apache2/apache2.conf`:: | ||||||||||||||||
|
|
||||||||||||||||
| If your Nextcloud instance is installed in a subfolder called ``nextcloud`` and | ||||||||||||||||
| you're running Apache, create or edit the :file:`.htaccess` file within the | ||||||||||||||||
| document root of your Web server and add the following lines:: | ||||||||||||||||
| <Directory /var/www/html> | ||||||||||||||||
| AllowOverride FileInfo | ||||||||||||||||
|
||||||||||||||||
| AllowOverride FileInfo | |
| AllowOverride FileInfo |
Copilot
AI
Apr 23, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The section now mentions AllowOverride All (for the first case) but later instructs AllowOverride FileInfo (for the second case). Since the second case only needs rewrite directives, consider aligning the guidance (e.g., document the minimum required override class and why) to avoid confusing readers about which value is correct/safe.
Copilot
AI
Apr 23, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This paragraph is a single very long line, while the surrounding documentation wraps lines (typically ~80 chars). Please wrap this text to match the file’s existing formatting and keep diffs/readability consistent.
| In this, we are using the Apache default ``DocumentRoot`` of ``/var/www/html``, but you should change it to whatever your ``DocumentRoot`` is if it differs. | |
| Next, create or edit the :file:`.htaccess` file within the ``DocumentRoot`` of your Web server and add the following lines:: | |
| In this, we are using the Apache default ``DocumentRoot`` of | |
| ``/var/www/html``, but you should change it to whatever your | |
| ``DocumentRoot`` is if it differs. Next, create or edit the | |
| :file:`.htaccess` file within the ``DocumentRoot`` of your Web server and | |
| add the following lines:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new note directive is directly attached to the preceding paragraph. In reStructuredText, directives like
.. note::should be preceded by a blank line (and usually followed by a blank line) to avoid Sphinx formatting warnings and ensure consistent rendering.