Failed downgrade to 1.8.2

Hi after an unsuccesfull downgrade i get stucked in a dwongrade on one of my octoprint instances on ubuntu.

I followed the installation this guide:
https://makenotes.de/2020/03/octoprint-on-ubuntu-using-python3-and-systemd/

I tried a "pip install --force-reinstall https://github.com/OctoPrint/OctoPrint/archive/1.8.2.zipl" because i had that loggin problem with 1.8.3

but this instance fails now at startup:

Sep 27 15:17:06 Ph-3D-Druck systemd[1]: Started OctoPrint (instance 2) - Open Source Printing Interface for 3D Printers.
Sep 27 15:17:07 Ph-3D-Druck python3[579]: 2022-09-27 15:17:07,605 - octoprint.startup - INFO - ******************************************************************************
Sep 27 15:17:07 Ph-3D-Druck python3[579]: 2022-09-27 15:17:07,606 - octoprint.startup - INFO - Starting OctoPrint 1.8.3
Sep 27 15:17:07 Ph-3D-Druck python3[579]: 2022-09-27 15:17:07,606 - octoprint.startup - INFO - ******************************************************************************
Sep 27 15:17:07 Ph-3D-Druck python3[579]: 2022-09-27 15:17:07,819 - octoprint.startup - CRITICAL - Could not initialize event manager: The 'OctoPrint==1.8.2' distribution was not found and is required by the application
Sep 27 15:17:07 Ph-3D-Druck python3[579]: 2022-09-27 15:17:07,819 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint.
Sep 27 15:17:07 Ph-3D-Druck python3[579]: Could not initialize event manager: The 'OctoPrint==1.8.2' distribution was not found and is required by the application
Sep 27 15:17:07 Ph-3D-Druck python3[579]: There was a fatal error starting up OctoPrint.
Sep 27 15:17:07 Ph-3D-Druck systemd[1]: octoprint@2.service: Succeeded.

any help would be appreciated
Tom

Please also post the output of the downgrade

sure

pip install --force-reinstall https://github.com/foosel/OctoPrint/archive/1.8.2.zip
Collecting https://github.com/foosel/OctoPrint/archive/1.8.2.zip
  Using cached https://github.com/foosel/OctoPrint/archive/1.8.2.zip
  Preparing metadata (setup.py) ... done
Collecting OctoPrint-FileCheck>=2021.2.23
  Using cached OctoPrint_FileCheck-2021.2.23-py2.py3-none-any.whl (19 kB)
Collecting OctoPrint-FirmwareCheck>=2021.10.11
  Using cached OctoPrint_FirmwareCheck-2021.10.11-py2.py3-none-any.whl (33 kB)
Collecting OctoPrint-PiSupport>=2022.3.28
  Using cached OctoPrint_PiSupport-2022.6.13-py2.py3-none-any.whl (33 kB)
Collecting cachelib<0.3,>=0.2
  Using cached cachelib-0.2.0-py3-none-any.whl (12 kB)
Collecting Click<9,>=8.0.3
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting colorlog<7,>=6
  Using cached colorlog-6.7.0-py2.py3-none-any.whl (11 kB)
Collecting emoji<2,>=1.4.2
  Using cached emoji-1.7.0-py3-none-any.whl
Collecting feedparser<7,>=6.0.8
  Using cached feedparser-6.0.10-py3-none-any.whl (81 kB)
Collecting filetype<2,>=1.0.7
  Using cached filetype-1.1.0-py2.py3-none-any.whl (17 kB)
Collecting Flask-Assets<3,>=2.0
  Using cached Flask_Assets-2.0-py3-none-any.whl (8.5 kB)
Collecting Flask-Babel<3,>=2.0
  Using cached Flask_Babel-2.0.0-py3-none-any.whl (9.3 kB)
Collecting Flask-Login<0.6,>=0.5
  Using cached Flask_Login-0.5.0-py2.py3-none-any.whl (16 kB)
Collecting flask<2.2,>=2.1
  Using cached Flask-2.1.3-py3-none-any.whl (95 kB)
Collecting frozendict<3,>=2.0
  Using cached frozendict-2.3.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (110 kB)
Collecting future<1,>=0.18.2
  Using cached future-0.18.2-py3-none-any.whl
Collecting markdown<4,>=3.2.2
  Using cached Markdown-3.4.1-py3-none-any.whl (93 kB)
Collecting netaddr<0.9,>=0.8
  Using cached netaddr-0.8.0-py2.py3-none-any.whl (1.9 MB)
Collecting netifaces<1,>=0.11
  Using cached netifaces-0.11.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (33 kB)
Collecting pathvalidate<3,>=2.4.1
  Using cached pathvalidate-2.5.2-py3-none-any.whl (20 kB)
Collecting pkginfo<2,>=1.7.1
  Using cached pkginfo-1.8.3-py2.py3-none-any.whl (26 kB)
Collecting psutil<6,>=5.8
  Using cached psutil-5.9.2-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (284 kB)
Collecting pylru<2,>=1.2
  Using cached pylru-1.2.1-py3-none-any.whl (16 kB)
Collecting pyserial<4,>=3.4
  Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting PyYAML<6,>=5.4.1
  Using cached PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
Collecting requests<3,>=2.26.0
  Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting sarge==0.1.6
  Using cached sarge-0.1.6-py3-none-any.whl
Collecting semantic_version<3,>=2.8.5
  Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)
Collecting sentry-sdk<2,>=1.5.7
  Using cached sentry_sdk-1.9.9-py2.py3-none-any.whl (162 kB)
Collecting tornado<7,>=6.0.4
  Using cached tornado-6.2-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (423 kB)
Collecting watchdog<2,>=1
  Using cached watchdog-1.0.2-py3-none-manylinux2014_x86_64.whl (72 kB)
Collecting websocket-client<2,>=1.2.1
  Using cached websocket_client-1.4.1-py3-none-any.whl (55 kB)
Collecting werkzeug<2.1,>=2.0
  Using cached Werkzeug-2.0.3-py3-none-any.whl (289 kB)
Collecting wrapt<1.14,>=1.13.3
  Using cached wrapt-1.13.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (84 kB)
Collecting zeroconf<0.34,>=0.33
  Using cached zeroconf-0.33.4-py3-none-any.whl (89 kB)
Collecting zipstream-ng<2.0.0,>=1.3.4
  Using cached zipstream_ng-1.3.4-py3-none-any.whl
Collecting blinker<2,>=1.4
  Using cached blinker-1.5-py2.py3-none-any.whl (12 kB)
Collecting regex
  Using cached regex-2022.9.13-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (772 kB)
Collecting unidecode
  Using cached Unidecode-1.3.4-py3-none-any.whl (235 kB)
Collecting sgmllib3k
  Using cached sgmllib3k-1.0.0-py3-none-any.whl
Collecting importlib-metadata>=3.6.0
  Using cached importlib_metadata-4.12.0-py3-none-any.whl (21 kB)
Collecting Jinja2>=3.0
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting itsdangerous>=2.0
  Using cached itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting webassets>=2.0
  Using cached webassets-2.0-py3-none-any.whl (142 kB)
Collecting Babel>=2.3
  Using cached Babel-2.10.3-py3-none-any.whl (9.5 MB)
Collecting pytz
  Using cached pytz-2022.2.1-py2.py3-none-any.whl (500 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2022.9.24-py3-none-any.whl (161 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
Collecting charset-normalizer<3,>=2
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting ifaddr>=0.1.7
  Using cached ifaddr-0.2.0-py3-none-any.whl (12 kB)
Collecting zipp>=0.5
  Using cached zipp-3.8.1-py3-none-any.whl (5.6 kB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Using legacy 'setup.py install' for OctoPrint, since package 'wheel' is not installed.
Installing collected packages: webassets, sgmllib3k, sarge, pytz, pyserial, pylru, OctoPrint-PiSupport, OctoPrint-FirmwareCheck, OctoPrint-FileCheck, netifaces, netaddr, ifaddr, filetype, emoji, zipstream-ng, zipp, zeroconf, wrapt, werkzeug, websocket-client, watchdog, urllib3, unidecode, tornado, semantic_version, regex, PyYAML, psutil, pkginfo, pathvalidate, MarkupSafe, itsdangerous, idna, future, frozendict, feedparser, colorlog, Click, charset-normalizer, certifi, cachelib, blinker, Babel, sentry-sdk, requests, Jinja2, importlib-metadata, markdown, flask, Flask-Login, Flask-Babel, Flask-Assets, OctoPrint
  Attempting uninstall: webassets
    Found existing installation: webassets 2.0
    Uninstalling webassets-2.0:
      Successfully uninstalled webassets-2.0
  Attempting uninstall: sgmllib3k
    Found existing installation: sgmllib3k 1.0.0
    Uninstalling sgmllib3k-1.0.0:
      Successfully uninstalled sgmllib3k-1.0.0
  Attempting uninstall: sarge
    Found existing installation: sarge 0.1.6
    Uninstalling sarge-0.1.6:
      Successfully uninstalled sarge-0.1.6
  Attempting uninstall: pytz
    Found existing installation: pytz 2022.2.1
    Uninstalling pytz-2022.2.1:
      Successfully uninstalled pytz-2022.2.1
  Attempting uninstall: pyserial
    Found existing installation: pyserial 3.5
    Uninstalling pyserial-3.5:
      Successfully uninstalled pyserial-3.5
  Attempting uninstall: pylru
    Found existing installation: pylru 1.2.1
    Uninstalling pylru-1.2.1:
      Successfully uninstalled pylru-1.2.1
  Attempting uninstall: OctoPrint-PiSupport
    Found existing installation: OctoPrint-PiSupport 2022.6.13
    Uninstalling OctoPrint-PiSupport-2022.6.13:
      Successfully uninstalled OctoPrint-PiSupport-2022.6.13
  Attempting uninstall: OctoPrint-FirmwareCheck
    Found existing installation: OctoPrint-FirmwareCheck 2021.10.11
    Uninstalling OctoPrint-FirmwareCheck-2021.10.11:
      Successfully uninstalled OctoPrint-FirmwareCheck-2021.10.11
  Attempting uninstall: OctoPrint-FileCheck
    Found existing installation: OctoPrint-FileCheck 2021.2.23
    Uninstalling OctoPrint-FileCheck-2021.2.23:
      Successfully uninstalled OctoPrint-FileCheck-2021.2.23
  Attempting uninstall: netifaces
    Found existing installation: netifaces 0.11.0
    Uninstalling netifaces-0.11.0:
      Successfully uninstalled netifaces-0.11.0
  Attempting uninstall: netaddr
    Found existing installation: netaddr 0.8.0
    Uninstalling netaddr-0.8.0:
      Successfully uninstalled netaddr-0.8.0
  Attempting uninstall: ifaddr
    Found existing installation: ifaddr 0.2.0
    Uninstalling ifaddr-0.2.0:
      Successfully uninstalled ifaddr-0.2.0
  Attempting uninstall: filetype
    Found existing installation: filetype 1.1.0
    Uninstalling filetype-1.1.0:
      Successfully uninstalled filetype-1.1.0
  Attempting uninstall: emoji
    Found existing installation: emoji 1.7.0
    Uninstalling emoji-1.7.0:
      Successfully uninstalled emoji-1.7.0
  Attempting uninstall: zipstream-ng
    Found existing installation: zipstream-ng 1.3.4
    Uninstalling zipstream-ng-1.3.4:
      Successfully uninstalled zipstream-ng-1.3.4
  Attempting uninstall: zipp
    Found existing installation: zipp 3.8.1
    Uninstalling zipp-3.8.1:
      Successfully uninstalled zipp-3.8.1
  Attempting uninstall: zeroconf
    Found existing installation: zeroconf 0.33.4
    Uninstalling zeroconf-0.33.4:
      Successfully uninstalled zeroconf-0.33.4
  Attempting uninstall: wrapt
    Found existing installation: wrapt 1.13.3
    Uninstalling wrapt-1.13.3:
      Successfully uninstalled wrapt-1.13.3
  Attempting uninstall: werkzeug
    Found existing installation: Werkzeug 2.0.3
    Uninstalling Werkzeug-2.0.3:
      Successfully uninstalled Werkzeug-2.0.3
  Attempting uninstall: websocket-client
    Found existing installation: websocket-client 1.4.1
    Uninstalling websocket-client-1.4.1:
      Successfully uninstalled websocket-client-1.4.1
  Attempting uninstall: watchdog
    Found existing installation: watchdog 1.0.2
    Uninstalling watchdog-1.0.2:
      Successfully uninstalled watchdog-1.0.2
  Attempting uninstall: urllib3
    Found existing installation: urllib3 1.26.12
    Uninstalling urllib3-1.26.12:
      Successfully uninstalled urllib3-1.26.12
  Attempting uninstall: unidecode
    Found existing installation: Unidecode 1.3.4
    Uninstalling Unidecode-1.3.4:
      Successfully uninstalled Unidecode-1.3.4
  Attempting uninstall: tornado
    Found existing installation: tornado 6.2
    Uninstalling tornado-6.2:
      Successfully uninstalled tornado-6.2
  Attempting uninstall: semantic_version
    Found existing installation: semantic-version 2.10.0
    Uninstalling semantic-version-2.10.0:
      Successfully uninstalled semantic-version-2.10.0
  Attempting uninstall: regex
    Found existing installation: regex 2022.9.13
    Uninstalling regex-2022.9.13:
      Successfully uninstalled regex-2022.9.13
  Attempting uninstall: PyYAML
    Found existing installation: PyYAML 5.4.1
    Uninstalling PyYAML-5.4.1:
      Successfully uninstalled PyYAML-5.4.1
  Attempting uninstall: psutil
    Found existing installation: psutil 5.9.2
    Uninstalling psutil-5.9.2:
      Successfully uninstalled psutil-5.9.2
  Attempting uninstall: pkginfo
    Found existing installation: pkginfo 1.8.3
    Uninstalling pkginfo-1.8.3:
      Successfully uninstalled pkginfo-1.8.3
  Attempting uninstall: pathvalidate
    Found existing installation: pathvalidate 2.5.2
    Uninstalling pathvalidate-2.5.2:
      Successfully uninstalled pathvalidate-2.5.2
  Attempting uninstall: MarkupSafe
    Found existing installation: MarkupSafe 2.1.1
    Uninstalling MarkupSafe-2.1.1:
      Successfully uninstalled MarkupSafe-2.1.1
  Attempting uninstall: itsdangerous
    Found existing installation: itsdangerous 2.1.2
    Uninstalling itsdangerous-2.1.2:
      Successfully uninstalled itsdangerous-2.1.2
  Attempting uninstall: idna
    Found existing installation: idna 3.4
    Uninstalling idna-3.4:
      Successfully uninstalled idna-3.4
  Attempting uninstall: future
    Found existing installation: future 0.18.2
    Uninstalling future-0.18.2:
      Successfully uninstalled future-0.18.2
  Attempting uninstall: frozendict
    Found existing installation: frozendict 2.3.4
    Uninstalling frozendict-2.3.4:
      Successfully uninstalled frozendict-2.3.4
  Attempting uninstall: feedparser
    Found existing installation: feedparser 6.0.10
    Uninstalling feedparser-6.0.10:
      Successfully uninstalled feedparser-6.0.10
  Attempting uninstall: colorlog
    Found existing installation: colorlog 6.7.0
    Uninstalling colorlog-6.7.0:
      Successfully uninstalled colorlog-6.7.0
  Attempting uninstall: Click
    Found existing installation: click 8.1.3
    Uninstalling click-8.1.3:
      Successfully uninstalled click-8.1.3
  Attempting uninstall: charset-normalizer
    Found existing installation: charset-normalizer 2.1.1
    Uninstalling charset-normalizer-2.1.1:
      Successfully uninstalled charset-normalizer-2.1.1
  Attempting uninstall: certifi
    Found existing installation: certifi 2022.9.24
    Uninstalling certifi-2022.9.24:
      Successfully uninstalled certifi-2022.9.24
  Attempting uninstall: cachelib
    Found existing installation: cachelib 0.2.0
    Uninstalling cachelib-0.2.0:
      Successfully uninstalled cachelib-0.2.0
  Attempting uninstall: blinker
    Found existing installation: blinker 1.5
    Uninstalling blinker-1.5:
      Successfully uninstalled blinker-1.5
  Attempting uninstall: Babel
    Found existing installation: Babel 2.10.3
    Uninstalling Babel-2.10.3:
      Successfully uninstalled Babel-2.10.3
  Attempting uninstall: sentry-sdk
    Found existing installation: sentry-sdk 1.9.9
    Uninstalling sentry-sdk-1.9.9:
      Successfully uninstalled sentry-sdk-1.9.9
  Attempting uninstall: requests
    Found existing installation: requests 2.28.1
    Uninstalling requests-2.28.1:
      Successfully uninstalled requests-2.28.1
  Attempting uninstall: Jinja2
    Found existing installation: Jinja2 3.1.2
    Uninstalling Jinja2-3.1.2:
      Successfully uninstalled Jinja2-3.1.2
  Attempting uninstall: importlib-metadata
    Found existing installation: importlib-metadata 4.12.0
    Uninstalling importlib-metadata-4.12.0:
      Successfully uninstalled importlib-metadata-4.12.0
  Attempting uninstall: markdown
    Found existing installation: Markdown 3.4.1
    Uninstalling Markdown-3.4.1:
      Successfully uninstalled Markdown-3.4.1
  Attempting uninstall: flask
    Found existing installation: Flask 2.1.3
    Uninstalling Flask-2.1.3:
      Successfully uninstalled Flask-2.1.3
  Attempting uninstall: Flask-Login
    Found existing installation: Flask-Login 0.5.0
    Uninstalling Flask-Login-0.5.0:
      Successfully uninstalled Flask-Login-0.5.0
  Attempting uninstall: Flask-Babel
    Found existing installation: Flask-Babel 2.0.0
    Uninstalling Flask-Babel-2.0.0:
      Successfully uninstalled Flask-Babel-2.0.0
  Attempting uninstall: Flask-Assets
    Found existing installation: Flask-Assets 2.0
    Uninstalling Flask-Assets-2.0:
      Successfully uninstalled Flask-Assets-2.0
  Attempting uninstall: OctoPrint
    Found existing installation: OctoPrint 1.8.3
    Uninstalling OctoPrint-1.8.3:
      Successfully uninstalled OctoPrint-1.8.3
  Running setup.py install for OctoPrint ... done
Successfully installed Babel-2.10.3 Click-8.1.3 Flask-Assets-2.0 Flask-Babel-2.0.0 Flask-Login-0.5.0 Jinja2-3.1.2 MarkupSafe-2.1.1 OctoPrint-1.8.2 OctoPrint-FileCheck-2021.2.23 OctoPrint-FirmwareCheck-2021.10.11 OctoPrint-PiSupport-2022.6.13 PyYAML-5.4.1 blinker-1.5 cachelib-0.2.0 certifi-2022.9.24 charset-normalizer-2.1.1 colorlog-6.7.0 emoji-1.7.0 feedparser-6.0.10 filetype-1.1.0 flask-2.1.3 frozendict-2.3.4 future-0.18.2 idna-3.4 ifaddr-0.2.0 importlib-metadata-4.12.0 itsdangerous-2.1.2 markdown-3.4.1 netaddr-0.8.0 netifaces-0.11.0 pathvalidate-2.5.2 pkginfo-1.8.3 psutil-5.9.2 pylru-1.2.1 pyserial-3.5 pytz-2022.2.1 regex-2022.9.13 requests-2.28.1 sarge-0.1.6 semantic_version-2.10.0 sentry-sdk-1.9.9 sgmllib3k-1.0.0 tornado-6.2 unidecode-1.3.4 urllib3-1.26.12 watchdog-1.0.2 webassets-2.0 websocket-client-1.4.1 werkzeug-2.0.3 wrapt-1.13.3 zeroconf-0.33.4 zipp-3.8.1 zipstream-ng-1.3.4

Are you sure you are installing 1.8.2 into your OctoPrint instance's virtual environment? You haven't mentioned activating the venv anywhere. The setup guide you linked sounds like you'd need to do this:

source /home/octoprint/python_venvs/octoprint2/bin/activate
pip install --force-reinstall OctoPrint==1.8.2

What is "that login problem with OctoPrint"? Where's the bugreport? Where's the support ticket?

Also, I just released 1.8.4 that fixed some issues properly reported to me, maybe you are in luck and it solves yours as well.

right. I did it in the venv like mentioned in the guide.Sorry to bother again - but how do i upgrade to 1.8.4 ? It woul like to give it a try.

Now it seems like 1.8.3 is running again - but i have the issue again, that i can not login. Above that there seems to be a problem with the packages....:

(octoprint2) octoprint@Ph-3D-Druck:~/python_venvs$ cat ../octoprint_basedirs/instance2/logs/octoprint.log
2022-09-27 15:17:07,605 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:17:07,606 - octoprint.startup - INFO - Starting OctoPrint 1.8.3
2022-09-27 15:17:07,606 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:17:07,819 - octoprint.startup - CRITICAL - Could not initialize event manager: The 'OctoPrint==1.8.2' distribution was not found and is required by the application
2022-09-27 15:17:07,819 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint.
2022-09-27 15:18:48,359 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:18:48,362 - octoprint.startup - INFO - Starting OctoPrint 1.8.3
2022-09-27 15:18:48,362 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:18:48,455 - octoprint.startup - CRITICAL - Could not initialize event manager: The 'OctoPrint==1.8.2' distribution was not found and is required by the application
2022-09-27 15:18:48,455 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint.
2022-09-27 15:20:28,877 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:20:28,879 - octoprint.startup - INFO - Starting OctoPrint 1.8.3
2022-09-27 15:20:28,879 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:20:28,969 - octoprint.startup - CRITICAL - Could not initialize event manager: The 'OctoPrint==1.8.2' distribution was not found and is required by the application
2022-09-27 15:20:28,969 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint.
2022-09-27 15:22:09,365 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:22:09,367 - octoprint.startup - INFO - Starting OctoPrint 1.8.3
2022-09-27 15:22:09,367 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:22:09,454 - octoprint.startup - CRITICAL - Could not initialize event manager: The 'OctoPrint==1.8.2' distribution was not found and is required by the application
2022-09-27 15:22:09,454 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint.
2022-09-27 15:23:49,875 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:23:49,877 - octoprint.startup - INFO - Starting OctoPrint 1.8.3
2022-09-27 15:23:49,877 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:23:49,968 - octoprint.startup - CRITICAL - Could not initialize event manager: The 'OctoPrint==1.8.2' distribution was not found and is required by the application
2022-09-27 15:23:49,968 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint.
2022-09-27 15:25:30,358 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:25:30,361 - octoprint.startup - INFO - Starting OctoPrint 1.8.3
2022-09-27 15:25:30,361 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:25:30,453 - octoprint.startup - CRITICAL - Could not initialize event manager: The 'OctoPrint==1.8.2' distribution was not found and is required by the application
2022-09-27 15:25:30,453 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint.
2022-09-27 15:27:10,872 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:27:10,874 - octoprint.startup - INFO - Starting OctoPrint 1.8.3
2022-09-27 15:27:10,874 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:27:10,964 - octoprint.startup - CRITICAL - Could not initialize event manager: The 'OctoPrint==1.8.2' distribution was not found and is required by the application
2022-09-27 15:27:10,965 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint.
2022-09-27 15:28:51,361 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:28:51,362 - octoprint.startup - INFO - Starting OctoPrint 1.8.3
2022-09-27 15:28:51,363 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:28:51,455 - octoprint.startup - CRITICAL - Could not initialize event manager: The 'OctoPrint==1.8.2' distribution was not found and is required by the application
2022-09-27 15:28:51,455 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint.
2022-09-27 15:30:31,870 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:30:31,872 - octoprint.startup - INFO - Starting OctoPrint 1.8.3
2022-09-27 15:30:31,873 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:30:31,963 - octoprint.startup - CRITICAL - Could not initialize event manager: The 'OctoPrint==1.8.2' distribution was not found and is required by the application
2022-09-27 15:30:31,963 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint.
2022-09-27 15:32:12,373 - octoprint.startup - INFO - ******************************************************************************
2022-09-27 15:32:12,374 - octoprint.startup - INFO - Starting OctoPrint 1.8.3
2022-09-27 15:32:12,374 - octoprint.startup - INFO - 
...

and the "systemctl status octoprint@2.service"

 octoprint@2.service - OctoPrint (instance 2) - Open Source Printing Interface for 3D Printers
     Loaded: loaded (/etc/systemd/system/octoprint@.service; enabled; vendor preset: enabled)
     Active: active (running) since Wed 2022-09-28 06:49:52 CEST; 5min ago
       Docs: https://docs.octoprint.org
   Main PID: 579 (python3)
      Tasks: 21 (limit: 4259)
     Memory: 159.0M
     CGroup: /system.slice/system-octoprint.slice/octoprint@2.service
             └─579 /home/octoprint/python_venvs/octoprint/bin/python3 /home/octoprint/python_venvs/octoprint2/bin/octoprint --basedir /home/octoprint/octoprint_basedirs/instance2 --config /home/octoprint/octoprint_basedi>

Sep 28 06:52:57 Ph-3D-Druck python3[579]:     return self.__local()  # type: ignore
Sep 28 06:52:57 Ph-3D-Druck python3[579]:   File "/home/octoprint/python_venvs/octoprint/lib/python3.8/site-packages/flask_login/utils.py", line 26, in <lambda>
Sep 28 06:52:57 Ph-3D-Druck python3[579]:     current_user = LocalProxy(lambda: _get_user())
Sep 28 06:52:57 Ph-3D-Druck python3[579]:   File "/home/octoprint/python_venvs/octoprint/lib/python3.8/site-packages/flask_login/utils.py", line 346, in _get_user
Sep 28 06:52:57 Ph-3D-Druck python3[579]:     current_app.login_manager._load_user()
Sep 28 06:52:57 Ph-3D-Druck python3[579]:   File "/home/octoprint/python_venvs/octoprint/lib/python3.8/site-packages/flask_login/login_manager.py", line 318, in _load_user
Sep 28 06:52:57 Ph-3D-Druck python3[579]:     user = self._user_callback(user_id)
Sep 28 06:52:57 Ph-3D-Druck python3[579]:   File "/home/octoprint/python_venvs/octoprint/lib/python3.8/site-packages/octoprint/server/__init__.py", line 199, in load_user
Sep 28 06:52:57 Ph-3D-Druck python3[579]:     user = userManager.find_user(
Sep 28 06:52:57 Ph-3D-Druck python3[579]: TypeError: find_user() got an unexpected keyword argument 'fresh'

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.