FOG Client 0.11.3 - no config.json file
-
@Wayne-Workman I suspect this is a filesize issue, though I don’t know for sure.
I’ve updated the codebase to be more agnostic toward architecture but I don’t know if this will help for this particular issue.
It certains does seem odd of a problem. Maybe you can try to download the file the same way the client attempts? Does require a bit of work to get right but should work once we get done.
-
@Tom-Elliott I would just use the link in the log right? I guess the ID would need added by 1 after a failed deployment and redeployment, with the client turned off.
-
Figured out why there was no spike in network traffic, the file was zero size.
FYI, I ran thisls
command AFTER I went into the smart notebook snapin, clicked delete, and checked the box to delete files as well. So FOG 1.3.0 RC1 isn’t deleting snapins. I don’t see anything relevant in the apache error logs.[root@mb-fog snapins]# ls -laht /opt/fog/snapins/ total 395M drwxrwxr-x. 3 fog apache 4.0K Jul 19 12:21 . drwxr-xr-x. 5 root root 4.0K Jul 19 07:17 .. -rwxrwxr-x. 1 fog apache 0 Jul 15 13:01 Smart Notebook 2016.zip -rwxrwxr-x. 1 fog apache 51 Jul 12 07:13 Set_Timezone.bat -rwxrwxr-x. 1 fog apache 51M Jul 6 09:56 googlechromestandaloneenterprise64.msi -rwxrwxr-x. 1 fog apache 5.7M Jun 30 12:26 MerakiSM-Agent-mb.msi -rwxrwxr-x. 1 fog apache 254M Jun 30 09:17 avast-install-mb-domain.exe -rwxrwxr-x. 1 fog apache 2.8K May 27 10:09 Apply-Default-Profile-args.bat -rwxrwxr-x. 1 fog apache 2.9K May 18 12:27 DeployProfile.bat -rwxrwxr-x. 1 fog apache 45M May 6 07:40 googlechromestandaloneenterprise.msi -rwxrwxr-x. 1 fog apache 21M Mar 15 07:48 install_flash_player_21_plugin.msi -rwxrwxr-x. 1 fog apache 20M Mar 15 07:32 install_flash_player_21_active_x.msi drwxrwxr-x. 3 fog apache 4.0K Feb 25 08:44 ssl [root@mb-fog snapins]#
I wonder if it’s due to the space in the filename?
-
I’m attempting to re-do the snapin now.
-
Don’t lie.
I just tested running 1.3.0-RC-1 deleting snapins works fine to remove files.
-
@Tom-Elliott It didn’t delete it. Note the space in the file name.
-
Well, this is highly interesting. I just re-built the snapin pack to use the new format, set it up in the GUI, and clicked add. I watched the percent count up in the bottom left of Chrome for the upload. After it got done, this is all that appears in
/opt/fog/snapins
[root@mb-fog snapins]# ls -la total 317304 drwxrwxr-x. 3 fog apache 4096 Jul 19 12:46 . drwxr-xr-x. 5 root root 4096 Jul 19 07:17 .. -rwxrwxr-x. 1 fog apache 266245249 Jun 30 09:17 avast-install-mb-domain.exe -rwxrwxr-x. 1 fog apache 52764672 Jul 6 09:56 googlechromestandaloneenterprise64.msi -rwxrwxr-x. 1 fog apache 5885952 Jun 30 12:26 MerakiSM-Agent-mb.msi -rwxrwxr-x. 1 fog apache 51 Jul 12 07:13 Set_Timezone.bat -rwxr-xr-x. 1 fog fog 0 Jul 19 12:46 SmartNotebook2016.zip drwxrwxr-x. 3 fog apache 4096 Feb 25 08:44 ssl [root@mb-fog snapins]#
-
Just confirmed that my server, Fedora 21, is 64 bit:
[root@mb-fog snapins]# arch x86_64 [root@mb-fog snapins]#
-
Found some ftp logs in /var/log, they also show the 0 file size. Still digging…
cat /var/log/xferlog-20160718
Fri Jul 15 11:25:32 2016 5 10.2.1.11 266245249 /opt/fog/snapins/avast-install-mb-domain.exe b _ o r fog ftp 0 * c Fri Jul 15 11:25:34 2016 11 10.2.1.11 266245249 /opt/fog/snapins/avast-install-mb-domain.exe b _ o r fog ftp 0 * c Fri Jul 15 11:26:03 2016 3 10.2.1.11 266245249 /opt/fog/snapins/avast-install-mb-domain.exe b _ o r fog ftp 0 * c Fri Jul 15 11:27:05 2016 1 10.2.1.11 5885952 /opt/fog/snapins/MerakiSM-Agent-mb.msi b _ o r fog ftp 0 * c Fri Jul 15 11:27:11 2016 3 10.2.1.11 5885952 /opt/fog/snapins/MerakiSM-Agent-mb.msi b _ o r fog ftp 0 * c Fri Jul 15 11:27:41 2016 3 10.2.1.11 5885952 /opt/fog/snapins/MerakiSM-Agent-mb.msi b _ o r fog ftp 0 * c Fri Jul 15 13:01:11 2016 1 10.2.1.11 0 /opt/fog/snapins/Smart_Notebook_2016.zip b _ i r fog ftp 0 * c Fri Jul 15 13:03:16 2016 1 10.2.1.11 0 /opt/fog/snapins/Smart_Notebook_2016.zip b _ o r fog ftp 0 * c Fri Jul 15 13:12:31 2016 1 10.2.1.11 0 /opt/fog/snapins/SmartNotebook2016.zip b _ i r fog ftp 0 * c Fri Jul 15 13:13:59 2016 1 10.2.1.11 0 /opt/fog/snapins/SmartNotebook2016.zip b _ o r fog ftp 0 * c Fri Jul 15 14:38:16 2016 6 10.2.1.11 266245249 /opt/fog/snapins/avast-install-mb-domain.exe b _ o r fog ftp 0 * c Fri Jul 15 14:39:48 2016 1 10.2.1.11 5885952 /opt/fog/snapins/MerakiSM-Agent-mb.msi b _ o r fog ftp 0 * c Fri Jul 15 15:04:09 2016 3 10.2.1.11 266245249 /opt/fog/snapins/avast-install-mb-domain.exe b _ o r fog ftp 0 * c Fri Jul 15 15:06:05 2016 1 10.2.1.11 5885952 /opt/fog/snapins/MerakiSM-Agent-mb.msi b _ o r fog ftp 0 * c
-
i had an issue similar if not identical a while back. it went away after updating to a newer build, so i assumed it was a bug that was fixed. creating a snapin would create a 0 length file with the name, but obviously didn’t actually upload the file to the server. i don’t remember much more details than that, it was a week or two ago.
-
I guess now, I need to test a 1.5 GB snapin pack… I’m just going to throw crap in a file until it’s about that size, don’t care about functionality at this point, This is related to file size.
-
@Junkhacker I can only guess that the post_max_filesize and upload_max_size (or whatever they are) are not set to the value of the file that’s being uploaded currently?
Just a guess of course.
WTH do I know though?
Can you check your server’s php.ini settings for these two things @Wayne-Workman
-
@Tom-Elliott Those two things are already set to 10000M. They are
upload_max_filesize
andpost_max_size
inside php.ini, On my server, it was/etc/php.ini
-
@Tom-Elliott when i had the problem (and it may be unrelated to his problem) it wasn’t a filesize issue. my snapins were less than 1MB in size. i have not had the problem with 1.3.0-RC-1. perhaps it is worth noting that the file owner details are different now, though. owner of older snapin files are fog:www-data new snapins are fog:fog
-
The snapin is approx. 2.11GB, I have enough space on
/
to hold it, I was reading online that not enough space can cause it.[root@mb-fog log]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 2.0G 0 2.0G 0% /dev tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 2.0G 432K 2.0G 1% /run tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup /dev/mapper/fedora--server-root 20G 7.1G 12G 39% / tmpfs 2.0G 2.0M 2.0G 1% /tmp /dev/sda1 976M 116M 794M 13% /boot /dev/mapper/fedora--server-images 468G 230G 215G 52% /images tmpfs 395M 0 395M 0% /run/user/0
-
@Wayne-Workman I’m not asking for disk size available. I’m asking about the /etc/php/php.ini (or whereever it’s located).
-
@Junkhacker said in FOG Client 0.11.3 - no config.json file:
perhaps it is worth noting that the file owner details are different now, though. owner of older snapin files are fog:www-data new snapins are fog:fog
Mine are fog:apache for the snapins folder… I’ll try fog:fog and see what happens.
—EDIT—
I set permissions recursively on the snapins folder, then re-created the snapin in the gui. Didn’t seem to affect the zero file size.
[root@mb-fog snapins]# ls -la total 317304 drwxrwxr-x. 3 fog fog 4096 Jul 19 13:24 . drwxr-xr-x. 5 root root 4096 Jul 19 07:17 .. -rwxrwxr-x. 1 fog fog 266245249 Jun 30 09:17 avast-install-mb-domain.exe -rwxrwxr-x. 1 fog fog 52764672 Jul 6 09:56 googlechromestandaloneenterprise64.msi -rwxrwxr-x. 1 fog fog 5885952 Jun 30 12:26 MerakiSM-Agent-mb.msi -rwxrwxr-x. 1 fog fog 51 Jul 12 07:13 Set_Timezone.bat -rwxr-xr-x. 1 fog fog 0 Jul 19 13:24 SmartNotebook2016.zip drwxrwxr-x. 3 fog fog 4096 Feb 25 08:44 ssl [root@mb-fog snapins]#
-
I also just gave the server a reboot, and then re-tried. No luck.
At this point - I’m going to just manually place the file in the right spot and set permissions, and hope that works.
-
Well of course, placing the file manually didn’t work because there was no hash created for it.
Guess I’m doing this deployment with a batch file snapin.
-
@Wayne-Workman have you verified that you can log into the server as the user “fog” with the password that is stored in the storage management page?