• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. NT_Tech
    3. Posts
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 33
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by NT_Tech

    • Failure to complete pull on large Windows 10 Image

      I am trying to pull a 400GB image off our eSports machines. It is 75GB larger than the previous image (that worked.) It seems to pull the image, and the PC shuts down, but the task never completes on FOG. I tried moving the files from the dev folder and the pull is full of orphaned files, which a chkdsk does not fix. The PC I pulled the image from boots to Windows but now also has tons of orphaned file segments. I have tried various M.2 drives (originally thinking it was the drive) and several machines. Each time I have the same issue. I have 1.2TB free on FOG to pull the image to.

      I have redone the process enough times that I am here…

      Any help would be appreciated. I am wondering if I should change the image compression.

      posted in FOG Problems
      N
      NT_Tech
    • RE: Access Control

      OKAY…I “kind of” solved my issue. If you go into the database and change the uType on an account from 0 to 1, then that user cannot delete anything. I was more concerned about that than anything else. I had hoped a type 2 could image and not access the GUI (mobile user) but then the user cannot image at all. But I am 1/2 way there.

      Maybe the Access Control will be fixed for 1.54 and I can try it again. I am beginning to regret updating past 1.3…but the past is the past.

      Brian

      posted in General Problems
      N
      NT_Tech
    • Access Control Plugin and 1.54

      Re: Access Control Plugin

      Does anyone have this working? I have it installed but it doesn’t appear to actually add users to the roles and work.

      I would love this functionality for my intern and my student accounts.

      Brian

      posted in FOG Problems
      N
      NT_Tech
    • RE: Access Control

      @Junkhacker I am using PHPMyAdmin on FOG 1.54 (Ubuntu 16.04 Server) and if I make a user manually the PXE Boot does not allow me to use it to image. I keep getting Invalid Logon.

      posted in General Problems
      N
      NT_Tech
    • RE: Access Control

      @Junkhacker I really miss the mobile interface! I used to use it whenever I had an issue around the district. I would not have upgraded had I known I was going to loose features…but I am there now. How do I manually add a user into the database? PHPMyAdmin?

      posted in General Problems
      N
      NT_Tech
    • RE: Access Control

      @Sebastian-Roth I certainly would be willing to help with questions where I can. I have used FOG since .32 and love it. My students use it as well but someone recently deleted an image and I need to restrict their access so I don’t have to rebuild it again!

      Brian

      posted in General Problems
      N
      NT_Tech
    • RE: Access Control

      Well that would certainly work. How would I enter a user directly into the database?

      I did try the AccessControl Plugin, which would work by simply taking away all items from the “imager” role, but it doesn’t seem to be working.

      posted in General Problems
      N
      NT_Tech
    • Access Control

      It is REALLY important that we return to having some level of access control in FOG. In the early versions we could specify whether someone was a full or imaging only user. For years I have been able to let my student helpers reimage laptops whenever there was an issue with our 1:1 student laptops. Now, if I give them an account, they can do anything that I can do, including deleting images, making new users…

      FOG is not a single user system. We need to get back to at least an account that only allows deploying images from the PXE boot if nothing else.

      PLEASE re-add this functionality!

      Brian

      posted in General Problems
      N
      NT_Tech
    • RE: FOG server crashing on group deployment

      @reese I am having the same issue. How did you safely downgrade back to 1.4.4. I had no issues there but can’t image an entire lab anymore. Just locks up. Hints on the downgrade process would be appreciated!

      posted in FOG Problems
      N
      NT_Tech
    • RE: Installing on Ubuntu 18.04

      @tom-elliott Tom, I am open to any distro. While I have always used Ubuntu with FOG, I would like to know what you are programming and testing on, so I can use the same distro. Just makes sense since I am building a new server anyway.

      So…what are you using?

      Brian

      posted in Linux Problems
      N
      NT_Tech
    • RE: Fog HTTP completely unresponsive

      I has a similar issue when we had sent to about 30 machines. While it shouldn’t make a difference as we only let 10 image concurrently, it did. When I edited the php.ini file in /etc/php/7.1/apache2 and changed the memory_limit from 128M to 256M, it worked as soon as I rebooted.

      I am on Ubuntu 16.04 LTS and FOG 1.5.4

      posted in FOG Problems
      N
      NT_Tech
    • RE: FOG Imaging log issue.

      @nt_tech

      I’ll reply to myself! 🙂

      I dumped the database as a backup and used PHPMyAdmin to delete the first 1000 entries in the imaginglog table.
      It all works now! There was obviously a bad record somewhere in there that was breaking the report.

      As a side note, the imaging log issue was arrarently fixed. When I change the definition on a host is DOES NOT change the record of what was previously imaged…as it should be.

      Glad I upgraded.

      Brian

      posted in FOG Problems
      N
      NT_Tech
    • RE: Need your help with Windows 10 sysprep (weird issue of course)

      @boyan-biandov

      I had issues as well. I will over-answer for you in an attempt to help others.

      I have a “startup” folder on my root drives for all images. It is protected from anyone but the system administrator from access. I use it for more that this (like a batch file that forces gpupdate after it is joined.)

      It has three files in it related to the sysprep process.
      prepit.bat <- syspreps the system
      unattent.xml <- the unattend xml file for the sysprep (this one is for Enterprise LTS 2016 with KMS Keys)
      setupcomplete.cmd <- the file the reinserts FOG Service on the image after imaging.

      Prepit.bat
      😄
      REM make the folder and copy the FOG Service start file there
      mkdir C:\Windows\Setup\scripts
      copy c:\startup\setupcomplete.cmd C:\Windows\Setup\scripts\setupcomplete.cmd
      REM Make sure the current unattend.xml file is in the folder
      copy c:\startup\unattend.xml C:\Windows\System32\sysprep\unattend.xml
      REM disable the FOG service before sysprep
      sc config fogservice start=demand
      REM sysprep the machine and shut down.
      C:\Windows\System32\sysprep\sysprep /generalize /oobe /shutdown /unattend:C:\Windows\System32\sysprep\unattend.xml

      SetupComplete.cmd
      sc config FOGService start= auto
      shutdown -t 0 -r

      Unattend.xml
      <?xml version=“1.0” encoding=“utf-8”?>
      <unattend xmlns=“urn:schemas-microsoft-com:unattend”>
      <settings pass=“specialize”>
      <component name=“Microsoft-Windows-Shell-Setup” processorArchitecture=“amd64” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
      <CopyProfile>true</CopyProfile>
      <ShowWindowsLive>false</ShowWindowsLive>
      <TimeZone>Eastern Standard Time</TimeZone>
      <ProductKey>NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J</ProductKey>
      <RegisteredOrganization>NTLS</RegisteredOrganization>
      </component>
      <component name=“Microsoft-Windows-Deployment” processorArchitecture=“amd64” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
      <RunSynchronous>
      <RunSynchronousCommand wcm:action=“add”>
      <Order>1</Order>
      <Path>cmd /c net user administrator /active:yes</Path>
      </RunSynchronousCommand>
      </RunSynchronous>
      </component>
      </settings>
      <settings pass=“oobeSystem”>
      <component name=“Microsoft-Windows-International-Core” processorArchitecture=“amd64” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
      <InputLocale>en-US</InputLocale>
      <SystemLocale>en-US</SystemLocale>
      <UILanguage>en-US</UILanguage>
      <UILanguageFallback>en-US</UILanguageFallback>
      <UserLocale>en-US</UserLocale>
      </component>
      <component name=“Microsoft-Windows-Shell-Setup” processorArchitecture=“amd64” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
      <OOBE>
      <HideEULAPage>true</HideEULAPage>
      <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
      <NetworkLocation>Work</NetworkLocation>
      <ProtectYourPC>1</ProtectYourPC>
      <SkipMachineOOBE>true</SkipMachineOOBE>
      <SkipUserOOBE>true</SkipUserOOBE>
      </OOBE>
      <RegisteredOrganization>National Trail Local Schools</RegisteredOrganization>
      <RegisteredOwner>National Trail Local Schools</RegisteredOwner>
      <ShowWindowsLive>false</ShowWindowsLive>
      <TimeZone>Eastern Standard Time</TimeZone>
      </component>
      </settings>
      <settings pass=“generalize”>
      <component name=“Microsoft-Windows-Security-SPP” processorArchitecture=“amd64” publicKeyToken=“31bf3856ad364e35” language=“neutral” versionScope=“nonSxS” xmlns:wcm=“http://schemas.microsoft.com/WMIConfig/2002/State” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
      <SkipRearm>1</SkipRearm>
      </component>
      </settings>
      <cpi:offlineImage cpi:source=“wim:c:/users/administrator/documents/win10/sources/install.wim#Windows 10 Enterprise 2016 LTSB” xmlns:cpi=“urn:schemas-microsoft-com:cpi” />
      </unattend>

      The automation of the killing of FOG and restarting has helped me not forget. You can use the same files to kill other processes as well and restart them after imaging.

      Brian

      posted in Windows Problems
      N
      NT_Tech
    • FOG Imaging log issue.

      About a week ago I lost the ability to look at the “Imaging Log” in the FOG Reports section. I am on 1.5.4 and recently upgraded. The issue was also there on 1.4 and I had hoped it would be fixed with the upgrade. Basically I go to the page and it never loads. In Chrome I get a “This page isn’t working” error. In Firefox it simply returns a blank page and nothing ever loads.

      I was wondering if I could simply delete the contents of the log so that it starts adding the current imaging log again. I used this to see what had been accomplished by my interns each day as a reference, and to ensure the right image was sent to the correct machine.

      Any help would be appreciated. I may backup the database and take a shot at just seeing what dumping the table does, but I would prefer the input from someone that has seen this error.

      As a side note, the imaging log on 1.4 was wrong and I had hoped that it was fixed in 1.5.4 but can’t see if it has. 1.4 showed a machine as imaged but showed the current image definition, not what was sent. If I send Image A and then changed the host to Image B, the log showed it was imaged previously with B. Kind of a small issue if you want to know what was sent, not what will be sent.

      Brian

      posted in FOG Problems
      N
      NT_Tech
    • RE: lost web GUI on fog server

      Thanks! @tom-elliott

      Just had this issue with Ubuntu 16.04 and Fog 1.4.4

      Followed these steps and I am back in business!

      posted in FOG Problems
      N
      NT_Tech
    • FOG Down today, no GUI and all PXE boots failed

      My entire network is set to PXE first so that I can reimage on the fly whenever there is an issue. That became an issue for the fist time today when FOG became completely unresponsive. No PXE, no GUI, nada. I am running Ubuntu 16.04 and Fog version 1.4.4.

      I ran tail -n 100 /var/log/apache2/error.log and the error log is below. I could rerun the install but am concerned that I may loose all my hosts. Any suggestions would be helpful!

      root@FOG14:~# tail -n 100 /var/log/apache2/error.log
      [Tue Apr 24 07:22:32.892594 2018] [mpm_prefork:notice] [pid 1164] AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.0g configured – resuming normal operations
      [Tue Apr 24 07:22:32.892617 2018] [core:notice] [pid 1164] AH00094: Command line: ‘/usr/sbin/apache2’
      [Tue Apr 24 07:22:49.528410 2018] [php7:error] [pid 4979] [client 10.66.6.162:33314] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent(‘SEARCH_PAGES’, Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass(‘FOGPageManager’)\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
      [Tue Apr 24 07:23:49.575362 2018] [php7:error] [pid 4979] [client 10.66.6.162:33380] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent(‘SEARCH_PAGES’, Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass(‘FOGPageManager’)\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
      [Tue Apr 24 07:24:49.632835 2018] [php7:error] [pid 5130] [client 10.66.6.162:33446] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent(‘SEARCH_PAGES’, Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass(‘FOGPageManager’)\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
      [Tue Apr 24 07:25:49.685973 2018] [php7:error] [pid 4978] [client 10.66.6.162:33510] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent(‘SEARCH_PAGES’, Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass(‘FOGPageManager’)\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
      [Tue Apr 24 07:26:49.732591 2018] [php7:error] [pid 4978] [client 10.66.6.162:33574] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent(‘SEARCH_PAGES’, Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass(‘FOGPageManager’)\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
      [Tue Apr 24 07:27:49.776000 2018] [php7:error] [pid 4982] [client 10.66.6.162:33644] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent(‘SEARCH_PAGES’, Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass(‘FOGPageManager’)\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
      [Tue Apr 24 07:28:49.832540 2018] [php7:error] [pid 4979] [client 10.66.6.162:33714] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent(‘SEARCH_PAGES’, Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass(‘FOGPageManager’)\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
      [Tue Apr 24 07:29:49.882912 2018] [php7:error] [pid 4978] [client 10.66.6.162:33782] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent(‘SEARCH_PAGES’, Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass(‘FOGPageManager’)\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
      [Tue Apr 24 07:30:49.925823 2018] [php7:error] [pid 4981] [client 10.66.6.162:33858] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent(‘SEARCH_PAGES’, Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass(‘FOGPageManager’)\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
      [Tue Apr 24 07:31:49.973066 2018] [php7:error] [pid 4980] [client 10.66.6.162:33948] PHP Fatal error: Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/fogpagemanager.class.php(82): HookManager->processEvent(‘SEARCH_PAGES’, Array)\n#3 [internal function]: FOGPageManager->__construct()\n#4 /var/www/fog/lib/fog/fogbase.class.php(457): ReflectionClass->newInstanceArgs(Array)\n#5 /var/www/fog/management/index.php(23): FOGBase::getClass(‘FOGPageManager’)\n#6 {main}\n thrown in /var/www/fog/lib/db/pdodb.class.php on line 443

      posted in FOG Problems
      N
      NT_Tech
    • RE: Scheduled tasks are not starting in FOG 1.2.0

      My assistant thinks I would be nuts to try trunk again! We just rebuilt every image back to 1.2 base after a slew of issues with the trunk version. The ONLY thing not working for us in 1.2 is the scheduled imaging feature. Can you pinky swear to me that trunk is stable enough? And can you keep my assistant from sneaking up behind me and whacking me with a pc power supply if it isn’t?

      posted in FOG Problems
      N
      NT_Tech
    • RE: Scheduled tasks are not starting in FOG 1.2.0

      Ubuntu 12.04 Fog 1.2.

      What PHP files? It takes the task, but never moves them to active.

      posted in FOG Problems
      N
      NT_Tech
    • RE: Scheduled tasks are not starting in FOG 1.2.0

      Did you ever get this fixed? I recently reverted to the 1.2 release and the only thing NOT working is scheduled tasks.

      Appreciate knowing the fix, thanks.

      posted in FOG Problems
      N
      NT_Tech
    • RE: Image Size on Server always ~2GB (Dashboard)

      [quote=“Tom Elliott, post: 34635, member: 7271”]For Ubuntu/Debian:
      [code]wget -O /var/www/fog/lib/fog/FOGFTP.class.php https://svn.code.sf.net/p/freeghost/code/trunk/packages/web/lib/fog/FOGFTP.class.php[/code]
      For Redhat/Centos:
      [code]wget -O /var/www/html/fog/lib/fog/FOGFTP.class.php https://svn.code.sf.net/p/freeghost/code/trunk/packages/web/lib/fog/FOGFTP.class.php[/code][/quote]

      IF you do this on 1.2 with the current trunk (as of today’s post) it WILL break your FOG and not allow you to upload or download images. I was able to move the original file back and FOG 1.2 was restored to working order! Would still love to have the file sizes report correctly, but not at the expense of FOG actually working. I am going to try an older SVN file and let you know.

      UPDATED NOTE: The attached php file is from SVN 2120 and fixed 1.2 without breaking it! It goes in the folder indicated by Tom’s post above.

      [url=“/_imported_xf_attachments/1/1988_FOGFTP.class.php?:”]FOGFTP.class.php[/url]

      posted in Bug Reports
      N
      NT_Tech
    • 1
    • 2
    • 1 / 2