Sakai 11 Install Guides

Sakai 11 Install Guides

Installation tip

Sakai is highly customizable for your local institution's needs.

Demo install

The Sakai demo no longer supports HSQLDB available as of Sakai 11. If you wish to use the demo you will need to download a MySql connector and configure Sakai properties.. Discussions are happening to make an improved demo for the future. See http://farm.apereo.org

 

 

Binary install

Sakai 11 Install Binary

Source install

Sakai 11 Install from Source

 

Sakai 11 ReadMe

Recommend storing files on your file system instead of database

Sakai will store the file content in the database as BLOBs by default. Set this value to change it to store the content on the filesystem instead.

The file system root for content hosting's external stored files (default is null, i.e. store them in the db). 

# bodyPath@org.sakaiproject.content.api.ContentHostingService=/someplace/

 

# KNL-309 : To enable support for deleted files set this property to some location

# bodyPathDeleted@org.sakaiproject.content.api.ContentHostingService=${sakai.home}db/bodyContentDeleted/

 

# When storing content hosting's body bits in files, an optional set of folders just within the bodyPath -

# to act as volumes to distribute the files among - a comma separate list of folders.  If left out, no volumes will be used.

# see the readme file (2.2.7 File Based Content Hosting) for more details

# bodyVolumes@org.sakaiproject.content.api.ContentHostingService=vol1,vol2,vol3

 

# Set to true to enable the release/retract and hiding of resources in ContentHostingService, Default: true

# availabilityChecksEnabled@org.sakaiproject.content.api.ContentHostingService=true

 

# Set to true to enable custom sorts within folders in ContentHostingService and the Resources tool

# DEFAULT: true

# prioritySortEnabled@org.sakaiproject.content.api.ContentHostingService=true

 

You might also want to enable the soft deletion feature of Sakai

Soft site deletion. 

If enabled, sites that are deleted will be inaccessible to normal users but won't be deleted immediately, in case they need to be recovered.

You also need to set the gracetime value, in days. After this period, the softly deleted sites will be hard deleted. Defaults to 30 days.

There is a Quartz job that must be configured to run periodically (once per day or so) to expunge those sites.

site.soft.deletion=true (default is false)

 site.soft.deletion.gracetime=30

 

Lessons management of HTML pages

By default, Lessons uses Content Security Policy headers to restrict what an HTML page can do, when the page is loaded from Sakai.

This is a security tradeoff. There are security risks from opening a web page written by someone else. That page can contain Javascript, which will execute with your own permissions. For this reason, by default Sakai will not open web pages in Resources. If you click on an HTML file there, it will download. We considered this inaccessible for Lessons, since the whole point of Lessons is to present content online. But we still had to deal with the security problem. So the page is served with an HTTP header that causes browsers to open the page in a “sandbox.” This restricts what the page can do.

This is new in 11. In Sakai 10, Lessons would simply open any HTML page specified.

You can restore the Sakai 10 behavior by adding the following to sakai.properties:

lessonbuilder.use-csp-headers=false

The recommended approach for dealing with this security risk is to use Sakai’s content domain support. This causes HTML pages stored in resources to be served from a different hostname than the main Sakai hostname. E.g. if your institution uses sakai.univ.edu, you might use content.sakai.univ.edu for content, resulting in URL such as https://content.sakai.univ.edu/access/content/group ….  Using a separate domain prevents web pages from executing with your Sakai privileges. Thus if you are using a separate content domain, Lessons does not add the Content Security Policy headers.

Note that it is up to the browser to enforce Content Security Policy. Safari, Chrome, and Edge do. Firefox does not. Thus Firefox users are still at risk when opening HTML pages in Lessons. I believe IE 10 and 11 also support it.

 

Dashboard not included

The Dashboard tool, new for Sakai 11, has not been included in the 11.0 release because too many technical issues existed and not enough person-power to address them in time for the release.

List of Dashboard issues (not included in 11.0) .   

 

STEP - Delivery Exceptions will be in 11.2 or later

STEP (Samigo Test and Quizzes Enhancement Project) feature to allow different delivery settings for specific sections, groups, and individuals , did not make it into Sakai 11.0 due to issues with the Auto Submit feature and data storage and retrieval issues. We are hoping to have this go into a later 11.x maintenance release.  

SAK-34955 - Allow different delivery settings for specific sections, groups, and individuals CLOSED

A number of other features were delivered as a result of STEP for 11.0 including:

SAK-37262 - Report that Shows All Samigo Submissions for a Specific User RESOLVED

SAK-34825 - New question type - image map RESOLVED

SAK-35294 - Update site ids in published question pool questions CLOSED

Features on by default in Sakai 10, turned off by default in Sakai 11

Release

Tool/Service

Ticket

Notes

Release

Tool/Service

Ticket

Notes

11.0

Samigo Test and Quizzes

SAK-36933 - Disable Extended Matching Question type VERIFIED

The Extended Matching Question type has been turned off by default. A number of issues have surfaced that need attention. See https://jira.sakaiproject.org/issues/?filter=15806

11.0

Samigo Test and Quizzes

  

SAK-36643 - Hide assessment templates by default VERIFIED

Assessment Templates are confusing. Once a Template is used, certain settings may be unavailable to the instructor. For this reason Assessment templates have been turned off by default. You can turn it on by setting samigo.showAssessmentTypes= true in sakai.properties.

 

Features off by default in Sakai 10, turned on by default in Sakai 11

Release

Tool/Service

Ticket

Notes

Release

Tool/Service

Ticket

Notes

11.0

Site

INFRSTR-333 - Authenticate to see issue details

# Allow a specific icon for sites. Should we allow sites to supply a specific icon for their site.
# DEFAULT: true
# portal.siteicon.allow=false

11.0

Calendar

SAK-31414 - Change the default configuration in sakai 11.0 so that the option for maintainers to subscribe to external calendars is enabled by default VERIFIED

# calendar.external.subscriptions.enable=false

11.0

Calendar

SAK-31413 - Change the default configuration in sakai 11.0 so that the option for users to generate a private URL for a calendar is enabled by default, create an additional property: ical.public.secureurl.subscribe VERIFIED

ical.opaqueurl.subscribe

11.0

Content

SAK-31415 - Change the default configuration in sakai 11.0 so that when a site is deleted it is actually placed into a "recycle bin" - so called "soft deletion" of sites VERIFIED

 


Highly recommended settings to override default values

Release

Tool/Service

Ticket

Notes

Release

Tool/Service

Ticket

Notes

11.0

HikariCP

SAK-39486 - Add support for HikariCP connection pool RESOLVED

In Oracle 11c, the default maximum number of database connections in the connection pool may be too low for a production server.

This setting and others for HikariCP can be configured in kernel/kernel-component/src/main/webapp/WEB-INF/db-components.xml, or overridden in sakai.properties in the form:

maximumPoolSize@javax.sql.BaseDataSource=50

 

11.0

Feedback tool

SAK-31184 - Improvements to the Feedback Tool CLOSED

# ###################################### # SAK-29271 Feedback Tool Properties # ###################################### # Recipient address that will receive the contact emails # feedback.technicalAddress = someaddress@institution.org # Enable/Disable the content panel # DEFAULT: true # feedback.show.content.panel = false # Enable/Disable the help panel # DEFAULT: true # feedback.show.help.panel = false # Enable/Disable the technical panel # DEFAULT: true # feedback.show.technical.panel = false # Enable/Disable the suggestions panel # DEFAULT: true # feedback.show.suggestions.panel = false # Configure the help link destination (Sakai help by default) # feedback.helpPagesUrl = /portal/help/main # Configure the help link target # feedback.helpPagesTarget = _blank # Configure the helpdesk destination # feedback.helpdeskUrl = https://helpdesk.institution.org # Configure the suggestion link destination # feedback.featureSuggestionUrl = https://suggestions.institution.org # Add supplementary information at the right side of the tool # feedback.supplementaryInfo = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum # Maximum size for the feedback attachments. This value should be lower than content.upload.max value, if it's higher the tool will use content.upload.max value # feedback.attach.max = 10

 

Significant changes to existing features

Release

Tool/Service

Ticket

Notes

Release

Tool/Service

Ticket

Notes

11.0

Assignments

SAK-29406 - Allow Assignment tool to grade with two decimal points CLOSED

The default number of decimal places for grading in Assignments is 2, expanded from 1.

11.0

Dropbox

SAK-11647 - Make Dropbox section-aware CLOSED

New for 11.

 

Sakai 11 skins using Morpheus

Documentation is stored with Sakai on Github

Sakai 11 changes the way sites are marked as "favorites"

 

Sakai 11 changes the way that sites marked as "favorites" are stored
in the database. If you are upgrading from an earlier version of
Sakai, you should run the "ConvertUserFavoriteSitesSakai11" script to
migrate your users' existing favorite sites to the new format.

You can run this script at any time following the upgrade to Sakai 11,
and Sakai does not need to be running for the script to work. If you
are planning an upgrade, a good time to run this is right before
starting Sakai 11 up for the first time.

The time required for the conversion will depend on how many users you
have in your system. As a rule of thumb, you can expect it to take
between 2-5 minutes per hundred thousand users.

To run the script, open a shell and run the following commands:

cd /path/to/your/tomcat-directory

Then, for Unix systems:

java -cp "lib/*" -Dtomcat.dir="$PWD" org.sakaiproject.user.util.ConvertUserFavoriteSitesSakai11

Or under Windows:

java -cp "lib\*" -Dtomcat.dir=%cd% org.sakaiproject.user.util.ConvertUserFavoriteSitesSakai11

 

 

 

Sakai Properties

 

Release

Tool/Service

Property

Ticket

Change

Release

Tool/Service

Property

Ticket

Change

Release

Tool/Service

Property

Ticket

Change

11.0

Dropbox

dropbox.maintain.own.groups

SAK-11647

Courses with multiple TAs (teaching assistants) managing multiple discussion sections have a need for the TAs to be able to access student dropboxes by their sections.

11.0

Samigo Test and Quizzes

samigo.pdf.convertformattedtext

SAM-2502

  1. In the PDF print output, setting this to true will remove all HTML formatting from the questions and answers (This was a legacy setting just added incase someone was using it or it was causing problems)
    +# Default: false
    +# samigo.pdf.convertformattedtext=true

11.0

Samigo Test and Quizzes

samigo.SelectAssessmentBean.warnUserOfModification

SAM-1331

# SAM-1331: Warn user of modification to edited quiz
# DEFAULT: true
# samigo.SelectAssessmentBean.warnUserOfModification=false

11.0

Samigo Test and Quizzes

samigo.fromAddress

SAM-1947

+# SAM-1947 Email notifications on Samigo Submission
+# The from address for individual submission notifications
+# DEFAULT: no-reply@serverName
+# samigo.fromAddress=<SAMIGO_SMTP_FROM>

10.0

Samigo Test and Quizzes

varies by question type

SAM-2296

Allow question types to be selectively disabled via Sakai properties. Added in Sakai 10

11.0

Samigo Test and Quizzes

samigo.allowMinScore

SAM-948

## TEST & QUIZZES (SAMIGO)
# SAM-948 - Minimum value option for questions
# DEFAULT: FALSE
# samigo.allowMinScore=true

11.0

CK Editor (Rich Text Editor)

auto save

SAK-22495

not a Sakai property!

ckeditor.launch.properties in the source code, so there are properties but not Sakai properties like we think of them. We're really just including a CKEditor community plugin so the configuration and code maintenance of the plugin is up to them (http://ckeditor.com/addon/autosave).

11.0

MathJax

on by default. several properties.

SAK-22384

+# SAK-22384 - MathJax support is enabled by default
# See https://jira.sakaiproject.org/browse/SAK-22384 for more details and a demo.


+# URL to MathJax.js, you can use the one on the mathjax CDN or put one locally. Currently this is not included with Sakai.
+# The current default is the MathJax CDN latest (https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default,Safe)
+#portal.mathjax.src.path=

+# Whether to allow useres to enable or disable MathJAX, this still has to be enabled on a per site basis (default is true)
+#portal.mathjax.enabled=false

 

 

 

SAK-23256

 

 

 

 

SAK-30270

 

 

 

 

SAK-26283

 

 

 

 

SAK-29182

 

11.0

Site Info

site.setup.import.addmissingtools

SAK-28069

  1. SAK-28069: Enable the automatic addition of any missing tools into a site when content from another site is selected for import

  2. DEFAULT: false

  3. site.setup.import.addmissingtools=true

 

 

 

SAK-28059

 

 

 

 

SAK-28990

 

 

 

 

SAK-29000

 

 

 

 

SAK-28997

 

11.0

Gateway page

site.types.publicChangeable
site.types.publicOnly

SAK-28119

It enables an institution to define what site types are by default publicly available via the "Site Browser" tool on the Gateway.

It also enables an institution to define what site types are or are not changeable by the maintainer, with regards to the "public" vs. "private" setting (site browser).

 

 

 

SAK-29019

 

 

 

 

SAK-22537

 

 

 

 

SAK-29478

 

 

 

 

SAK-29935

 

 

 

 

SAK-24398

 

 

 

 

SAK-24393

 

 

 

 

SAK-27743

 

 

 

 

SAK-29408

 

 

 

 

SAK-29701

 

 

 

 

SAK-29458