Hallo,
ich hatte Heute eine Fortbildung über das Upgrade von 7.0 zu 7.1 (und ich hab dann noch gleich weiter zu 7.2 upgegraded … dann ging die WebUI auch wieder).
Nach dem Upgrade auf 7.1 lief die WebUI nicht.
Ich hab da einiges probiert: nichts hat geholfen.
Danach hab ich weiter upgegraded zu 7.2: da kam dann beim Install der 7.2er WebUI eine Fehlermeldung zu irgend einem pip-crypto-dingens. Das hab ich mittels
pip uninstall crypto-dings-namen
deinstalliert und dann wieder installiert mit
pip install crypto-dings-namen
Danach konnte ich die WebUI wieder starten und sie funktionierte.
Da ich haber das Update mit der selben VBOx Umgebung vor 5 Tagen erfolgreich (zur 7.1) gemacht hatte, wollte ich jetzt nach der FoBi wissen, was da los war.
Also hab ich nochmal frisch angefangen mit der Umgebung (bei 7.0) und upgegraded auf 7.1.
Wieder keine WebUI:
So sieht pip ajentipakete aus
python3 -m pip list | grep ajenti
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
ajenti-panel 2.2.3
ajenti.plugin.ace 0.32
ajenti.plugin.core 0.103
ajenti.plugin.dashboard 0.41
ajenti.plugin.filesystem 0.49
ajenti.plugin.passwd 0.23
ajenti.plugin.plugins 0.49
ajenti.plugin.session-list 0.6
ajenti.plugin.settings 0.33
so sieht das ajentilog aus
2023-02-08 17:43:13,610 INFO : Loading config from /etc/ajenti/config.yml
2023-02-08 17:43:13,636 INFO : Loading users from /etc/ajenti/users.yml
2023-02-08 17:43:13,639 INFO : Loading smtp config from /etc/ajenti/smtp.yml
2023-02-08 17:43:13,640 INFO : Loading tfa config from /etc/ajenti/tfa.yml
2023-02-08 17:43:13,642 INFO : Ajenti Core 2.2.3
2023-02-08 17:43:13,642 INFO : Master PID - 864
2023-02-08 17:43:13,642 INFO : Detected platform: debian / Ubuntu 18.04.6 LTS
2023-02-08 17:43:13,642 INFO : Python version: 3.6.9
2023-02-08 17:43:13,791 ERROR : Fatal crash occured
2023-02-08 17:43:13,812 ERROR : Crash report written to /var/log/ajenti/crash-2023-02-08-17h43.txt
2023-02-08 17:43:13,812 ERROR : Please submit it to https://github.com/ajenti/ajenti/issues/new
so sieht die crashdatei /var/log/ajenti/crash-2023-02-08-17h43.txt aus:
Ajenti bug report
--------------------
Info | Value
----- | -----
Ajenti | 2.2.3
Platform | debian / ubuntu / Ubuntu 18.04.6 LTS
Architecture | x86_64
Python | 3.6.9
Debug | False
Loaded plugins |
Library | Version
------- | -------
gevent | 21.12.0
greenlet | 21.12.0
psutil | 5.7.2
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/aj/entry.py", line 29, in start
aj.core.run(dev_mode=dev_mode, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/aj/core.py", line 145, in run
PluginManager.get(aj.context).load_all_from(aj.plugin_providers)
File "/usr/local/lib/python3.6/dist-packages/aj/plugins.py", line 274, in load_all_from
yml_info = yaml.load(open(os.path.join(path, 'plugin.yml')), Loader=yaml.SafeLoader)
File "/usr/lib/python3/dist-packages/yaml/__init__.py", line 72, in load
return loader.get_single_data()
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 37, in get_single_data
return self.construct_document(node)
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 46, in construct_document
for dummy in generator:
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 393, in construct_yaml_seq
data.extend(self.construct_sequence(node))
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 116, in construct_sequence
for child in node.value]
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 116, in <listcomp>
for child in node.value]
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 86, in construct_object
data = constructor(self, node)
File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 414, in construct_undefined
node.start_mark)
yaml.constructor.ConstructorError: could not determine a constructor for the tag 'tag:yaml.org,2002:python/object:aj.plugins.PluginDependency'
in "/usr/local/lib/python3.6/dist-packages/ajenti_plugin_passwd/plugin.yml", line 9, column 7
VM Umgebung ist hier: kann ich auch exportieren und bereitstellen, falls jemand selber reinschauen will (sind rund 20 GB)
LG
Holger