Skip to content

Common Questions

dspruell edited this page Dec 4, 2015 · 2 revisions
  • I'm using RHEL and it does not come with Python 2.7. Do I need Python 2.7 for CRITs to work?
    • Yes. Python 2.7.x is the minimum required version of Python for CRITs to run. You will need to install Python 2.7 separately on your RHEL instance. Some things to consider when you do this:
      • You should also install pip for Python 2.7 so you can use pip install.
      • You should make sure to use python2.7 or alias python to point to python2.7 for your environment so you are always using the correct installation.
      • Make sure all of the dependencies are installed for the correct Python installation.
      • mod_wsgi will need to be installed from source against the correct version of python (https://code.google.com/p/modwsgi/wiki/InstallationIssues#Multiple_Python_Versions).
  • When I try to run python manage.py create_default_collections I get an error Unknown command: 'create_default_collections'. What's the issue?
    • This is usually do to Django not being able to find a SECRET_KEY. Make sure to go over the README again and look at the section for configuring your database.py file. You need to set a SECRET_KEY in there.
  • When I upload a .zip, I consistently get the following error message No such file or directory. What's the issue?
    • This is most likely due to a configuration issue. In your Control Panel you'll need to make sure you've pointed to the proper location for 7z. This will be similar for things like unrar.
  • The Apache configuration files are not working for me. Is there something I should do?
    • The Apache configuration files that are provided are mostly for reference unless it's a brand-new Apache install. Even then you should make proper adjustments based on the version of Apache installed and other things you've modified on your server. You can also refer to the Django website for information on how to setup a Django app with Apache.
Clone this wiki locally