0
Answered

./mycollab.sh: 24: export: -server: bad variable name

Harald08 6 years ago updated by Nguyen 6 years ago 3

Hi

I tried to install MyCollab on Ubuntu 18.04 TLS. I executed 

sh startup.sh

and got the error message

./mycollab.sh: 24: export: -server: bad variable name

How can I start up MyCollab?

Regards

Harald

Under review

You go to %MYCOLLAB_HOME%/bin, and edit mycollab.sh, removed the variable -server in the line '

export MYCOLLAB_OPTS=-noverify -server -Xms394m -Xmx768m -XX:NewSize=128m -XX:+DisableExplicitGC -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC'

then try to run again. Let me know if it is fixed.

I removed the variable -server and got the error -Xms394m bad variable name and so on. Finally I removed all following parameters so that line 24 looks like this:

     export MYCOLLAB_OPTS=-noverify

Now I could start up MyCollab. Thanks


Answered

It is ok! OR you can use the command like this

export MYCOLLAB_OPTS="-noverify -server -Xms394m -Xmx768m -XX:NewSize=128m -XX:+DisableExplicitGC -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC"

We will update the bash script. Thanks for the report!