[Building Sakai] Sakai errors after upgrade - help

Leon Kolchinsky lkolchin at gmail.com
Tue Feb 2 16:55:24 PST 2010


Hello All,

Since I didn't get any real suggestions to this problem on production list,
I'll give it a try with you "developer's" guys :)
I've upgraded from 2.5.4 version (installed by someone else) to 2.6.x
branch.

Below are some issues I have with this upgraded installation:

1) During updating 2.5.4 DB to 2.6.1 I've only got those 3 errors (oracle
DB):
--------------------------------------------------------------
INSERT INTO SAKAI_REALM_RL_FN VALUES((select REALM_KEY from SAKAI_REALM
where REALM_ID = '!site.template.course'), (select ROLE_KEY from
SAKAI_REALM_ROLE where ROLE_NAME = 'Instructor'), (select FUNCTION_KEY from
SAKAI_REALM_FUNCTION where FUNCTION_NAME = 'site.viewRoster'))
*
ERROR at line 1:
ORA-00001: unique constraint (SAKAI.SYS_C003862) violated



1 row created.


1 row created.


1 row created.


1 row created.

INSERT INTO SAKAI_REALM_RL_FN VALUES((select REALM_KEY from SAKAI_REALM
where REALM_ID = '!group.template.course'), (select ROLE_KEY from
SAKAI_REALM_ROLE where ROLE_NAME = 'Instructor'), (select FUNCTION_KEY from
SAKAI_REALM_FUNCTION where FUNCTION_NAME = 'site.viewRoster'))
*
ERROR at line 1:
ORA-00001: unique constraint (SAKAI.SYS_C003862) violated



1 row created.

INSERT INTO SAKAI_REALM_RL_FN VALUES((select REALM_KEY from SAKAI_REALM
where REALM_ID = '/site/mercury'), (select ROLE_KEY from SAKAI_REALM_ROLE
where ROLE_NAME = 'maintain'), (select FUNCTION_KEY from
SAKAI_REALM_FUNCTION where FUNCTION_NAME = 'site.viewRoster'))
*
ERROR at line 1:
ORA-01400: cannot insert NULL into ("SAKAI"."SAKAI_REALM_RL_FN"."REALM_KEY")


2) On the Tomcat start-up I get the following errors, but Sakai seems to
run:
---------------------------------------------------------------------------------------------
2010-02-03 11:14:51,995 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:14:51,995 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:14:52,564 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:14:52,564 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:14:56,496 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:14:56,496 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:14:58,011 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:14:58,012 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:15:00,696 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:15:00,696 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:15:02,358 ERROR [none] ResourceManager : unable to find
resource 'VM_global_library.vm' in any resource loader.
2010-02-03 11:15:03,518 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:15:03,518 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:15:09,426 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:15:09,426 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:15:09,905 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:15:09,905 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:15:12,887 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:15:12,887 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:15:18,881 ERROR [none] ResourceManager : unable to find
resource 'VM_chef_library.vm' in any resource loader.
2010-02-03 11:15:21,588 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:15:21,588 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:15:22,211 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:15:22,211 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:15:45,271 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:15:45,271 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:15:55,260 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:15:55,260 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:15:55,955 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:15:55,955 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:16:01,417 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:16:01,417 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:16:01,769 ERROR [none] ResourceManager : unable to find
resource 'VM_global_library.vm' in any resource loader.
2010-02-03 11:16:02,318 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:16:02,319 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:16:06,336 ERROR [none] VM #chef_dateselectionwidgetpopup:
2010-02-03 11:16:06,336 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0
2010-02-03 11:16:09,820 ERROR [none] VM #chef_dateselectionwidgetpopup:
error : too few arguments to macro. Wanted 3 got 0
2010-02-03 11:16:09,820 ERROR [none] VM #libraryLink: error : too few
arguments to macro. Wanted 1 got 0

3) Every time I go to almost any menu Item in myworkspace I get those
message in the logs (see the ERRORs):

2010-02-03 11:22:49,821 INFO [none] ResourceManager : found chef_header.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:22:49,827 INFO [none] ResourceManager : found
vm/editor/FCKeditor/sakai_header.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:22:49,838 INFO [none] ResourceManager : found
/vm/user/chef_users_list.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2010-02-03 11:22:49,903 ERROR [none] Left side ($formItem) of '==' operation
has null value. If a reference, it may not be in the context. Operation not
possible. /vm/user/chef_users_list.vm [line 23, column 73]
2010-02-03 11:22:49,933 INFO [none] ResourceManager : found chef_footer.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader


2010-02-03 11:23:01,699 INFO [none] ResourceManager : found chef_header.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:23:01,705 INFO [none] ResourceManager : found
vm/editor/FCKeditor/sakai_header.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:23:01,711 INFO [none] ResourceManager : found
/vm/admin/chef_aliases_list.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2010-02-03 11:23:01,783 ERROR [none] Left side ($formItem) of '==' operation
has null value. If a reference, it may not be in the context. Operation not
possible. /vm/admin/chef_aliases_list.vm [line 23, column 73]
2010-02-03 11:23:01,803 INFO [none] ResourceManager : found chef_footer.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader


2010-02-03 11:23:10,035 WARN [BaseSiteService] isCourseSite(): no site with
id:
2010-02-03 11:23:10,063 INFO [none] ResourceManager : found chef_header.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:23:10,069 INFO [none] ResourceManager : found
vm/editor/FCKeditor/sakai_header.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:23:10,092 INFO [none] ResourceManager : found
/vm/adminsites/chef_sites_list.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2010-02-03 11:23:10,139 ERROR [none] Left side ($formItem) of '==' operation
has null value. If a reference, it may not be in the context. Operation not
possible. /vm/adminsites/chef_sites_list.vm [line 23, column 73]
2010-02-03 11:23:10,327 INFO [none] ResourceManager : found chef_footer.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader


2010-02-03 11:23:52,967 INFO [none] ResourceManager : found chef_header.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:23:52,973 INFO [none] ResourceManager : found
vm/editor/FCKeditor/sakai_header.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:23:52,982 INFO [none] ResourceManager : found
/vm/admin/chef_realms_list.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2010-02-03 11:23:53,032 ERROR [none] Left side ($formItem) of '==' operation
has null value. If a reference, it may not be in the context. Operation not
possible. /vm/admin/chef_realms_list.vm [line 23, column 73]
2010-02-03 11:23:53,158 INFO [none] ResourceManager : found chef_footer.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader


2010-02-03 11:24:01,295 INFO [SiteSetupQuestionFileParser] exists(): cannot
find resource
/group/setupQuestionsAdmin/config/questions.xmlorg.sakaiproject.exception.IdUnusedException
id=/group/setupQuestionsAdmin/config/questions.xml
2010-02-03 11:24:01,419 INFO [none] ResourceManager : found chef_header.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:24:01,427 INFO [none] ResourceManager : found
vm/editor/FCKeditor/sakai_header.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:24:01,552 INFO [none] ResourceManager : found
/vm/sitesetup/chef_site-list.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2010-02-03 11:24:01,617 ERROR [none] Left side ($formItem) of '==' operation
has null value. If a reference, it may not be in the context. Operation not
possible. /vm/sitesetup/chef_site-list.vm [line 23, column 73]
2010-02-03 11:24:01,620 WARN [none] Warning! The reference $views is an
Iterator in the #foreach() loop at [12,41] in template
/vm/sitesetup/chef_site-list.vm. Because it's not resetable, if used in more
than once, this may lead to unexpected results.
2010-02-03 11:24:01,894 INFO [none] ResourceManager : found chef_footer.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader


2010-02-03 11:24:25,836 INFO [none] ResourceManager : found chef_header.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:24:25,842 INFO [none] ResourceManager : found
vm/editor/FCKeditor/sakai_header.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:24:25,870 INFO [none] Velocimacro : added new VM :
#rowTRconstruct( props displayOptions hidden ) : source =
/vm/announcement/chef_announcements.vm
2010-02-03 11:24:26,341 INFO [none] ResourceManager : found
/vm/announcement/chef_announcements.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2010-02-03 11:24:26,357 ERROR [none] Left side ($formItem) of '==' operation
has null value. If a reference, it may not be in the context. Operation not
possible. /vm/announcement/chef_announcements.vm [line 23, column 73]
2010-02-03 11:24:26,358 WARN [none] Warning! The reference
$showMessagesList2 is an Iterator in the #foreach() loop at [57,9] in
template /vm/announcement/chef_announcements.vm. Because it's not resetable,
if used in more than once, this may lead to unexpected results.
2010-02-03 11:24:26,369 WARN [none] Warning! The reference $showMessagesList
is an Iterator in the #foreach() loop at [565,58] in template
/vm/announcement/chef_announcements.vm. Because it's not resetable, if used
in more than once, this may lead to unexpected results.
2010-02-03 11:24:26,403 INFO [none] ResourceManager : found chef_footer.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader


2010-02-03 11:25:14,929 INFO [none] ResourceManager : found chef_header.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:25:14,934 INFO [none] ResourceManager : found
vm/editor/FCKeditor/sakai_header.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:25:15,180 INFO [none] ResourceManager : found
/vm/content/sakai_resources_list.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2010-02-03 11:25:15,264 INFO [none] ResourceManager : found chef_footer.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader


2010-02-03 11:25:24,116 INFO [none] ResourceManager : found chef_header.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:25:24,122 INFO [none] ResourceManager : found
vm/editor/FCKeditor/sakai_header.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
2010-02-03 11:25:24,131 INFO [none] ResourceManager : found
/vm/presence/chef_presence.servers-List.vm with loader
org.apache.velocity.runtime.resource.loader.FileResourceLoader
2010-02-03 11:25:24,182 ERROR [none] Left side ($formItem) of '==' operation
has null value. If a reference, it may not be in the context. Operation not
possible. /vm/presence/chef_presence.servers-List.vm [line 23, column 73]
2010-02-03 11:25:24,205 INFO [none] ResourceManager : found chef_footer.vm
with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader

Just wanted to check this line 23 on some files:
-----------------------------------------------
vi
/srv/apache-tomcat-5.5.26/webapps/sakai-announcement-tool/vm/announcement/chef_announcements.vm
22 ## message marked as hidden, current date is before release date, or
current date is after retract date
23 #if ($hidden || $reldateset || $retdateset)
24 #if ($displayOptions.isShowAnnouncementBody())

vi
/srv/apache-tomcat-5.5.26/webapps/sakai-site-manage-tool/vm/sitesetup/chef_site-list.vm
21 #if ($!superUser || (!$!superUser && $viewSelected !=
$tlang.getString("java.my")))
22 ## hide search form when in normal user login and in my workspace sites
view
23 <form name="searchForm" class="inlineForm"
action="#toolForm("SiteAction")" method="post">
24 <input type="hidden" name="eventSubmit_doSite_search" value="null" />
25 <label for="$form_search"
class="skip">$tlang.getString('list.search')</label>


But it seems that it's somehow connected to the FCKeditor?
Can anyone confirm or suggest any resolution?

What about those errors in Paragraph 1) and 2) ?

Thanks in advance,
Leon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100203/e2f60b90/attachment.html 


More information about the sakai-dev mailing list