-
Notifications
You must be signed in to change notification settings - Fork 24
Administrator's Guide
- Chris Churas churas.camera[at]gmail.com *Primary admin
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock
-
sudo service apache2 restart
-
(optional) sudo service mysql restart
-
hold breath while attempting to reloading page...
-
Check logs
- Django:
/var/www/appstore/logs/appstore.log - Apache:
/var/www/appstore/logs/error_log
- Django:
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
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.
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