Problem Import Host
-
Hello,
I have a problem when I want to import computers, I have a blank page that appears (above the log)
I am in version 1.5.9-RC2.9.Thanks in advance.
[Tue Feb 13 08:45:16.577035 2024] [proxy_fcgi:error] [pid 3455648] [client **] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on null in /var/www/html/fog/lib/plugins/site/hooks/addsitehost.hook.php:379\nStack trace:\n#0 /var/www/html/fog/lib/fog/hookmanager.class.php(86): AddSiteHost->hostImport()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(3952): HookManager->processEvent()\n#2 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): FOGPage->importPost()\n#3 /var/www/html/fog/management/index.php(58): FOGPageManager->render()\n#4 {main}\n thrown in /var/www/html/fog/lib/plugins/site/hooks/addsitehost.hook.php on line 379', referer: https://**//fog/management/index.php?node=host&sub=import
-
@Nicolas-Bricet
Have same problem… -
@NoIPName You’re still using 1.5.9-RC2.9 (???) and @Nicolas-Bricet You too?
can you upgrade ot a more modern version from the stable branch. Pretty sure this may have already long since been addressed.
-
@Tom-Elliott i’m on 1.5.10.1622 version
And little bit same @Nicolas-Bricet
[Fri Nov 08 15:34:56.324018 2024] [proxy_fcgi:error] [pid 358511:tid 358511] [client 192.168.100.1:50111] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught ValueError: max(): Argument #1 ($value) must contain at least one element in /var/www/html/fog/lib/fog/hostmanager.class.php:225\nStack trace:\n#0 /var/www/html/fog/lib/fog/hostmanager.class.php(225): max()\n#1 /var/www/html/fog/lib/fog/fogpage.class.php(4075): HostManager->getHostByMacAddresses()\n#2 /var/www/html/fog/lib/fog/fogpagemanager.class.php(220): FOGPage->importPost()\n#3 /var/www/html/fog/management/index.php(58): FOGPageManager->render()\n#4 {main}\n thrown in /var/www/html/fog/lib/fog/hostmanager.class.php on line 225’, referer: https://fog.deploy.com/management/index.php?node=host&sub=import
In my CSV i have 100 lines but only 8 first lines add in hosts
-
No new ?
-
@NoIPName Can you share your import csv perhaps? It seems to think it’s missing a value based on the error message. I will gladly test the same csv on my dev server and see if I get the same result so we can debug this more hands on.
-
@JJ-Fullmer
Here is my csv
And this is all host i can have when i import the csv
-
Some new for this issue ?
-
@NoIPName you didn’t provide a csv. You took a screenshot of an excel of your csv.
That said I suspect there’s an issue on the line of or immediately following the host you aren’t able to import.
I also seem to be seeing the same host name multiple times in your image so that might explain things as well.
Please provide your actual csv.
-