Comments (17)
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
from fruxepi.
Me too, i'm blocked at this point!
from fruxepi.
Did you find a way around it yet? I have tried everything I could find on google.
from fruxepi.
Not yet, tried everything and the older issues too. I'm trying now a clean installation again.
from fruxepi.
An earlier commit worked... try this one:
https://github.com/fruxefarms/FruxePi/tree/07fe41c897399c2cdc948feefd2d018d049c9a0f
from fruxepi.
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.
from fruxepi.
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...
from fruxepi.
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...
from fruxepi.
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.
from fruxepi.
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-composeDon't understand why but executing this before the install script worked for me.
Does your webserver load on reboot? Pi zero or 3?
from fruxepi.
I am using a Pi3 B+, webserver starts after reboot takes almost one minute though.
Just downloaded the latest Raspbian yesterday
from fruxepi.
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.
from fruxepi.
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.coGetting 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 ... errorERROR: 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).
from fruxepi.
Does anyone know if this will work on pi4 b?
from fruxepi.
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.
from fruxepi.
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
from fruxepi.
@MattHoy Thank you so much for this!!!
from fruxepi.
Related Issues (20)
- Beta Test Next Version? HOT 2
- "ImportError: No module named ssl_match_hostname" on Install Script (Docker Container Build)
- PHP Error? HOT 1
- Lighting schedule doesnโt work properly HOT 3
- DHT11 Sensor Workaround HOT 2
- No webserver after reboot raspberry pi zero W
- Camera preview displaying (is this normal or related to FruxePi?)
- Docker Failure - Apache Problem? HOT 1
- Scheduling not working HOT 1
- Error! Unable to configure Docker images HOT 6
- Which relay to use? HOT 2
- install.sh errors on raspberry pi 4b buster
- Crop day calculation based on future start date results in positive day count. HOT 1
- Changing the email of the default admin user does not work
- Cannot upload custom photo to crop. Fails with console error in chrome HOT 1
- Removing old data : how HOT 2
- login and password for phpmyadmin
- Fan
- this is to add more info to this, installation process on raspberry pi 3B
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 fruxepi.