Problems creating a new Snap-in
-
When attempting to create a new snap-in, a pop-up says “Failed to add snap-in, File already exists”
Also, listing all snap-ins shows none, however, when adding a snap-in to a host or group, the “failed to upload” snap-ins are available as options in the drop down, and any uploaded files are in the /opt/fog/snapins directory.
here is an apache error.log from when I simply click the snap-ins icon to get to the snap-ins page. A lot of undefined indexes, and undefined variables. However, this system has been functioning, uploading and deploying images since last Summer…
Any idea about the errors, and any idea why we can not upload a snap-in, and have it listed in the snap-ins list?
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: groupid in /var/www/fog/commons/init.php on line 5, refer
er: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: id in /var/www/fog/commons/init.php on line 5, referer: h
ttp://10.4.1.4/fog/management/index.php?node=snap&sub=list
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: imageid in /var/www/fog/commons/init.php on line 5, refer
er: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: snapinid in /var/www/fog/commons/init.php on line 5, refe
rer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, refere
r: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: storagegroupid in /var/www/fog/commons/init.php on line 5
, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: storagenodeid in /var/www/fog/commons/init.php on line 5,
referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: crit in /var/www/fog/commons/init.php on line 5, referer:
[url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: sort in /var/www/fog/commons/init.php on line 5, referer:
[url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: userid in /var/www/fog/commons/init.php on line 5, refere
r: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: confirm in /var/www/fog/commons/init.php on line 5, refer
er: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: tab in /var/www/fog/commons/init.php on line 5, referer:
[url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: uname in /var/www/fog/management/includes/processlogin.in
clude.php on line 17, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.in
clude.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: SERVER in /var/www/fog/management/includes/mainmenu.include.php on line 32, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: allow_ajax_snapin in /var/www/fog/management/ajax/snapin.search.php on line 36, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: id in /var/www/fog/management/includes/submenu.include.php on line 38, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: host in /var/www/fog/management/includes/submenu.include.php on line 66, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined index: snap in /var/www/fog/management/includes/submenu.include.php on line 405, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: snapinid in /var/www/fog/management/includes/submenu.include.php on line 259, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined variable: output in /var/www/fog/management/includes/submenu.include.php on line 463, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url]
[Wed Mar 26 17:12:35 2014] [error] [client 10.10.4.21] PHP Notice: Undefined property: FOGSubMenu::$notes in /var/www/fog/management/includes/submenu.include.php on line 473, referer: [url]http://10.4.1.4/fog/management/index.php?node=snap&sub=list[/url] -
Arg… was in a rush… nevermind the PHP notices, a minor php.ini modification fixes those.
However, there is a bug in that FOG does not display the available snapins unless you “search snapins” and type a * in the field (to show all snapins) or start typing the name of a snapin.
Thanks