diff options
| author | 2021-04-17 20:55:43 +0200 | |
|---|---|---|
| committer | 2021-04-17 20:55:43 +0200 | |
| commit | 1f24a5d50eba30dcdbf26106f539c6c47eea439f (patch) | |
| tree | b10144067479847b16f38649b1e7740fb0588000 /lib/lib_rss.php | |
| parent | 83a352e4bf314effa15f4b2f9805c35b252ec2f0 (diff) | |
Show start error (#3590)
* Show start error
#fix https://github.com/FreshRSS/FreshRSS/issues/3581
We were not showing the actual error for several types of exceptions, e.g. database connection error.
Possible regression since https://github.com/FreshRSS/FreshRSS/pull/3407
* Try to make the error message less confusing
Diffstat (limited to 'lib/lib_rss.php')
| -rw-r--r-- | lib/lib_rss.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 9521a62c4..0c6191690 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -557,11 +557,12 @@ function errorMessage($errorTitle, $error = '') { return <<<MSG <h1>{$errorTitle}</h1> {$error} - <h2>Common problems</h2> - <p>A typical problem leading to this message is wrong file permissions in the <code>./FreshRSS/data/</code> folder + <h2>Check the logs</h2> + <p>FreshRSS logs are located in <code>./FreshRSS/data/users/*/log*.txt</code></p> + <p><em>N.B.:</em> A typical problem is wrong file permissions in the <code>./FreshRSS/data/</code> folder so make sure the Web server can write there and in sub-directories.</p> - <h2>Common locations for additional logs</h2> - <p><strong>N.B.:</strong> Adapt names and paths according to your local setup.</p> + <h3>Common locations for additional logs</h3> + <p><em>N.B.:</em> Adapt names and paths according to your local setup.</p> <ul> <li>If using Docker: <code>docker logs -f freshrss</code></li> <li>To check Web server logs on a Linux system using systemd: <code>journalctl -xeu apache2</code> |
