Git Product home page Git Product logo

Comments (17)

GJjoe avatar GJjoe commented on July 28, 2024 1

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.

Mentias avatar Mentias commented on July 28, 2024

Me too, i'm blocked at this point!

from fruxepi.

hornett20 avatar hornett20 commented on July 28, 2024

Did you find a way around it yet? I have tried everything I could find on google.

from fruxepi.

Mentias avatar Mentias commented on July 28, 2024

Not yet, tried everything and the older issues too. I'm trying now a clean installation again.

from fruxepi.

dcaud avatar dcaud commented on July 28, 2024

An earlier commit worked... try this one:

https://github.com/fruxefarms/FruxePi/tree/07fe41c897399c2cdc948feefd2d018d049c9a0f

from fruxepi.

hornett20 avatar hornett20 commented on July 28, 2024

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.

jonnyparko avatar jonnyparko commented on July 28, 2024

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.

jonnyparko avatar jonnyparko commented on July 28, 2024

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.

timyig avatar timyig commented on July 28, 2024

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.

GJjoe avatar GJjoe commented on July 28, 2024

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?

from fruxepi.

timyig avatar timyig commented on July 28, 2024

I am using a Pi3 B+, webserver starts after reboot takes almost one minute though.
Just downloaded the latest Raspbian yesterday

from fruxepi.

jonnyparko avatar jonnyparko commented on July 28, 2024

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.

tassuapu avatar tassuapu commented on July 28, 2024

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).

from fruxepi.

jawnpeezy avatar jawnpeezy commented on July 28, 2024

Does anyone know if this will work on pi4 b?

from fruxepi.

MattHoy avatar MattHoy commented on July 28, 2024

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.

MattHoy avatar MattHoy commented on July 28, 2024

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.

epetti avatar epetti commented on July 28, 2024

@MattHoy Thank you so much for this!!!

from fruxepi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.