Skip to content

Commit 28d5ed2

Browse files
committed
feat(Admin/AI/ContextChat): add vector db logs location
Signed-off-by: kyteinsky <kyteinsky@gmail.com>
1 parent b43bde2 commit 28d5ed2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

admin_manual/ai/app_context_chat.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ Logs
184184

185185
Logs for both the ``context_chat`` PHP app and the ``context_chat_backend`` ExApp can be found in the admin settings of your Nextcloud GUI as well as in the Context Chat log file, which is usually located in the Nextcloud data directory. The log file is named ``context_chat.log``.
186186

187+
| The internal PostgreSQL Vector DB logs (in case of non-Kubernetes setups) can be found inside the docker container at ``/nc_app_context_chat_backend_data/vector_db_data/pgsql/logfile``. It can be copied to host using ``docker cp nc_app_context_chat_backend:/nc_app_context_chat_backend_data/vector_db_data/pgsql/logfile /tmp/vectordb-logfile``.
188+
| This might be needed when the automated setting up of the vector db fails with something like: "pg_ctl: could not start server".
189+
187190
When running in Kubernetes, the logs for the backend will be in the respective pod's logs, which can be accessed using ``kubectl logs <pod_name>`` command.
188191

189192
Troubleshooting

0 commit comments

Comments
 (0)