User Tools

Site Tools


common_plone_admin_tasks

Generic Login for User and Group tasks

Add a user

  • click “add new user”
  • fill out the form and hit register
  • assign roles, by following add a user to a group

Find a username and reset a password

  • search for the users name in “user search”
  • _verify by email address_ the user's name that appears in the results
  • check “reset password” and click “apply changes” OR
  • go to the Lost Password form
  • email the link with their username fillled out (groupname/mail_password_form?userid=username)

Add a Group

  • click on the group tab
  • click “add new group”
  • fill out the form and hit register
  • assign roles

Add a User to a Group

  • click on the group tab
  • click on the group name
  • search for a user to add to the group
  • select the checkbox for the user to be added
  • click “add selected groups and users to this group”

Find and Debug an Error

  • If error number was included in communication, copy it
  • Visit site setup: Errors
  • See if any errors are listed in the log: 95% of the time, the error shows up here.
  • If no errors in that log, look at the server-side log on EBM which contains all errors:
   ssh <username>@ebm.nceas.ucsb.edu
   cd /services/plone/nceas-collab/production/var/log
   grep -A20 -B5 ERROR_NUMBER_GOES_HERE primary.log
  • The traceback should be associated with the error number, the last line in the traceback is the culprit.

Create a Site

Restore a Site From ZODB

Restore a Site From Backup

  • connect to EBM
  • sudo su zope
  • cd /services/plone/nceas-collab/production
  • make a copy of the ZODB in a previous state, timestamps are in the format YYYY-MM-DD-HH-MM-SS:
  ./bin/repozo -Rv -r backups/Data.fs -D 2010-06-01-01-05-02 -o Copy.fs
  • cd ../development/fss
  • mkdir old && mv Data.fs* old/
  • mv ../../production/Copy.fs Data.fs
  • ./bin/stop-zeo.sh && ./bin/start-zeo.sh
  • Now, find the relevant objects: use Zip File Transport to build out the core, then transfer any images or data manually.

Install MathJax Support

  • Visit the site, log in as 'support'
  • Visit 'Site Setup: Site'
  • Under 'JavaScript for web statistics support' paste this:
    <script type="text/javascript" src="https://groups.nceas.ucsb.edu/static/mathjax/MathJax.js"></script>
  • test and verify an equation in a document:
    \begin{aligned}
    \dot{x} & = \sigma(y-x) \\
    \dot{y} & = \rho x - y - xz \\
    \dot{z} & = -\beta z + xy
    \end{aligned}
common_plone_admin_tasks.txt · Last modified: 2012/02/07 11:32 (external edit)