Dropbox Backup Error V7.1.7

Hi,
I am gettin error when i click on dropbox setting in awesome bar.

Server Error: Please check your server logs or contact tech support.   Traceback (most recent call last):
  File "/home/itwork/frappe-bench/apps/frappe/frappe/app.py", line 55, in application
    response = frappe.handler.handle()
  File "/home/itwork/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
    execute_cmd(cmd)
  File "/home/itwork/frappe-bench/apps/frappe/frappe/handler.py", line 30, in execute_cmd
    method = get_attr(cmd)
  File "/home/itwork/frappe-bench/apps/frappe/frappe/handler.py", line 114, in get_attr
    method = frappe.get_attr(cmd)
  File "/home/itwork/frappe-bench/apps/frappe/frappe/__init__.py", line 870, in get_attr
    return getattr(get_module(modulename), methodname)
  File "/home/itwork/frappe-bench/apps/frappe/frappe/__init__.py", line 654, in get_module
    return importlib.import_module(modulename)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named dropbox_backup.dropbox_backup

New Error coming now.

Backup Upload FailedOops, your automated backup to Dropbox
	failed.
	Error message: 
Traceback (most recent call last):
  File "/home/itwork/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py", line 171, in take_backup_to_dropbox
    did_not_upload, error_log = backup_to_dropbox()
  File "/home/itwork/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py", line 212, in backup_to_dropbox
    dropbox_client = upload_file_to_dropbox(filename, "/database", dropbox_client)
  File "/home/itwork/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py", line 258, in upload_file_to_dropbox
    uploader.upload_chunked()
  File "/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/client.py", line 1182, in upload_chunked
    BytesIO(self.last_block), next_chunk_size, self.offset, self.upload_id)
  File "/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/client.py", line 259, in upload_chunk
    reply = self.rest_client.PUT(url, file_obj, headers)
  File "/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/rest.py", line 327, in PUT
    return cls.IMPL.PUT(*n, **kw)
  File "/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/rest.py", line 264, in PUT
    return self.request("PUT", url, body=body, headers=headers, raw_response=raw_response)
  File "/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/rest.py", line 226, in request
    preload_content=False
  File "/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/urllib3/poolmanager.py", line 248, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 595, in urlopen
    chunked=chunked)
  File "/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 363, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python2.7/httplib.py", line 979, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 1013, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 975, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 835, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 811, in send
    self.sock.sendall(data)
  File "/usr/lib/python2.7/ssl.py", line 329, in sendall
    v = self.send(data[count:])
  File "/usr/lib/python2.7/ssl.py", line 298, in send
    v = self._sslobj.write(data)
  File "/home/itwork/frappe-bench/env/local/lib/python2.7/site-packages/rq/timeouts.py", line 51, in handle_death_penalty
    'value ({0} seconds)'.format(self._timeout))
JobTimeoutException: Job exceeded maximum timeout value (300 seconds)
	Please contact your system manager for more information.

@soae786

You need to increase background worker timeout from 300 seconds to higher value. As seen from the error below, [quote=“soae786, post:2, topic:17503”]
JobTimeoutException: Job exceeded maximum timeout value (300 seconds)
[/quote]

To increase the timeout you might need to edit or add scheduler_interval to your common_site_config.json.

Hope this helps to solve your problem.

Thanks… @shreyasp
I will change the setting.
Any help for this below error.

Server Error: Please check your server logs or contact tech support.   Traceback (most recent call last):  File "/home/itwork/frappe-bench/apps/frappe/frappe/app.py", line 55, in application    response = frappe.handler.handle()  File "/home/itwork/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle    execute_cmd(cmd)  File "/home/itwork/frappe-bench/apps/frappe/frappe/handler.py", line 30, in execute_cmd    method = get_attr(cmd)  File "/home/itwork/frappe-bench/apps/frappe/frappe/handler.py", line 114, in get_attr    method = frappe.get_attr(cmd)  File "/home/itwork/frappe-bench/apps/frappe/frappe/__init__.py", line 870, in get_attr    return getattr(get_module(modulename), methodname)  File "/home/itwork/frappe-bench/apps/frappe/frappe/__init__.py", line 654, in get_module    return importlib.import_module(modulename)  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module    import(name)ImportError: No module named dropbox_backup.dropbox_backup