• missing users after restart

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #14211  by padideh2
 
Hello,
I've installed openkm 5.1.7 on ubuntu 10.04 and has no problem as long as the server is on but after I restart the server it misses all users but permissions and directories are still working.
so I have to create all users again.
this is startup in init.d :
Code: Select all
ECHO=/bin/echo
TEST=/usr/bin/test
JBOSS_START_SCRIPT=/opt/jboss/bin/run.sh
JBOSS_STOP_SCRIPT=/opt/jboss/bin/shutdown.sh

$TEST -x $JBOSS_START_SCRIPT || exit 0
$TEST -x $JBOSS_STOP_SCRIPT || exit 0

start() (
   $ECHO -n "Starting JBoss"
   su -c "$JBOSS_START_SCRIPT -b 0.0.0.0 > /dev/null 2> /dev/null &"
   $ECHO "."
   )

stop () (
   $ECHO -n "Stopping JBoss"
   su -c "$JBOSS_STOP_SCRIPT -S > /dev/null &"
   $ECHO "."
   )

case "$1" in
      start )
            sleep 60
            start
            ;;
      stop )
            stop
            sleep 40
            ;;
      restart )
            stop
            start
           ;;
      * )
            $ECHO "Usage: jbossokm {start|stop|restart}"
            exit 1
esac
 #14248  by jllort
 
As says pavila in the wiki page is commented

Once the tables are created, change the hibernate.hbm2ddl property from create to none. Do this after running the application for the first time. If you don't, the repository will be deleted and re-created the next time OpenKM starts.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.