|
Post by hititall on Jan 10, 2018 5:39:50 GMT
I installed FruityWIFI on my raspberry pi 3 running Raspbian with a TFT display. I setup FruityWIFI without errors and was able to start nginx along with php7 without issue, but whenever I try to go to the FruityWIFI page it gives me a 502 gateway error. I do not have any proxies setup and have tried accessing the page locally and from another LAN device.
NOTE: The first time I used the web interface without a problem (no error) but then I unplugged the Raspi and moved it After this, no luck
|
|
|
Post by 100110 on Jun 11, 2018 19:57:52 GMT
Make sure the certificates are working. I had a similar problem.
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt
sudo service nginx restart
Not sure if you have given up since this was posted five months ago. But it might help someone else. It's not guaranteed to solve the problem but it's worth a shot to try my solution.
|
|
|
Post by 1r0nb1t on Aug 6, 2019 23:15:01 GMT
I was the same 502 error, I using raspian stretch, and when I install FruityWifi last version it comes with PHP7.0-fpm and have the problem, for solve I install PHP7.3-fpm and remove PHP7 I use this instructions for install PHP7.3
$ sudo apt update $ sudo apt upgradesudo apt install ca-certificates apt-transport-https
$ sudo apt install ca-certificates apt-transport-https $ wget -q https://packages.sury.org/php/apt.gpg -O- | sudo apt-key add - $ echo "deb https://packages.sury.org/php/ stretch main" | sudo tee /etc/apt/sources.list.d/php.list Install PHP 7.3
$ sudo apt update $ sudo apt install php7.3 $ sudo apt install php7.3-cli php7.3-common php7.3-curl php7.3-mbstring php7.3-mysql php7.3-xml
then I remove PHP7.0
$ sudo apt-get remove php7.0
and reinstall Fruitywifi (enter to Fruitywifi install directory)
$ sudo ./install-FruityWiFi.py
that works for me
|
|
|
Post by xtr4nge on Aug 7, 2019 7:34:20 GMT
Hi All, FruityWiFi was updated for Debian 10 Buster few days ago. All modules will be updated soon, so at the moment you will find modules that dependencies are not being installed correctly. Please post the modules dependencies issues on the GitHub repo, and I will check them as soon as I can.
I believe that from now, I will make updates for supporting only systems based on the latest Debian. I didn't have time yet for checking the new installer on the latest raspbian.
As 1r0nb1t mentioned, the current PHP version on the installer is PHP7.3.
Regards,
|
|