Lazy Librarian will not install after new committ - missing library. #323

Closed
opened 2026-02-04 17:58:10 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Hydro-guy on GitHub (Jan 12, 2025).

Have you read and understood the above guidelines?

yes

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

LazyLibrarian

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

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

📝 Provide a clear and concise description of the issue.

Install crashes. new library required by committ

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

run script observe error. fix by running "pip install pypdf" in LL console.
if you run "update" command in LL console will cause loss of web gui - tried that first in a running instance of LL. fix as above and reboot.

Paste the full error output (if available).

⠇ Installing LazyLibrarian
[ERROR] in line 44: exit code 0: while executing command "$@" > /dev/null 2>&1
root@proxmox1:~#

🖼️ Additional context (optional).

No response

Originally created by @Hydro-guy on GitHub (Jan 12, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? LazyLibrarian ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/lazylibrarian.sh)" ### 📝 Provide a clear and concise description of the issue. Install crashes. new library required by committ ### ⚙️ What settings are you using? - [X] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. run script observe error. fix by running "pip install pypdf" in LL console. if you run "update" command in LL console will cause loss of web gui - tried that first in a running instance of LL. fix as above and reboot. ### ❌ Paste the full error output (if available). ⠇ Installing LazyLibrarian [ERROR] in line 44: exit code 0: while executing command "$@" > /dev/null 2>&1 root@proxmox1:~# ### 🖼️ Additional context (optional). _No response_
OVERLORD added the question label 2026-02-04 17:58:10 +03:00
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 13, 2025):

Can you install it in verbose mode please? It installs fine on my end.
image

@michelroegl-brunner commented on GitHub (Jan 13, 2025): Can you install it in verbose mode please? It installs fine on my end. ![image](https://github.com/user-attachments/assets/a4121e8e-7a33-46c5-9c0f-91e2deb73714)
Author
Owner

@Hydro-guy commented on GitHub (Jan 13, 2025):

And now it installs normally for me as well - verbose or default. Which is weird. I run both a windows version of LL and a proxmox version in an LXC on separate machines. Phil Borman noted in the upgrade popup with the new commit that a manual install would be needed. I tried the upgrade command in the shell of my existing LL LXC and lost access to the GUI - would not connect. At that point I tried installing a new LL container and got the error I reported. I noted the windows error log and installed pypdf in the existing LL LXC shell which still was accessible - (shell wasn't accessible in the new LL container) and regained the GUI which when queried reported that the existing LL LXC container had updated to the new commit. So I just now tried restoring my existing LL container to before this happened. 8 commits behind. Tried the update command again in shell - GUI lost again as before. So I created a new LL container with default settings - it installed normally without the error that I reported. No idea why. New installs should have no issues.

Have a question though - how is one to update an existing container? this was the popup in LL indicating the changes committed.
"LazyLibrarian is behind by 8 commits
Move series info to series_by_pk
Docker detection changes, message changes
Use _by_pk queries where possible
Updated libraries
** MANUAL ** change to use pypdf library as PyPDF3 deprecated, needs manual installation
Added "docker" as a package type
Minor tidying
Code tidying
Update needs manual installation"
Normally the popup in LL has an upgrade option - with this commit there was none. So I tried the "upgrade" command in the shell which is part of the helper script and it does upgrade the container - but without installing pypdf and it loses the LL GUI. Does the upgrade script check pyproject.toml or requirements.txt? I'm guessing that it does not and that this is the default behaviour for all the other scripts too. Might be something to add?

@Hydro-guy commented on GitHub (Jan 13, 2025): And now it installs normally for me as well - verbose or default. Which is weird. I run both a windows version of LL and a proxmox version in an LXC on separate machines. Phil Borman noted in the upgrade popup with the new commit that a manual install would be needed. I tried the upgrade command in the shell of my existing LL LXC and lost access to the GUI - would not connect. At that point I tried installing a new LL container and got the error I reported. I noted the windows error log and installed pypdf in the existing LL LXC shell which still was accessible - (shell wasn't accessible in the new LL container) and regained the GUI which when queried reported that the existing LL LXC container had updated to the new commit. So I just now tried restoring my existing LL container to before this happened. 8 commits behind. Tried the update command again in shell - GUI lost again as before. So I created a new LL container with default settings - it installed normally without the error that I reported. No idea why. New installs should have no issues. Have a question though - how is one to update an existing container? this was the popup in LL indicating the changes committed. "LazyLibrarian is behind by 8 commits Move series info to series_by_pk Docker detection changes, message changes Use _by_pk queries where possible Updated libraries ** MANUAL ** change to use pypdf library as PyPDF3 deprecated, needs manual installation Added "docker" as a package type Minor tidying Code tidying Update needs manual installation" Normally the popup in LL has an upgrade option - with this commit there was none. So I tried the "upgrade" command in the shell which is part of the helper script and it does upgrade the container - but without installing pypdf and it loses the LL GUI. Does the upgrade script check pyproject.toml or requirements.txt? I'm guessing that it does not and that this is the default behaviour for all the other scripts too. Might be something to add?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#323