Snapin don't deploy
-
Hi,
I’m using dev-branch version 1.5.9.138 and I deployed some computers today : image deployed perfectly but not snapin.
In active snapin tasks they stay in state “Queued” and on computers fog.log return------------------------------------------------------------------------------ ---------------------------------SnapinClient--------------------------------- ------------------------------------------------------------------------------ 25/03/2022 16:49:01 Client-Info Client Version: 0.12.0 25/03/2022 16:49:01 Client-Info Client OS: Windows 25/03/2022 16:49:01 Client-Info Server Version: 1.5.9.138 25/03/2022 16:49:01 Middleware::Response No snapins ------------------------------------------------------------------------------
any idea for this issue ?
Thanks,
Matthieu -
@Matthieu-Jacquart We are in the move to support PHP 8 and it seems snapins have an issue. Can you please take a look at the apache logs and post valid warnings and errors here?
-
@sebastian-roth Hi, thanks for your reply,
/var/log/apache2/error.log :
[Fri Mar 25 00:00:04.090379 2022] [mpm_event:notice] [pid 2201765:tid 140629859634496] AH00489: Apache/2.4.52 (Debian) OpenSSL/1.1.1k configured -- resuming normal operations [Fri Mar 25 00:00:04.090392 2022] [core:notice] [pid 2201765:tid 140629859634496] AH00094: Command line: '/usr/sbin/apache2' [Fri Mar 25 06:43:27.348886 2022] [mpm_event:notice] [pid 2201765:tid 140629859634496] AH00492: caught SIGWINCH, shutting down gracefully [Fri Mar 25 06:43:47.700694 2022] [mpm_event:notice] [pid 988:tid 140401919806784] AH00489: Apache/2.4.52 (Debian) OpenSSL/1.1.1k configured -- resuming normal operations [Fri Mar 25 06:43:47.701703 2022] [core:notice] [pid 988:tid 140401919806784] AH00094: Command line: '/usr/sbin/apache2' [Fri Mar 25 10:39:01.207082 2022] [proxy_fcgi:error] [pid 989:tid 140401801422592] [client 192.168.10.100:64323] AH01071: Got error 'PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/fog/lib/fog/fogmanagercontroller.class.php on line 1245', referer: http://fog/fog/management/index.php?node=task&sub=search
/var/log/apache2/other_vhosts_access.log
192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:31:17 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969375 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.6.151 - - [25/Mar/2022:21:31:21 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 671 "-" "-" 192.168.10.60:80 192.168.6.151 - - [25/Mar/2022:21:31:21 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=A4:BB:6D:A8:CA:ED%7C4C:EB:BD:5E:7E:B5%7C4E:EB:BD:5E:7E:B5%7C5E:EB:BD:5E:7E:B5%7C4C:EB:BD:5E:7E:B6&newService&json HTTP/1.1" 200 3694 "-" "-" 192.168.10.60:80 192.168.6.151 - - [25/Mar/2022:21:31:21 +0100] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 553 "-" "-" 192.168.10.60:80 192.168.6.151 - - [25/Mar/2022:21:31:21 +0100] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 556 "-" "-" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:31:22 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969376 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.6.178 - - [25/Mar/2022:21:31:27 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 671 "-" "-" 192.168.10.60:80 192.168.6.178 - - [25/Mar/2022:21:31:27 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=8C:04:BA:A1:73:F7%7CD8:12:65:22:50:07%7CDA:12:65:22:50:07%7CEA:12:65:22:50:07%7CD8:12:65:22:50:08&newService&json HTTP/1.1" 200 3694 "-" "-" 192.168.10.60:80 192.168.6.178 - - [25/Mar/2022:21:31:27 +0100] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 553 "-" "-" 192.168.10.60:80 192.168.6.178 - - [25/Mar/2022:21:31:27 +0100] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 556 "-" "-" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:31:27 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969377 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:31:33 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969378 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.6.53 - - [25/Mar/2022:21:31:34 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 670 "-" "-" 192.168.10.60:80 192.168.6.53 - - [25/Mar/2022:21:31:34 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=A4:BB:6D:A9:70:9E%7C4C:EB:BD:5D:A7:6B%7C4E:EB:BD:5D:A7:6B%7C5E:EB:BD:5D:A7:6B%7C4C:EB:BD:5D:A7:6C&newService&json HTTP/1.1" 200 3694 "-" "-" 192.168.10.60:80 192.168.6.53 - - [25/Mar/2022:21:31:34 +0100] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 553 "-" "-" 192.168.10.60:80 192.168.6.53 - - [25/Mar/2022:21:31:34 +0100] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 556 "-" "-" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:31:37 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969379 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:31:43 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969380 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.6.85 - - [25/Mar/2022:21:31:44 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 671 "-" "-" 192.168.10.60:80 192.168.6.85 - - [25/Mar/2022:21:31:44 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=A4:BB:6D:A8:CC:81%7C4C:EB:BD:37:02:1D%7C4E:EB:BD:37:02:1D%7C5E:EB:BD:37:02:1D%7C4C:EB:BD:37:02:1E&newService&json HTTP/1.1" 200 3694 "-" "-" 192.168.10.60:80 192.168.6.85 - - [25/Mar/2022:21:31:44 +0100] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 553 "-" "-" 192.168.10.60:80 192.168.6.85 - - [25/Mar/2022:21:31:44 +0100] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 556 "-" "-" 192.168.10.60:80 192.168.6.84 - - [25/Mar/2022:21:31:47 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 670 "-" "-" 192.168.10.60:80 192.168.6.84 - - [25/Mar/2022:21:31:47 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=8C:04:BA:A1:70:03%7CD8:12:65:22:28:49%7CDA:12:65:22:28:49%7CEA:12:65:22:28:49%7CD8:12:65:22:28:4A&newService&json HTTP/1.1" 200 3694 "-" "-" 192.168.10.60:80 192.168.6.84 - - [25/Mar/2022:21:31:47 +0100] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 553 "-" "-" 192.168.10.60:80 192.168.6.84 - - [25/Mar/2022:21:31:47 +0100] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 556 "-" "-" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:31:47 +0100] "POST /fog/status/getservertime.php HTTP/1.1" 200 702 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:31:47 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969381 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.6.78 - - [25/Mar/2022:21:31:48 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 670 "-" "-" 192.168.10.60:80 192.168.6.78 - - [25/Mar/2022:21:31:48 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=8C:04:BA:A1:7B:D3%7CD8:12:65:20:63:17%7CDA:12:65:20:63:17%7CEA:12:65:20:63:17%7CD8:12:65:20:63:18&newService&json HTTP/1.1" 200 3694 "-" "-" 192.168.10.60:80 192.168.6.78 - - [25/Mar/2022:21:31:48 +0100] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 553 "-" "-" 192.168.10.60:80 192.168.6.78 - - [25/Mar/2022:21:31:48 +0100] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 556 "-" "-" 192.168.10.60:80 192.168.6.179 - - [25/Mar/2022:21:31:51 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 671 "-" "-" 192.168.10.60:80 192.168.6.179 - - [25/Mar/2022:21:31:51 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=A4:BB:6D:A9:BC:42%7C4C:EB:BD:5E:7E:B9%7C4E:EB:BD:5E:7E:B9%7C5E:EB:BD:5E:7E:B9%7C4C:EB:BD:5E:7E:BA&newService&json HTTP/1.1" 200 3694 "-" "-" 192.168.10.60:80 192.168.6.179 - - [25/Mar/2022:21:31:51 +0100] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 553 "-" "-" 192.168.10.60:80 192.168.6.179 - - [25/Mar/2022:21:31:51 +0100] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 556 "-" "-" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:31:52 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969382 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:31:57 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969383 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:31:58 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 671 "-" "-" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:31:58 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=A4:BB:6D:6B:64:C1%7CDA:12:65:73:44:71%7CEA:12:65:73:44:71%7CD8:12:65:73:44:71%7CD8:12:65:73:44:72%7C%7C00:15:5D:DD:82:0D%7C00:15:5D:78:3F:31&newService&json HTTP/1.1" 200 552 "-" "-" 192.168.10.60:80 192.168.6.188 - - [25/Mar/2022:21:32:00 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 670 "-" "-" 192.168.10.60:80 192.168.6.188 - - [25/Mar/2022:21:32:00 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=A4:BB:6D:A9:E8:EE%7C4C:EB:BD:36:E7:3D%7C4E:EB:BD:36:E7:3D%7C5E:EB:BD:36:E7:3D%7C4C:EB:BD:36:E7:3E&newService&json HTTP/1.1" 200 3694 "-" "-" 192.168.10.60:80 192.168.6.188 - - [25/Mar/2022:21:32:00 +0100] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 553 "-" "-" 192.168.10.60:80 192.168.6.188 - - [25/Mar/2022:21:32:00 +0100] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 556 "-" "-" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:32:02 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969384 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:32:07 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969385 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.6.194 - - [25/Mar/2022:21:32:08 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 671 "-" "-" 192.168.10.60:80 192.168.6.194 - - [25/Mar/2022:21:32:08 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=A4:BB:6D:A9:54:36%7C4C:EB:BD:37:03:53%7C4E:EB:BD:37:03:53%7C5E:EB:BD:37:03:53%7C4C:EB:BD:37:03:54&newService&json HTTP/1.1" 200 3694 "-" "-" 192.168.10.60:80 192.168.6.194 - - [25/Mar/2022:21:32:08 +0100] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 553 "-" "-" 192.168.10.60:80 192.168.6.194 - - [25/Mar/2022:21:32:08 +0100] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 556 "-" "-" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:32:12 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969386 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.6.177 - - [25/Mar/2022:21:32:13 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 670 "-" "-" 192.168.10.60:80 192.168.6.177 - - [25/Mar/2022:21:32:13 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=A4:BB:6D:A9:C0:01%7C4C:EB:BD:5D:6F:95%7C4E:EB:BD:5D:6F:95%7C5E:EB:BD:5D:6F:95%7C4C:EB:BD:5D:6F:96&newService&json HTTP/1.1" 200 3694 "-" "-" 192.168.10.60:80 192.168.6.177 - - [25/Mar/2022:21:32:13 +0100] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 553 "-" "-" 192.168.10.60:80 192.168.6.177 - - [25/Mar/2022:21:32:13 +0100] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 556 "-" "-" 192.168.10.60:80 192.168.6.52 - - [25/Mar/2022:21:32:17 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 670 "-" "-" 192.168.10.60:80 192.168.6.52 - - [25/Mar/2022:21:32:17 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=8C:04:BA:A1:57:E1%7CD8:12:65:22:4F:C3%7CDA:12:65:22:4F:C3%7CEA:12:65:22:4F:C3%7CD8:12:65:22:4F:C4&newService&json HTTP/1.1" 200 3694 "-" "-" 192.168.10.60:80 192.168.6.52 - - [25/Mar/2022:21:32:17 +0100] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 553 "-" "-" 192.168.10.60:80 192.168.6.52 - - [25/Mar/2022:21:32:18 +0100] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 556 "-" "-" 192.168.10.60:80 192.168.10.100 - - [25/Mar/2022:21:32:17 +0100] "GET /fog/management/index.php?node=task&sub=activesnapins&_=1648231969387 HTTP/1.1" 200 1405 "http://fog/fog/management/index.php?node=task&sub=activesnapins" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" 192.168.10.60:80 192.168.6.186 - - [25/Mar/2022:21:32:20 +0100] "GET /fog/management/index.php?sub=requestClientInfo&configure&newService&json HTTP/1.1" 200 671 "-" "-" 192.168.10.60:80 192.168.6.186 - - [25/Mar/2022:21:32:20 +0100] "GET /fog/management/index.php?sub=requestClientInfo&mac=A4:BB:6D:A8:CE:23%7C4C:EB:BD:5E:7E:BB%7C4E:EB:BD:5E:7E:BB%7C5E:EB:BD:5E:7E:BB%7C4C:EB:BD:5E:7E:BC&newService&json HTTP/1.1" 200 3694 "-" "-" 192.168.10.60:80 192.168.6.186 - - [25/Mar/2022:21:32:20 +0100] "GET /fog/service/getversion.php?clientver&newService&json HTTP/1.1" 200 553 "-" "-" 192.168.10.60:80 192.168.6.186 - - [25/Mar/2022:21:32:20 +0100] "GET /fog/service/getversion.php?newService&json HTTP/1.1" 200 556 "-" "-"
-
@Matthieu-Jacquart Figured it out. This is fixed in 1.5.9.139. Sorry for the delay and thanks a lot for using dev-branch!
-
@sebastian-roth Hi, just tested, works like a charm