adsb-receiver icon indicating copy to clipboard operation
adsb-receiver copied to clipboard

Can't reinstall the web interface.

Open rob0101 opened this issue 5 years ago • 6 comments

All was working well until I installed pihole. This seems to be a known issue.

So I uninstalled pihole and moved it to another pi.

I can not get the web interface back. I've uninstalled lighttpd too, but nothing fixes the issue.

Any suggestions ?

thx.

Checking if the package php7.0-xml is installed... [OK] Reloading Lighttpd... Job for lighttpd.service failed because the control process exited with error code. See "systemctl status lighttpd.service" and "journalctl -xe" for details.

Setting up the web portal...

Placing portal files in Lighttpd's root directory... Making the directory /graphs/ writable... chmod: cannot access '/graphs/': No such file or directory Making the directory /classes/ writable... chmod: cannot access '/classes/': No such file or directory Making the directory /data/ writable... chmod: cannot access '/data/': No such file or directory Making the files contained within the directory /data/ writable... chmod: cannot access '/data/*': No such file or directory Checking if dump978 was set up... Checking for the file upintheair.json in the dump1090 HTML folder... Copying the file upintheair.json from the dump1090 HTML folder to the dump978 HTML folder... cp: cannot create regular file '/dump978/': Not a directory Removing conflicting redirects from the Lighttpd dump1090.conf file... sed: can't read /etc/lighttpd/conf-available/89-dump1090.conf: No such file or directory sed: can't read /etc/lighttpd/conf-available/89-dump1090.conf: No such file or directory Adding the Lighttpd portal configuration file... Enabling the Lighttpd fastcgi-php module...

Ignoring unknown module: fastcgi-php Run "service lighttpd force-reload" to enable changes

Starting Lighttpd... Job for lighttpd.service failed because the control process exited with error code. See "systemctl status lighttpd.service" and "journalctl -xe" for details.

Setting up collectd performance graphs...

Checking which dump1090 fork is installed...

rob0101 avatar Aug 18 '19 02:08 rob0101

Well somehow lighttpd is running again. Did a purge remove of it.

Now /dump1090.php shows the menu header and then "404 - Not Found" No clues in lighttpd's log

rob0101 avatar Aug 18 '19 04:08 rob0101

Ugh. Finally got it.

I had to empty /var/www/html and then reinstall both 1090 and the portal.

rob0101 avatar Aug 18 '19 23:08 rob0101

how did you empty /var/www/html ?

Bering-Sea avatar Aug 28 '19 10:08 Bering-Sea

sudo rm -rf /var/www/html/*

Just be careful rm -rf ‘ing anything, it cant be undone.

rob0101 avatar Aug 28 '19 11:08 rob0101

@rob0101 Thanks, that fixed my problem.

Bering-Sea avatar Aug 28 '19 18:08 Bering-Sea

Ugh. Finally got it.

I had to empty /var/www/html and then reinstall both 1090 and the portal.

Thanks this also fixed things for me...

gonzalu avatar Oct 30 '20 05:10 gonzalu