FruxePi
FruxePi copied to clipboard
Error! Unable to configure Docker image
Trying to install program. Get Error! Unable to configure Docker images. I'm new to this and its stumped me.
Me too, i'm blocked at this point!
Did you find a way around it yet? I have tried everything I could find on google.
Not yet, tried everything and the older issues too. I'm trying now a clean installation again.
An earlier commit worked... try this one:
https://github.com/fruxefarms/FruxePi/tree/07fe41c897399c2cdc948feefd2d018d049c9a0f
This is what i get on a log install.
FruxePi v0.3-BETA Install version: frx-pi-v0.3-BETA web: docs.fruxe.co
Getting Latest Updates... Installing required packages.. Building Docker containers... This will take several minutes. Deploying Raspberry Pi 3 (ARMv7) compatible containers... Building php-apache Step 1/12 : FROM balenalib/raspberrypi3-python:3.6-jessie-build ---> d6b4bd1761a0 Step 2/12 : LABEL maintainer="[email protected]" ---> Using cache ---> f165aeda50fb Step 3/12 : RUN apt-get update && apt-get install -y apache2 libapache2-mod-php5 mysql-server php5-mysql pwgen php-apc php5-mcrypt cron nano git unzip && apt-get install -y python python-dev python-pip && pip install --upgrade pip setuptools wheel && pip install Adafruit_DHT pymysql RPi.GPIO ---> Running in ced980a8c7d6 Get:1 http://archive.raspberrypi.org jessie InRelease [22.9 kB] Get:2 http://archive.raspbian.org jessie InRelease [15.0 kB] Ign http://deb.debian.org jessie InRelease Get:3 http://security.debian.org jessie/updates InRelease [44.9 kB] Get:4 http://deb.debian.org jessie Release.gpg [1652 B] Get:5 http://deb.debian.org jessie Release [77.3 kB] Get:6 http://archive.raspberrypi.org jessie/main armhf Packages [170 kB] Get:7 http://archive.raspberrypi.org jessie/ui armhf Packages [58.9 kB] Get:8 http://security.debian.org jessie/updates/main armhf Packages [925 kB] Get:9 http://archive.raspbian.org jessie/main armhf Packages [13.3 MB] Get:10 http://deb.debian.org jessie/main armhf Packages [8898 kB] Err http://deb.debian.org jessie/main armhf Packages
Err http://deb.debian.org jessie/main armhf Packages
Err http://deb.debian.org jessie/main armhf Packages Bad header line ^CERROR: Aborting. Configuring Docker containers... Error! Unable to configure Docker images.
Anybody have any luck?? I am having the same issue and have tried earlier versions to no avail. Am I doing something wrong?? It seems like that is the default message for the wrong architecture...
An earlier commit worked... try this one:
https://github.com/fruxefarms/FruxePi/tree/07fe41c897399c2cdc948feefd2d018d049c9a0f
I tried this commit and it did not work for me...
i got around this using python3, although my websever doesn't work on reboot i gotta load the containers each time.
sudo apt-get -y install python3-pip sudo pip3 install docker-compose
i got around this using python3, although my websever doesn't work on reboot i gotta load the containers each time.
sudo apt-get -y install python3-pip sudo pip3 install docker-compose
Don't understand why but executing this before the install script worked for me.
i got around this using python3, although my websever doesn't work on reboot i gotta load the containers each time. sudo apt-get -y install python3-pip sudo pip3 install docker-compose
Don't understand why but executing this before the install script worked for me.
Does your webserver load on reboot? Pi zero or 3?
I am using a Pi3 B+, webserver starts after reboot takes almost one minute though. Just downloaded the latest Raspbian yesterday
Hey guys, take a look at this https://github.com/jonnyparko/rasp-pi-server and contribute if possibly. Just started. Thinking of going to react or angular for it to be a mern/mean stack.
Hi everyone! I've been trying to install FruxePi for a couple of days: First of all, I had the "Error! Unable to configure Docker image" issue. I think it was because the script wasn't able to install docker-compose (I've made a research here in github and found the #44 issue).
Unfortunately, I had no patience on researching & waiting, and chose to go the "hard way": doing the install proceedure manually. I couldn't get it done and I really don't understand why: I followed the whole proceedure "as built", and in the end, when I access <my IP>:80, I got an "Apache" with my 'Fruxepi root folder'.
Then, I decided to manually install docker, then using pip install docker-composer. I gave writing permission to docker, ran the "install.sh" and received the following error:
pi@raspberrypi:~/FruxePi $ sudo bash install.sh -log
FruxePi v0.3-BETA Install version: frx-pi-v0.3-BETA web: docs.fruxe.co
Getting Latest Updates... Installing required packages.. Building Docker containers... This will take several minutes. Deploying Raspberry Pi 3 (ARMv7) compatible containers... frxpi-MYSQL is up-to-date Starting 9a47004892d9_frxpi-APACHE ... frxpi-PHPMYADMIN is up-to-date Starting 9a47004892d9_frxpi-APACHE ... error
ERROR: for 9a47004892d9_frxpi-APACHE Cannot start service php-apache: driver failed programming external connectivity on endpoint 9a47004892d9_frxpi-APACHE (e7e4e9dbd650c454067750c872c18818407448fbe385b04567f6722e4daaf54c): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use
ERROR: for php-apache Cannot start service php-apache: driver failed programming external connectivity on endpoint 9a47004892d9_frxpi-APACHE (e7e4e9dbd650c454067750c872c18818407448fbe385b04567f6722e4daaf54c): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use ERROR: Encountered errors while bringing up the project. Configuring Docker containers... Error! Unable to configure Docker images.
I've never used Apache before and my linux is knowlodge is basic, so I'm stuck here... Does anyone had this issue? Or can give me a hint?
Thanx.
(I intend to use fruxepi to (besides auto-farming) reattach with linux and learn more about embedded systems, sorry if I made any confusion).
Does anyone know if this will work on pi4 b?
Hi everyone! I've been trying to install FruxePi for a couple of days: First of all, I had the "Error! Unable to configure Docker image" issue. I think it was because the script wasn't able to install docker-compose (I've made a research here in github and found the #44 issue).
Unfortunately, I had no patience on researching & waiting, and chose to go the "hard way": doing the install proceedure manually. I couldn't get it done and I really don't understand why: I followed the whole proceedure "as built", and in the end, when I access :80, I got an "Apache" with my 'Fruxepi root folder'.
Then, I decided to manually install docker, then using pip install docker-composer. I gave writing permission to docker, ran the "install.sh" and received the following error:
pi@raspberrypi:~/FruxePi $ sudo bash install.sh -log FruxePi v0.3-BETA Install version: frx-pi-v0.3-BETA web: docs.fruxe.co Getting Latest Updates... Installing required packages.. Building Docker containers... This will take several minutes. Deploying Raspberry Pi 3 (ARMv7) compatible containers... frxpi-MYSQL is up-to-date Starting 9a47004892d9_frxpi-APACHE ... frxpi-PHPMYADMIN is up-to-date Starting 9a47004892d9_frxpi-APACHE ... error ERROR: for 9a47004892d9_frxpi-APACHE Cannot start service php-apache: driver failed programming external connectivity on endpoint 9a47004892d9_frxpi-APACHE (e7e4e9dbd650c454067750c872c18818407448fbe385b04567f6722e4daaf54c): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use ERROR: for php-apache Cannot start service php-apache: driver failed programming external connectivity on endpoint 9a47004892d9_frxpi-APACHE (e7e4e9dbd650c454067750c872c18818407448fbe385b04567f6722e4daaf54c): Error starting userland proxy: listen tcp 0.0.0.0:80: bind: address already in use ERROR: Encountered errors while bringing up the project. Configuring Docker containers... Error! Unable to configure Docker images.
I've never used Apache before and my linux is knowlodge is basic, so I'm stuck here... Does anyone had this issue? Or can give me a hint?
Thanx.
(I intend to use fruxepi to (besides auto-farming) reattach with linux and learn more about embedded systems, sorry if I made any confusion).
It's saying, something is already running a web server on that host, and it can't run because of it. Most likely when you installed apache it started it automatically for you. Just verify what is process is currently connected to port 80 and disable it.
Run the install command with the -log flag, it will tell you what errors you're hitting, for me it required (Latest version of Raspbian on a Pi 4B)
sudo apt install python-backports.ssl-match-hostname sudo python -m pip install backports.shutil_get_terminal_size
And replacing this line, from backports.shutil_get_terminal_size import get_terminal_size as _get_terminal_size to with this line, from shutil_backports import get_terminal_size as _get_terminal_size in this file: /usr/local/lib/python2.7/dist-packages/compose/cli/formatter.py
@MattHoy Thank you so much for this!!!