FOG Client 0.11.3 - no config.json file
-
@Junkhacker said in FOG Client 0.11.3 - no config.json file:
@Wayne-Workman try to chmod 775 SmartNotebook2016.zip and upload the file again
Did that. The upload went much slower that time for some reason, but did complete. File size is still zero. Notice The file size from my manual placement changed to 0 after updating the snapin with a new file.
[root@mb-fog snapins]# ls -la total 2532300 drwxrwxr-x. 3 fog fog 4096 Jul 19 13:32 . 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 -rwxrw-rw-. 1 fog fog 2268149127 Jul 19 12:43 SmartNotebook2016.zip drwxrwxr-x. 3 fog fog 4096 Feb 25 08:44 ssl [root@mb-fog snapins]# chmod 775 SmartNotebook2016.zip [root@mb-fog snapins]# ls -la total 2532300 drwxrwxr-x. 3 fog fog 4096 Jul 19 13:32 . 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 -rwxrwxr-x. 1 fog fog 2268149127 Jul 19 12:43 SmartNotebook2016.zip drwxrwxr-x. 3 fog fog 4096 Feb 25 08:44 ssl [root@mb-fog snapins]# ls avast-install-mb-domain.exe googlechromestandaloneenterprise64.msi MerakiSM-Agent-mb.msi Set_Timezone.bat SmartNotebook2016.zip ssl [root@mb-fog snapins]# ls -la total 2532300 drwxrwxr-x. 3 fog fog 4096 Jul 19 13:32 . 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 -rwxrwxr-x. 1 fog fog 2268149127 Jul 19 12:43 SmartNotebook2016.zip drwxrwxr-x. 3 fog fog 4096 Feb 25 08:44 ssl [root@mb-fog snapins]# ls -la total 317304 drwxrwxr-x. 3 fog fog 4096 Jul 19 13:44 . 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:44 SmartNotebook2016.zip drwxrwxr-x. 3 fog fog 4096 Feb 25 08:44 ssl [root@mb-fog snapins]#
-
@Developers I’m suspicious of the hashing functionality at the moment.
-
@Wayne-Workman are you still able to upload snapins that are not snapinpacks?
-
@Wayne-Workman the upload isn’t working let’s figure that out first. Hashing is checked when the snapin checks in. A 0 size file hash is being returned
-
If i had to guess its specific to ftp timeout during the transfer .
-
@Tom-Elliott That would make sense. I’ll start researching that.
-
@Wayne-Workman it’s configurable in fog settings
-
@Junkhacker Just tested with a 1.6MB file, it worked.
-
@Tom-Elliott It was set to 90. I changed it to 900 and tried again, didn’t work. Then I rebooted the server and tried again, didn’t work.
-
@Wayne-Workman https://www.sitepoint.com/upload-large-files-in-php/
It’s somewhat involved sure but I think some of the suggested items may also be pertinent. Particularly input and execution time .
-
Just surmising it’s returned after a specific time like 30 seconds
-
@Tom-Elliott max_input_time is not defined, max_execution_time is set to 30. I’ll change all these to 900 and try again.
-
@Tom-Elliott No luck.
-
@Wayne-Workman how fast is it returning? Is it a specific interval? Is it possible firewall blocking due to size ?
-
@Tom-Elliott After clicking the “update” button at the bottom of the snapin, it takes approx. 50 seconds until the message at the top displays “Snapin updated”. During that time, I can see percentage progress in the bottom left corner of Chrome.
-
@Wayne-Workman the progress on chrome only shows to the tmp location on the server it’s uploading to. This is typically loaded to /tmp on the file system. Is there enough space to that file system?
-
@Wayne-Workman based on the replied posting here tmpfs only has 2.0G. Could you try a smaller large file just to see if this is the issue?
-
@Tom-Elliott If that’s the case, I will rebuild this server. I’ll try a 1GB-ish file soon.
-
@Wayne-Workman going to guess a bit further the upload gets to about 80% when it returns?
-
@Tom-Elliott No sir, it goes all the way. It hesitates for just the slightest moment at 99% and then says completed.