Skip to content

Administrator's Guide

Chris Churas edited this page Feb 18, 2021 · 23 revisions

Cytoscape App Store Site Administration

Developers

Click here for information

Points of Contact

  • Chris Churas churas.camera[at]gmail.com *Primary admin

Emergency things to try

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock

  1. sudo service apache2 restart

  2. (optional) sudo service mysql restart

  3. hold breath while attempting to reloading page...

  4. Check logs

    • Django: /var/www/appstore/logs/appstore.log
    • Apache: /var/www/appstore/logs/error_log

Search is not working...

Try rebuilding the index by running the following command in the top-level dir:

# as superuser
/opt/miniconda3/bin/python manage.py rebuild_index

Also verify user www-data has read & write access to /var/www/appstore/whoosh_index

NOTE: The AppStore uses the python located at: /opt/miniconda/bin/python

App submissions

When a jar is submitted to the App Store, the site sends an automated email to the administrator's email address (defined in settings.production.CONTACT_EMAIL). Even if the app is not approved in the final step by the author, the administrator receives an email. This is done so that the administrator can monitor all submissions.

If an app page already exists for the jar submission, the new release becomes immediately available. The administrator will receive an automated email about the submission.

If the app is new, the jar submission requires approval by staff. Sign in as staff, then go to the App Store site. In the user menu on the top right of the page, choose "Pending Apps". At this page, staff can approve an app. Approving an app sends an automatic email to the author and doesn't require any additional work. If the jar is not satisfactory, it can be rejected. No automatic email is sent to the author if the jar is rejected. This is because rejections happen when a jar is malformed and require an individualized email to the author.

Download Stats

Go to http://apps.cytoscape.org/download/stats/ and click the Save as CSV option.

There is also a command line admin script that generates a report. This can be run as follows:

# as superuser from installed location of appstore on server
/opt/miniconda3/bin/python manage.py usagereport

Another source of App Store documentation

Clone this wiki locally