WiFi and LAN not working the same. What am I missing ?
OMV7 on Pi 4b.
OS on SD card
Data on SSD
LAN connection to Fiber.
Normal setup is Cron executing php script on SSD.
Script executes 100% and has been running perfectly for years.
Lately had some power / fiber connection issues, and want to setup alternate method.
My Phone has Mobile Data and Hotspot.
Added the Hotspot details to OMV7 as a WiFi Interface.
If I unplug the LAN cable from the Pi and turn on the phone Hotspot, the Pi is connected to the phones Hotspot. I can connect / browse from phone to Pi without issues.
When the cron tries to execute the script ( or if I login to OMV via the phone browser and Run the cron manually ), I am getting an error :
500 - Internal Server Error
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/
usr/local/bin:/usr/local/sbin; export LC ALL-C.UTF-8; export LANGUAGE=;
export SHELL=/bin/sh; sudo --shell -- non-interactive --user='root'--
/var/lib/openmediavault/cron.d/use rdefined-5ffefff6-ed53-49e4-
a638-15a770cb2c84 2>&1' with exit code '1': Could not open input
file: /var/www/html/xxxgo.php
The cron also sends a results e-mail to my default mail address saying :
Could not open input file: /var/xxx/xxx/xxx/xxgo.php
If I disable the Hotspot and plug the LAN cable back in to the Pi, it again runs exactly as expected.