I've used the scripts in this repo to get a Sakai instance up and running but I've been unable to get demo data to load.
For the two files below, I tried updating/adding -Dsakai.demo=true where necessary and rebuilding from scratch but I haven't had any luck. The site loads but without any demo data still.
start.sh
export SAKAI_DEMO="-Dsakai.demo=true"
export JAVA_OPTS="-server -Xms1g -Xmx2g -Djava.awt.headless=true -XX:+UseCompressedOops -Dhttp.agent=Sakai -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false -Dsakai.home=${SAKAI_HOME} -Duser.timezone=${TIMEZONE} -Dsakai.cookieName=SAKAI2SESSIONID ${SAKAI_DEMO} ${JMX_REMOTE} -Dwicket.configuration=${WICKET_CONFIG} ${JDK11_OPTS} ${JDK11_GC} -Dsakai.demo=true"
na.sh
echo 'export CATALINA_OPTS="-Dsakai.demo=true"' > apache-tomcat-$TOMCAT/bin/setenv.sh
If I run ps aux | grep java I can see -Dsakai.demo=true included in the options on the running instance.
And in catalina.out I can see the following demo related lines:
15-Jul-2022 13:54:57.082 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsakai.demo=true
15-Jul-2022 13:54:57.085 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsakai.demo=true
15-Jul-2022 13:55:03.778 ^[[0mINFO^[[m [main] o.s.u.ComponentsLoader.loadComponentPackage Loading demo components from /root/sakai-scripts-master/apache-tomcat-9.0.21/components/basiclti-impl
15-Jul-2022 13:55:04.566 ^[[0mINFO^[[m [main] o.s.u.ComponentsLoader.loadComponentPackage Loading demo components from /root/sakai-scripts-master/apache-tomcat-9.0.21/components/coursemanagement-hibernate-pack
15-Jul-2022 13:55:04.624 ^[[0mINFO^[[m [main] o.s.u.ComponentsLoader.loadComponentPackage Loading demo components from /root/sakai-scripts-master/apache-tomcat-9.0.21/components/delegatedaccess-impl
15-Jul-2022 13:55:08.867 ^[[0mINFO^[[m [main] o.s.u.ComponentsLoader.loadComponentPackage Loading demo components from /root/sakai-scripts-master/apache-tomcat-9.0.21/components/sakai-provider-pack
Any thoughts on why I'm not seeing any actual demo data?
I've used the scripts in this repo to get a Sakai instance up and running but I've been unable to get demo data to load.
For the two files below, I tried updating/adding
-Dsakai.demo=truewhere necessary and rebuilding from scratch but I haven't had any luck. The site loads but without any demo data still.start.sh
na.sh
If I run
ps aux | grep javaI can see-Dsakai.demo=trueincluded in the options on the running instance.And in catalina.out I can see the following demo related lines:
Any thoughts on why I'm not seeing any actual demo data?