Octoprint : about 10/15 min to start - how to reinstall via Putty?


#1

I used Octoprint on a RPI B+ for about 1 year. Everything was ok and 1 month ago, after an update, my octoprint began to be more and more slow. I tooks about 10 / 15 min to get the acces to octoprint interface.
Today, i only have the interface, but i cant click to 'Login' button ;(

How is it possible to reinstall a new / clean octoprint version via Putty ? (i haven't the drive to install octoprint on a miniSD Card)

this is a part of the octoprint.log

2018-07-06 16:30:32,313 - octoprint.server - CRITICAL - Now that is embarrassing... Something really really went wrong here. Please report this including the stacktrace below in OctoPrint's bugtracker. Thanks!
2018-07-06 16:30:32,314 - octoprint.server - ERROR - Stacktrace follows:
Traceback (most recent call last):
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/server/__init__.py", line 734, in run
    ioloop.start()
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/tornado/ioloop.py", line 781, in start
    self._run_callback(callback)
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/tornado/ioloop.py", line 565, in _run_callback
    ret = callback()
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/tornado/stack_context.py", line 275, in null_wrapper
    return fn(*args, **kwargs)
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/tornado/gen.py", line 708, in <lambda>
    self.future, lambda f: self.run())
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/tornado/gen.py", line 633, in run
    yielded = self.gen.send(value)
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/tornado/web.py", line 1332, in _execute
    result = method(*self.path_args, **self.path_kwargs)
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/server/util/tornado.py", line 495, in _handle_method
    self._fallback(self.request, body)
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/server/util/tornado.py", line 603, in __call__
    WsgiInputContainer.environ(request, body), start_response)
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/flask/app.py", line 1475, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/flask/app.py", line 1461, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/server/util/flask.py", line 1132, in decorated_view
    return flask_login.login_required(func)(*args, **kwargs)
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/flask_login.py", line 758, in decorated_view
    return func(*args, **kwargs)
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/flask_principal/__init__.py", line 198, in _decorated
    rv = f(*args, **kw)
  File "/home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/announcements/__init__.py", line 212, in channel_command
    self._mark_read_until(channel, until)
  File "/home/octoprint/OctoPrint/venv/lib/python2.7/site-packages/octoprint/plugins/announcements/__init__.py", line 241, in _mark_read_until
    self._settings.set(["channels", channel, "read_until"], until, defaults=defaults)
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/plugin/__init__.py", line 514, in _func
    return orig_func(*args_mapper(args), **kwargs_mapper(kwargs))
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/settings.py", line 1517, in set
    self.load()
  File "/home/octoprint/OctoPrint/venv/local/lib/python2.7/site-packages/octoprint/settings.py", line 865, in load
    column=column)
InvalidSettings
2018-07-06 16:30:32,335 - octoprint.server - INFO - Shutting down...

#2

Is this an original Raspberry Pi B+? It is NOT fast enough. But 'invalidSettings' looks like maybe you've messed something up in the config.