Archivematica only works on edge

102 views
Skip to first unread message

charles....@gmail.com

unread,
Dec 14, 2016, 3:51:31 PM12/14/16
to archivematica
Don't know why, tried three computers and smartphone, my archivematica setup only works on Microsoft edge (tried firefox on same computer and safari on two macs).

Thanks.
CC.

Sarah Romkey

unread,
Dec 14, 2016, 4:51:11 PM12/14/16
to archiv...@googlegroups.com
That's really unusual. We (and I suspect most users) use Archivematica on Chrome/Chromium, Firefox, and Safari regularly. Can you tell us about the versions of firefox/safari that you used, and also what version of Archivematica you installed, and how you installed it? (from packages, through ansible, on Ubuntu vs CentOS, etc).

Sarah Romkey, MAS,MLIS
Archivematica Program Manager
Artefactual Systems
604-527-2056
@archivematica / @accesstomemory



--
You received this message because you are subscribed to the Google Groups "archivematica" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archivematica+unsubscribe@googlegroups.com.
To post to this group, send email to archiv...@googlegroups.com.
Visit this group at https://groups.google.com/group/archivematica.
For more options, visit https://groups.google.com/d/optout.

charles....@gmail.com

unread,
Dec 14, 2016, 5:06:12 PM12/14/16
to archivematica
AM 1.5 on Ubuntu 1404 lts server 64bit

One clue is that on any browser other than edge when I type http://192.168.0.110 it reverts back to http://192.168.0.110/elasticsearch/
and then..

Internal server error

Sorry! Something wrong happened. Please, contact with your administrator.

Justin Simpson

unread,
Dec 14, 2016, 5:09:46 PM12/14/16
to archiv...@googlegroups.com
That error is not related to the browser you are using.  There is a problem happening on the server.  I suggest looking to confirm that ElasticSearch is running, and then take a look at the logs at /var/log/Archivematica/dashboard/ .



--

charles....@gmail.com

unread,
Dec 14, 2016, 6:58:34 PM12/14/16
to archivematica
Log from dashboard_debug.log:


WARNING   2016-12-14 23:49:31  elasticsearch:base:log_request_fail:82:  PUT http://localhost:9200/aips [status:N/A request:0.000s]
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/elasticsearch/connection/http_urllib3.py", line 78, in perform_request
    response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw)
  File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 643, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python2.7/dist-packages/urllib3/util/retry.py", line 311, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 594, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 361, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python2.7/httplib.py", line 1017, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 1051, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 1013, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 864, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 826, in send
    self.connect()
  File "/usr/local/lib/python2.7/dist-packages/urllib3/connection.py", line 163, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python2.7/dist-packages/urllib3/connection.py", line 147, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f01acc79a90>: Failed to establish a new connection: [Errno 111] Connection refused
ERROR     2016-12-14 23:49:31  django.request:base:handle_uncaught_exception:231:  Internal Server Error: /elasticsearch/
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/share/archivematica/dashboard/main/views.py", line 67, in elasticsearch_login_check
    status = elasticSearchFunctions.check_server_status_and_create_indexes_if_needed()
  File "/usr/lib/archivematica/archivematicaCommon/elasticSearchFunctions.py", line 131, in check_server_status_and_create_indexes_if_needed
    connect_and_create_index('aips')
  File "/usr/lib/archivematica/archivematicaCommon/elasticSearchFunctions.py", line 212, in connect_and_create_index
    response = conn.indices.create(index, ignore=400)
  File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/utils.py", line 69, in _wrapped
    return func(*args, params=params, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/elasticsearch/client/indices.py", line 103, in create
    params=params, body=body)
  File "/usr/local/lib/python2.7/dist-packages/elasticsearch/transport.py", line 307, in perform_request
    status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
  File "/usr/local/lib/python2.7/dist-packages/elasticsearch/connection/http_urllib3.py", line 89, in perform_request
    raise ConnectionError('N/A', str(e), e)
ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f01acc79a90>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f01acc79a90>: Failed to establish a new connection: [Errno 111] Connection refused)







Em quarta-feira, 14 de dezembro de 2016 20:09:46 UTC-2, jsimpson escreveu:
That error is not related to the browser you are using.  There is a problem happening on the server.  I suggest looking to confirm that ElasticSearch is running, and then take a look at the logs at /var/log/Archivematica/dashboard/ .


On Dec 14, 2016 14:06, <charles....@gmail.com> wrote:
AM 1.5 on Ubuntu 1404 lts server 64bit

One clue is that on any browser other than edge when I type http://192.168.0.110 it reverts back to http://192.168.0.110/elasticsearch/
and then..

Internal server error

Sorry! Something wrong happened. Please, contact with your administrator.



Em quarta-feira, 14 de dezembro de 2016 18:51:31 UTC-2, charles....@gmail.com escreveu:
Don't know why, tried three computers and smartphone, my archivematica setup only works on Microsoft edge (tried firefox on same computer and safari on two macs).

Thanks.
CC.

--
You received this message because you are subscribed to the Google Groups "archivematica" group.
To unsubscribe from this group and stop receiving emails from it, send an email to archivematic...@googlegroups.com.

Justin Simpson

unread,
Dec 15, 2016, 12:05:48 AM12/15/16
to archiv...@googlegroups.com
Hi again,

That error indicates that ElasticSearch is not running.  The Archivematica dashboard doesn't handle that case well at the moment, if ElasticSearch is not availalble, the system throws an error like you are seeing.  ElasticSearch is only required for the archival storage tab, but you still need it running to be able to log in, as things stand.

If you restart the ElasticSearch service, you should be able to log into the dashboard without an error.  I believe you mentioned that your server is on Ubuntu 14.04, so on that platform the command for restarting ElasticSearch is:

sudo service elasticsearch start




Justin Simpson
Director of Archivematica Technical Services
www.artefactual.com
604-527-2056

To unsubscribe from this group and stop receiving emails from it, send an email to archivematica+unsubscribe@googlegroups.com.

charles....@gmail.com

unread,
Dec 15, 2016, 6:31:58 AM12/15/16
to archivematica
Thanks... got elastic running
sudo service elasticsearch status
 * elasticsearch is running

But now doesn't run on any browser (including edge)

Gives me Internal Server Error
Apache log:

[Thu Dec 15 11:30:33.207693 2016] [:error] [pid 2645] [remote 192.168.0.106:3704] mod_wsgi (pid=2645): Target WSGI script '/usr/share/archivematica/dashboard/apache/django.wsgi' cannot be loaded as Python module.
[Thu Dec 15 11:30:33.207744 2016] [:error] [pid 2645] [remote 192.168.0.106:3704] mod_wsgi (pid=2645): Exception occurred processing WSGI script '/usr/share/archivematica/dashboard/apache/django.wsgi'.
[Thu Dec 15 11:30:33.207774 2016] [:error] [pid 2645] [remote 192.168.0.106:3704] Traceback (most recent call last):
[Thu Dec 15 11:30:33.207800 2016] [:error] [pid 2645] [remote 192.168.0.106:3704]   File "/usr/share/archivematica/dashboard/apache/django.wsgi", line 28, in <module>
[Thu Dec 15 11:30:33.207838 2016] [:error] [pid 2645] [remote 192.168.0.106:3704]     application = get_wsgi_application()
[Thu Dec 15 11:30:33.207860 2016] [:error] [pid 2645] [remote 192.168.0.106:3704]   File "/usr/local/lib/python2.7/dist-packages/django/core/wsgi.py", line 14, in get_wsgi_application
[Thu Dec 15 11:30:33.207888 2016] [:error] [pid 2645] [remote 192.168.0.106:3704]     django.setup()
[Thu Dec 15 11:30:33.207903 2016] [:error] [pid 2645] [remote 192.168.0.106:3704]   File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 20, in setup
[Thu Dec 15 11:30:33.207925 2016] [:error] [pid 2645] [remote 192.168.0.106:3704]     configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
[Thu Dec 15 11:30:33.207941 2016] [:error] [pid 2645] [remote 192.168.0.106:3704]   File "/usr/local/lib/python2.7/dist-packages/django/utils/log.py", line 87, in configure_logging
[Thu Dec 15 11:30:33.207964 2016] [:error] [pid 2645] [remote 192.168.0.106:3704]     logging_config_func(logging_settings)
[Thu Dec 15 11:30:33.208020 2016] [:error] [pid 2645] [remote 192.168.0.106:3704]   File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfig
[Thu Dec 15 11:30:33.208055 2016] [:error] [pid 2645] [remote 192.168.0.106:3704]     dictConfigClass(config).configure()
[Thu Dec 15 11:30:33.208072 2016] [:error] [pid 2645] [remote 192.168.0.106:3704]   File "/usr/lib/python2.7/logging/config.py", line 576, in configure
[Thu Dec 15 11:30:33.208095 2016] [:error] [pid 2645] [remote 192.168.0.106:3704]     '%r: %s' % (name, e))
[Thu Dec 15 11:30:33.208121 2016] [:error] [pid 2645] [remote 192.168.0.106:3704] ValueError: Unable to configure handler 'logfile': [Errno 13] Permission denied: '/var/log/archivematica/dashboard/dashboard.log'
Reply all
Reply to author
Forward
Message has been deleted
0 new messages