Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken with the latest stretch image (tested on a fresh install) #109

Closed
T-vK opened this issue Sep 30, 2017 · 25 comments
Closed

Broken with the latest stretch image (tested on a fresh install) #109

T-vK opened this issue Sep 30, 2017 · 25 comments

Comments

@T-vK
Copy link

T-vK commented Sep 30, 2017

Image: 2017-08-16-raspbian-stretch
Device: Raspberry Pi Zero W

I can reproduce this every time:

  • I flashed 2017-08-16-raspbian-stretch.img onto the card and confirmed that the data matches and is not corrupted.
  • I put the card into the Raspberry Pi Zero W
  • I plugged in my keyboard, mouse and HDMI
  • I plugged in the power
  • I waited for it to boot
  • When it was done I landed on the desktop automatically, no login was required.
  • I clicked the WiFi icon at the top right corner and connected to my WPA2 home WiFi.
  • I opened the browser and went to the Github page to copy the install command
  • I opened a new terminal using the icon at the top of the screen.
  • In that terminal I ran the install command: wget -q https://git.io/voEUQ -O /tmp/raspap && bash /tmp/raspap
  • I said yes to everything, even the reboot.

After the reboot, I am no longer able to resolve dns queries. I am connected to my WiFi, though.
I can access localhost from the browser and log in. I checked the Access Point config and it said hostapd is not running. I changed the channel to 11 (just like my home WiFi) and tried to start it again, but still hostapd is not running.

I checked my sudoers file and it does contain these lines, so everything should be fine there:

www-data ALL=(ALL) NOPASSWD:/sbin/ifdown wlan0
www-data ALL=(ALL) NOPASSWD:/sbin/ifup wlan0
www-data ALL=(ALL) NOPASSWD:/bin/cat /etc/wpa_supplicant/wpa_supplicant.conf
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/wifidata /etc/wpa_supplicant/wpa_supplicant.conf
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli scan_results
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli scan
www-data ALL=(ALL) NOPASSWD:/sbin/wpa_cli reconfigure
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/hostapddata /etc/hostapd/hostapd.conf
www-data ALL=(ALL) NOPASSWD:/etc/init.d/hostapd start
www-data ALL=(ALL) NOPASSWD:/etc/init.d/hostapd stop
www-data ALL=(ALL) NOPASSWD:/etc/init.d/dnsmasq start
www-data ALL=(ALL) NOPASSWD:/etc/init.d/dnsmasq stop
www-data ALL=(ALL) NOPASSWD:/bin/cp /tmp/dhcpddata /etc/dnsmasq.conf
www-data ALL=(ALL) NOPASSWD:/sbin/shutdown -h now
www-data ALL=(ALL) NOPASSWD:/sbin/reboot

Then I checked this:

$ sudo -u web-data sudo /etc/init.d/hostapd start
sudo: unknown user web-data
sudo: unable to initialize policy plugin

And this:

$ sudo cat /var/log/lighttpd/error.log
2017-09-30 14:41:35: (log.c.217) server started
2017-09-30 14:43:38: (server.c.1828) server stopped by UID = 0 PID = 1
2017-09-30 14:43:40: (log.c.217) server started
2017-09-30 14:49:08: (server.c.1828) server stopped by UID = 0 PID = 1
2017-09-30 14:50:30: (log.c.217) server started
2017-09-30 14:51:30: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-09-30 14:51:30: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
2017-09-30 14:51:46: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
2017-09-30 14:51:46: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directoryin /etc/raspap/raspap.php on line 8
2017-09-30 14:51:46: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: page in /var/www/html/index.php on line 51
2017-09-30 14:51:46: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 19
2017-09-30 14:51:46: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 21
2017-09-30 14:51:46: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 23
2017-09-30 14:51:46: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 25
2017-09-30 14:51:46: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 27
2017-09-30 14:51:46: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 29
2017-09-30 14:51:46: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 31
2017-09-30 14:51:19: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-09-30 14:51:41: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-09-30 14:53:10: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-09-30 14:53:10: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/hostapd.php on line 60
2017-09-30 14:53:30: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
@SirLagz
Copy link
Collaborator

SirLagz commented Oct 1, 2017

$ sudo -u web-data sudo /etc/init.d/hostapd start
sudo: unknown user web-data
sudo: unable to initialize policy plugin

You should be using www-data and not web-data there. Try that and see what comes up.

@T-vK
Copy link
Author

T-vK commented Oct 1, 2017

I did a reboot. (After booting It's still automatically connecting to my home WiFi. It does not appear in my routers ARP table though.)

Okay here is what I did then:

$ sudo -u www-data sudo /etc/init.d/hostapd start
[ ok ] Starting hostapd (via systemctl): hostapd.service.
$ sudo -u www-data sudo /sbin/ifup wlan0
ifup: Unknown interface wlan0
$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
        inet 127.0.0.1 netmask 255.0.0.0
        inet6 ::1 prefixlen 128 scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 1440  bytes 96480 (94.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1440  bytes 96480 (94.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.3.141.1  netmask 255.255.255.0  broadcast 10.3.141.255
        inet6 fe80::1cad:b0ef:5cd3:e19b  preflen 64  scopeid 0x20<link>
        ether b8:27:eb:09:af:5a
        RX packets 33  bytes 5786 (5.6 KiB)
        RX errors 0  dropped 0 overruns 0  frame 0
        TX packets 45  bytes 6506 (6.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions

Then I opened up the browser again and tried to open github.com, without success. Then I opened localhost and logged in again. I went to the configure hotspot site again and clicked on start hotspot again, but it still reports hostapd is not running.

I should mention that it's not only dns queries for internet addresses that fail, I can't even ping 8.8.8.8.
I also scanned for available WiFi networks from another computer and sure enough the Raspi was not hosting a hotspot.

@SirLagz
Copy link
Collaborator

SirLagz commented Oct 1, 2017

What's the output of wpa_cli status ?

@T-vK
Copy link
Author

T-vK commented Oct 1, 2017

$ wpa_cli status
Selected interface 'p2p-dev-wlan0'
wpa_state=DISCONNECTED
p2p_device_address=b8:27:eb:09:af:5a
address=b8:27:eb:09:af:5a
uuid=9e76d37-3118-52a2-80f2-61f6262d1ba3

@SirLagz
Copy link
Collaborator

SirLagz commented Oct 1, 2017

Ok, so the WiFI is disconnected. Probably because you tried to start hostapd.

Hostapd should not be started unless you want it to broadcast.
If you're just trying to set it to connect to your wifi, then you should be able to configure the client through the web interface and tell it to connect.

@T-vK
Copy link
Author

T-vK commented Oct 1, 2017

Well, I want it to connect to my home WiFI and at the same time host a hotspot.
If that's not possible (but it should be), it should just host a hotspot.

The desktop as well as the webgui dashboard claim that I am connected to my home WiFi.

@SirLagz
Copy link
Collaborator

SirLagz commented Oct 1, 2017

Which WiFi NIC are you using?

@T-vK
Copy link
Author

T-vK commented Oct 1, 2017

The internal one. (It's a Raspberry Pi Zero W)

When I check with iwconfig btw, it does say that I'm connected to my home WiFi. (I removed the SSID and MAC for privacy reasons.)

$ iwconfig
wlan0      IEEE 802.11  ESSID:"xxxxxxxx"
           Mode:Managed  Frequency:2.462 GHz  Access Point: XX:XX:XX:XX:XX:XX
           Bit Rate=24 Mb/s   Tx-Power=31 dBm
           Retry short limit:7   RTS thr:0ff   Fragment thr:off
           Power management:on
           Link Quality=70/70  Signal level=-40dBm
           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
           Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo         no wireless extensions.

@SirLagz
Copy link
Collaborator

SirLagz commented Oct 1, 2017

Ah. RaspAP has not been coded to allow for both client and access point mode on a Pi Zero.
In this case, what happens when you try to set it up as a hotspot?

@T-vK
Copy link
Author

T-vK commented Oct 1, 2017

A few more things:

  • The disable wlan0 in the dashboard doesn't work.
  • When I delete my home WiFi from the client site, I'm still connected to my home WiFi.
  • When I restart WiFi using the WiFi icon in the top right corner of the screen, I'm still connected to my home WiFi.
  • When I try to use the icon to disconnect from my home WiFi, nothing happens.

The entry for my home WiFi has been removed successfully from /etc/wpa_supplicant/wpa_supplicant.conf. I assume the webgui just failed to reload a service or something like that.

raspap-webgui is clearly broken if you ask me. I mean look at the PHP warnings and notices from the first post. Something is not right there.

Edit:
It still says hostapd is not running when I click the start hotspot button.

@SirLagz
Copy link
Collaborator

SirLagz commented Oct 1, 2017

I've just noticed that 'Stop wlan0' doesn't work as well.
It's been a while since I've worked on, or even used RaspAP myself, but I'm getting back into it so hopefully these issues will be gone soon.

Those PHP warnings are the first thing that I've fixed, so the next update of RaspAP should be a bit better :)

@T-vK
Copy link
Author

T-vK commented Oct 1, 2017

You say you have already fixed the php warnings. Is that version available somewhere?

@SirLagz
Copy link
Collaborator

SirLagz commented Oct 1, 2017

About to push it up now.

@T-vK
Copy link
Author

T-vK commented Oct 1, 2017

Awesome!
There doesn't seem to be an uninstaller. Can I just install it over the old version?

@SirLagz
Copy link
Collaborator

SirLagz commented Oct 1, 2017

Yep, just run the install script again and it'll move the old installation out of the way.

@T-vK
Copy link
Author

T-vK commented Oct 1, 2017

Oh, I just realize because I don't have internet access on the Raspi anymore, I can't run the wget command...

Edit: Okay, by deleting the static ip config from /etc/dhcpd.conf I was able to get the Internet connection back. I'll try to install the new version now.

@T-vK
Copy link
Author

T-vK commented Oct 1, 2017

It fails with an installation error saying:

RaspAP Install: Enabling PHP for lighttpd
already enabled
Run "service lighttpd force-reload" to enable changes
RaspAP Install Error: Cannot enable fastcgi-php for lighttpd

@SirLagz
Copy link
Collaborator

SirLagz commented Oct 1, 2017

I've fixed up the install file to allow in-place reinstalls now.

@T-vK
Copy link
Author

T-vK commented Oct 1, 2017

Great, I'll try a reinstall now.

Edit:
After reinstalling it has added the already existing entries to the sudoers file. So there were a lot of duplicated entries. I removed those duplicated entries before restarting.

Edit 2:
After the reboot I was again not able to access the Internet. To fix it I tried to disable dhcp using the webgui. That did't help, so I removed the static IP config from /etc/dhcpcd.conf again and restarted the dhcpcd service manually.
The button on the dashboard is still not working and so is the hotspot button...

$ sudo cat /var/log/lighttpd/error.log
2017-10-01 15:17:21: (log.c.217) server started 
2017-10-01 15:31:20: (server.c.1828) server stopped by UID = 0 PID = 1 
2017-10-01 15:31:22: (log.c.217) server started 
2017-10-01 15:34:13: (server.c.1828) server stopped by UID = 0 PID = 1 
2017-10-01 15:34:39: (log.c.217) server started 
2017-10-01 15:37:22: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:37:22: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: PHP_AUTH_USER in /var/www/html/includes/authenticate.php on line 2
2017-10-01 15:37:22: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: PHP_AUTH_PW in /var/www/html/includes/authenticate.php on line 3
2017-10-01 15:37:28: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:37:28: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: page in /var/www/html/index.php on line 51
2017-10-01 15:38:51: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:38:51: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: page in /var/www/html/index.php on line 51
2017-10-01 15:38:51: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 33
2017-10-01 15:38:51: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 35
2017-10-01 15:38:51: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 37
2017-10-01 15:38:51: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 41
2017-10-01 15:38:51: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 43
2017-10-01 15:38:51: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 45
2017-10-01 15:38:51: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: wlan0up in /var/www/html/includes/dashboard.php on line 121
2017-10-01 15:39:08: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:39:08: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 33
2017-10-01 15:39:08: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 35
2017-10-01 15:39:08: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 37
2017-10-01 15:39:08: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 41
2017-10-01 15:39:08: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 43
2017-10-01 15:39:08: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 45
2017-10-01 15:39:08: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: wlan0up in /var/www/html/includes/dashboard.php on line 121
2017-10-01 15:39:24: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:39:24: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: mselected in /var/www/html/includes/dhcp.php on line 154
2017-10-01 15:39:24: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: dselected in /var/www/html/includes/dhcp.php on line 154
2017-10-01 15:39:53: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:40:09: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:40:09: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/hostapd.php on line 60
2017-10-01 15:40:29: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:40:57: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:40:57: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: mselected in /var/www/html/includes/dhcp.php on line 154
2017-10-01 15:40:57: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: dselected in /var/www/html/includes/dhcp.php on line 154
2017-10-01 15:41:13: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:41:13: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: mselected in /var/www/html/includes/dhcp.php on line 154
2017-10-01 15:41:13: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: dselected in /var/www/html/includes/dhcp.php on line 154
2017-10-01 15:41:42: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:41:42: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: networks in /var/www/html/includes/configure_client.php on line 121
2017-10-01 15:41:42: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  array_key_exists() expects parameter 2 to be array, null given in /var/www/html/includes/configure_client.php on line 121
2017-10-01 15:42:04: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:42:04: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: networks in /var/www/html/includes/configure_client.php on line 50
2017-10-01 15:42:04: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined index: connected in /var/www/html/includes/configure_client.php on line 173
2017-10-01 15:42:23: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:42:23: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 33
2017-10-01 15:42:23: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 35
2017-10-01 15:42:23: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 37
2017-10-01 15:42:23: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 41
2017-10-01 15:42:23: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 43
2017-10-01 15:42:23: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 45
2017-10-01 15:42:23: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: wlan0up in /var/www/html/includes/dashboard.php on line 121
2017-10-01 15:42:33: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:42:33: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 33
2017-10-01 15:42:33: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 35
2017-10-01 15:42:33: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 37
2017-10-01 15:42:33: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 41
2017-10-01 15:42:33: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 43
2017-10-01 15:42:33: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined offset: 1 in /var/www/html/includes/dashboard.php on line 45
2017-10-01 15:42:33: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Notice:  Undefined variable: wlan0up in /var/www/html/includes/dashboard.php on line 121
2017-10-01 15:43:12: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:44:02: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:53:49: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8
2017-10-01 15:54:04: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Warning:  fopen(/etc/raspap/raspap.auth): failed to open stream: No such file or directory in /etc/raspap/raspap.php on line 8

@SirLagz
Copy link
Collaborator

SirLagz commented Oct 1, 2017

Right. A few more issues still. I'll keep plugging away at it.

@SirLagz
Copy link
Collaborator

SirLagz commented Oct 21, 2017

@T-vK I think I've fixed up some more issues. When you have a chance, can you please give it a shot and report back on the errors that remain? Thanks.

@T-vK
Copy link
Author

T-vK commented Oct 22, 2017

@SirLagz
I set up a fresh Raspbian installation and tried to install RaspAP, but I get an error:

E: Package 'php5-cgi' has no installation candidate

edit: I used 2017-09-07-raspbian-stretch btw.

@SirLagz
Copy link
Collaborator

SirLagz commented Oct 23, 2017

Sounds like Raspbian has updated package availabilities...I installed it on the same image earlier. We'll need to look into this further.

billz added a commit that referenced this issue Nov 16, 2017
Installs php7.0-cgi for Stretch. Maintains backward compatibility with Jessie. Resolves #118 #109
@billz
Copy link
Member

billz commented Nov 16, 2017

@T-vK the installation issue should be resolved now with #124. Please update and try again. Thanks.

@billz
Copy link
Member

billz commented Apr 13, 2019

Closing due to inactivity. See also #297 which addresses this specific issue with the Pi Zero W.

@billz billz closed this as completed Apr 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants