1.6 Issues/Reporting
-
Research seems not working, return “The results could not be loaded” (for hosts, group, images)
But it works in fog configuration -
I’m not seeing a problem.
-
@tom-elliott I’m just seeing that I can’t made hosts research, it worked well with previous 1.5 version.
For example if I search “spare” for an host called spare-dell, it returns this :
-
@matthieu-jacquart Can you open a console session?
The fact that you can search FOG Settings shows it’s calling the proper API to return information, but it’s not returning anything for other items, of which I’m unsure why.
I imagine there’s something strange going on (of course) though I don’t know what and the errors will typically show up in the console of the browser.
On most modern browsers you can view this by right clicking on an element (for you the search input would work) and choosing “Inspect”. Then click on the “console” tab.
-
EDIT : oh maybe my fault, I was talking about search bar in left pane (as I used on 1.5) which is not working on any menu (included settings), but right search box works fine in all menu…
So it’s maybe “normal” ?You can chat me if you need remote session.
I don’t know if you see error into this :<div class=""><select id="universal-search-select" class="form-control select2-hidden-accessible" name="search" data-placeholder="Search..." multiple="" tabindex="-1" aria-hidden="true"></select><span class="select2 select2-container select2-container--default select2-container--below select2-container--focus" dir="ltr" style="width: 100%;"><span class="selection"><span class="select2-selection select2-selection--multiple" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="-1"><ul class="select2-selection__rendered"><li class="select2-search select2-search--inline"><input class="select2-search__field" tabindex="0" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" aria-autocomplete="list" placeholder="Search..." style="width: 206px;" type="search"></li></ul></span></span><span class="dropdown-wrapper" aria-hidden="true"></span></span></div>
or this
<div class="user-panel"><div class=""><a href="../management/index.php?node=user&sub=edit&id=1" class="fog-user">fog</a></div></div><form class="sidebar-form" id="universal-search-form" action="../fog/unisearch" method="post" enctype="application/x-www-form-urlencoded" novalidate=""><div class=""><select id="universal-search-select" class="form-control select2-hidden-accessible" name="search" data-placeholder="Search..." multiple="" tabindex="-1" aria-hidden="true"></select><span class="select2 select2-container select2-container--default select2-container--below select2-container--focus" dir="ltr" style="width: 100%;"><span class="selection"><span class="select2-selection select2-selection--multiple" role="combobox" aria-haspopup="true" aria-expanded="false" tabindex="-1"><ul class="select2-selection__rendered"><li class="select2-search select2-search--inline"><input class="select2-search__field" tabindex="0" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="textbox" aria-autocomplete="list" placeholder="Search..." style="width: 206px;" type="search"></li></ul></span></span><span class="dropdown-wrapper" aria-hidden="true"></span></span></div></form><ul class="sidebar-menu tree" data-widget="tree"><li class="header">MAIN NAVIGATION</li><li class="active"><a href="../management/index.php?node=home"><i class="fa fa-dashboard"></i> <span>Dashboard</span></a></li><li class="treeview"><a href="#"><i class="fa fa-users"></i> <span>Users</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a><ul class="treeview-menu"><li class=""><a href="../management/index.php?node=user&sub=list"><i class="fa fa-circle-o"></i>List All Users</a></li><li class=""><a href="../management/index.php?node=user&sub=add"><i class="fa fa-circle-o"></i>Create New User</a></li><li class=""><a href="../management/index.php?node=user&sub=export"><i class="fa fa-circle-o"></i>Export Users</a></li><li class=""><a href="../management/index.php?node=user&sub=import"><i class="fa fa-circle-o"></i>Import Users</a></li></ul></li><li class="treeview"><a href="#"><i class="fa fa-desktop"></i> <span>Hosts</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a><ul class="treeview-menu"><li class=""><a href="../management/index.php?node=host&sub=list"><i class="fa fa-circle-o"></i>List All Hosts</a></li><li class=""><a href="../management/index.php?node=host&sub=add"><i class="fa fa-circle-o"></i>Create New Host</a></li><li class=""><a href="../management/index.php?node=host&sub=pending"><i class="fa fa-circle-o"></i>Pending Hosts</a></li><li class=""><a href="../management/index.php?node=host&sub=pendingMacs"><i class="fa fa-circle-o"></i>Pending MACs</a></li><li class=""><a href="../management/index.php?node=host&sub=export"><i class="fa fa-circle-o"></i>Export Hosts</a></li><li class=""><a href="../management/index.php?node=host&sub=import"><i class="fa fa-circle-o"></i>Import Hosts</a></li></ul></li><li class="treeview"><a href="#"><i class="fa fa-sitemap"></i> <span>Groups</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a><ul class="treeview-menu"><li class=""><a href="../management/index.php?node=group&sub=list"><i class="fa fa-circle-o"></i>List All Groups</a></li><li class=""><a href="../management/index.php?node=group&sub=add"><i class="fa fa-circle-o"></i>Create New Group</a></li><li class=""><a href="../management/index.php?node=group&sub=export"><i class="fa fa-circle-o"></i>Export Groups</a></li><li class=""><a href="../management/index.php?node=group&sub=import"><i class="fa fa-circle-o"></i>Import Groups</a></li></ul></li><li class="treeview"><a href="#"><i class="fa fa-hdd-o"></i> <span>Images</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a><ul class="treeview-menu"><li class=""><a href="../management/index.php?node=image&sub=list"><i class="fa fa-circle-o"></i>List All Images</a></li><li class=""><a href="../management/index.php?node=image&sub=add"><i class="fa fa-circle-o"></i>Create New Image</a></li><li class=""><a href="../management/index.php?node=image&sub=multicast"><i class="fa fa-circle-o"></i>Multicast Image</a></li><li class=""><a href="../management/index.php?node=image&sub=export"><i class="fa fa-circle-o"></i>Export Images</a></li><li class=""><a href="../management/index.php?node=image&sub=import"><i class="fa fa-circle-o"></i>Import Images</a></li></ul></li><li class="treeview"><a href="#"><i class="fa fa-bars"></i> <span>iPXE Menu</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a><ul class="treeview-menu"><li class=""><a href="../management/index.php?node=ipxe&sub=list"><i class="fa fa-circle-o"></i>List All Ipxes</a></li><li class=""><a href="../management/index.php?node=ipxe&sub=add"><i class="fa fa-circle-o"></i>Create New Ipxe</a></li></ul></li><li class="treeview"><a href="#"><i class="fa fa-archive"></i> <span>Storage Nodes</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a><ul class="treeview-menu"><li class=""><a href="../management/index.php?node=storagenode&sub=list"><i class="fa fa-circle-o"></i>List All Storagenodes</a></li><li class=""><a href="../management/index.php?node=storagenode&sub=add"><i class="fa fa-circle-o"></i>Create New Storagenode</a></li><li class=""><a href="../management/index.php?node=storagenode&sub=export"><i class="fa fa-circle-o"></i>Export Storage Nodes</a></li><li class=""><a href="../management/index.php?node=storagenode&sub=import"><i class="fa fa-circle-o"></i>Import Storage Nodes</a></li></ul></li><li class="treeview"><a href="#"><i class="fa fa-object-group"></i> <span>Storage Groups</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a><ul class="treeview-menu"><li class=""><a href="../management/index.php?node=storagegroup&sub=list"><i class="fa fa-circle-o"></i>List All Storagegroups</a></li><li class=""><a href="../management/index.php?node=storagegroup&sub=add"><i class="fa fa-circle-o"></i>Create New Storagegroup</a></li><li class=""><a href="../management/index.php?node=storagegroup&sub=export"><i class="fa fa-circle-o"></i>Export Storage Groups</a></li><li class=""><a href="../management/index.php?node=storagegroup&sub=import"><i class="fa fa-circle-o"></i>Import Storage Groups</a></li></ul></li><li class="treeview"><a href="#"><i class="fa fa-cube"></i> <span>Snapins</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a><ul class="treeview-menu"><li class=""><a href="../management/index.php?node=snapin&sub=list"><i class="fa fa-circle-o"></i>List All Snapins</a></li><li class=""><a href="../management/index.php?node=snapin&sub=add"><i class="fa fa-circle-o"></i>Create New Snapin</a></li><li class=""><a href="../management/index.php?node=snapin&sub=export"><i class="fa fa-circle-o"></i>Export Snapins</a></li><li class=""><a href="../management/index.php?node=snapin&sub=import"><i class="fa fa-circle-o"></i>Import Snapins</a></li></ul></li><li class="treeview"><a href="#"><i class="fa fa-print"></i> <span>Printers</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a><ul class="treeview-menu"><li class=""><a href="../management/index.php?node=printer&sub=list"><i class="fa fa-circle-o"></i>List All Printers</a></li><li class=""><a href="../management/index.php?node=printer&sub=add"><i class="fa fa-circle-o"></i>Create New Printer</a></li><li class=""><a href="../management/index.php?node=printer&sub=export"><i class="fa fa-circle-o"></i>Export Printers</a></li><li class=""><a href="../management/index.php?node=printer&sub=import"><i class="fa fa-circle-o"></i>Import Printers</a></li></ul></li><li class=""><a href="../management/index.php?node=service"><i class="fa fa-cogs"></i> <span>Client Settings</span></a></li><li class="treeview"><a href="#"><i class="fa fa-tasks"></i> <span>Tasks</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a><ul class="treeview-menu"><li class=""><a href="../management/index.php?node=task&sub=active"><i class="fa fa-circle-o"></i>Active Tasks</a></li><li class=""><a href="../management/index.php?node=task&sub=activemulticast"><i class="fa fa-circle-o"></i>Active Multicast Tasks</a></li><li class=""><a href="../management/index.php?node=task&sub=activesnapins"><i class="fa fa-circle-o"></i>Active Snapin Tasks</a></li><li class=""><a href="../management/index.php?node=task&sub=activescheduled"><i class="fa fa-circle-o"></i>Scheduled Tasks</a></li></ul></li><li class="treeview"><a href="#"><i class="fa fa-file-text"></i> <span>Reports</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a><ul class="treeview-menu"><li class=""><a href="../management/index.php?node=report&sub=file&f=aGlzdG9yeSByZXBvcnQ="><i class="fa fa-circle-o"></i>History Report</a></li><li class=""><a href="../management/index.php?node=report&sub=file&f=aG9zdCBsaXN0"><i class="fa fa-circle-o"></i>Host List</a></li><li class=""><a href="../management/index.php?node=report&sub=file&f=aG9zdHMgYW5kIHVzZXJz"><i class="fa fa-circle-o"></i>Hosts And Users</a></li><li class=""><a href="../management/index.php?node=report&sub=file&f=aW1hZ2luZyBsb2c="><i class="fa fa-circle-o"></i>Imaging Log</a></li><li class=""><a href="../management/index.php?node=report&sub=file&f=aW52ZW50b3J5IHJlcG9ydA=="><i class="fa fa-circle-o"></i>Inventory Report</a></li><li class=""><a href="../management/index.php?node=report&sub=file&f=cGVuZGluZyBtYWMgbGlzdA=="><i class="fa fa-circle-o"></i>Pending Mac List</a></li><li class=""><a href="../management/index.php?node=report&sub=file&f=cHJvZHVjdCBrZXlz"><i class="fa fa-circle-o"></i>Product Keys</a></li><li class=""><a href="../management/index.php?node=report&sub=file&f=c25hcGluIGxpc3Q="><i class="fa fa-circle-o"></i>Snapin List</a></li><li class=""><a href="../management/index.php?node=report&sub=upload"><i class="fa fa-circle-o"></i>Import Reports</a></li></ul></li><li class="treeview"><a href="#"><i class="fa fa-wrench"></i> <span>FOG Configuration</span><span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span></a><ul class="treeview-menu"><li class=""><a href="../management/index.php?node=about&sub=home"><i class="fa fa-circle-o"></i>Home</a></li><li class=""><a href="../management/index.php?node=about&sub=license"><i class="fa fa-circle-o"></i>License</a></li><li class=""><a href="../management/index.php?node=about&sub=kernel"><i class="fa fa-circle-o"></i>Kernel Update</a></li><li class=""><a href="../management/index.php?node=about&sub=pxemenu"><i class="fa fa-circle-o"></i>iPXE Menu Configuration</a></li><li class=""><a href="../management/index.php?node=about&sub=maclist"><i class="fa fa-circle-o"></i>MAC Address List</a></li><li class=""><a href="../management/index.php?node=about&sub=settings"><i class="fa fa-circle-o"></i>FOG Settings</a></li><li class=""><a href="../management/index.php?node=about&sub=logviewer"><i class="fa fa-circle-o"></i>Log Viewer</a></li><li class=""><a href="../management/index.php?node=about&sub=config"><i class="fa fa-circle-o"></i>Configuration Save</a></li></ul></li><li class="header">RESOURCES</li><li><a href="https://sourceforge.net/donate/index.php?group_id=201099" target="_blank"><i class="fa fa-money"></i> <span>Donate</span></a></li><li><a href="https://news.fogproject.org" target="_blank"><i class="fa fa-bullhorn"></i> <span>News</span></a></li><li><a href="https://forums.fogproject.org" target="_blank"><i class="fa fa-users"></i> <span>Forums</span></a></li><li><a href="https://wiki.fogproject.org" target="_blank"><i class="fa fa-book"></i> <span>Wiki</span></a></li></ul>```
-
The error in console when I try to search is:
/fog/fog/unisearch/fog/5:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
edit: only happens for top left search
I was searching for ‘fog’
One thing I noticed is the request url has /5 tacked on at the end, not sure if that’s intentional or not though.
-
I’ve just tried to upload image, it seems working but at the end image stayed in folder “dev/macadress” and task is still running.
I don’t see error message.And error with hostname changer and AD joining :
unknown user name or bad password, code = 1326
(of course no change since 1.5 and it worked like a charm before)
And if I tried to modify FOG_AD_DEFAULT_PASSWORD, it stays in plain text, it’s not encrypted… -
Hi,
I grabbed the working-1.6 branch and am running it through Ubuntu16.04 on Windows as a test environment for the team’s newest releases! I must say the UI looks amazing!
The issue I noticed tinkering with the new UI is that on the “Pending MACs” page (under the hosts dropdown menu on the side nav), when I attempted to select all and delete the entries it doesn’t reflect changes after postback.
After navigating away and back or just refreshing it reflects changes but shows the values for Hostname as null.
These might just be orphaned records that are causing issues but regardless, here is the last 5 lines in apache2 error.log after trying to delete the entries that had their hostname changed to null:
[Tue Jul 10 12:51:10.799229 2018] [php7:warn] [pid 600] [client 169.254.98.2:37676] PHP Warning: ftp_close() expects parameter 1 to be resource, null given in /var/www/fog/lib/fog/fogftp.class.php on line 115, referer: http://169.254.98.2:8080/fog/management/index.php?node=host&sub=pendingMacs [Tue Jul 10 12:51:14.147645 2018] [php7:warn] [pid 600] [client 169.254.98.2:37676] PHP Warning: ftp_close() expects parameter 1 to be resource, null given in /var/www/fog/lib/fog/fogftp.class.php on line 115, referer: http://169.254.98.2:8080/fog/management/index.php?node=host&sub=pendingMacs [Tue Jul 10 12:51:15.069292 2018] [php7:warn] [pid 600] [client 169.254.98.2:37676] PHP Warning: ftp_close() expects parameter 1 to be resource, null given in /var/www/fog/lib/fog/fogftp.class.php on line 115, referer: http://169.254.98.2:8080/fog/management/index.php?node=host&sub=pendingMacs [Tue Jul 10 12:51:16.442140 2018] [php7:warn] [pid 600] [client 169.254.98.2:37676] PHP Warning: ftp_close() expects parameter 1 to be resource, null given in /var/www/fog/lib/fog/fogftp.class.php on line 115, referer: http://169.254.98.2:8080/fog/management/index.php?node=host&sub=pendingMacs [Tue Jul 10 12:51:17.333016 2018] [php7:warn] [pid 600] [client 169.254.98.2:37676] PHP Warning: ftp_close() expects parameter 1 to be resource, null given in /var/www/fog/lib/fog/fogftp.class.php on line 115, referer: http://169.254.98.2:8080/fog/management/index.php?node=host&sub=pendingMacs
Another interesting line amidst all the other warning lines is:
[Tue Jul 10 12:48:19.594482 2018] [php7:warn] [pid 552] [client 169.254.98.2:37584] PHP Warning: gethostbyname(): Host name is too long, the limit is 255 characters in /var/www/fog/lib/fog/fogbase.class.php on line 2159, referer: http://169.254.98.2:8080/fog/management/index.php?node=host&sub=pendingMacs
-
Nope, orphaned or not it still spits out those PHP:warns in the error.log.
I cleaned the hostMAC table where there were no hostID in hosts that existed for a hmHostID which resolved the listings of null for Host Name but then I tried deleting again and no changes were made via “Select All -> Delete Selected”.
-
@tom-elliott Ok my problem with AD joining is solved, but still problem at the end of capture task : image stays in /dev folder and task could not complete on web interface, here is a capture of the problem
-
@tom-elliott Another problem : I tried to create new snapin, and it returns this error :
If I tried to update existing snapin it returns green valid message but snapin file is not updated…
-
just reporting in problems i encountered testing 1.6
registered new host, created new image, tried to upload image of host to the newly created image:
image uploaded, but repeatedly failed to update database that it had finished.
while looking at the error, i realized that invalid parameters were sent to the computer, as well
the newly created image had a compression value set to 0 and the compression type was not assigned. i could not update these values on the image’s profile page. nor could i import a image list with corrected values.I don’t have time to troubleshoot further right now, but I am interested if anyone can reproduce similar problems (or i just messed up my setup somehow).
-
@junkhacker et al.
Please don’t think I’ve gone anywhere. I’m dealing with my own things and been busy trying to catch myself back up. I’m still around and still wanting to work on these things, just been too busy to respond and put a lot of effort into it lately. Sorry.
@Matthieu-Jacquart I’m aware there may be issues with uploading files. They should work, but this might be semi related to the max filesize. (If the filesize is too large for your server too accept, it clears out all POST information.) Can you please check the php.ini file for the post_max_size and upload_max_filesize elements of your /etc/php.ini (if redhat), otherwise it should be in /etc/php/7.X/fpm/php.ini
(The X is the version of php you’re running. If you’re using php 5, then change /etc/php/7.x to /etc/php5 or /etc/php/5.6 as/where approapriate)
-
@junkhacker Interesting because I created a Windows 10 image 1803 build and uploaded fine. Registered hosts which are Dell 9020’s and have imaged fine so far. I have not ventured into getting storage nodes and what not setup yet since we are in the middle of projects but i plan on setting up some dummy nodes and observing the replication logs. I assume they will be fine. So far the only thing I notice are little cosmetic items like words and scaling in the web UI are not as important as functionality. So far I’m very impressed. Thank you @Tom-Elliott for working on this.
-
@dahrell The problem you’re describing was due to an oversight when we created the JS deleteSelected method.
Essentially, the ID’s of those mac addresses (can be seen in the GUI via right click->inspect, row_id is the id of the hostMAC table reference.)
It was removing the hosts with those same ID’s (rather than the host mac. Sorry about that.) I found the issue and made corrections for this so this item should work properly now.
Thanks for letting me know and sorry for any trouble that caused.
-
@jgallo There’s a few bugs here and there, but we really did put a lot of effort into making it much more User Friendly. So thank you for the kind words. Any issues you’re noticing, please feel free to let me know and I’ll try to fix them.
-
@tom-elliott No worries, just trying to contribute Thanks for the response! Hope things are working out for you.
-
I love the look and feel of the new interface. I can tell you and the group have put in a ton of effort in creating 1.6. Thank you!
One small thing I just noticed is the icon on the browser tab needs to be updated. Ha! I liked having the FOG icon to get to in my many open tabs. Small!
The next thing I noticed was when you open Groups/Associations/Hosts, it displays All hosts. It would be great if it showed just the hosts associated with the group with the option to display hosts that are not associated with the group. (like 1.5 did.)
I’ll put it to the test!
Again thanks!!
Cheers!
-
@joe-gill I could change the group host by sorting by the association field. The idea here for all things is to kind of be “less” is more of that makes sense. I’ll work to sort first by associated.
-
I agree. Less is more here. I like the idea of sort by associated first. That would certainly work.
Have you tested Multicast? I am testing that now. I get Attempted to check in failed.
Thanks!