Recent Posts by David Parsons

Subscribe to Recent Posts by David Parsons 1 post found

Apr 17, 2008
Avatar David Parsons 1 post #1265

Topic: Troubleshooting Installation of Mingle / Problem with Templates in Mingle 2.0

I had the same problem importing a project exported from Mingle 1.1 and importing templates. I am running on Ubuntu 7.10. Importing works OK when I run ”/opt/mingle/MingleServer start” from a root terminal. When I start Mingle2 normally from my /etc/init.d/mingled script importing gives the “export file corrupt” message, but everything else seems to work. The templates are owned by mingle:mingle.
My startup script is as follows:

!/bin/bash

  1. description: JRuby Mingle #
  2. modified from thoughtworks studios script in the forums #
    MINGLE_USER=mingle
    [ -z ”$MINGLE_USER” ] && MINGLE_USER=nobody
    RETVAL=0
    start(){ su – $MINGLE_USER -c ”/opt/mingle/MingleServer start”
    }
    stop(){ su – $MINGLE_USER -c ”/opt/mingle/MingleServer stop”
    }
    case ”$1” in start) start ;; stop) stop ;; restart) stop start ;; *) echo $”Usage: $0 {start|stop|restart}” RETVAL=1
    esac
    exit $RETVAL

When I change this to MINGLE_USER=root at the start, importing works ok.

Hope this helps.