Re: [Arches] Serving Arches 4.1 with Apache

2018-02-06 Thread Dale Lloyd
Thanks Adam, following the handling static files instructions worked. Running 'python manage.py collectstatic' copies the static files to /var/www/media, so that's the path that I used in /etc/apache2/sites-enabled/000-default.conf Alias /static/ /var/www/media Options Indexes

Re: [Arches] Serving Arches 4.1 with Apache

2018-02-06 Thread Adam Cox
Hi Dale, it sounds like you may have to continue to the next step in the production documentation after all, https://github.com/archesproject/arches/wiki/Basic-Production-Configuration#handling-static-files. Could you try that out and let me know how it goes? I think your issue may have to do with

Re: [Arches] Arches 4: Error running setup_db script

2018-02-06 Thread Cyrus Hiatt
Hi Brett - That error is due to a conflict between two versions of a django model within an early migration file. There is an issue with modifying that migration file, so we haven't made the necessary change to handle for that error. It's not of any consequence, so you can safely ignore it. -

Re: [Arches] Serving Arches 4.1 with Apache

2018-02-06 Thread Adam Cox
Glad that worked. In the past I haven't had to setup static files like that before setting DEBUG = False, apache was just able to find them. Also, fyi, if you want to collect the files to a different location, just add a STATIC_ROOT variable with a path in it to your settings and collectstatic