fixpermissions

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
christian_bottos
Posts: 4
Joined: Wed Apr 05, 2017 11:22 pm

fixpermissions

Post by christian_bottos » Thu Dec 26, 2019 5:25 pm

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

Uldis (UD)
Posts: 5080
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: fixpermissions

Post by Uldis (UD) » Thu Dec 26, 2019 7:56 pm

try reboot EVE

cluser
Posts: 6
Joined: Wed Jan 08, 2020 9:41 pm

Re: fixpermissions

Post by cluser » Thu Jan 09, 2020 4:09 pm

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?

cluser
Posts: 6
Joined: Wed Jan 08, 2020 9:41 pm

Re: fixpermissions

Post by cluser » Fri Jan 10, 2020 8:35 am

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

Post Reply