Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MinimServer logs shows a few errors
07-08-2021, 11:35
Post: #1
Question MinimServer logs shows a few errors
So far the try out of MinimServer docker environment is running nicely. Checking the container docker logs doesn't show much, but it did have 3 lines with the same error which might be something to look into or not:

Code:
/opt/minimserver/bin/startd: line 113:    29 Aborted                 (core dumped) LD_LIBRARY_PATH="${MINIMDIR}/libsys" MINIM_LANG="${MINIM_LANG}" "${JAVAX}" ${JAVAOPTS} -jar "${MINIMDIR}/lib/m${ws}.jar" --launchrc --set watch.view=log --nohup ${MINIMOPTS} "$@" > "${OUTFILE}" 2>&1

/opt/minimserver/bin/startd: line 113:    29 Aborted                 (core dumped) LD_LIBRARY_PATH="${MINIMDIR}/libsys" MINIM_LANG="${MINIM_LANG}" "${JAVAX}" ${JAVAOPTS} -jar "${MINIMDIR}/lib/m${ws}.jar" --launchrc --set watch.view=log --nohup ${MINIMOPTS} "$@" > "${OUTFILE}" 2>&1

/opt/minimserver/bin/startd: line 113:    29 Aborted                 (core dumped) LD_LIBRARY_PATH="${MINIMDIR}/libsys" MINIM_LANG="${MINIM_LANG}" "${JAVAX}" ${JAVAOPTS} -jar "${MINIMDIR}/lib/m${ws}.jar" --launchrc --set watch.view=log --nohup ${MINIMOPTS} "$@" > "${OUTFILE}" 2>&1
[/code]
Find all posts by this user
Quote this message in a reply
07-08-2021, 11:48
Post: #2
RE: MinimServer logs shows a few errors
Thanks for this. I would need more information to investigate what is causing this. For example, is this message produced when you stop the container or is it produced while the container is running?
Find all posts by this user
Quote this message in a reply
07-08-2021, 11:51
Post: #3
RE: MinimServer logs shows a few errors
(07-08-2021 11:48)simoncn Wrote:  Thanks for this. I would need more information to investigate what is causing this. For example, is this message produced when you stop the container or is it produced while the container is running?

Seems to be when deploying the container; when starting/stopping the container no additional errors shows up.
Find all posts by this user
Quote this message in a reply
07-08-2021, 18:56
Post: #4
RE: MinimServer logs shows a few errors
Thanks for this. Please post the Docker commands you are using to create and deploy the container so that I can try this myself.
Find all posts by this user
Quote this message in a reply
07-08-2021, 19:11
Post: #5
RE: MinimServer logs shows a few errors
(07-08-2021 18:56)simoncn Wrote:  Thanks for this. Please post the Docker commands you are using to create and deploy the container so that I can try this myself.

Fyi, I'm running Docker server v20.10.7 on Ubuntu 18.04.4 LTS and the following command has been used to deploy the MinimServer container:

Code:
docker create --name=minimserver -e TZ=Europe/Stockholm -v /opt/minimserver/data:/opt/minimserver/data -v /mnt/music:/Music:ro --network host --restart unless-stopped minimworld/minimserver:2.0.18
Find all posts by this user
Quote this message in a reply
07-08-2021, 21:20
Post: #6
RE: MinimServer logs shows a few errors
This part of the command:

-v /opt/minimserver/data:/opt/minimserver/data

could cause problems, depending on how you are using /opt/minimserver/data on the host system. Is this part of a host installation of MinimServer?
Find all posts by this user
Quote this message in a reply
07-08-2021, 23:18
Post: #7
RE: MinimServer logs shows a few errors
Well, that could be the cause, if there is an issue with MinimServer that a separate storage space is being created inside the container from the rest of the container filesystem? These are the files within the mentioned volume, /opt/minimserver/data:

default.profile
default.profile.save
minimserver.config
minimserver.config.lock
minimserver.config.save
minimserver.license
minimserver.log
minimserver-out.log
minimserver.pid
minimserver-starter.license
Music-2.mcache
Find all posts by this user
Quote this message in a reply
08-08-2021, 13:08
Post: #8
RE: MinimServer logs shows a few errors
If you deployed a container with these options and then deployed another container later with the same options, the second container would start MinimServer with configuration files created by the first container. It looks like this is what has happened.

There will be some data in these configuration files that is valid only for the first container and is not valid for the second container. This is not supported by MinimServer and is likely to cause problems.

A future version of MinimServer will do additional checking for this situation and this could result in license verification errors.
Find all posts by this user
Quote this message in a reply
08-08-2021, 15:03 (This post was last modified: 08-08-2021 16:00 by kennurnes.)
Post: #9
RE: MinimServer logs shows a few errors
If doesn't make sense to define a volume for the config/logs data then it's fixed for now (removing the volume parameter). I'll redeploy and hopefully we won't see any errors in the container log [Can confirm that there are no errors in the Container logs now].

Also, this was picked up from the this thread which might be worth responding to that it's not supported to avoid confusion.

Thanks for the quick help!
Find all posts by this user
Quote this message in a reply
08-08-2021, 16:22
Post: #10
RE: MinimServer logs shows a few errors
My reply in the other thread (this post) did say that this is not a supported and tested configuration. I will update the post to reference the problem you have described here.

I cannot say for sure that the problem you have reported is caused by this volume parameter but it is safer to stay with configurations that I have tested and am able to support.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)