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

Misskey 13.14.1 Docker compose failed #11368

Closed
HighDoping opened this issue Jul 24, 2023 · 1 comment
Closed

Misskey 13.14.1 Docker compose failed #11368

HighDoping opened this issue Jul 24, 2023 · 1 comment
Labels
⚠️bug? This might be a bug

Comments

@HighDoping
Copy link
Contributor

💡 Summary

Docker compose failed while updating from 13.13.2 to 13.14.1

🥰 Expected Behavior

Should be able to update.

🤬 Actual Behavior

Docker compose failed with error node-gyp-build: Text file busy.

This seems to be an issue with Node 20.3 nodejs/docker-node#1912 and related to #11239

Downgrading Node 18.16.0 used in 13.13.2 solves the problem.

Log:

52.00 Progress: resolved 1708, reused 1707, downloaded 0, added 1708, done
54.29  WARN  Local dependency not found at /misskey/packages/misskey-js
54.48 .../node_modules/bufferutil install$ node-gyp-build
54.48 .../node_modules/bufferutil install: sh: 1: node-gyp-build: Text file busy
54.48 .../node_modules/bufferutil install: Failed
54.48  ELIFECYCLE  Command failed with exit code 126.
54.48 .../core-js@3.29.1/node_modules/core-js postinstall$ node -e "try{require('./postinstall')}catch(e){}"
54.48 .../core-js@3.29.1/node_modules/core-js postinstall: Thank you for using core-js ( <https://github.com/zloirock/core-js> ) for polyfilling JavaScript standard library!
54.49 .../core-js@3.29.1/node_modules/core-js postinstall: The project needs your help! Please consider supporting of core-js:
54.49 .../core-js@3.29.1/node_modules/core-js postinstall: > <https://opencollective.com/core-js>
54.49 .../core-js@3.29.1/node_modules/core-js postinstall: > <https://patreon.com/zloirock>
54.49 .../core-js@3.29.1/node_modules/core-js postinstall: > <https://boosty.to/zloirock>
54.49 .../core-js@3.29.1/node_modules/core-js postinstall: > bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz
54.49 .../core-js@3.29.1/node_modules/core-js postinstall: I highly recommend reading this: <https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md>
54.49 .../core-js@3.29.1/node_modules/core-js postinstall: Done
54.82 .../node_modules/utf-8-validate install$ node-gyp-build
54.82 .../node_modules/utf-8-validate install: sh: 1: node-gyp-build: Text file busy
54.82 .../node_modules/utf-8-validate install: Failed
------

failed to solve: process "/bin/sh -c pnpm i --frozen-lockfile --aggregate-output" did not complete successfully: exit code: 1

📝 Steps to Reproduce

  1. Update Misskey from 13.13.2 to 13.14.1.

📌 Environment

Misskey 13.13.2 docker compose

💻 Frontend

  • Model and OS of the device(s):
  • Browser:
  • Server URL:
  • Misskey:
    13.13.2

🛰 Backend (for server admin)

  • Installation Method or Hosting Service: docker compose
  • Misskey: 13.13.2
  • Docker: 24.0.2
  • Nginx 1.18.0
  • OS and Architecture: Ubuntu 22.04.2 LTS amd64
@HighDoping HighDoping added the ⚠️bug? This might be a bug label Jul 24, 2023
@taniiicom
Copy link

Hello
I did a fresh install instead of an update, but had the same problem.
Solved by changing NODE_VERSION in Dockerfile.
How about a PR to change the description of Dockerfile?

NODE_VERSION=20.3.1-bullseye

NODE_VERSION=20.5.0-bullseye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚠️bug? This might be a bug
Projects
None yet
Development

No branches or pull requests

2 participants