Comments (13)
I may have figured out the issue..
I went to a different machine and tried installing it on that machine.. It installed fine, and as it was installing I did a tcpdump and it was actually using the docker0 interface to do the updates.. My initial machine that I was trying to build it on has some pretty intense firewall rules and actually blocks the docker interfaces (I made multiple interfaces) by default..
I may have just learned something as to how docker uses the network, even when installing/pulling down images and such???
I do not have a 3rd machine with docker on it to try, and I don't want to mess around with the firewall on the initial machine too much as it is intentionally locked down for many good reasons!.. But it did work on a vanilla install of docker with it's default docker network configuration intact..
from genai-stack.
Same error as above..
Running Ubuntu 22.04 LTS Server (no GUI)
running command: docker compose --profile linux up
=> => transferring context: 7.45kB 0.0s
=> CACHED [pdf_bot 2/9] WORKDIR /app 0.0s
=> [pdf_bot 3/9] RUN apt-get update && apt-get install -y build-essential curl software-properties-common && rm -rf /var/lib/apt/lists/* 134.7s
=> => # Ign:1 http://deb.debian.org/debian bookworm InRelease
=> => # Ign:2 http://deb.debian.org/debian bookworm-updates InRelease
.
.
.
.
same as above..
from genai-stack.
Same error as above..
Running Ubuntu 22.04 LTS Server (no GUI)
running command: docker compose --profile linux up
=> => transferring context: 7.45kB 0.0s => CACHED [pdf_bot 2/9] WORKDIR /app 0.0s => [pdf_bot 3/9] RUN apt-get update && apt-get install -y build-essential curl software-properties-common && rm -rf /var/lib/apt/lists/* 134.7s => => # Ign:1 http://deb.debian.org/debian bookworm InRelease => => # Ign:2 http://deb.debian.org/debian bookworm-updates InRelease . . . .
same as above..
same with me
from genai-stack.
and i have install build-essential in my ubuntu 22.04 pc
from genai-stack.
As have I:
genie@64g:/genai-stack$ gcc --version22.04) 11.4.0
gcc (Ubuntu 11.4.0-1ubuntu1
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
genie@64g:/genai-stack$ g++ --version22.04) 11.4.0
g++ (Ubuntu 11.4.0-1ubuntu1
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
genie@64g:~/genai-stack$
from genai-stack.
Super, anything to add to the readme or can we close the issue?
from genai-stack.
Hey @anorman1967 @GanQiao1990 @jexp I tried on a fresh install of docker and on different networks but still this error persists , any suggestions please ?
from genai-stack.
Hey guys I identified the problem ,it was having default http/https proxy for these ips in docker config.json and when I removed it worked.
from genai-stack.
Cool, so we're all good?
from genai-stack.
Cool, so we're all good?
yeah I just posted it incase anyone stumbles upon same error.
from genai-stack.
I have the same error, but it is not a network proxy issue.
332.0 Ign:3 http://deb.debian.org/debian-security bookworm-security InRelease
368.9 Err:1 http://deb.debian.org/debian bookworm InRelease
368.9 Temporary failure resolving 'deb.debian.org'
405.7 Err:2 http://deb.debian.org/debian bookworm-updates InRelease
405.7 Temporary failure resolving 'deb.debian.org'
442.6 Err:3 http://deb.debian.org/debian-security bookworm-security InRelease
442.6 Temporary failure resolving 'deb.debian.org'
442.6 Reading package lists...
442.6 W: Failed to fetch http://deb.debian.org/debian/dists/bookworm/InRelease Temporary failure resolving 'deb.debian.org'
442.6 W: Failed to fetch http://deb.debian.org/debian/dists/bookworm-updates/InRelease Temporary failure resolving 'deb.debian.org'
442.6 W: Failed to fetch http://deb.debian.org/debian-security/dists/bookworm-security/InRelease Temporary failure resolving 'deb.debian.org'
442.6 W: Some index files failed to download. They have been ignored, or old ones used instead.
442.6 Reading package lists...
442.6 Building dependency tree...
442.6 Reading state information...
442.6 Package build-essential is not available, but is referred to by another package.
442.6 This may mean that the package is missing, has been obsoleted, or
442.6 is only available from another source
442.6
442.6 E: Package 'build-essential' has no installation candidate
442.6 E: Unable to locate package software-properties-common
failed to solve: process "/bin/sh -c apt-get update && apt-get install -y build-essential curl software-properties-common && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100
[root@sn4xxxxxxxxx genai-stack]#
I am running Rocky Linux 8. It uses yum instead of apt-get. Is this the issue?
Any thoughts?
from genai-stack.
I had the same problem, after some research I decided to check my /etc/resolv.conf
file and saw that I only had an ipv6 as resolver nameserver XXXX::XXXX
.
I then decided to add an ipv4 as resolver just in case nameserver 1.1.1.1
and tried to build and it worked.
from genai-stack.
I think we can close this one now. Although there might be a few things we can do to make this easier to debug.
from genai-stack.
Related Issues (20)
- Steamlit Text Box Covered by "Select RAG mode" HOT 4
- I'm unable to use the pdf_bot using AWS claudev2
- llama3: HOT 3
- Error: pull model manifest: ssh: no key found - Cannot pull model from within containerized Ollama instance HOT 1
- Error: Head "http://host.docker.internal:11434/": dial tcp 192.168.178.36:11434: i/o timeout -> pull-model-1 exited with code 1 HOT 1
- Version Update needed: ValueError: alternative_import must be a fully qualified module path
- pull-model Warning
- service "pull-model" didn't complete successfully: exit 1
- ERROR [genai-stack-api internal] load metadata for docker.io/langchain/langchain:latest
- Docker stuck at creating container HOT 1
- ERROR invalid setting OLLAMA_MODELS="" error="$HOME is not defined"
- Build failure on genai-stack-api-1 container HOT 2
- pull-model-1 | ERROR invalid setting OLLAMA_MODELS="" error="$HOME is not defined" HOT 1
- Some issue about qa RAG chain design HOT 1
- LangChainDeprecationWarning: The class `HuggingFaceEmbeddings` was deprecated in LangChain 0.2.2
- load_embedding_model関数をOpenAIの埋め込みモデルを使用するように変更する
- error running docker compose on linux HOT 12
- pulling ollama model llama2 using http://host.docker.internal:11434 pull-model-1 panic: $HOME is not defined HOT 6
- How should I name the env file? HOT 1
- container genai-stack-api-1 is unhealthy. but no error log.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from genai-stack.