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

Error while installing Memos LXC #1329

Closed
2 tasks done
Musrha opened this issue Jan 8, 2025 · 3 comments
Closed
2 tasks done

Error while installing Memos LXC #1329

Musrha opened this issue Jan 8, 2025 · 3 comments
Labels
external This problem is external not a script issue This is not a script issue

Comments

@Musrha
Copy link

Musrha commented Jan 8, 2025

✅ Have you read and understood the above guidelines?

yes

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

Memos LXC

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

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

📝 Provide a clear and concise description of the issue.

When I try to install Memos LXC the installation goes well just until the frozen-lockfile part. It keeps retrying until it fails.

Tried already with default settings, advanced settings (using full default and also using apt-cacher IP), always with Debian 12. The .tgz of the error (XXXX) works normally when pasted to the web browser.

One of the times I've tried the installation 'completed', but Memos just didn't work.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

  1. Copy Memos LXC link in Proxmox VE shell.
  2. Configure settings (using Default fails too)
  3. Wait until Lockfile part of the script

❌ Paste the full error output (if available).

  ✔️  Installed pnpm
  ✔️  Installed Golang
 ⠋Cloning into '/opt/memos'... 
 ⠏remote: Enumerating objects: 37325, done.
remote: Counting objects: 100% (5510/5510), done.
remote: Compressing objects: 100% (421/421), done.
 ⠸remote: Total 37325 (delta 5279), reused 5111 (delta 5087), pack-reused 31815 (from 1)
Receiving objects: 100% (37325/37325), 32.05 MiB | 13.85 MiB/s, done.
Resolving deltas: 100% (27453/27453), done.
 ⠧Lockfile is up to date, resolution step is skipped
 ⠇Packages: +727
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Pr WARN  GET https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@usememos/mui/-/mui-0.0.1-alpha.26.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
Pr WARN  GET https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
Pr WARN  GET https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
Pr WARN  GET https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/commander/-/commander-4.1.1.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/glob/-/glob-10.4.5.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
Pr WARN  GET https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz error (ERR_PNPM_FETCH_429). Will retry in 10 seconds. 2 retries left.
Pr WARN  GET https://registry.npmjs.org/redux-thunk/-/redux-thunk-3.1.0.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
Pr WARN  GET https://registry.npmjs.org/@usememos/mui/-/mui-0.0.1-alpha.26.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
Pr WARN  GET https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
Pr WARN  GET https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
Pr WARN  GET https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-4.0.2.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/glob/-/glob-10.4.5.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/commander/-/commander-4.1.1.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
Pr WARN  GET https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz error (ERR_PNPM_FETCH_429). Will retry in 1 minute. 1 retries left.
Pr ERR_PNPM_FETCH_429  GET https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz: Too Many Requests - 429
Progress: resolved 727, reused 0, downloaded 184, added 184
 ⠦
[ERROR] in line 56: exit code 0: while executing command $STD pnpm i --frozen-lockfile

🖼️ Additional context (optional).

No response

@cricalix
Copy link

cricalix commented Jan 8, 2025

pnpm is trying to fetch 700 packages from npmjs.org. There's probably a content delivery network in the way (used to be CloudFlare, might not be now) that's triggering rate limiting (429 is too many requests) against the pnpm install command that's in the shellscript.

If you're comfortable with the command line environment, you could connect to the terminal of that LXC, and paste the contents of https://github.com/community-scripts/ProxmoxVE/blob/main/install/memos-install.sh piece by piece into the shell of the container - you'd need to re-run the pnpm i --frozen-lockfile bit a few times, but it'd eventually succeed (well, it did for me).

@cricalix
Copy link

cricalix commented Jan 8, 2025

pnpm/pnpm#8953 is fresh, and may be related. Same error code at least.

@michelroegl-brunner
Copy link
Member

Installs fine on my end, please try again.

@MickLesk MickLesk added not a script issue This is not a script issue external This problem is external labels Jan 9, 2025
@community-scripts community-scripts locked as resolved and limited conversation to collaborators Jan 10, 2025
@michelroegl-brunner michelroegl-brunner closed this as not planned Won't fix, can't repro, duplicate, stale Jan 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
external This problem is external not a script issue This is not a script issue
Projects
None yet
Development

No branches or pull requests

4 participants