Thank you for your help Adam and Nina. Regards,
Darryl Tynen E // m...@darryltynen.com<mailto:m...@darryltynen.com> On May 29, 2019, at 04:13, Adam Cox <mr.adam...@gmail.com<mailto:mr.adam...@gmail.com>> wrote: Hi Colin, in my own projects I've stopped using rc.local in favor of crontab. Typically people set up cronjobs for periodic tasks, but you can also use the @reboot keyword to set a task that will run whenever the server is rebooted. https://www.computerhope.com/unix/ucrontab.htm, specifically: https://www.cyberciti.biz/faq/linux-execute-cron-job-after-system-reboot/ Logged in as the linux user who runs Arches (default user on AWS Ubuntu is ubuntu): crontab -e (choose your text editor) add this line to the bottom of the file @reboot /full/path/to/elasticsearch/bin/elasticsearch -d and that's it! Each linux user account has it's own crontab, which is run as that user. So, this is get around the permissions issues you were experiencing. I also have had trouble with ES permissions in the past, it happens when the auto-restart job in rc.local runs as root, but then later you try to start elasticsearch as ubuntu, and vice versa. Anyway, using crontab has made this much easier to handle. Adam On Tue, May 28, 2019 at 2:35 PM Colin Wu <co...@colinwu.ca<mailto:co...@colinwu.ca>> wrote: Hi Adam, I am working Darryl and I was able to create some new nodes in the DB work only 1G RAM. The issue Darryl was running into was that elasticsearch was not restarting when the server got rebooted. Seems, at least with Ubuntu 18, simply putting the command to start elasticsearch in rc.local does not work. elasticsearch says it refuses to run with root credentials. Making the elasticsearch script SUID some other non-privileged user doesn't help. “Waste no more time arguing what a good man should be, just be one.” -- Marcus Aurelius From: mr.adam...@gmail.com<mailto:mr.adam...@gmail.com> Sent: May 28, 2019 14:44 To: ndevol...@getty.edu<mailto:ndevol...@getty.edu> Cc: archesproject@googlegroups.com<mailto:archesproject@googlegroups.com> Subject: Re: [Arches] Re: Help with design - server RAM issue? Hi Nina and Darryl, Thanks for pointing out the broken link in the documentation. I'll put in a note to fix it. At the bottom of this section https://arches.readthedocs.io/en/stable/arches-and-elasticsearch/#running-elasticsearch, you'll see the notes that the link originally linked to, which mention how you can direct elasticsearch to use just 1gb memory on startup. Really, I haven't done a LOT of testing with this configuration, so I'm unsure how well it will work. But when I tested in the past it was sufficient for viewing the front-end, etc. but I would expect that search/import-related operations will be compromised. Let me know how it goes! If things still don't work, I would personally be inclined to remove that note from the documentation. Adam On Tue, May 28, 2019 at 12:32 PM Nina Devolder <ndevol...@getty.edu<mailto:ndevol...@getty.edu>> wrote: Hi Darryl, Were you able to find a solution? If not, let me see if someone in the group can follow up. Best, Nina -Arches Project Team On Saturday, May 25, 2019 at 12:13:29 AM UTC-7, Darryl M Tynen wrote: Hi all, Hoping I can get some assistance. Arches was installed for me by a developer on Ubuntu on a VPS with 1GB of RAM. When trying to begin design by creating my first Class, I hit save and get the spinning wheel of death. Per the installation documentation, it is possible to install and then design using only 1GB RAM as long as following Note 1 (https://arches.readthedocs.io/en/stable/requirements-and-dependencies/arches-and-elasticsearch.html#notes). Unfortunately, this link is dead so I cannot check if I have everything set correctly. I'm no IT expert so any advice would be gratefully received. Thanks, Darryl -- -- To post, send email to archesproject@googlegroups.com<mailto:archesproject@googlegroups.com>. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com<mailto:archesproject%2bunsubscr...@googlegroups.com>. 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 archesproject+unsubscr...@googlegroups.com<mailto:archesproject+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/0121cd6a-2f9d-4f84-be96-7805a566850a%40googlegroups.com<https://groups.google.com/d/msgid/archesproject/0121cd6a-2f9d-4f84-be96-7805a566850a%40googlegroups.com?utm_medium=email&utm_source=footer>. -- -- To post, send email to archesproject@googlegroups.com<mailto:archesproject@googlegroups.com>. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com<mailto:archesproject+unsubscr...@googlegroups.com>. For more information, visithttps://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 archesproject+unsubscr...@googlegroups.com<mailto:archesproject+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/CAGYBTasenWkeZYV4kQbVtYVXHUfxqsB5xeXPppOFv%3DxTUyzuew%40mail.gmail.com<https://groups.google.com/d/msgid/archesproject/CAGYBTasenWkeZYV4kQbVtYVXHUfxqsB5xeXPppOFv%3DxTUyzuew%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- -- To post, send email to archesproject@googlegroups.com<mailto:archesproject@googlegroups.com>. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com<mailto:archesproject+unsubscr...@googlegroups.com>. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to a topic in the Google Groups "Arches Project" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/archesproject/AdezSWuvpUU/unsubscribe. To unsubscribe from this group and all its topics, send an email to archesproject+unsubscr...@googlegroups.com<mailto:archesproject+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/CAGYBTasGpXLH6Q7bqad%3D6k_08J88EJEF7JZCLg2qwX3BkYrK0w%40mail.gmail.com<https://groups.google.com/d/msgid/archesproject/CAGYBTasGpXLH6Q7bqad%3D6k_08J88EJEF7JZCLg2qwX3BkYrK0w%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/archesproject/776D8A18-4B73-4246-8075-EFC34FBD48EF%40darryltynen.com.