Forum OpenACS Q&A: now on to dotlrn from a install-oacs.sh

so i select dotlrn during the install and i've used the package manager 5 times to install the dotlrn from the list and it changes a lot of things so that the system does not work.

in the past there was an apt-get install oacs and also an apt-get install dotlrn that worked great for a few years. would someone please create an install-dotlrn.sh so that it creates the users with permissions to access the /dotlrn which becomes the default when dotlrn get's installed?

or maybe there's another way of doing this. please let me know. i'm thinking of coping the settings from the home URL and other settings from the oacs install, then do the dotlrn package install and replacing the settings but i figure i will still have a user permission problem and a whole lot of other things that won't be configured right....

thank you...i am so excited to moving towards using dotlrn again. i've been using ]po[ which i love and adore but i'm stuck because it's stuck on pg 9.2 and my database guy won't consider using 9.2 for what we are doing. But I am patient and hopeful that ]po[ will come on board as an oacs package...hopefully it will also work with dotlrn and do acs-subsite which is the package that really sets oacs apart from others.

cheers!

Collapse
Posted by Kenneth Wyrick on
i keep going to /dotlrn and was finally able to select a new user once I became an administrator in the oacs. then it gave me the following error.
There was a server error processing your request. We apologize.

Take me back where I was (before the error)
http://192.168.1.167:8000/dotlrn/admin/user-new-2?referer=%2fdotlrn%2f&user_id=689

Query did not return any rows.
while executing
"db_1row get_layout_id_name_select {}"
(procedure "::nsf::procs::portal::get_layout_id" line 10)
invoked from within
"get_layout_id"
(procedure "::nsf::procs::portal::create" line 34)
invoked from within
"portal::create -template_id $template_id -name "[_ dotlrn.lt_Your_dotLRN_Workspace]" $user_id"
("uplevel" body line 4)
invoked from within
"uplevel 1 $transaction_code "
(procedure "::nsf::procs::db_transaction" line 1)
invoked from within
"db_transaction {
set_can_browse -user_id $user_id -can_browse\=$can_browse_p

set portal_id [portal::create -template_id $template_i..."
(procedure "::nsf::procs::dotlrn::user_add" line 20)
invoked from within
"dotlrn::user_add -id $id -type $type -can_browse\=$can_browse_p -user_id $user_id"
("uplevel" body line 3)
invoked from within
"uplevel 1 $transaction_code "
(procedure "::nsf::procs::db_transaction" line 38)
invoked from within
"db_transaction {

dotlrn::user_add -id $id -type $type -can_browse\=$can_browse_p -user_id $user_id

dotlrn_privacy::set_user_gues..."
("uplevel" body line 66)
invoked from within
"uplevel {
#
# Copyright (C) 2001, 2002 MIT
#
# This file is part of dotLRN.
#
# dotLRN is free software; you can redistribute it and/or modify ..."
(procedure "code::tcl::/var/www/oacs-5-9/packages/dotlrn/www/admin/user-..." line 2)
invoked from within
"code::tcl::$__adp_stub"
("uplevel" body line 12)
invoked from within
"uplevel {

if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare"
invoked from within
"template::adp_parse [file rootname [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 6)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "::nsf::procs::rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file "$root/$extra_url""
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
rp_serve_abstract_file "$root/$extra_url"
set tcl_url2file([ad_conn url]) [ad_conn file]
set ..."

Collapse
Posted by Benjamin Brink on
Hi Kenneth,

The install-ns.sh and install-oacs.sh script have some indications that dotlrn will install as easily as with openacs. That's about as far as I (and many others in this forum) have gone with dotLRN.

Posting to the OpenACS forum dedicated to dotLRN will probably get you a more useful and faster response.

cheers,
Ben

Collapse
Posted by Gustaf Neumann on
To install DotLRN from a basic installation (based on install-ns and install-oacs, using the release tar file) should be as follows:
  • Upgrade all packages (/acs/admin upgrade from repository)
  • Install DotLRN (/acs/admin Install from repository, selecting "DotLRN")

However, in the current snapshot (between releases), the package "DotLRN" installs itself without theme and applets, so these have to be installed as well.

on /acs-admin/install/, select the following packages:

dotlrn-bm        dotLRN Bulk Mail Applet
dotlrn-calendar  dotLRN Calendar Applet
dotlrn-dotlrn    dotLRN Applet
dotlrn-faq       dotLRN FAQ Applet
dotlrn-forums    dotLRN Forums Applet
dotlrn-fs        dotLRN File Storage Applet
dotlrn-homework  dotLRN Homework
dotlrn-news      dotLRN News Applet
dotlrn-static    dotLRN Static Applet
theme-zen        Zen Theme
After these, your installation should be ok.
Collapse
Posted by Kenneth Wyrick on
I installed a few more from the current channel. I forgot to do the update before installing the dotlrn and applets. so now i see the so familiar dotlrn logo and blue navigation in the /admin but not at the /dotlrn plus none of the links from the navigation resolve to a page.

do you think installing the /dotlrn before doing the update would have caused this?