Ahoj,
od 2.9. mi nefunguje automatická záloha do cloudu.
při zadání root@turris:~# updater-resume.sh dostávám:
Traceback (most recent call last):
File “/usr/bin/foris-client”, line 11, in
load_entry_point(‘foris-client==1.0.2’, ‘console_scripts’, ‘foris-client’)()
File “/usr/lib/python3.6/site-packages/foris_client/client/main.py”, line 177, in main
response = sender.send(options.module, options.action, data, **kwargs)
File “/usr/lib/python3.6/site-packages/foris_client/buses/ubus.py”, line 127, in send
self._raise_exception_on_error(response)
File “/usr/lib/python3.6/site-packages/foris_client/buses/base.py”, line 69, in _raise_exception_on_error
raise generate_controller_error(msg[“module”], msg[“action”])(msg[“errors”])
foris_client.buses.base.ControllerError__ssbackups__create_and_upload: Controller error(s) has occured:
Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/foris_controller/message_router.py”, line 117, in process_message
data = module_instance.perform_action(message[“action”], message.get(“data”, {}))
File “/usr/lib/python3.6/site-packages/foris_controller/module_base.py”, line 61, in perform_action
res = action_function(data)
File “/usr/lib/python3.6/site-packages/foris_controller_modules/ssbackups/init.py”, line 36, in action_create_and_upload
new_id, result = self.handler.create_and_upload()
File “/usr/lib/python3.6/site-packages/foris_controller/utils.py”, line 112, in inner
res = func(*args, **kwargs)
File “/usr/lib/python3.6/site-packages/foris_controller_modules/ssbackups/handlers/openwrt.py”, line 52, in create_and_upload
backup = self.maintain_cmds.generate_backup() # configuration backup (encoded in base64)
File “/usr/lib/python3.6/site-packages/foris_controller_backends/maintain/init.py”, line 48, in generate_backup
raise BackendCommandFailed(retval, [cmd])
foris_controller.exceptions.BackendCommandFailed: Retval=1 for [’/usr/bin/maintain-config-backup’]
Internal error Retval=1 for [’/usr/bin/maintain-config-backup’](’<class ‘foris_controller.exceptions.BackendCommandFailed’>’)
Dále jsem zjistil, že nefunguje ucollect (stále je ofline), což s tím asi souvisí.
System logu jsou tyto hlášky
2019-09-08 09:01:00 err ucollect[8991]: Error from socat: 2019/09/08 09:01:00 socat[9227] E SSL_connect(): error:14090086:lib(20):func(144):reason(134)
2019-09-08 09:01:00 warning ucollect[8991]: Remote closed the uplink api.turris.cz:5679, reconnecting
2019-09-08 09:01:00 warning ucollect[8991]: epoll_wait on 4 interrupted, retry
2019-09-08 09:01:00 info ucollect[8991]: Reconnecting to api.turris.cz:5679 now
2019-09-08 09:01:00 warning ucollect[8991]: Reconnecting too often, waiting a little while
2019-09-08 09:01:00 info ucollect[8991]: Going to reconnect to api.turris.cz:5679 after 64 seconds
2019-09-08 09:01:01 err server_uplink[]: Failed to get registration code
Vypadá to jako problém v registračním kódu, ale nic jsem na portálu neměnil. Můžete mi pomoc, jak to opravit? Díky.