Hi,
I'm getting this warning when I try to run /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
root@eve-rs-sp:~#
root@eve-rs-sp:~#
root@eve-rs-sp:~# /opt/unetlab/wrappers/unl_wrapper -a fixpermissions
PHP Warning: Invalid argument supplied for foreach() in /opt/unetlab/html/includes/init.php on line 45
Dec 26 11:09:51 Dec 26 11:09:51 Online Check state: Valid
root@eve-rs-sp:~#
root@eve-rs-sp:~#
root@eve-rs-sp:~#
Any suggestion???
Thanks and regards
fixpermissions
Moderator: mike
-
- Posts: 5080
- Joined: Wed Mar 15, 2017 4:44 pm
- Location: London
- Contact:
Re: fixpermissions
try reboot EVE
-
- Posts: 6
- Joined: Wed Jan 08, 2020 9:41 pm
Re: fixpermissions
Reboot suggestion did not work for me.... as per Live chat, I ensured no nodes were running, rebooted and re-updated eve and I keep getting line 45 PHP warning. Any other suggestions?
-
- Posts: 6
- Joined: Wed Jan 08, 2020 9:41 pm
Re: fixpermissions
For whoever has this issue, this was my fix (in my case I did not have custom templates, so I overrode a jacked up file with dashes, a ~ and dots with the default "generic template")
cp /opt/unetlab/html/includes/custom_templates.yml.distribution /opt/unetlab/html/includes/custom_templates.yml
cp /opt/unetlab/html/includes/custom_templates.yml.distribution /opt/unetlab/html/includes/custom_templates.yml