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

Nginx Proxy Manager LXC Error in line 146 #761

Open
2 tasks done
boodacm opened this issue Dec 10, 2024 · 3 comments
Open
2 tasks done

Nginx Proxy Manager LXC Error in line 146 #761

boodacm opened this issue Dec 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@boodacm
Copy link

boodacm commented Dec 10, 2024

Please verify that you have read and understood the guidelines.

yes

A clear and concise description of the issue.

When running the Nginx Proxy Manager LXC script I get [ERROR] in line 146: exit code 0: while executing command $STD pnpm run build. I ran the script twice once default and once advance with only verbose mode on.

What settings are you currently utilizing?

  • Default Settings
  • Advanced Settings

Which Linux distribution are you employing?

Debian 12

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

npm notice 
npm notice New major version of npm available! 8.19.4 -> 10.9.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.9.2
npm notice Run npm install -g [email protected] to update!
npm notice 
 ✓ Installed pnpm
Would you like to install an older version (v2.10.4)? <y/N> N
 ✓ Downloaded Nginx Proxy Manager v2.12.1
 ✓ Set up Enviroment

   ╭──────────────────────────────────────────────────────────────────╮
   │                                                                  │
   │                Update available! 8.15.9 → 9.15.0.                │
   │   Changelog: https://github.com/pnpm/pnpm/releases/tag/v9.15.0   │
   │                Run "pnpm add -g pnpm" to update.                 │
   │                                                                  │
   │      Follow @pnpmjs for updates: https://twitter.com/pnpmjs      │
   │                                                                  │
   ╰──────────────────────────────────────────────────────────────────╯

Pr WARN  deprecated [email protected]: Package renamed as '@messageformat/core', see messageformat.github.io for more details. 'messageformat@4' will eventually provide a polyfill for Intl.MessageFormat, once it's been defined by Unicode & ECMA.
 WARN  deprecated [email protected]: Node Sass is no longer supported. Please use `sass` or `sass-embedded` instead.
PrDownloading github.com/tabler/tabler/00f78ad823311bc3ad974ac3e5b0126198f0a813: 33.90 MB/33.90 MB, doneoading github.com/tabler/tabler/00f78ad823311bc3ad974ac3e5b0126198f0a813: 512.00 B/33.90 MB
PrPackages are hard linked from the content-addressable store to the virtual store.
  Content-addressable store is at: /root/.local/share/pnpm/store/v3
  Virtual store is at:             node_modules/.pnpm
Pr WARN  deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
Pr WARN  25 deprecated subdependencies found: @npmcli/[email protected], @npmcli/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Packages: +905
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
PrProgress: resolved 909, reused 0, downloaded 907, added 905, done
node_modules/.pnpm/[email protected]/node_modules/core-js: Running postinstall script, done in 35ms
nonode_modules/.pnpm/[email protected]/node_modules/ejs: Running postinstall script, done in 29ms
nonode_modules/.pnpm/[email protected]/node_modules/node-sass: Running install script, done in 802ms
nonode_modules/.pnpm/[email protected]/node_modules/node-sass: Running postinstall script, done in 292ms
 \
devDependencies:
+ @babel/core 7.26.0
+ babel-core 6.26.3
+ babel-loader 8.4.1 (9.2.1 is available)
+ babel-preset-env 1.7.0
+ backbone 1.6.0
+ backbone.marionette 4.1.3
+ copy-webpack-plugin 5.1.2 (12.0.2 is available)
+ css-loader 3.6.0 (7.1.2 is available)
+ ejs-lint 1.2.2 (2.0.1 is available)
+ ejs-loader 0.3.7 (0.5.0 is available)
+ ejs-webpack-loader 2.2.2
+ file-loader 6.2.0
+ html-webpack-plugin 4.5.2 (5.6.3 is available)
+ imports-loader 0.8.0 (5.0.0 is available)
+ jquery 3.7.1
+ jquery-mask-plugin 1.14.16
+ jquery-serializejson 2.9.0 (3.2.1 is available)
+ marionette.approuter 1.0.2
+ marionette.templatecache 1.0.0
+ messageformat 2.3.0 deprecated
+ messageformat-loader 0.8.1
+ mini-css-extract-plugin 0.9.0 (2.9.2 is available)
+ moment 2.30.1
+ node-sass 9.0.0 deprecated
+ nodemon 2.0.22 (3.1.7 is available)
+ numeral 2.0.6
+ sass-loader 10.5.2 (16.0.4 is available)
+ style-loader 1.3.0 (4.0.0 is available)
+ tabler-ui 0.0.31
+ underscore 1.13.7
+ webpack 4.47.0 (5.97.1 is available)
+ webpack-cli 3.3.12 (5.1.4 is available)
+ webpack-visualizer-plugin 0.1.11

 WARN  Issues with peer dependencies found
.
└─┬ marionette.templatecache 1.0.0
  ├── ✕ unmet peer backbone@~1.3.3: found 1.6.0
  ├── ✕ unmet peer underscore@~1.8.3: found 1.13.7
  └─┬ backbone.marionette 4.0.0-beta.1
    ├── ✕ unmet peer backbone@~1.3.3: found 1.6.0
    └── ✕ unmet peer underscore@">= 1.8.3 <= 1.9.x": found 1.13.7

Done in 9.1s
 | WARN  deprecated [email protected]: Package renamed as '@messageformat/core', see messageformat.github.io for more details. 'messageformat@4' will eventually provide a polyfill for Intl.MessageFormat, once it's been defined by Unicode & ECMA.
 WARN  deprecated [email protected]: Node Sass is no longer supported. Please use `sass` or `sass-embedded` instead.
Pr WARN  deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
Pr WARN  25 deprecated subdependencies found: @npmcli/[email protected], @npmcli/[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Already up to date
Progress: resolved 909, reused 907, downloaded 0, added 0, done
 | WARN  Issues with peer dependencies found
.
└─┬ marionette.templatecache 1.0.0
  ├── ✕ unmet peer backbone@~1.3.3: found 1.6.0
  ├── ✕ unmet peer underscore@~1.8.3: found 1.13.7
  └─┬ backbone.marionette 4.0.0-beta.1
    ├── ✕ unmet peer backbone@~1.3.3: found 1.6.0
    └── ✕ unmet peer underscore@">= 1.8.3 <= 1.9.x": found 1.13.7

Done in 3.3s
 \
> [email protected] build /nginx-proxy-manager-2.12.1/frontend
> webpack --mode production

 |(node:7495) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
(Use `node --trace-deprecation ...` to show where the warning was created)
 \Hash: 1f6cb777e2244c6bc2be
Version: webpack 4.47.0
Time: 322ms
Built at: 12/10/2024 2:33:06 AM
 2 assets
Entrypoint main = js/main.bundle.js?v=2.12.1
Entrypoint login = js/login.bundle.js?v=2.12.1
[0] ./js/index.js 5.47 KiB {1} [built] [failed] [1 error]
[1] ./js/login.js 5.47 KiB {0} [built] [failed] [1 error]

ERROR in ./js/index.js
Module build failed (from ./node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/babel-loader/lib/index.js):
Error: [BABEL] /nginx-proxy-manager-2.12.1/frontend/js/index.js: Cannot find module '/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js'
    at createEsmNotFoundErr (node:internal/modules/cjs/loader:1055:15)
    at finalizeEsmResolution (node:internal/modules/cjs/loader:1048:15)
    at resolveExports (node:internal/modules/cjs/loader:556:14)
    at Function.Module._findPath (node:internal/modules/cjs/loader:596:31)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1014:27)
    at Function.Module._load (node:internal/modules/cjs/loader:873:27)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/generator/lib/source-map.js:7:19)
    at Module._compile (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/generator/lib/index.js:7:18)
    at Module._compile (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/path/index.js:14:18)
    at Module._compile (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/context.js:7:14)
    at Module._compile (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/traverse-node.js:7:16)
    at Module._compile (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/path/context.js:27:21)
    at Module._compile (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)

ERROR in ./js/login.js
Module build failed (from ./node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/babel-loader/lib/index.js):
Error: [BABEL] /nginx-proxy-manager-2.12.1/frontend/js/login.js: Cannot find module '/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js'
    at createEsmNotFoundErr (node:internal/modules/cjs/loader:1055:15)
    at finalizeEsmResolution (node:internal/modules/cjs/loader:1048:15)
    at resolveExports (node:internal/modules/cjs/loader:556:14)
    at Function.Module._findPath (node:internal/modules/cjs/loader:596:31)
    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1014:27)
    at Function.Module._load (node:internal/modules/cjs/loader:873:27)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/generator/lib/source-map.js:7:19)
    at Module._compile (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/generator/lib/index.js:7:18)
    at Module._compile (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/path/index.js:14:18)
    at Module._compile (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/context.js:7:14)
    at Module._compile (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/traverse-node.js:7:16)
    at Module._compile (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
    at Object.<anonymous> (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/@[email protected]/node_modules/@babel/traverse/lib/path/context.js:27:21)
    at Module._compile (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (/nginx-proxy-manager-2.12.1/frontend/node_modules/.pnpm/[email protected]/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
Child HtmlWebpackCompiler:
     2 assets
    Entrypoint HtmlWebpackPlugin_0 = __child-HtmlWebpackPlugin_0
    Entrypoint HtmlWebpackPlugin_1 = __child-HtmlWebpackPlugin_1
    [0] ./node_modules/.pnpm/[email protected]/node_modules/ejs-webpack-loader!./html/index.ejs 6.52 KiB {0} [built]
    [1] ./node_modules/.pnpm/[email protected]/node_modules/ejs-webpack-loader!./html/login.ejs 6.69 KiB {1} [built]
 ELIFECYCLE  Command failed with exit code 2.

[ERROR] in line 146: exit code 0: while executing command $STD pnpm run build 

Please provide detailed steps to reproduce the issue.

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

@MickLesk MickLesk added the bug Something isn't working label Dec 10, 2024
@MickLesk

This comment was marked as duplicate.

@Goeste
Copy link

Goeste commented Dec 15, 2024

for me it still fails... doesn't matter what update url (community or old one) I use.. it fails at:
image...

@Goeste
Copy link

Goeste commented Dec 15, 2024

for me it still fails... doesn't matter what update url (community or old one) I use.. it fails at: image...

This specific error happens when ipv6 is disabled on the host... NPM updates always activate ipv6 again in their own config. Thus the default.conf and production.conf need to be adjusted manually (like commenting out the ipv6 lines).

Location of config files is here (inside lxc):

/usr/local/openresty/nginx/conf.d/production.conf
/usr/local/openresty/nginx/conf.d/default.conf

also make sure that config files of hosts also have ipv6 disabled, files are located here:
/data/nginx/proxy_host

To disable ipv6 for all conf files you can use sth like the below command inside the conf dir (at your own risk):
sed -i 's|listen \[|#listen[|g' *.conf

A simple systemctl restart openresty.service brings everything back to live :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants