Management Commands
This section briefly lists the management commands available for SODAR
administrators with shell access, in addition to the built-in commands in Django
and used third party components. For more details on their usage, use the
-h or --help argument.
SODAR Core Commands
These commands originate in SODAR Core. More information can be found in the SODAR Core documentation.
addremotesiteAdd remote site for remote project synchronization.
batchupdaterolesBatch update project roles and send invites.
checkusersCheck the status of LDAP users. Returns info on users whose accounts are disabled or removed on an LDAP server.
cleanappsettingsClean up unused application settings.
deletecacheDelete SODAR Cache entries.
geticonsDownload and install the latest versions of iconify icon sets. Must be followed by
collectstaticto take effect.removerolesRemove all roles from a user. Useful when e.g. a user has left the organization. Replaces user’s owner roles with another given user. Can also be used to deactivate the user account after role removal.
synccacheSynchronize the SODAR Cache.
syncgroupsSynchronize user groups.
syncmodifyapiCreate project metadata, project collections, user access and access tickets in iRODS. Generally should only be used in development or in exceptional situations where the iRODS iCAT database needs to be recreated.
syncremoteSynchronize project and user data from a remote site if remote project sync is enabled.
SODAR Commands
These commands originate from the SODAR applications and are specific to operations regarding sample sheets, landing zones, iRODS data and ontologies.
busyzonesReturn list of currently busy landing zones.
checksampleaccessCheck for expected user access in all project sample data collections in iRODS and report discrepancies. Useful for validating expected access rights in case of e.g. manual admin user cleanup operations.
importoboImport OBO format ontology. See Ontology Access Application.
importomimmImport OMIM catalog as an ontology. See Ontology Access Application.
inactivezonesReturn list of landing zones last modified over two weeks ago.
irodsorphansFind orphans in iRODS project collections.
normalizesheetsClean up and normalize previously imported sample sheets for non-standard data or other issues. Also updates render tables and creates a backup ISA-Tab version of the normalized sheets.
resetzoneReset landing zone state. Usable for cases where a zone has entered a frozen state due to e.g. server or network issues. Sets user iRODS access to the zone corresponding to settings after zone initialization and sets the zone status to
ACTIVE, allowing for further user activity. Reset will not be performed if active Celery jobs for validation or moving of the same zone exist. Provide the landing zone UUID with the-zor--zoneargument.syncnamesSynchronize alternative names for sample sheet material search.
syncstudytablesBuild study render tables in cache for all study tables. These will be automatically built when accessing sample sheets if existing cache is not up-to-date, but this can be used to e.g. regenerate the cache if something has been changed in study table rendering. Given the argument
-cor--check, study table rendering can be tested without storing any changes in the cache.verifyzoneManually trigger verification of files moved from a landing zone, in case e.g. the automated verify after zone moving failed due to server issues. Provide the landing zone UUID with the
-zor--zoneargument. Run in synchronous mode with-sor--sync(only recommended for testing or development).
Django-Axes Commands
If django-axes is enabled, it provides a number of commands to e.g. reset access for locked out users. For more intormation on these, see django-axes documentation.