fruxefarms / FruxePi

Indoor farming software using the Raspberry Pi
https://docs.fruxe.co
Other
142 stars 41 forks source link

Docker Failure - Apache Problem? #81

Closed tassuapu closed 4 years ago

tassuapu commented 4 years ago

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?

Thanks

tassuapu commented 4 years ago

I uninstalled apache and tried again: There was a problem with the "frxpi-APACHE" folder.

I decided to remove (rm -R -t) the git cloned folder "FruxePi" and download "the FruxePi-master" zipped directory, worked like a charm. I don't know why, but cloning the git repository wasn't working for me.