Closed Usa4 closed 1 year ago
Is it possible that this has something to do with the "paramiko"(ver. 2.12) package?
Paramiko requires Cryptography version higher than 3.3 to work, but on versions higher than 2.9 nothing starts and it is impossible to raise the site, maybe some specific version of paramiko is needed, could you still specify the versions of the libraries that are used :) I will be very grateful, regards
hey,
I didn't bother to compile it locally, I've build the uds server in a docker image.
something like:
FROM python:3.10
ENV DockerHOME=/home/uds/server
RUN mkdir -p $DockerHOME
WORKDIR $DockerHOME
ENV PYTHONDONTWRITEBYTECODE 1 ENV PYTHONUNBUFFERED 1
RUN pip install --upgrade pip
RUN apt update && apt install libsasl2-dev python-dev libldap2-dev libssl-dev -y
COPY . $DockerHOME
RUN pip install -r requirements.txt
EXPOSE 8000
CMD python ./src/manage.py runserver '0.0.0.0:8000'
Also I've modified the code a bit, so I can use django 4 (adjusted django.urls to use re_path ( see https://stackoverflow.com/questions/70319606/importerror-cannot-import-name-url-from-django-conf-urls-after-upgrading-to )
also needed some extra requirements ( Django bitarray html5lib six dnspython lxml ovirt-engine-sdk-python matplotlib pyOpenSSL mysqlclient python-ldap paramiko defusedxml python-dateutil requests WeasyPrint webencodings xml-marshaller pycrypto>=2.6.1 cryptography pyrad pyotp qrcode )
Sorry, your problem is that UDS has 2 parts, a frontend (what you are currently running), and a backend (that is needed to "process" everything). take a look at the "manage.py help" and look for the taskManager
Hope this helps.
it's solved at my end, btw you might fix the "not foud" typo in openuds\server\src\uds\management\commands\taskManager.py python manage.py taskManager --start did the trick for me
Hi, I have a trial version of uds enterprise and also installed openuds version 3.0, I have such a problem, I was able to publish the OS on the enterprise version and everything is fine, but unfortunately on the openuds version I have a status of waiting publication, I don’t know what not like this:( (Xen-server version 8.2)