-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian 12 install virtualenv #85
Comments
I confirm the issue @ignis-draco reported. It happened on two fresh Debian 12 installations here. In case you need more information to triage/reproduce this, please describe what you need to know, and I try to gather that information. Edit 2023-06-28T08:30+02I would like to add some information that may help to track down the issue. First my playbook call with the config used:
The error happens in
Information regarding target node:
|
I can confirm that the same playbook runs without errors on a fresh Debian 11.7 install. Here are some parameters of the target host:
|
During an
I'm not sure how that affects this role. Generally speaking I think using |
FYI: Starting from a working paperless-ngx installation on Debian 11.7 I ran an upgrade to Debian 12 as described in [0]. After the upgrade succeeded paperless-ngx services cannot start anymore due to missing modules:
The release upgrade broke the paperless-ngx installation. This, of course, is not an issue with this ansible role. I just wanna share it here to complete the picture. I guess we have to stick with Debian 11 for a while, don't we? |
Thank you for all the information, I will have a look as fast as I can. I must admit that because of vacation this actually means about in a week at best. |
Hello @Tronde @ignis-draco , first of all sorry for the delay. Then: Would you like to check, wether this is working for you? https://github.com/paperless-ngx/ansible/tree/feat-support_debian12 Here I added functionality that I wanted to implement a long time before but for which now it seems the time has arrived :) The point is, that I wanted to assure, that the virtual environment always uses the same python version as the docker container would. In that case 3.9. This is why in this branch I introduced steps that fetch and compile the corresponding python binaries and then use that for creation of the virtual environment. Besides of that the virtualenv installation is now explicitely done in the scope of the user (extra_args: --upgrade --user). |
Hello @stevenengland , Cheers, |
Thank you very much for testing |
Sorry for my late reply. For a new installation under Debian 12, the changes work. I have now managed to upgrade my Debian11 to Debian 12. My steps were as follows:
it may well be that you could omit a few steps but that's how it worked for me. |
Oh, I am sorry that I forget that scenario. I will consider this together with this issue: #82 |
I think that for this big change it would be okay to write a small howto and do it by hand. |
To do something by hand is against all automation concepts. It would improve this role a lot when this case would be handled by the role as well. |
@Tronde You are right, of course, but this situation only occurs when you perform a distribution upgarde, which I would always do manually. |
Hey,
With a fresh Debian 12, the following error occurs during the first installation:
The problem is due to the workaround for Ubuntu 20.04 .
This should not be used with Debian.
The text was updated successfully, but these errors were encountered: