@@ -51,14 +51,37 @@ different issues. Always disable 3rd party apps before upgrades, and for
51
51
troubleshooting. Please refer to the :ref: `apps_commands_label ` on how
52
52
to disable an app from command line.
53
53
54
- Nextcloud logfiles
55
- ^^^^^^^^^^^^^^^^^^
54
+ Internal Server Errors
55
+ ^^^^^^^^^^^^^^^^^^^^^^
56
56
57
- In a standard Nextcloud installation the log level is set to ``Normal ``. To find
58
- any issues you need to raise the log level to ``All `` in your ``config.php ``
59
- file, or to **Everything ** on your Nextcloud Admin page. Please see
60
- :doc: `../configuration_server/logging_configuration ` for more information on
61
- these log levels.
57
+ An Internal Server Error, sometimes called a "500 error", indicates that the web server
58
+ encountered an unexpected condition that prevented it from fulfilling the request.
59
+
60
+ This error response is a generic "catch-all" response. To find out the source of the
61
+ error you will need to check your Nextcloud log (located in `data/nextcloud.log ` by
62
+ default) and possibly your web server's error log (depending on where the failure is
63
+ occurring).
64
+
65
+ .. tip :: Whenever possible, Nextcloud will include the "Request id" in the error. This
66
+ request ID can be searched for in your Nextcloud log file to find entries associated
67
+ with the failing transaction.
68
+
69
+ Nextcloud log files
70
+ ^^^^^^^^^^^^^^^^^^^
71
+
72
+ The Nextcloud log file is located in the data directory by default - e.g.
73
+ ``data/nextcloud.log ``. If the Web UI is still reachable, it is also available
74
+ via *Administration settings->Logging *.
75
+
76
+ .. tip :: When asking for help, the entire raw log entry is generally required.
77
+
78
+ .. note: In a standard Nextcloud installation the log level is set to ``2``. This is
79
+ known as the ``WARN`` level. It is sufficient for catching for day-to-day problems
80
+ (warnings, errors, and fatal errors).
81
+
82
+ For some situations you may need to adjust the log level in your ``config.php ``
83
+ file. Please see :doc: `../configuration_server/logging_configuration ` for more
84
+ information on these log levels.
62
85
63
86
Some logging - for example JavaScript console logging - needs debugging
64
87
enabled. Edit :file: `config/config.php ` and change ``'debug' => false, `` to
@@ -68,9 +91,6 @@ For JavaScript issues you will also need to view the javascript console. All
68
91
major browsers have developer tools for viewing the console, and you
69
92
usually access them by pressing F12.
70
93
71
- .. note :: The logfile of Nextcloud is located in the data directory
72
- ``nextcloud/data/nextcloud.log ``.
73
-
74
94
.. _label-phpinfo :
75
95
76
96
PHP version and information
0 commit comments