Page 1 of 1

SOLVED: PHP Error after fresh Amahi install

Posted: Sun Mar 25, 2018 12:24 pm
by thomasps
I'm getting the following PHP error in greyhole after a fresh Amahi install:

Code: Select all

Mar 25 12:50:27 WARN initialize: PHP Warning [2]: Invalid argument supplied for foreach() in /usr/bin/greyhole on line 533; BT: greyhole[L3634] processCommandLine() => greyhole[L3400] getRunner() => greyhole[L3436] process_config() => greyhole[L6467] parse() => greyhole[L150] init() => greyhole[L423] getShares()

Code: Select all

apaste --sysinfo
: https://da.gd/qh3X0

Code: Select all

curl -Ls http://bit.ly/gh-infos | sudo sh
: http://ix.io/12DB

I've installed a couple of packages that may have upgraded PHP and Python (see log attached)

Re: PHP Error after fresh Amahi install

Posted: Sun Mar 25, 2018 12:33 pm
by bigfoot65
Have you done OS updates?

Code: Select all

sudo dnf update

Re: PHP Error after fresh Amahi install

Posted: Sun Mar 25, 2018 4:38 pm
by thomasps
Have you done OS updates?

Code: Select all

sudo dnf update
So far so good! Looks like an update fixed it.

Re: PHP Error after fresh Amahi install

Posted: Sun Mar 25, 2018 5:21 pm
by bigfoot65
So far so good! Looks like an update fixed it.
Good.

Marking this as solved.