Re: [Arches] Re: error initialising

2018-08-08 Thread Ben O'Steen
(Oh and worth pointing out that RAM allocated is definitely a consideration! If you are using docker on your local machine, you may be surprised by how little RAM and CPU gets allocated to the docker host by default) On 8 August 2018 at 09:42, Ben O'Steen wrote: > I've been hitting someth

Re: [Arches] Re: error initialising

2018-08-08 Thread Ben O'Steen
I've been hitting something similar. I've noticed that the package.json file is not created or copied over when you run "arches-project create ...". I'm just learning the project so do not know that this is by design, and whether this should be done manually. I fixed my dev site by copying over

Re: [Arches] Re: Security testing/audit

2018-12-17 Thread Ben O'Steen
those results I think that the > SQL may be the trickiest to remedy. At any rate, a very good roadmap for an > initial security update. > > Adam > > On Mon, Dec 17, 2018 at 5:07 PM Ben O'Steen wrote: > >> I ran the project through the Bandit 'security linter' which fl

Re: [Arches] Re: Security testing/audit

2018-12-17 Thread Ben O'Steen
I ran the project through the Bandit 'security linter' which flagged up a number of small issues https://pypi.org/project/bandit/ I've attached the result of this in case it is of interest (run on 4.3.1 so obviously run it against whatever you plan to deploy). It is just one tool to use to help

Re: [Arches] Re: Google Analytics

2018-11-27 Thread Ben O'Steen
Did this fix it? I'm also interested in adding analytics to Arches! Ben On Sun, 25 Nov 2018 at 12:17, Vincent Meijer wrote: > Found the potential culprit: I need to add www.google-analytics.com to > my Content Security Policy ('script-src') directive. > I'll update here once I am able to test

Re: [Arches] Re: Google Analytics

2018-11-27 Thread Ben O'Steen
at something unforeseen has popped up, post bugfix. > > Adam > > On Tue, Nov 27, 2018 at 10:29 AM Ben O'Steen wrote: > >> Did this fix it? I'm also interested in adding analytics to Arches! >> >> Ben >> >> >> On Sun, 25 Nov 2018 at 12:17, Vincent Meij

Re: [Arches] Arches 4.4.1: Re-Index databases after upgrade to Ubuntu18.4

2019-04-04 Thread Ben O'Steen
pril 2019 19:12:12 UTC+1, Ben O'Steen wrote: > >> I can confirm I hit the same issue and error running 'python manage.py es >> index_database'. I hadn't filed an issue about it as I too had just >> upgraded ES in my environment too and wanted to eliminated operator error &g

Re: [Arches] Arches 4.4.1: Re-Index databases after upgrade to Ubuntu18.4

2019-04-04 Thread Ben O'Steen
root/ENV/local/lib/python2.7/site-packages/elasticsearch/connection/base.py", line 125, in _raise_error raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info) elasticsearch.exceptions.RequestError: RequestError(400, u'parsing_exception', u'reques

Re: [Arches] Arches 4.4.1: Re-Index databases after upgrade to Ubuntu18.4

2019-04-04 Thread Ben O'Steen
I can confirm I hit the same issue and error running 'python manage.py es index_database'. I hadn't filed an issue about it as I too had just upgraded ES in my environment too and wanted to eliminated operator error first. The command that seems to be the root of the issue was:

Re: [Arches] Docker-compose image have 404 for all static assets.

2019-04-16 Thread Ben O'Steen
How the static files are served depends on a few things. What is the DJANGO_MODE variable set to in the docker-compose.yml that you are using? (NB if you also have an .env file in that directory, that may be overwriting this issue) If it is PROD, then the command to collect static files should

Re: [Arches] Docker-compose image have 404 for all static assets.

2019-04-16 Thread Ben O'Steen
I should also make it clear that all of what I mentioned above is the default behaviour and doesn't need you to do anything more to make it work. -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more

Re: [Arches] Docker-compose image have 404 for all static assets.

2019-04-18 Thread Ben O'Steen
gt; both my deployment working and django to spit out a traceback, otherwise I > would give up more info) > > I'm happy to start this as another thread if this is better suited. > -- > Matthias > > > > On Tue, 16 Apr 2019 at 10:12, Ben O'Steen wrote: > >> I sho

Re: [Arches] Docker-compose image have 404 for all static assets.

2019-04-23 Thread Ben O'Steen
ith more permissions than me could check the webhook > settings in the Github repo? :) > > Vincent > > On Fri, Apr 19, 2019 at 12:40 AM Ben O'Steen wrote: > >> >> - As for Docker 4.4.1 not being put onto Docker Hub, I'm not sure why >> that is. I've been making my own

Re: [Arches] Docker-compose image have 404 for all static assets.

2019-04-24 Thread Ben O'Steen
https://github.com/archesproject/arches/pull/4801 I've put my small tweak as a PR, if you wanted to check it out Vincent and test yourself! Ben On Wed, 24 Apr 2019 at 10:44, Ben O'Steen wrote: > Rob G had similar issues running the test suite, but had an extra fail as > well! Not sur

Re: [Arches] Docker-compose image have 404 for all static assets.

2019-04-23 Thread Ben O'Steen
hes/builds/88c8a09d-9fa6-44f5-a86a-fc960ba2f327 On Tue, 23 Apr 2019 at 08:23, Ben O'Steen wrote: > That is an odd error, certainly works locally but not when docker hub runs > the test setup. > > One thing it could be is that if docker hub are using default EC2 > instances, they

Re: [Arches] Docker-compose image have 404 for all static assets.

2019-04-24 Thread Ben O'Steen
endent of the > environment, or does the test succeed locally? > > On Tue, Apr 23, 2019 at 6:46 PM Ben O'Steen wrote: > >> Good news, Bad news I'm afraid: >> >> Good news? the environment flag seems to have done the trick and the >> Elasticsearch container doesn't qui

Re: [Arches] Falling at first hurdle, then the next, then the next.

2019-04-10 Thread Ben O'Steen
Sorry to hear that you have had trouble! If you just want to test it out, I agree with Adam that the demo installation is a good option. The direct link to that is http://v4demo.archesproject.org/ Ben On Wed, 10 Apr 2019 at 12:23, Adam Cox wrote: > Hello, the error you found won't be

Re: [Arches] Arches v4 Windows Installation with pip

2019-07-16 Thread Ben O'Steen
Putting aside whether this code should be run or not, the error is a parsing error concerning the python 2 style of string formatting when run within python 3 which no longer supports this way of print formating. print is a function in python 3 and should be in the form print(...) not print ""

Re: [Arches] Arches 5.0 Docker setup problems

2020-03-03 Thread Ben O'Steen
Hi, I think the key error is on line 63 of the gist you posted. For some reason, it is interpreting file bind mount as a directory and not as a file. If I run the default docker compose file here, and start up the db container, this is the log output I get: $ docker logs db Add rule to pg_hba:

Re: [Arches] Arches 5.0 Docker setup problems

2020-03-05 Thread Ben O'Steen
ms it still has some rough edges. As > I need to get some development done to make some slides for a conference > paper, I think I'll go back to the tried and tested method of setting up a > Vagrant VM! > > Cheers > David > > On Wednesday, 4 March 2020 00:33:38 UTC, Ben