Re: [Arches] Images stopped working

2019-02-25 Thread Adam Cox
Hi Dale, nice work troubleshooting. I think putting that in Apache and
leaving the default MEDIA_URL setting is the best answer. Thanks for
letting me know what worked for you!

Adam

On Mon, Feb 25, 2019 at 11:19 AM Dale Lloyd  wrote:

> I tried 'Alias /files/ /opt/Projects/mehs/mehs/uploadedfiles/' again and
> it did not work.
>
> Then it occurred to my to try 'Alias /files/uploadedfiles/ /opt/Projects/
> mehs/mehs/uploadedfiles/' and it worked. Is this ok, or would altering
> the MEDIA_URL setting be preferable?
>
> Thanks for your time, expertise and patience!
>
> --
> -- 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


Re: [Arches] Images stopped working

2019-02-25 Thread Dale Lloyd
I tried 'Alias /files/ /opt/Projects/mehs/mehs/uploadedfiles/' again and it 
did not work.

Then it occurred to my to try 'Alias /files/uploadedfiles/ /opt/Projects/
mehs/mehs/uploadedfiles/' and it worked. Is this ok, or would altering the 
MEDIA_URL setting be preferable?

Thanks for your time, expertise and patience!

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


Re: [Arches] Hardware

2019-02-25 Thread Adam Cox
We also have a list of basic requirements here in the documentation:
https://arches.readthedocs.io/en/stable/requirements-and-dependencies/#system-requirements

On Mon, Feb 25, 2019 at 10:45 AM Alexei Peters  wrote:

> Hi David,
> This really depends on the number of simultaneous users you anticipate
> having to host.
> Can you shed some light on this?
> Cheers,
> Alexei
>
> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>
>
> On Mon, Feb 25, 2019 at 2:07 AM David Gurevich 
> wrote:
>
>> Hello.
>> I am interested in installing Arches for my project. What would be the
>> minimum hardware requirements to run Arches smoothly?
>> Thanks,
>> David
>>
>> --
>> -- 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.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> -- 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


Re: [Arches] Hardware

2019-02-25 Thread Alexei Peters
Hi David,
This really depends on the number of simultaneous users you anticipate
having to host.
Can you shed some light on this?
Cheers,
Alexei

Director of Web Development - Farallon Geographics, Inc. - 971.227.3173


On Mon, Feb 25, 2019 at 2:07 AM David Gurevich 
wrote:

> Hello.
> I am interested in installing Arches for my project. What would be the
> minimum hardware requirements to run Arches smoothly?
> Thanks,
> David
>
> --
> -- 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


Re: [Arches] Re: Arches 4.3.3: Search Overlay

2019-02-25 Thread Adam Cox
Hi Johannes, thanks for mentioning that about the documentation. Arches 4
used to make those two layers automatically, but that behavior was
deprecated a little while ago, and I guess we haven't caught up with the
documentation. I'll make a ticket on the repo to update that information.

Adam

On Sun, Feb 24, 2019 at 11:56 AM Dennis Wuthrich 
wrote:

> Johannes,
>
> Arches does not load search overlays by default.  However, packages often
> include the configuration files for search marker and heat map overlays.
>
> You can define search result overlays just like any other Arches overlay
> (e.g.; by defining sources and styling).  Here's a link to a .sql file that
> shows an example of configuring search related markers:
> https://github.com/archesproject/lincoln_release/blob/master/preliminary_sql/search_overlays.sql
>
> If you run the sql file, you should see overlays for search markers and a
> heat map in your instance of Arches.
>
> -Dennis
>
> On Sunday, February 24, 2019 at 8:57:56 AM UTC-8, Johannes Ebster wrote:
>>
>> Hi all,
>>
>> I created a new project that is missing the Search Results and Search
>> Markers Overlays, even though they should be there by default,
>> according to the documentation (
>> https://arches.readthedocs.io/en/stable/managing-map-layers/). How can I
>> get these default layers?
>>
>> Best,
>> Johannes
>>
>> [image: Screenshot from 2019-02-24 17-56-33.png]
>>
> --
> -- 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


Re: [Arches] Images stopped working

2019-02-25 Thread Adam Cox
Hi Dale, it would definitely be a security risk to expose that whole
directory in that manner. However, are you sure it doesn't work, regardless
of what's in the URL already? I think it should because 'uploadedfiles' is
hard-coded into the URL here:
https://github.com/archesproject/arches/blob/master/arches/app/datatypes/datatypes.py#L1106.
Frankly, the way this is handled has always confused me a bit, but the I do
know that it will work without you exposing that directory.

You can always alter the URL with the MEDIA_URL setting.

We don't have an authoritative guide on permissions, but it would certainly
be helpful to have. Feel free to make a ticket in our documentation repo,
github.com/archesproject/arches-docs, and add as much information as you
can, to help push it along.

Thanks!
Adam


On Mon, Feb 25, 2019 at 9:49 AM Dale Lloyd  wrote:

> Thanks Adam!
>
> I would have to put something slightly different in the Apache config,
> because 'uploadedfiles' is already in the image URL:
>
> Alias /files/ /opt/Projects/mehs/mehs/
>
> I did a quick test and found that if i put the the alias into the Apache
> config, the whole Arches directory would be exposed to the internet. Would
> this present a security risk?
>
> Is there a list somewhere which says which files and directories Apache
> needs read and write access to?
>
> --
> -- 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


Re: [Arches] Images stopped working

2019-02-25 Thread Dale Lloyd
Thanks Adam!

I would have to put something slightly different in the Apache config, 
because 'uploadedfiles' is already in the image URL:

Alias /files/ /opt/Projects/mehs/mehs/

I did a quick test and found that if i put the the alias into the Apache 
config, the whole Arches directory would be exposed to the internet. Would 
this present a security risk? 

Is there a list somewhere which says which files and directories Apache 
needs read and write access to?

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


[Arches] Hardware

2019-02-25 Thread David Gurevich
Hello.
I am interested in installing Arches for my project. What would be the 
minimum hardware requirements to run Arches smoothly?
Thanks,
David

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.