Hey everybody,
I ran across an error on my server. The server got updated to 4.2 on sunday. Shortly after I noticed the error regarding the api. It got fixed by following the steps @Aleks wrote here: The YunoHost API is not responding after upgrading to 4.2.4 / greenlet.greenlet size changed
Shortly after I noticed that I was again unable to access the yunohost admin panel. The api is (again) down, and whenever I enter a command in cli it gives me this error:
admin@control:~$ sudo yunohost service restart yunohost-api
Traceback (most recent call last):
File â/usr/lib/python3.7/logging/config.pyâ, line 387, in resolve
found = getattr(found, frag)
AttributeError: module âmoulinette.interfacesâ has no attribute âapiâ
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File â/usr/lib/python3.7/logging/config.pyâ, line 389, in resolve
self.importer(used)
File â/usr/lib/python3/dist-packages/moulinette/interfaces/api.pyâ, line 9, in
from gevent import sleep
ModuleNotFoundError: No module named âgeventâ
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File â/usr/lib/python3.7/logging/config.pyâ, line 562, in configure
handler = self.configure_handler(handlers[name])
File â/usr/lib/python3.7/logging/config.pyâ, line 712, in configure_handler
klass = self.resolve(cname)
File â/usr/lib/python3.7/logging/config.pyâ, line 396, in resolve
raise v
File â/usr/lib/python3.7/logging/config.pyâ, line 389, in resolve
self.importer(used)
File â/usr/lib/python3/dist-packages/moulinette/interfaces/api.pyâ, line 9, in
from gevent import sleep
ValueError: Cannot resolve âmoulinette.interfaces.api.APIQueueHandlerâ: No module named âgeventâ
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File â/usr/bin/yunohostâ, line 72, in
parser=parser
File â/usr/lib/moulinette/yunohost/init.pyâ, line 19, in cli
init_logging(interface=âcliâ, debug=debug, quiet=quiet)
File â/usr/lib/moulinette/yunohost/init.pyâ, line 146, in init_logging
configure_logging(logging_configuration)
File â/usr/lib/python3/dist-packages/moulinette/utils/log.pyâ, line 68, in configure_logging
dictConfig(logging_config)
File â/usr/lib/python3.7/logging/config.pyâ, line 799, in dictConfig
dictConfigClass(config).configure()
File â/usr/lib/python3.7/logging/config.pyâ, line 570, in configure
â%râ % name) from e
ValueError: Unable to configure handler âapiâ
I lack understanding so I hope somebody could help me out. What could be the cause of this error? Updating, upgrading etc⌠all is impossible as well and give me the same error.
Regards,
Skylar