Help With Loss of Website Access

What is the problem?

Can no longer access the octoprint website via octopi.local or local ip. I can still connect via the app, prusaslicer, and I still have ssh access so i was able to scp the systeminfo bundle.

What did you already try to solve it?

physical restart
cli service stop/start

Have you tried running in safe mode?

Yes

Did running in safe mode solve the problem?

No, see output below.

2024-10-25 10:09:43,697 - octoprint.startup - INFO - ******************************************************************************
2024-10-25 10:09:43,698 - octoprint.startup - INFO - Starting OctoPrint 1.10.2
2024-10-25 10:09:43,699 - octoprint.startup - INFO - Starting in SAFE MODE. Third party plugins will be disabled!
2024-10-25 10:09:43,699 - octoprint.startup - INFO - Reason for safe mode: problem during last startup
2024-10-25 10:09:43,699 - octoprint.startup - INFO - ******************************************************************************
2024-10-25 10:09:43,952 - octoprint.util.connectivity.connectivity_checker - INFO - Connectivity state is currently: online
2024-10-25 10:09:43,952 - octoprint.util.connectivity.connectivity_checker - INFO - Connecting to 1.1.1.1:53 is working
2024-10-25 10:09:43,953 - octoprint.util.connectivity.connectivity_checker - INFO - Resolving octoprint.org is working
2024-10-25 10:09:43,961 - octoprint.startup - INFO - Blacklist processing done, adding 3 blacklisted plugin versions: roomtemp (any), GcodeEditor (>=0.1.1,<=0.2.8), gcodeleveling (>=0.1.0,<=0.1.1)
2024-10-25 10:09:43,972 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins, /home/pi/.octoprint/plugins and installed plugin packages...
2024-10-25 10:09:46,164 - octoprint.plugin.core - INFO - Found 23 plugin(s) providing 20 mixin implementations, 43 hook handlers
2024-10-25 10:09:46,198 - octoprint.server.heartbeat - INFO - Starting server heartbeat, 900.0s interval
2024-10-25 10:09:46,262 - octoprint.cli.server - ERROR - Uncaught exception
Traceback (most recent call last):
  File "/home/pi/oprint/bin/octoprint", line 8, in <module>
    sys.exit(main())
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/__init__.py", line 1008, in main
    octo(args=args, prog_name="octoprint", auto_envvar_prefix="OCTOPRINT")
  File "/home/pi/oprint/lib/python3.7/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/pi/oprint/lib/python3.7/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/home/pi/oprint/lib/python3.7/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/pi/oprint/lib/python3.7/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/pi/oprint/lib/python3.7/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/pi/oprint/lib/python3.7/site-packages/click/decorators.py", line 33, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/cli/server.py", line 330, in serve_command
    disable_color=no_color,
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/cli/server.py", line 163, in run_server
    octoprint_server.run()
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/__init__.py", line 408, in run
    self._start_intermediary_server()
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/server/__init__.py", line 2676, in _start_intermediary_server
    self._intermediary_server.server_bind()
  File "/usr/lib/python3.7/http/server.py", line 137, in server_bind
    socketserver.TCPServer.server_bind(self)
  File "/usr/lib/python3.7/socketserver.py", line 466, in server_bind
    self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use

Systeminfo Bundle

octoprint-systeminfo-20241025100448.zip (2.0 MB)

Additional information about your setup

Running on a raspberry pi 4

bump - seems like re-flashing or would probably solve it. What's the best way to do that while retaining configs?

It would have been nice to have a recent backup... But I notice your only plugins are Bed Visualizer, OctoPod and Telegram Notifications. I am not familiar with the last two but I would think they use IP addresses as well(first error). Later, everything seems to work until more Telegram errors and a lot of "funny characters". I would manually set Safe Mode and disable all the non-bundled plugins.
Since you can ssh into it, you can add in the "server:" section of the "config.yaml" this line:
startOnceInSafeMode: true
That is two spaces - one word: - one space and the word "true"
If you can then access the UI - go to settings(the wrench)-> OctoPrint -> Backup and Restore and create a backup and download it. That way when you re-flash, OctoPrint will auto load the plugins and their settings.