Skip to content

Commit 4e753f7

Browse files
kamil-certatsebix
authored andcommitted
Extend possible issues when installing API
1 parent f4a542e commit 4e753f7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/user/intelmq-api.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,19 @@ sqlite3.OperationalError: attempt to write a readonly database
300300
SQLite does not only need write access to the database itself, but also the folder the database file is located in. Please check that the webserver has `write` permissions to the folder
301301
the session file is located in.
302302

303+
sqlite3.OperationalError: unable to open database file
304+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
305+
306+
Please check the ``session_store`` in ``api-config.json`` and ensure the path is correct - the
307+
directory exists and application can write to it.
308+
309+
Gunicorn returns ``ModuleNotFoundError: No module named 'uvicorn'``, but Uvicorn is installed
310+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
311+
312+
Most probably one of them (Gunicorn and Uvicorn) were installed using different method (e.g. one
313+
from native system package, other from pip). Try to install both from one source. You may need
314+
to eventually update the Gunicorn executable path in `intelmq-api.service`.
315+
303316
Can I use other web servers or proxy?
304317
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
305318

0 commit comments

Comments
 (0)