BaseX Docker logs
Tuesday, 27 August 2019 · 3 messages · last reply 31 Aug 2019
MS
Marie Starck27 Aug 2019 15:16 #
Hello,
I am currently running a BaseX server with Docker and for the past week, it has exited twice with this message: /usr/local/bin/basexhttp: line 20: 25 Killed java -cp "$CP" $BASEX_JVM org.basex.BaseXHTTP "$@"
I want to debug more but I haven't been able to find the basex .logs in my docker container. I am using basexhttp:8.6.4.
Any ideas where it could be?
Thank you very much,
Marie
MS
Michael Seiferle30 Aug 2019 09:40 #
Hi Marie,
I think the log files should be located inside your container at:
Quoted text · Marie Starck · 1 line
> /srv/basex/data/.logs # for current basex versions
Or for your version:
Quoted text · Marie Starck · 1 line
> /srv/BaseXData/.logs # for BaseX 8.6.4
Maybe you can check your output for:
Quoted text · Marie Starck · 8 lines
> docker run basex/basexhttp:8.6.4 > a6e… => > docker exec -ti a6e ls -la /srv/BaseXData/.logs > total 12 > drwxr-xr-x 2 basex basex 4096 Aug 30 07:38 . > drwxr-xr-x 3 basex root 4096 Aug 30 07:38 .. > -rw-r--r-- 1 basex basex 129 Aug 30 07:38 2019-08-30.log
Hope this helps — sorry to hear your container exits unexpectedly!
Best
Michael
Quoted text · Marie Starck · 13 lines
> Am 27.08.2019 um 15:16 schrieb Marie Starck <marie.compsci14 at gmail.com>: > > Hello, > > I am currently running a BaseX server with Docker and for the past week, it has exited twice with this message: /usr/local/bin/basexhttp: line 20: 25 Killed java -cp "$CP" $BASEX_JVM org.basex.BaseXHTTP "$@" > > I want to debug more but I haven't been able to find the basex .logs in my docker container. I am using basexhttp:8.6.4. > > Any ideas where it could be? > > Thank you very much, > > Marie
MS
Marie Starck31 Aug 2019 22:26 #
Thank you very much!
Quoted text · Michael Seiferle · 54 lines
On Fri, Aug 30, 2019 at 9:40 AM Michael Seiferle <ms at basex.org> wrote: > Hi Marie, > > I think the log files should be located inside your container at: > > /srv/basex/data/.logs # for current basex versions > > > Or for your version: > > /srv/BaseXData/.logs # for BaseX 8.6.4 > > > Maybe you can check your output for: > > docker run basex/basexhttp:8.6.4 > > *a6e…* > > => > > docker exec -ti *a6e* ls -la /srv/BaseXData/.logs > total 12 > drwxr-xr-x 2 basex basex 4096 Aug 30 07:38 . > drwxr-xr-x 3 basex root 4096 Aug 30 07:38 .. > -rw-r--r-- 1 basex basex 129 Aug 30 07:38 2019-08-30.log > > > > Hope this helps — sorry to hear your container exits unexpectedly! > > Best > Michael > > Am 27.08.2019 um 15:16 schrieb Marie Starck <marie.compsci14 at gmail.com>: > > Hello, > > I am currently running a BaseX server with Docker and for the past week, > it has exited twice with this message: /usr/local/bin/basexhttp: line 20: > 25 Killed java -cp "$CP" $BASEX_JVM > org.basex.BaseXHTTP "$@" > > I want to debug more but I haven't been able to find the basex .logs in my > docker container. I am using basexhttp:8.6.4. > > Any ideas where it could be? > > Thank you very much, > > Marie > > >
Written for BaseX 9.2. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery