Hi Martha, the daemon process error has to do with your config file, you'll
just need to make sure the arches process is created before you reference
it.

The other issue, the truncated........ Is much trickier, but has to do
specifically with the version of psycopg2 (a python library in your virtual
environment) that you have installed. I put this comment on a PR a long
time ago, which gives a little context:
https://github.com/archesproject/arches/pull/4965#issuecomment-521806491

Ultimately, I recommend creating a new virtual environment, pip installing
everything as normal, then

Pip uninstall psycopg2
Pip install psycopg2==2.8.3

You can then point the apache configs at the new environment and it should
solve this problem.

Good luck,
Adam

On Fri, Dec 27, 2019, 6:38 PM Martha S <[email protected]> wrote:

> I feel I'm sooo close to implementing secured access to Arches and need a
> little help to get over the top, please. I'm running Ubuntu 18.04. My
> certificate is in and working.
>
> I tried making a copy of 000-default.conf (with --preserve=all), changing
> the port to 443, and adding these lines as directed by the CA:
>
> ServerName historicplacesla.lacity.org
> SSLEngine on
>
> SSLCertificateFile XXX.crt
> SSLCertificateKeyFile XXX.key
>
> When I tried to restart Apache2 after enabling SSL, the complaint was
> 'Name duplicates previous WSGI daemon definition', so I commented it out in
> default-ssl.conf and tried again. Apache started, but I still can't launch
> Arches. The browser gets an error 500 and the Arches error.log has the
> entry:
>
> 'Daemon process called 'arches' cannot be accessed by this WSGI
> application: /Projects/prod/hpla/hpla/wsgi.py, referer:
> https://historicplacesla.lacity.org/arches.'
>
> I get the same error if I try with http. My next effort was to rename my
> 000-default.conf and uncomment the line in default-ssl.conf. Now, in
> addition to the error above, I get
>
> '[wsgi:error] Truncated or oversized response headers received from daemon
> process 'arches': /Projects/prod/hpla/hpla/wsgi.py
> [core:notice] AH00051: child pid 83357 exit signal Segmentation fault
> (11), possible coredump in /etc/apache2
>
> There is no new file, dump or otherwise in /etc/apache2.
>
> For the moment, I've disabled SSL, renamed the two configuration files so
> only 000-default.conf is loaded, restarted Apache2 and things are running
> as usual. I get that it is at least partly an access rights issue.
> historicplacesla.lacity.org has been added to ALLOWED_HOSTS in
> settings.py.
>
> What do I still need to do to what to deal with these errors?
>
> Thanks so much and happy new year to all,
> Martha
>
>
>
> --
> -- 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/archesproject/d5bebd17-14c3-4925-b5e7-ba5128d446d0%40googlegroups.com
> <https://groups.google.com/d/msgid/archesproject/d5bebd17-14c3-4925-b5e7-ba5128d446d0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
-- 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/CAGYBTasbPt11Zey_6KcynWxXb16D0csC7jPpFnxRsa3Le-hkNA%40mail.gmail.com.

Reply via email to