Apparently, changing the hostname via the Onion Console > Settings > General Settings works, even if changing it via command line does not. Solved!
@Aman-Chawla Looks like you nailed it! Now figure out why the file system is filled up and you'll be good to go.
@Chris-Stratton You're right. I had just figured this out.
The script calls "readarray" and this command is not found.
Can you please outline additional steps your took to get this script/php to run on the Omega?
Setting the ipaddress to anything of the form x.x.x.255 is probably a mistake.
That would traditionally be the broadcast address of a subnet, so should not be the address of any device.
Looks like your connection to Onion Community was lost, please wait while we try to reconnect.