I did a full re-install which corrected the memory issue. Perhaps I had a dependency or ElasticSearch running twice.
Now experimenting with the creation of Resource Models templates. Christian On Saturday, April 13, 2019 at 4:45:26 PM UTC-4, [email protected] wrote: > > Thanks Cyrus, > > I was able to get the maps working, and I'm experimenting with adding > resources. The issue now is that when doing this, the browser (Firefox) > starts taking lots of RAM (all of the dedicated 10GB that I increased to on > the VM), and some for Java (a constant 2.4GB). This is especially evident > when modifying a resource, and the browser becomes unworkable for a few > minutes. The maps do not seem to be the culprit, since I experimented with > it on and off. > > ElasticSearch seems to now be working fine when re-starting the VM. > > Thanks for your help. > > Christian > > > On Saturday, April 13, 2019 at 8:22:35 AM UTC-4, Cyrus Hiatt wrote: >> >> Hi Christian - >> >> I generally run elasticsearch with the `-d` option so that it runs as a >> daemon. This allows me to close the terminal and shut down the machine on >> which ES is running and later resume without any additional steps. Other >> than that there really are no special steps that need to be taken to shut >> down Arches. The error that you got seems to be an issue with virtualenv. >> Once you pip install arches, arches and its Python dependencies (including >> Django) should be installed in your virtualenv and be available regardless >> of how you stop arches or shutdown your server. So, I'm not sure what went >> wrong to cause the error you saw, and I'm sorry it resulted in you having >> to reinstall everything. Hopefully it doesn't happen again, but I would >> take a snapshot of my VM before shutting down, just in case it does. >> >> Regarding your map issue, getting a mapbox API key and adding it to your >> system settings should resolve that issue. >> >> Cheers - >> >> Cyrus >> >> >> >> On Fri, Apr 12, 2019 at 6:29 PM <[email protected]> wrote: >> >>> I think I found the solution as follows, after starting from scratch >>> with a complete reinstall. >>> >>> For both elasticsearch and runserver, prior to shutting down Ubuntu, I >>> quit them in their respective terminal windows with Control-C. >>> >>> Is there still a solution to the error I received, in the event that the >>> operating system would crash without the opportunity to close elasticsearch >>> and runserver with Control-C. >>> >>> I'm now onto the next steps, and just loaded the branch.zip package. >>> This seems to be working with the exception of the maps. But I think I need >>> to do some reading regarding this under Configuring Settings section which >>> talks about providing a key. >>> >>> Thanks, >>> >>> Christian >>> >>> On Friday, April 12, 2019 at 9:48:56 AM UTC-4, [email protected] wrote: >>>> >>>> Hello, >>>> >>>> I was able to successfully install Arches on a virtual machine >>>> (VirtualBox) running Ubuntu! >>>> >>>> I was able to run ElasticSearch, run the Development Server and view >>>> the default Arches setup in a web browser via localhost:8000 >>>> >>>> I closed everything down (Virtualmachine), and am now attempting to >>>> reactivate the ElasticSearch and Development Server. I was able to >>>> run/reactivate ElasticSearch, then I opened a new terminal window, and ran >>>> (in the virtual ENV) "python manage.py runserver" but this seems to >>>> not be working, with the following message: >>>> >>>> >>>> Traceback (most recent call last): >>>> File "manage.py", line 27, in <module> >>>> from django.core.management import execute_from_command_line >>>> ImportError: No module named django.core.management >>>> >>>> Any help would be appreciated. >>>> >>>> Also, is there a procedure or best practice to follow when closing and >>>> re-opening elasticsearch and/or the server? I also want to make sure I'm >>>> not running things twice and create conflicts. >>>> >>>> Thanks, >>>> >>>> Christian >>>> >>>> -- >>> -- To post, send email to [email protected]. To unsubscribe, >>> send email to [email protected]. For more information, visit >>> https://groups.google.com/d/forum/archesproject?hl=en >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Arches Project" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
