ERROR: failed to solve: archive/tar: unknown file mode ?rwxr-xr-x #6747
-
📦 PlatformSelf hosting Docker 📦 Deploymenet modeserver db(lobe-chat-database image) 📌 Version1.68.5 💻 Operating SystemWindows 🌐 BrowserChrome 🐛 Bug Descriptionpnpm run self-hosting:docker-cn@database
[+] Building 24.3s (7/26) docker:desktop-linux
|
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
👀 @Yu-SKun Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
Hello, @Yu-SKun! I'm here to help you with any bugs, questions, or contributions. Let's work together to solve the issue. The error message "archive/tar: unknown file mode ?rwxr-xr-x" typically indicates an issue with file permissions or modes that are not recognized by the tar utility during the Docker build process. Here are some steps you can take to troubleshoot and resolve this issue:
If these steps do not resolve the issue, you may need to provide more specific details about the files being added to the Docker image or any recent changes to the Dockerfile that might have introduced this problem. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
The resulting error : Dockerfile.database 81: COPY packages ./packages |
Beta Was this translation helpful? Give feedback.
-
Sync to latest |
Beta Was this translation helpful? Give feedback.
-
✅ @Yu-SKun This issue is closed, If you have any questions, you can comment and reply. |
Beta Was this translation helpful? Give feedback.
-
The version in question is the latest 1.68.5 |
Beta Was this translation helpful? Give feedback.
-
I am pulling the source code from a GitHub repository locally on Windows 10, and then building a local Docker image using the WSL2 and Docker for Desktop environment with the following command: docker build -t lobe-chat-database-local -f Dockerfile.database --build-arg USE_CN_MIRROR=true . |
Beta Was this translation helpful? Give feedback.
-
I encountered the same issue. I fixed it by updating my .dockerignore file. Instead of excluding node_modules, I changed the entry to:**/node_modules/
|
Beta Was this translation helpful? Give feedback.
-
ok,l love you ,thank you very much |
Beta Was this translation helpful? Give feedback.
-
ok,l love you ,thank you very much |
Beta Was this translation helpful? Give feedback.
I encountered the same issue. I fixed it by updating my .dockerignore file. Instead of excluding node_modules, I changed the entry to:**/node_modules/