Hi Vencislav, I'm glad you brought this up, it's an issue I have logged in
a github ticket <https://github.com/archesproject/arches/issues/2316>, but
it is not yet mentioned in the official documentation. The work around is
to 1) create a new resource model 2) make sure that resource model is
editable and 3) add a card to this resource model.
If you are able to take any time and figure out the way to fix this, it
would be great to get a pull request for that issue :)
For the apache error you mention, it looks like the wsgi.py file is having
trouble loading your settings. So, I would try fixing the settings access
problem first, saving some new settings, and then see if the apache problem
persists. If so, then we can do a little investigating... I'm assuming that
you are able to successfully run the development server. Is that correct?
As for the arches.log contents, those errors look like ES wasn't running
when Arches was looking for it. Looking at the time stamps, it doesn't look
like those errors were concurrent with the apache errors, so I wouldn't
worry about them.
Adam
On Friday, August 18, 2017 at 4:51:39 AM UTC-4, Vencislav Pirinski wrote:
>
> Hello,
>
>
> I have installed cleanly the new version of Arches 4.0, on Ubuntu 16.04,
> without any errors.
>
>
> But I can not enter the settings menu in Arches. It prompts window for
> authentication and entering the admin user and admin password, only
> refreshes the page to prompt for authentication again. Meanwhile i have
> successfully logged in as admin and all other menus work.
>
>
> I have another problem too, apache is giving errors. I have set the
> permissions of arches log and folder, but still an error occurs in the
> apache.log file:
>
>
>
>
>
> [Fri Aug 18 10:53:04.488517 2017] [mpm_event:notice] [pid 32398:tid
> 139665391310720] AH00489: Apache/2.4.18 (Ubuntu) configured -- resuming
> normal operations
> [Fri Aug 18 10:53:04.488574 2017] [core:notice] [pid 32398:tid
> 139665391310720] AH00094: Command line: '/usr/sbin/apache2'
> [Fri Aug 18 10:53:13.982306 2017] [mpm_event:notice] [pid 32398:tid
> 139665391310720] AH00491: caught SIGTERM, shutting down
> [Fri Aug 18 10:53:15.022462 2017] [wsgi:warn] [pid 32695:tid
> 139763048859520] mod_wsgi: Compiled for Python/2.7.11.
> [Fri Aug 18 10:53:15.022499 2017] [wsgi:warn] [pid 32695:tid
> 139763048859520] mod_wsgi: Runtime using Python/2.7.12.
> [Fri Aug 18 10:53:15.022825 2017] [mpm_event:notice] [pid 32695:tid
> 139763048859520] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0
> Python/2.7.12 configured -- resuming normal operations
> [Fri Aug 18 10:53:15.022836 2017] [core:notice] [pid 32695:tid
> 139763048859520] AH00094: Command line: '/usr/sbin/apache2'
> [Fri Aug 18 11:07:10.754507 2017] [mpm_event:notice] [pid 32695:tid
> 139763048859520] AH00491: caught SIGTERM, shutting down
> [Fri Aug 18 11:07:11.826693 2017] [wsgi:warn] [pid 648:tid
> 139888233047936] mod_wsgi: Compiled for Python/2.7.11.
> [Fri Aug 18 11:07:11.826714 2017] [wsgi:warn] [pid 648:tid
> 139888233047936] mod_wsgi: Runtime using Python/2.7.12.
> [Fri Aug 18 11:07:11.827146 2017] [mpm_event:notice] [pid 648:tid
> 139888233047936] AH00489: Apache/2.4.18 (Ubuntu) mod_wsgi/4.3.0
> Python/2.7.12 configured -- resuming normal operations
> [Fri Aug 18 11:07:11.827156 2017] [core:notice] [pid 648:tid
> 139888233047936] AH00094: Command line: '/usr/sbin/apache2'
> [Fri Aug 18 11:07:50.618531 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] mod_wsgi (pid=651): Target
> WSGI script '/home/flame/Projects/mc4ch/mc4ch/wsgi.py' cannot be loaded as
> Python module.
> [Fri Aug 18 11:07:50.618556 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] mod_wsgi (pid=651):
> Exception occurred processing WSGI script
> '/home/flame/Projects/mc4ch/mc4ch/wsgi.py'.
> [Fri Aug 18 11:07:50.618570 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] Traceback (most recent call
> last):
> [Fri Aug 18 11:07:50.618580 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] File
> "/home/flame/Projects/mc4ch/mc4ch/wsgi.py", line 33, in <module>
> [Fri Aug 18 11:07:50.618615 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] application =
> get_wsgi_application()
> [Fri Aug 18 11:07:50.618621 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] File
> "/home/flame/Projects/ENV/lib/python2.7/site-packages/django/core/wsgi.py",
> line 13, in get_wsgi_application
> [Fri Aug 18 11:07:50.618641 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] django.setup()
> [Fri Aug 18 11:07:50.618647 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] File
> "/home/flame/Projects/ENV/lib/python2.7/site-packages/django/__init__.py",
> line 17, in setup
> [Fri Aug 18 11:07:50.618665 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060]
> configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
> [Fri Aug 18 11:07:50.618669 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] File
> "/home/flame/Projects/ENV/lib/python2.7/site-packages/django/conf/__init__.py",
>
> line 55, in __getattr__
> [Fri Aug 18 11:07:50.618706 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] self._setup(name)
> [Fri Aug 18 11:07:50.618711 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] File
> "/home/flame/Projects/ENV/lib/python2.7/site-packages/django/conf/__init__.py",
>
> line 43, in _setup
> [Fri Aug 18 11:07:50.618719 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] self._wrapped =
> Settings(settings_module)
> [Fri Aug 18 11:07:50.618722 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] File
> "/home/flame/Projects/ENV/lib/python2.7/site-packages/django/conf/__init__.py",
>
> line 99, in __init__
> [Fri Aug 18 11:07:50.618741 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] mod =
> importlib.import_module(self.SETTINGS_MODULE)
> [Fri Aug 18 11:07:50.618745 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] File
> "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
> [Fri Aug 18 11:07:50.618763 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] __import__(name)
> [Fri Aug 18 11:07:50.618775 2017] [wsgi:error] [pid 651:tid
> 139888129070848] [remote 192.168.1.249:21060] ImportError: No module
> named mc4ch.settings
> [Fri Aug 18 11:07:50.727564 2017] [wsgi:error] [pid 651:tid
> 139888028284672] [remote 192.168.1.249:47926] mod_wsgi (pid=651): Target
> WSGI script '/home/flame/Projects/mc4ch/mc4ch/wsgi.py' cannot be loaded as
> Python module.
> [Fri Aug 18 11:07:50.727575 2017] [wsgi:error] [pid 651:tid
> 139888028284672] [remote 192.168.1.249:47926] mod_wsgi (pid=651):
> Exception occurred processing WSGI script
> '/home/flame/Projects/mc4ch/mc4ch/wsgi.py'.
>
>
> This is the output of arches.log:
>
>
>
>
>
> 2017-08-18 03:39:40.904052: WARNING: search failed for query: {'query':
> {'match_all': {}}, 'size': 0, 'from': 0, 'aggs': {'min_max_agg': {'aggs':
> {'max_dates.date': {'max': {'field': 'dates.date'}}, 'min_dates.date':
> {'min': {'field': 'dates.date'}}}, 'nested': {'path': 'dates'}}},
> '_source': {'excludes': [], 'includes': []}}
> Exception detail: ConnectionError(<urllib3.connection.HTTPConnection
> object at 0x7fb51278f610>: Failed to establish a new connection: [Errno
> 111] Connection refused) caused by:
> NewConnectionError(<urllib3.connection.HTTPConnection object at
> 0x7fb51278f610>: Failed to establish a new connection: [Errno 111]
> Connection refused)
>
>
> 2017-08-18 03:39:40.930193: WARNING: search failed for query: {'query':
> {'bool': {'filter': [], 'must': [], 'must_not': [], 'should': []}}, 'size':
> 5.0, 'from': 0.0, 'aggs': {'geo_aggs': {'aggs': {'grid': {'geohash_grid':
> {'field': 'points.point', 'precision': 4}}, 'bounds': {'geo_bounds':
> {'wrap_longitude': False, 'field': 'points.point'}}}, 'nested': {'path':
> 'points'}}}, '_source': {'excludes': [], 'includes': ['graph_id',
> 'resourceinstanceid', 'points', 'geometries', 'displayname',
> 'displaydescription', 'map_popup']}}
> Exception detail: ConnectionError(<urllib3.connection.HTTPConnection
> object at 0x7fb520ffd950>: Failed to establish a new connection: [Errno
> 111] Connection refused) caused by:
> NewConnectionError(<urllib3.connection.HTTPConnection object at
> 0x7fb520ffd950>: Failed to establish a new connection: [Errno 111]
> Connection refused)
> Any help will be appresciated.
>
>
> Best regards
> Venci Pirinski
--
-- 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.