Hi Martha, can you describe your virtual environment? It seems like that
may be where the problem is. Did you change any of the paths that Apache
was using to set the mod_wsgi daemon process?

I'm not sure how or why the ufw rules would have affected any of that...

Adam

On Mon, May 4, 2020 at 6:16 PM Martha S <martha.se...@lacity.org> wrote:

> I need help with a headscratcher here, please. My 4.4.2 version of Arches
> was fine until I attempted to use ufw to make some port changes. This,
> apparently started some processes that interfered with arches loading. The
> message in the Apache log was that the import arches statement in
> settings.py failed with "No module named arches."
>
> As I was unable to reverse this problem, I got a system restore to before
> my ufw effort, but the problem persists. I assumed that perhaps the daemon
> wasn't being started for some reason, but
>
> ps -ef | grep arches returned
>
>  63787  41196  0 22:56 pts/0    00:00:00 grep --color=auto arches
>
> All seems to be well, by which I mean that the 000-default.conf hasn't
> been changed, settings.py hasn't been changed, the ElasticSearch nodes are
> running properly, and the database is accessible on 5432.
>
> Here is the whole error returned when I try to run the development server:
> python manage.py runserver:8000
> Traceback (most recent call last):
>   File "manage.py", line 29, in <module>
>     execute_from_command_line(sys.argv)
>   File
> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 364, in execute_from_command_line
>     utility.execute()
>   File
> "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 308, in execute
>     settings.INSTALLED_APPS
>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 56, in __getattr__
>     self._setup(name)
>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 41, in _setup
>     self._wrapped = Settings(settings_module)
>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
> line 110, in __init__
>     mod = importlib.import_module(self.SETTINGS_MODULE)
>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
>     __import__(name)
>   File "/Projects/prod/hpla/hpla/settings.py", line 6, in <module>
>     import arches
> ImportError: No module named arches
>
> Any ideas on how to troubleshoot this?
>
> Thanks,
> Martha
>
> --
> -- 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/0d545c0d-0486-4c2e-b65d-fb7edb938ba1%40googlegroups.com
> <https://groups.google.com/d/msgid/archesproject/0d545c0d-0486-4c2e-b65d-fb7edb938ba1%40googlegroups.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/CAGYBTasf_s8a8ht%3D4oH9KBoigUimpgOpOv%3DXunJ1tc-nQHxuxQ%40mail.gmail.com.

Reply via email to