tteck / Proxmox

Proxmox VE Helper-Scripts
https://Helper-Scripts.com
MIT License
14.43k stars 2.37k forks source link

Calibre-Web script error when using script to add Calibre-Web extras from LXC console (unbound variable) #3576

Closed BHam86 closed 2 months ago

BHam86 commented 2 months ago

Please verify that you have read and understood the guidelines.

Yes

A clear and concise description of the issue.

When selecting an additional feature from the Calibre-Web script I am presented with the following error:

environment: line 141: options: unbound variable

I'm fetching and running the script from the LXC console from PVE web UI.

What settings are you currently utilizing?

Default Settings

Which Linux distribution are you employing?

Debian 12

If relevant, including screenshots or a code block can be helpful in clarifying the issue.

No response

Please provide detailed steps to reproduce the issue.

Created a fresh LXC using bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/calibre-web.sh)" Installed with default settings. Ran the same script from the LXC console via PVE UI to install additional features. Selected gdrive option. Script runs and immediately throws the error.

tteck commented 2 months ago

That should fix the unbound variable.

BHam86 commented 2 months ago

I keep getting the same error. I've manually downloaded the script on the LXC to confirm I'm getting the new version before running it.

tteck commented 2 months ago

I'll create a Calibre-Web LXC and test further.

tteck commented 2 months ago

@remz1337 beings this is one of your PR's, how about checking this.

tteck commented 2 months ago

I have no unbound variable error.

Screenshot 2024-08-23 2 18 16 PM

tteck commented 2 months ago

I installed calibreweb[gdrive], no issues.

tteck commented 2 months ago

Clear browser cache

BHam86 commented 2 months ago

Somehow it's just not working for me. I cleared my browser cache, switched browsers, switched to another PC, updated Proxmox, and created a new LXC on a different node for good measure. No dice... Any other suggestions? :)

tteck commented 2 months ago

Are you using SSH? I did not.

BHam86 commented 2 months ago

Nope I'm running it from the LXC console in the PVE web UI.

remz1337 commented 2 months ago

Just did a fresh install. No issues on my end installing additional dependencies (tested gdrive, goodreads, ldap and oauth)

BHam86 commented 2 months ago

ran pip install calibreweb[gdrive], and that works like a charm. Anything I'll be missing when I add it manually?