Hello,
I got the bellow errors when running the -dump command. Please let me know how to fix this problem. Your help is much appreciated.
Thanks,
Joe
ubuntu@ip-10-212-238-225:/var/www/superdesk/distribution$ sudo vi /var/www/superdesk/distribution/application.properties
ubuntu@ip-10-212-238-225:/var/www/superdesk/distribution$ sudo python3 /var/www/superdesk/distribution/application.py -dump
Failed to fetch a value for configuration '__setup__.ally_gateway.processor.gateway_uri': There is no gateway URI provided
Failed to fetch a value for configuration '__setup__.ally_gateway.processor.gateway_authorized_uri': There is no authorized gateway URI prvided
Failed to fetch a value for configuration '__setup__.ally_gateway.processor.external_host': No external host provided
Failed to fetch a value for configuration '__setup__.ally_gateway_recaptcha.processor.gateway_captcha_uri': There is no gateway URI providd
Created "application.properties" configuration file
Created "plugins.properties" configuration file
INFO Nothing to report for 'Anonymous gateways', everything fits nicely ally.design.processor.assembly
------------------------------------------------------------------------------------------------------------------------------------------------------
A setup or configuration error occurred while deploying, try to rebuild the application properties by running the the application with "-dump" option
Traceback (most recent call last):
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_support.py", line 99, in followWiring
try: setattr(value, wentity.name, entityFor(wentity.type, wentity.name))
File "components/ally-1.0.dev-py3.2.egg/ally/container/support.py", line 324, in entityFor
raise SetupError('There is no entity setup function having a return type of class or subclass %s' % clazz)
ally.container.error.SetupError: There is no entity setup function having a return type of class or subclass
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_support.py", line 99, in followWiring
try: setattr(value, wentity.name, entityFor(wentity.type, wentity.name))
File "components/ally-1.0.dev-py3.2.egg/ally/container/support.py", line 347, in entityFor
try: return assembly.processForName(entities[0])
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_assembly.py", line 183, in processForName
try: value = self.fetchForName(name)()
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_call.py", line 324, in __call__
for listener, _auto in self._listenersBefore: listener()
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_assembly.py", line 183, in processForName
try: value = self.fetchForName(name)()
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_call.py", line 213, in __call__
for listener, _auto in self._listenersAfter: listener()
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_assembly.py", line 183, in processForName
try: value = self.fetchForName(name)()
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_call.py", line 211, in __call__
ret = self.call()
File "/home/alvaro/WorkspaceREST/resp_api/distribution/plugins/captcha-1.0.dev-py3.2.egg/__plugin__/captcha/patch_ally_core.py", line 34, in updateAssemblyCaptchaGatewaysForResources
assemblyCaptchaGateways().add(iterateResourcePermissions(), gatewaysFromPermissions())
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_setup.py", line 122, in __call__
return Assembly.process(self.name)
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_assembly.py", line 90, in process
return ass.processForName(name)
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_assembly.py", line 183, in processForName
try: value = self.fetchForName(name)()
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_call.py", line 326, in __call__
if followUp: followUp()
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_support.py", line 101, in followWiring
(wentity.name, locationStack(value.__class__)))
ally.container.error.SetupError: Cannot solve wiring 'structureAssociate' at:
File "/home/alvaro/WorkspaceREST/resp_api/distribution/plugins/support_acl-1.0.dev-py3.2.egg/acl/core/impl/processor/resource_node_associate.py", line 290
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "components/ally-1.0.dev-py3.2.egg/__deploy__/ally/deploy.py", line 71, in deploy
context.processStart()
File "components/ally-1.0.dev-py3.2.egg/ally/container/context.py", line 96, in processStart
for call in calls: assembly.processForName(call.name)
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_assembly.py", line 183, in processForName
try: value = self.fetchForName(name)()
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_call.py", line 211, in __call__
ret = self.call()
File "components/ally_plugin-1.0.dev-py3.2.egg/__setup__/ally_plugin/deploy_plugin.py", line 91, in deploy
try: context.processStart()
File "components/ally-1.0.dev-py3.2.egg/ally/container/context.py", line 96, in processStart
for call in calls: assembly.processForName(call.name)
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_assembly.py", line 183, in processForName
try: value = self.fetchForName(name)()
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_call.py", line 211, in __call__
ret = self.call()
File "components/ally-1.0.dev-py3.2.egg/ally/container/support.py", line 214, in loadAll
if name.startswith(prefix) and isinstance(call, CallEntity) and call.isOf(clazz): Assembly.process(name)
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_assembly.py", line 90, in process
return ass.processForName(name)
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_assembly.py", line 183, in processForName
try: value = self.fetchForName(name)()
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_call.py", line 326, in __call__
if followUp: followUp()
File "components/ally-1.0.dev-py3.2.egg/ally/container/_impl/_support.py", line 101, in followWiring
(wentity.name, locationStack(value.__class__)))
ally.container.error.SetupError: Cannot solve wiring 'assemblyCaptchaGateways' at:
File "/home/alvaro/WorkspaceREST/resp_api/distribution/plugins/captcha-1.0.dev-py3.2.egg/gateway/captcha/impl/gateway.py", line 38
------------------------------------------------------------------------------------------------------------------------------------------------------
================================================== Application started in 5.03 seconds
13:17:07 rest.1 | Traceback (most recent call last):13:17:07 rest.1 | File "/usr/local/lib/python3.4/dist-packages/gunicorn/arbiter.py", line 503, in spawn_worker13:17:07 rest.1 | worker.init_process()13:17:07 rest.1 | File "/usr/local/lib/python3.4/dist-packages/gunicorn/workers/base.py", line 116, in init_process13:17:07 rest.1 | self.wsgi = self.app.wsgi()13:17:07 rest.1 | File "/usr/local/lib/python3.4/dist-packages/gunicorn/app/base.py", line 67, in wsgi13:17:07 rest.1 | self.callable = self.load()13:17:07 rest.1 | File "/usr/local/lib/python3.4/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load13:17:07 rest.1 | return self.load_wsgiapp()13:17:07 rest.1 | File "/usr/local/lib/python3.4/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp13:17:07 rest.1 | return util.import_app(self.app_uri)13:17:07 rest.1 | File "/usr/local/lib/python3.4/dist-packages/gunicorn/util.py", line 355, in import_app13:17:07 rest.1 | __import__(module)13:17:07 rest.1 | File "/opt/superdesk/wsgi.py", line 14, in <module>13:17:07 rest.1 | application = get_app()13:17:07 rest.1 | File "/opt/superdesk/app.py", line 112, in get_app13:17:07 rest.1 | app.data.elastic.put_mapping(app)13:17:07 rest.1 | File "/usr/local/lib/python3.4/dist-packages/eve_elastic/elastic.py", line 196, in put_mapping13:17:07 rest.1 | indices.put_mapping(index=index or self.index, doc_type=resource, body=mapping, ignore_conflicts=True)13:17:07 rest.1 | File "/usr/local/lib/python3.4/dist-packages/elasticsearch/client/utils.py", line 68, in _wrapped13:17:07 rest.1 | return func(*args, params=params, **kwargs)13:17:07 rest.1 | File "/usr/local/lib/python3.4/dist-packages/elasticsearch/client/indices.py", line 275, in put_mapping13:17:07 rest.1 | params=params, body=body)13:17:07 rest.1 | File "/usr/local/lib/python3.4/dist-packages/elasticsearch/transport.py", line 307, in perform_request13:17:07 rest.1 | status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)13:17:07 rest.1 | File "/usr/local/lib/python3.4/dist-packages/elasticsearch/connection/http_urllib3.py", line 82, in perform_request13:17:07 rest.1 | raise ConnectionError('N/A', str(e), e)13:17:07 rest.1 | elasticsearch.exceptions.ConnectionError: ConnectionError(('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))) caused by: ProtocolError(('Connection aborted.', ConnectionRefusedError(111, 'Connection refused')))13:17:07 rest.1 | [2015-04-17 13:17:07 +0000] [31] [INFO] Worker exiting (pid: 31)13:17:07 rest.1 | [2015-04-17 13:17:07 +0000] [16] [INFO] Shutting down: Master13:17:07 rest.1 | [2015-04-17 13:17:07 +0000] [16] [INFO] Reason: Worker failed to boot.
oh yes! Thank you!!! I thought doing an apt-get update would have updated it automatically but it wasn't.
I had to do 'sudo apt-get install lxc-docker=1.6.0' to upgrade properly.
I have now run './scripts/docker-local-demo.sh' and its gone through a whole process of downloading and updating which is looking good but on completion I got the following error (i tried as sudo too) so I still can't see anything on http://localhost:80:
Step 0 : FROM dockerfile/nodejs
ERRO[1566] Error from V2 registry: Authentication is required.
Pulling repository dockerfile/nodejs
Error: image dockerfile/nodejs:latest not found
It looks like you're new here. If you want to get involved, click one of these buttons!