Skip to content
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

i cant update nginxproxymanager #2706

Closed
arteck opened this issue Mar 28, 2024 · 11 comments
Closed

i cant update nginxproxymanager #2706

arteck opened this issue Mar 28, 2024 · 11 comments
Labels
🛑 Failure to comply with the guidelines Failure to comply with the guidelines

Comments

@arteck
Copy link

arteck commented Mar 28, 2024

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

i have installed it with the cmd
bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/nginxproxymanager.sh)"

all is fine but i cant update it..

i see in the sourcecode of bash the update function, but how can I execute it?

function update_script() {

this is what i see
grafik

i dont need a new lxc...

how is the trick ???

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.

No response

@tteck
Copy link
Owner

tteck commented Mar 28, 2024

🛑 Failure to comply with the following guideline.

  • For suggestions, questions or feature/script requests, please share them in the Discussions section.

Type the command update in the LXC console.

@tteck tteck closed this as completed Mar 28, 2024
@tteck tteck added the 🛑 Failure to comply with the guidelines Failure to comply with the guidelines label Mar 28, 2024
@arteck
Copy link
Author

arteck commented Mar 28, 2024

grafik

@tteck
Copy link
Owner

tteck commented Mar 28, 2024

🛑 Failure to comply with the following guideline.

  • Prior to submitting, kindly search the closed issues to check if the problem you are reporting has already been addressed and resolved. If you come across a closed issue that pertains to your problem, please leave a comment on that issue instead of creating a new one.

#2658

@arteck
Copy link
Author

arteck commented Mar 28, 2024

next problem
grafik

@arteck
Copy link
Author

arteck commented Mar 28, 2024

the path is wrong in your script

here

https://github.com/tteck/Proxmox/blob/98e8955ec1db4424df229083a8d1c8d7e513ee3c/ct/nginxproxymanager.sh#L139C6-L139C16

you are in /home/manager
grafik

but not in the new folder

@tteck
Copy link
Owner

tteck commented Mar 28, 2024

The path is correct, your method is wrong. Please read the code.

cd nginx-proxy-manager-${RELEASE}

@arteck
Copy link
Author

arteck commented Mar 28, 2024

sry yes you right....

then here
grafik

@tteck
Copy link
Owner

tteck commented Mar 28, 2024

I have no clue what you're doing. I'd suggest creating a new Nginx Proxy Manager LXC.

@tteck
Copy link
Owner

tteck commented Mar 28, 2024

The directory /home/manager/ is not generated by the Nginx Proxy Manager LXC script available in this repository. It appears that your Nginx Proxy Manager LXC instance was set up using a different method.

@arteck
Copy link
Author

arteck commented Mar 28, 2024

I would like to update my nginxproxymanager
I don't want to create a new LXC

so ..here is my solution

you need
npm install pnpm@8.15.4

and i modify the frontend webpack file
add the

optimization: {
        minimize: false
    }

then i can compile the frontend

and voila
grafik

@Mrdindon
Copy link

Mrdindon commented Apr 6, 2024

I know this "issue" is closed but I ran into the same situation. Maybe my installation was too old but this is how it worked for me :

I was running nginx proxy manager v2.10.4 installed originaly from the script. Trying to update to the latest release generate an error after the script is launched :

bash -c "$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/nginxproxymanager.sh)"

...

 - Installing pnpm  /
[ERROR] in line 65: exit code 0: while executing command npm install -g pnpm@8.15 &> /dev/null

I ran "npm install -g pnpm@8.15" manually from the lxc console :


npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

added 1 package, and audited 2 packages in 1s

1 package is looking for funding
  run `npm fund` for details

found 0 vulnerabilities
npm notice 
npm notice New major version of npm available! 8.11.0 -> 10.5.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.5.1
npm notice Run npm install -g npm@10.5.1 to update!
npm notice 

Then re-ran the update script and the update went smoothly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛑 Failure to comply with the guidelines Failure to comply with the guidelines
Projects
None yet
Development

No branches or pull requests

3 participants