error while updating tandoor recipes (Repo Change) #642

Closed
opened 2026-02-04 20:31:04 +03:00 by OVERLORD · 13 comments
Owner

Originally created by @ChristophCaina on GitHub (Mar 15, 2025).

Originally assigned to: @MickLesk on GitHub.

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

tandoor

📂 What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/tandoor.sh)"

📝 Provide a clear and concise description of the issue.

the update process for tandoor is exiting with the error below.
Running the same command again, shows, that the previous update seems to be completed.

The Version information of Tandoor is showing Version 1.5.31 - the latest version is 1.5.32 (which includes some updated dependencies, I am waiting for ;) )

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

run tandoor command to update the system

Paste the full error output (if available).

⠸ Updating Tandoor (Patience)  Building wheel for xmlsec (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for xmlsec (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
      Traceback (most recent call last):
        File "/tmp/pip-build-env-fncdiwvv/overlay/local/lib/python3.11/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
          section = defn.get("tool", {})[tool_name]
                    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      KeyError: 'setuptools_scm'
      running bdist_wheel
      running build
      running build_py
      creating build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/py.typed -> build/lib.linux-x86_64-cpython-311/xmlsec
      running build_ext
      error: Unable to invoke pkg-config.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for xmlsec
Successfully built django-allauth
Failed to build xmlsec
ERROR: Could not build wheels for xmlsec, which is required to install pyproject.toml-based projects
⠧ Updating Tandoor (Patience)
[ERROR] in line 36: exit code 0: while executing command $STD pip3 install -r requirements.txt

🖼️ Additional context (optional).

[Update]
Even a new installation will fail with the following error:

  Stored in directory: /root/.cache/pip/wheels/ef/af/24/ace7ca1ac434db75322ab3a2b04dccc74c4c95b4e582ef074b
 errorilding wheel for xmlsec (pyproject.toml) ... -
  error: subprocess-exited-with-error
  
  × Building wheel for xmlsec (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
      Traceback (most recent call last):
        File "/tmp/pip-build-env-4kv9a7ig/overlay/local/lib/python3.11/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
          section = defn.get("tool", {})[tool_name]
                    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      KeyError: 'setuptools_scm'
      running bdist_wheel
      running build
      running build_py
      creating build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/py.typed -> build/lib.linux-x86_64-cpython-311/xmlsec
      running build_ext
      error: Unable to invoke pkg-config.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for xmlsec
 doneuilding wheel for jstyleson (setup.py) ... -
  Created wheel for jstyleson: filename=jstyleson-0.0.2-py3-none-any.whl size=2384 sha256=1042f3657db72c17e6bfd2dc2367d7de7db171dd868bfedbab5869f8bc127055
  Stored in directory: /root/.cache/pip/wheels/ad/63/0e/50090147fb424100f7d9078b71c21b9e7468b6f643515a60d6
Successfully built webdavclient3 microdata django-allauth python-ldap django-js-reverse jstyleson
Failed to build xmlsec
ERROR: Could not build wheels for xmlsec, which is required to install pyproject.toml-based projects
 ⠴
[ERROR] in line 59: exit code 0: while executing command $STD pip3 install -r /opt/tandoor/requirements.txt
Originally created by @ChristophCaina on GitHub (Mar 15, 2025). Originally assigned to: @MickLesk on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? tandoor ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/tandoor.sh)" ### 📝 Provide a clear and concise description of the issue. the update process for tandoor is exiting with the error below. Running the same command again, shows, that the previous update seems to be completed. The Version information of Tandoor is showing Version 1.5.31 - the latest version is 1.5.32 (which includes some updated dependencies, I am waiting for ;) ) ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. run tandoor command to update the system ### ❌ Paste the full error output (if available). ``` ⠸ Updating Tandoor (Patience) Building wheel for xmlsec (pyproject.toml) ... error error: subprocess-exited-with-error × Building wheel for xmlsec (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [17 lines of output] WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/tmp/pip-build-env-fncdiwvv/overlay/local/lib/python3.11/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/py.typed -> build/lib.linux-x86_64-cpython-311/xmlsec running build_ext error: Unable to invoke pkg-config. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for xmlsec Successfully built django-allauth Failed to build xmlsec ERROR: Could not build wheels for xmlsec, which is required to install pyproject.toml-based projects ⠧ Updating Tandoor (Patience) [ERROR] in line 36: exit code 0: while executing command $STD pip3 install -r requirements.txt ``` ### 🖼️ Additional context (optional). [Update] Even a new installation will fail with the following error: ``` Stored in directory: /root/.cache/pip/wheels/ef/af/24/ace7ca1ac434db75322ab3a2b04dccc74c4c95b4e582ef074b errorilding wheel for xmlsec (pyproject.toml) ... - error: subprocess-exited-with-error × Building wheel for xmlsec (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [17 lines of output] WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/tmp/pip-build-env-4kv9a7ig/overlay/local/lib/python3.11/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/py.typed -> build/lib.linux-x86_64-cpython-311/xmlsec running build_ext error: Unable to invoke pkg-config. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for xmlsec doneuilding wheel for jstyleson (setup.py) ... - Created wheel for jstyleson: filename=jstyleson-0.0.2-py3-none-any.whl size=2384 sha256=1042f3657db72c17e6bfd2dc2367d7de7db171dd868bfedbab5869f8bc127055 Stored in directory: /root/.cache/pip/wheels/ad/63/0e/50090147fb424100f7d9078b71c21b9e7468b6f643515a60d6 Successfully built webdavclient3 microdata django-allauth python-ldap django-js-reverse jstyleson Failed to build xmlsec ERROR: Could not build wheels for xmlsec, which is required to install pyproject.toml-based projects ⠴ [ERROR] in line 59: exit code 0: while executing command $STD pip3 install -r /opt/tandoor/requirements.txt ```
OVERLORD added the bugbreaking change labels 2026-02-04 20:31:04 +03:00
Author
Owner

@willuk2010 commented on GitHub (Mar 16, 2025):

I just came to look for some info on this, tried to install Tandoor, and got the same error as you.

ERROR: Could not build wheels for xmlsec, which is required to install pyproject.toml-based projects

@willuk2010 commented on GitHub (Mar 16, 2025): I just came to look for some info on this, tried to install Tandoor, and got the same error as you. ERROR: Could not build wheels for xmlsec, which is required to install pyproject.toml-based projects
Author
Owner

@tremor021 commented on GitHub (Mar 16, 2025):

pip3 install --upgrade pip
then try again

@tremor021 commented on GitHub (Mar 16, 2025): `pip3 install --upgrade pip` then try again
Author
Owner

@ChristophCaina commented on GitHub (Mar 16, 2025):

I've restored a backup - and run upgrade pip.
Still, the script is telling me, that there's no update available.

How can I upgrade from 1.5.31 to 1.5.32 ?

@ChristophCaina commented on GitHub (Mar 16, 2025): I've restored a backup - and run upgrade pip. Still, the script is telling me, that there's no update available. How can I upgrade from 1.5.31 to 1.5.32 ?
Author
Owner

@tremor021 commented on GitHub (Mar 16, 2025):

Ah, seems like the dev has changed the repo. We will have to update the script. Stay on 1.5.31 for now

@MickLesk i see its one of yours scripts. The repo is now at https://github.com/TandoorRecipes/recipes

@tremor021 commented on GitHub (Mar 16, 2025): Ah, seems like the dev has changed the repo. We will have to update the script. Stay on 1.5.31 for now @MickLesk i see its one of yours scripts. The repo is now at `https://github.com/TandoorRecipes/recipes`
Author
Owner

@willuk2010 commented on GitHub (Mar 16, 2025):

What about failing new installs..

@willuk2010 commented on GitHub (Mar 16, 2025): What about failing new installs..
Author
Owner

@tremor021 commented on GitHub (Mar 16, 2025):

The repo its installing from doesn't exist any more... Once script gets updated, it will resume working as intended (i would assume so)

@tremor021 commented on GitHub (Mar 16, 2025): The repo its installing from doesn't exist any more... Once script gets updated, it will resume working as intended (i would assume so)
Author
Owner

@MickLesk commented on GitHub (Mar 16, 2025):

Reopen as Marker for me. Its an Breaking Change caused by Repo Change and Git Pull doesnt Work on old setups

@MickLesk commented on GitHub (Mar 16, 2025): Reopen as Marker for me. Its an Breaking Change caused by Repo Change and Git Pull doesnt Work on old setups
Author
Owner

@ChristophCaina commented on GitHub (Mar 17, 2025):

thanks for the script update.
When I was running "update" - the console did show the new version 1.5.33 - but then again, no update available.
The installed Software is still 1.5.31 ...

Creating a new LXC will still fail with the following error:

  error: subprocess-exited-with-error
  
  × Building wheel for xmlsec (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
      Traceback (most recent call last):
        File "/tmp/pip-build-env-mze7ncgo/overlay/local/lib/python3.11/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject
          section = defn.get("tool", {})[tool_name]
                    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      KeyError: 'setuptools_scm'
      running bdist_wheel
      running build
      running build_py
      creating build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec
      copying src/xmlsec/py.typed -> build/lib.linux-x86_64-cpython-311/xmlsec
      running build_ext
      error: Unable to invoke pkg-config.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for xmlsec
 doneuilding wheel for jstyleson (setup.py) ... -
  Created wheel for jstyleson: filename=jstyleson-0.0.2-py3-none-any.whl size=2384 sha256=3353d79911349ff30f9ed75cd38f59e1f97f0aac376a159aa1604047032eff15
  Stored in directory: /root/.cache/pip/wheels/ad/63/0e/50090147fb424100f7d9078b71c21b9e7468b6f643515a60d6
Successfully built webdavclient3 microdata django-allauth python-ldap django-js-reverse jstyleson
Failed to build xmlsec
ERROR: Could not build wheels for xmlsec, which is required to install pyproject.toml-based projects
 ⠼
[ERROR] in line 59: exit code 0: while executing command $STD pip3 install -r /opt/tandoor/requirements.txt

The problem here is, that this is during the new installation ... so where exactly should I run the pip update?
On the host?
On the new lxc?
-- shouldn't the script do all required steps?

@ChristophCaina commented on GitHub (Mar 17, 2025): thanks for the script update. When I was running "update" - the console did show the new version 1.5.33 - but then again, no update available. The installed Software is still 1.5.31 ... Creating a new LXC will still fail with the following error: ``` error: subprocess-exited-with-error × Building wheel for xmlsec (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [17 lines of output] WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section' Traceback (most recent call last): File "/tmp/pip-build-env-mze7ncgo/overlay/local/lib/python3.11/dist-packages/setuptools_scm/_integration/pyproject_reading.py", line 36, in read_pyproject section = defn.get("tool", {})[tool_name] ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'setuptools_scm' running bdist_wheel running build running build_py creating build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/tree.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/constants.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/__init__.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/template.pyi -> build/lib.linux-x86_64-cpython-311/xmlsec copying src/xmlsec/py.typed -> build/lib.linux-x86_64-cpython-311/xmlsec running build_ext error: Unable to invoke pkg-config. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for xmlsec doneuilding wheel for jstyleson (setup.py) ... - Created wheel for jstyleson: filename=jstyleson-0.0.2-py3-none-any.whl size=2384 sha256=3353d79911349ff30f9ed75cd38f59e1f97f0aac376a159aa1604047032eff15 Stored in directory: /root/.cache/pip/wheels/ad/63/0e/50090147fb424100f7d9078b71c21b9e7468b6f643515a60d6 Successfully built webdavclient3 microdata django-allauth python-ldap django-js-reverse jstyleson Failed to build xmlsec ERROR: Could not build wheels for xmlsec, which is required to install pyproject.toml-based projects ⠼ [ERROR] in line 59: exit code 0: while executing command $STD pip3 install -r /opt/tandoor/requirements.txt ``` The problem here is, that this is during the new installation ... so where exactly should I run the pip update? On the host? On the new lxc? -- shouldn't the script do all required steps?
Author
Owner

@MickLesk commented on GitHub (Mar 17, 2025):

New Deploy should be needed. Its an old git installation. Try with new install

@MickLesk commented on GitHub (Mar 17, 2025): New Deploy should be needed. Its an old git installation. Try with new install
Author
Owner

@ChristophCaina commented on GitHub (Mar 17, 2025):

hm...
Do you maybe know how to move exitisting data / profiles etc. to a new installation?
I think, it should be possible to somehow move the database from the old installation to the newer one ?!

At least, when the new installation is still not working with the above error (as of time of this reply)

@ChristophCaina commented on GitHub (Mar 17, 2025): hm... Do you maybe know how to move exitisting data / profiles etc. to a new installation? I think, it should be possible to somehow move the database from the old installation to the newer one ?! At least, when the new installation is still not working with the above error (as of time of this reply)
Author
Owner

@tremor021 commented on GitHub (Mar 17, 2025):

Backup using export and import
You can now export recipes from Tandoor using the export function. This method requires a working web interface. 1. Click on a recipe 2. Click on the three meatballs then export 3. Select the all recipes toggle and then export. This should download a zip file.

Import: Go to Import > from app > tandoor and select the zip file you want to import from.

https://docs.tandoor.dev/system/backup/ is a good start

@tremor021 commented on GitHub (Mar 17, 2025): ``` Backup using export and import You can now export recipes from Tandoor using the export function. This method requires a working web interface. 1. Click on a recipe 2. Click on the three meatballs then export 3. Select the all recipes toggle and then export. This should download a zip file. Import: Go to Import > from app > tandoor and select the zip file you want to import from. ``` `https://docs.tandoor.dev/system/backup/` is a good start
Author
Owner

@adn34 commented on GitHub (Mar 17, 2025):

I have this exact issue with the same error message on a brand new install (have never used tandoor before), I have verified that it is indeed using the version that was merged 3 hours ago with the repo change.

@adn34 commented on GitHub (Mar 17, 2025): I have this exact issue with the same error message on a brand new install (have never used tandoor before), I have verified that it is indeed using the version that was merged 3 hours ago with the repo change.
Author
Owner

@MickLesk commented on GitHub (Mar 17, 2025):

Please do an issue on Tandoor. Its not the Script himself, its an dependency issue

@MickLesk commented on GitHub (Mar 17, 2025): Please do an issue on Tandoor. Its not the Script himself, its an dependency issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#642